LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Arch (https://www.linuxquestions.org/questions/arch-29/)
-   -   pacman: connection timed out after 10000 milliseconds. (https://www.linuxquestions.org/questions/arch-29/pacman-connection-timed-out-after-10000-milliseconds-4175653289/)

ondoho 05-11-2019 03:54 AM

also 'pacman -Scc'

stf92 05-11-2019 08:35 PM

I did 'rm -r /var/cache/pacman/pkg' as ondoho pointed out. Then 'pacman -Syyuu'. The result was
Code:

xfce4-whiskermenu-plugin-2.3.2-1-x86_64                175.9 KiB  6.61M/s 00:00 [##############################################] 100%
(451/451) checking keys in keyring                                                [##############################################] 100%
(451/451) checking package integrity                                              [##############################################] 100%
error: libseccomp: signature from "Levente Polyak (anthraxx) <levente@leventepolyak.net>" is unknown trust
:: File /var/cache/pacman/pkg/libseccomp-2.4.0-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: libtiff: signature from "Levente Polyak (anthraxx) <levente@leventepolyak.net>" is unknown trust
:: File /var/cache/pacman/pkg/libtiff-4.0.10-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: jasper: signature from "Levente Polyak (anthraxx) <levente@leventepolyak.net>" is unknown trust
:: File /var/cache/pacman/pkg/jasper-2.0.16-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: confuse: signature from "Baptiste Jonglez <baptiste@bitsofnetworks.org>" is unknown trust
:: File /var/cache/pacman/pkg/confuse-3.2.2-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: libssh2: signature from "Levente Polyak (anthraxx) <levente@leventepolyak.net>" is unknown trust
:: File /var/cache/pacman/pkg/libssh2-1.8.1-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: giflib: signature from "Levente Polyak (anthraxx) <levente@leventepolyak.net>" is unknown trust
:: File /var/cache/pacman/pkg/giflib-5.1.9-3-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: nasm: signature from "Levente Polyak (anthraxx) <levente@leventepolyak.net>" is unknown trust
:: File /var/cache/pacman/pkg/nasm-2.14.02-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] Y
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
root@darkstar/var/cache/pacman# pacman -Scc

Cache directory: /var/cache/pacman/pkg/
:: Do you want to remove ALL files from cache? [y/N] y
removing all files from cache...

Database directory: /var/lib/pacman/
:: Do you want to remove unused repositories? [Y/n] Y
removing unused sync repositories...
root@darkstar/var/cache/pacman#

And again 'pacman -Syyuu' gave the same result. I'll try to install djvu libre and see what happens.

stf92 05-12-2019 06:21 PM

I could install the package djvulibre without any errors.

drillsar 05-15-2019 01:06 PM

Maybe reinstall Arch? Looks like a corrputed system.. did you check signatures before installing arch?>

stf92 05-15-2019 06:21 PM

I installed an iso image several months old and got the error whereby pacstrap did nothing. Maybe if I install a recent image then there will be no errors. Also there is the following, which applies to another machine:

As as running pacman -Syyu I got the 10000ms time out I ended up issuing ^C thus cancelling the command. Is it possible this is the cause of the error I now get and which made you tthink the system is corrupted? Thank you drillsar for your posts.

drillsar 05-15-2019 07:22 PM

you supposed to check arch iso with signatures before installing to make sure it isnt corrupted.

stf92 05-15-2019 08:44 PM

Alright. I did
Code:

bill@darkstar/almacen/soft/arch$ ls -l
total 624240
-rw-r--r-- 1 bill bill 638582784 May 15 22:48 archlinux-2019.05.02-x86_64.iso
-rw-r--r-- 1 bill bill      310 May 15 22:45 archlinux-2019.05.02-x86_64.iso.sig
-rw-r--r-- 1 bill bill        33 May 15 22:44 md5
bill@darkstar/almacen/soft/arch$ pacman-key -v archlinux-2019.05.02-x86_64.iso.sig
==> Checking archlinux-2019.05.02-x86_64.iso.sig...
gpg: assuming signed data in 'archlinux-2019.05.02-x86_64.iso'
gpg: Signature made Thu 02 May 2019 12:53:47 PM -03
gpg:                using RSA key 4AA4767BBC9C4B1D18AE28B77F2D434B9741E8AC
gpg: Note: trustdb not writable
gpg: Good signature from "Pierre Schmitz <pierre@archlinux.de>" [full]
bill@darkstar/almacen/soft/arch$

I hope this is enough (I already checked the md5 checksum).

drillsar 05-15-2019 09:43 PM

Yes loooks goood


All times are GMT -5. The time now is 12:58 AM.