pacman: connection timed out after 10000 milliseconds.
Hi: Every time I use pacman -S I get the following message:
Code:
pacstrap ends outputing this message: Code:
ERROR: Failed to install packages to new root |
I would think it's the mirrorlist and you need to update it.
Mirrorlist generator https://www.archlinux.org/mirrorlist/ Pic 5 of them and replace the above file to /etc/pacman.d/mirrorlist after that issue this command: Code:
pacman -Syyu If you install that package Pacman -S pacman-contrib backup the mirrorlist Code:
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.backup Code:
rankmirrors -n 6 /etc/pacman.d/mirrorlist.backup > /etc/pacman.d/mirrorlist |
what does this have to do with pacstrap?
|
Quote:
|
I generated (www.archlinux.org/mirrorlist) this list:
Code:
|
If it's not that then the second place you can look is your DNS settings.
|
Where are they?
|
Did you check /etc/resolv.conf ? did you try ping to actually see if you have internet access?
|
Of course I have internet access. pacman downloads every thing. Only that it waits 10000ms before actually downloading (it finds another url).
Code:
bill@darkstar/etc$ cat resolv.conf |
Quote:
Code:
Error: failed to commit transaction. Errors ocurred. No packages were upgraded. |
the command is pacman -Syyu not -Syu
|
I did 'pacman -Syyu' and got
Code:
:: Proceed with installation? [Y/n] Y Code:
:: File /var/cache/pacman/pkg/nasm-2.14.02-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)). |
you could simply delete the whole pacman cache, then try again.
I'll put one on top: Code:
pacman -Syyuu |
You mean 'rm -r /var/cache/pacman'?
|
go to the reading that ondoho suggested and look for Cleaning the package cache
|
also 'pacman -Scc'
|
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% |
I could install the package djvulibre without any errors.
|
Maybe reinstall Arch? Looks like a corrputed system.. did you check signatures before installing arch?>
|
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. |
you supposed to check arch iso with signatures before installing to make sure it isnt corrupted.
|
Alright. I did
Code:
bill@darkstar/almacen/soft/arch$ ls -l |
Yes loooks goood
|
All times are GMT -5. The time now is 08:51 AM. |