Tring para instalar o Atom Text Editor no meu Arch usando o Yaourt

3

No momento, estou tentando instalar o Editor de texto Atom ( editor-atom em Yaourt ). No entanto, recebo os erros abaixo:

==> Downloading atom-editor-arch PKGBUILD from AUR...
x .SRCINFO
x .gitignore
x PKGBUILD
x README.md
x about-arch.patch
x atom
x atom-arch.install
x atom.desktop
x theme.patch
atom-editor-arch 1.8.0.arch0.2.1-2  (2016-06-07 15:07)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> atom-editor-arch dependencies:
 - alsa-lib (already installed)
 - desktop-file-utils (already installed)
 - gconf (already installed)
 - gtk2 (already installed)
 - libgnome-keyring (already installed)
 - libnotify (already installed)
 - libxtst (already installed)
 - nodejs (already installed)
 - nss (already installed)
 - python2 (already installed)
 - git (already installed) [makedepend]
 - npm (already installed) [makedepend]
 - namcap (package found)
 - pkgbuild-introspection (package found)


==> Edit atom-arch.install ? [Y/n] ("A" to abort)
==> ---------------------------------------------
==> n

==> Continue building atom-editor-arch ? [Y/n]
==> ------------------------------------------
==> y

==> Building and installing package
==> Install or build missing dependencies for atom-editor-arch:
[sudo] password for shazam: 
resolving dependencies...
looking for conflicting packages...

Packages (4) pyalpm-0.8-1  python-pyelftools-0.23-3  namcap-3.2.7-1  pkgbuild-introspection-8-1

Total Download Size:   0.28 MiB
Total Installed Size:  1.70 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 pyalpm-0.8-1-x86_64                                                                  42.4 KiB   109K/s 00:00 [##################################################################] 100%
 python-pyelftools-0.23-3-any                                                        155.1 KiB   391K/s 00:00 [##################################################################] 100%
 namcap-3.2.7-1-any                                                                   84.1 KiB  0.00B/s 00:00 [##################################################################] 100%
 pkgbuild-introspection-8-1-any                                                        4.4 KiB  0.00B/s 00:00 [##################################################################] 100%
(4/4) checking keys in keyring                                                                                [##################################################################] 100%
(4/4) checking package integrity                                                                              [##################################################################] 100%
(4/4) loading package files                                                                                   [##################################################################] 100%
(4/4) checking for file conflicts                                                                             [##################################################################] 100%
(4/4) checking available disk space                                                                           [##################################################################] 100%
:: Processing package changes...
(1/4) installing pyalpm                                                                                       [##################################################################] 100%
(2/4) installing python-pyelftools                                                                            [##################################################################] 100%
(3/4) installing namcap                                                                                       [##################################################################] 100%
(4/4) installing pkgbuild-introspection                                                                       [##################################################################] 100%
:: Running post-transaction hooks...
(1/1) Updating manpage index...
==> Making package: atom-editor-arch 1.8.0.arch0.2.1-2 (Wed Jun  8 20:16:49 IST 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading atom-1.8.0.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   117    0   117    0     0     87      0 --:--:--  0:00:01 --:--:--    87
100  9.8M  100  9.8M    0     0  1236k      0  0:00:08  0:00:08 --:--:-- 2309k
  -> Downloading about-arch-1.5.18.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   124    0   124    0     0     99      0 --:--:--  0:00:01 --:--:--    99
100 30559    0 30559    0     0  10790      0 --:--:--  0:00:02 --:--:-- 23911
  -> Found atom
  -> Found atom.desktop
  -> Found theme.patch
  -> Found about-arch.patch
==> Validating source files with md5sums...
    atom-1.8.0.tar.gz ... Passed
    about-arch-1.5.18.tar.gz ... FAILED
    atom ... Passed
    atom.desktop ... Passed
    theme.patch ... Passed
    about-arch.patch ... Passed
==> ERROR: One or more files did not pass the validity check!
==> ERROR: Makepkg was unable to build atom-editor-arch.
==> Restart building atom-editor-arch ? [y/N]
==> -----------------------------------------
==> N

O que exatamente está errado aqui? Por que meus patches não passam nos cheques do md5sums? É algo a ver com o meu proxy? Eu configurei minha variável de ambiente all_proxy como meu proxy corporativo. Existe alguma maneira em que posso usar os arquivos .deb ou .rpm para instalar este programa no meu computador?

    
por Sharan Duggirala 08.06.2016 / 17:00

1 resposta

3

Se você acessar a página pacote AUR e Ver alterações , você pode ver isso em o commit mais recente um dos números de versão foi aumentado, mas o md5sum correspondente desse arquivo não mudou.

 # Module Versions
 _about_arch_url="fusion809/about"
-_about_arch_ver=1.5.17
+_about_arch_ver=1.5.18
 _dark_bint_syntax_ver=0.8.6
 _fusion_ui_ver=0.10.5
 _language_archlinux_ver=0.2.1

É por isso que os md5sums não correspondem mais.

Se você tiver tempo, a coisa responsável a fazer, para consertar o problema para você e os outros, seria relatar o problema ao mantenedor do pacote AUR. De link :

To report packaging bugs contact the package maintainer or leave a comment on the appropriate package page.

A correção mais rápida, apenas para criar, seria para você usar a opção "Editar PKGBUILD? [Y / n]" e fazer (mas somente UM)

  • Altere _about_arch_ver de volta para 1.5.17

  • Atualize a linha relevante (neste caso, segundo) em md5sums=(
    Faça o download da nova versão , confirme (através de qualquer meio que se encaixe na sua política de segurança) em quem você confia, execute md5sum para ver a nova soma de verificação

por 08.06.2016 / 18:34