Arch This Forum is for the discussion of Arch Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
09-21-2015, 03:44 AM
#1
LQ Newbie
Registered: Oct 2010
Posts: 26
Rep:
pacman will not update
Please can anybody help. Pacman will not update. I am typing this from the same computer so I have internet connectivity.
Code:
$ sudo rm -f /var/lib/pacman/db.lck && sudo pacman-mirrors -g && sudo pacman -Syyuu && sudo pacman -Suu
[sudo] password for chris:
:: Querying servers, this may take some time...
Africa
-> 0.563 http://mirror.is.co.za/mirrors/manjaro.org/stable/$repo/$arch
Australia
-> 0.963 http://mirror.ventraip.net.au/Manjaro/stable/$repo/$arch
-> 1.093 http://manjaro.uberglobalmirror.com/stable/$repo/$arch
Belgium
-> 0.066 http://ftp.belnet.be/manjaro/stable/$repo/$arch
-> 0.274 http://manjaro.cu.be/stable/$repo/$arch
Brasil
-> 1.669 http://www.las.ic.unicamp.br/pub/manjarolinux/stable/$repo/$arch
-> 1.163 http://linorg.usp.br/manjaro/stable/$repo/$arch
Chile
-> 0.795 http://manjaro.dcc.uchile.cl/stable/$repo/$arch
China
-> 1.200 http://mirrors.ustc.edu.cn/manjaro/stable/$repo/$arch
-> 0.776 http://mirror.bjtu.edu.cn/manjaro/stable/$repo/$arch
-> 1.104 http://ftp.cuhk.edu.hk/pub/Linux/manjaro/stable/$repo/$arch
-> 2.082 http://mirrors.tuna.tsinghua.edu.cn/manjaro/stable/$repo/$arch
Costa_Rica
-> 0.872 http://mirrors.ucr.ac.cr/manjaro/stable/$repo/$arch
Ecuador
-> 0.636 http://mirror.cedia.org.ec/manjaro/manjarolinux/stable/$repo/$arch
-> Error!http://mirror.uta.edu.ec/manjaro/manjarolinux/stable/$repo/$arch
-> 1.019 http://mirror.espoch.edu.ec/manjaro/manjarolinux/stable/$repo/$arch
France
-> 0.098 http://manjarolinux.polymorf.fr/stable/$repo/$arch
-> 0.057 http://mirror.lignux.com/manjaro/packages/stable/$repo/$arch
Germany
-> Error!http://ftp.halifax.rwth-aachen.de/manjaro/stable/$repo/$arch
-> 0.103 http://ftp.tu-chemnitz.de/pub/linux/manjaro/stable/$repo/$arch
-> 0.160 http://mirror.netzspielplatz.de/manjaro/packages/stable/$repo/$arch
-> 0.097 http://mirror.netcologne.de/manjaro/stable/$repo/$arch
Greece
-> Error!http://ftp.cc.uoc.gr/mirrors/linux/manjaro/stable/$repo/$arch
Indonesia
-> Error!http://kambing.ui.ac.id/manjaro/stable/$repo/$arch
-> Error!http://kartolo.sby.datautama.net.id/manjaro/stable/$repo/$arch
Ireland
-> 0.071 http://ftp.heanet.ie/mirrors/manjaro/stable/$repo/$arch
Italy
-> 0.227 http://manjaro.mirror.garr.it/mirrors/manjaro/stable/$repo/$arch
Japan
-> 3.440 http://ftp.tsukuba.wide.ad.jp/Linux/manjaro/stable/$repo/$arch
-> 0.897 http://ftp.riken.jp/Linux/manjaro/stable/$repo/$arch
Netherlands
-> 0.065 http://ftp.nluug.nl/pub/os/Linux/distr/manjaro/stable/$repo/$arch
-> 0.058 http://ftp.snt.utwente.nl/pub/linux/manjaro/stable/$repo/$arch
Philippines
-> 1.025 http://mirror.rise.ph/manjaro/stable/$repo/$arch
Portugal
-> 0.381 http://ftp.dei.uc.pt/pub/linux/manjaro/stable/$repo/$arch
Romania
-> 0.170 http://mirrors.xservers.ro/manjaro/stable/$repo/$arch
-> 0.162 http://mirrors.serverhost.ro/manjaro/packages/stable/$repo/$arch
-> 0.298 http://ftp.lug.ro/manjaro/stable/$repo/$arch
-> 0.171 http://manjaro.mirrors.linux.ro/repos/stable/$repo/$arch
Russia
-> 0.148 http://mirror.yandex.ru/mirrors/manjaro/stable/$repo/$arch
Sweden
-> 0.191 http://ftp.lysator.liu.se/pub/manjaro/stable/$repo/$arch
-> 0.338 http://mirror.zetup.net/manjaro/stable/$repo/$arch
Taiwan
-> 1.191 http://free.nchc.org.tw/manjaro/stable/$repo/$arch
Turkey
-> 0.297 http://ftp.linux.org.tr/manjaro/stable/$repo/$arch
United_Kingdom
-> 0.042 http://repo.manjaro.org.uk/stable/$repo/$arch
-> ..... http://www.mirrorservice.org/sites/repo.manjaro.org/repos/stable/$repo/-> 0.045
-> 0.172 http://mirror.catn.com/pub/manjaro/stable/$repo/$arch
-> 0.169 http://manjaro.mirrors.uk2.net/stable/$repo/$arch
-> Error!http://sorch.uk/manjaro/stable/$repo/$arch
United_States
-> 0.240 http://mirror.dacentec.com/manjaro/stable/$repo/$arch
-> 0.400 http://lug.mtu.edu/manjaro/stable/$repo/$arch
-> 0.364 http://www.gtlib.gatech.edu/pub/manjaro/stable/$repo/$arch
-> 0.549 http://mirror.jmu.edu/manjaro/stable/$repo/$arch
-> 0.341 http://mirror.solarvps.com/manjaro/stable/$repo/$arch
-> 0.329 http://mirror.nexcess.net/manjaro/stable/$repo/$arch
:: Generated and saved '/etc/pacman.d/mirrorlist' mirrorlist.
:: Synchronising package databases...
error: failed retrieving file 'core.db' from repo.manjaro.org.uk : Failed writing body (70 != 1440)
error: failed retrieving file 'core.db' from www.mirrorservice.org : Failed writing body (1424 != 2880)
error: failed retrieving file 'core.db' from mirror.lignux.com : Failed writing body (1425 != 1440)
error: failed retrieving file 'core.db' from ftp.nluug.nl : Failed writing body (54 != 1440)
error: failed retrieving file 'core.db' from ftp.belnet.be : Failed writing body (1418 != 2880)
error: failed retrieving file 'core.db' from ftp.heanet.ie : Failed writing body (1415 != 1440)
error: failed retrieving file 'core.db' from manjarolinux.polymorf.fr : Failed writing body (1454 != 4320)
error: failed retrieving file 'core.db' from ftp.tu-chemnitz.de : Failed writing body (278 != 2736)
error: failed retrieving file 'core.db' from mirror.yandex.ru : Failed writing body (1557 != 2796)
error: failed retrieving file 'core.db' from mirror.netzspielplatz.de : Failed writing body (127 != 1440)
error: failed retrieving file 'core.db' from manjaro.mirrors.uk2.net : Failed writing body (39 != 4320)
error: failed retrieving file 'core.db' from ftp.lysator.liu.se : Failed writing body (512 != 1536)
error: failed retrieving file 'core.db' from mirror.dacentec.com : Failed writing body (10 != 1440)
error: failed retrieving file 'core.db' from ftp.linux.org.tr : Failed writing body (19 != 1440)
error: failed retrieving file 'core.db' from mirror.zetup.net : Failed writing body (1453 != 2880)
error: failed retrieving file 'core.db' from lug.mtu.edu : Failed writing body (1569 != 4320)
error: failed retrieving file 'core.db' from mirror.jmu.edu : Failed writing body (13 != 1440)
error: failed retrieving file 'core.db' from mirrors.ucr.ac.cr : Failed writing body (224 != 2736)
error: failed retrieving file 'core.db' from manjaro.uberglobalmirror.com : Failed writing body (1478 != 1485)
error: failed retrieving file 'core.db' from linorg.usp.br : Failed writing body (1216 != 2880)
error: failed retrieving file 'core.db' from free.nchc.org.tw : Failed writing body (61 != 1440)
error: failed retrieving file 'core.db' from mirrors.tuna.tsinghua.edu.cn : Failed writing body (1216 != 1440)
error: failed retrieving file 'core.db' from ftp.tsukuba.wide.ad.jp : Failed writing body (1409 != 2880)
error: failed to update core (download library error)
error: failed retrieving file 'extra.db' from repo.manjaro.org.uk : Failed writing body (72 != 1440)
error: failed retrieving file 'extra.db' from www.mirrorservice.org : Failed writing body (1426 != 1440)
error: failed retrieving file 'extra.db' from mirror.lignux.com : Failed writing body (1427 != 1440)
error: failed retrieving file 'extra.db' from ftp.nluug.nl : Failed writing body (1496 != 4320)
error: failed retrieving file 'extra.db' from ftp.belnet.be : Failed writing body (1420 != 2880)
error: failed retrieving file 'extra.db' from ftp.heanet.ie : Failed writing body (1417 != 1440)
error: failed retrieving file 'extra.db' from manjarolinux.polymorf.fr : Failed writing body (15 != 1440)
error: failed retrieving file 'extra.db' from ftp.tu-chemnitz.de : Failed writing body (280 != 1368)
error: failed retrieving file 'extra.db' from mirror.yandex.ru : Failed writing body (1559 != 4194)
error: failed retrieving file 'extra.db' from mirror.netzspielplatz.de : Failed writing body (129 != 1440)
error: failed retrieving file 'extra.db' from manjaro.mirrors.uk2.net : Failed writing body (41 != 1440)
error: failed retrieving file 'extra.db' from ftp.lysator.liu.se : Failed writing body (2048 != 3072)
error: failed retrieving file 'extra.db' from mirror.dacentec.com : Failed writing body (1451 != 2880)
error: failed retrieving file 'extra.db' from ftp.linux.org.tr : Failed writing body (1461 != 2880)
error: failed retrieving file 'extra.db' from mirror.zetup.net : Failed writing body (15 != 2880)
error: failed retrieving file 'extra.db' from lug.mtu.edu : Failed writing body (1571 != 2880)
error: failed retrieving file 'extra.db' from mirror.jmu.edu : Failed writing body (1455 != 2880)
error: failed retrieving file 'extra.db' from mirrors.ucr.ac.cr : Failed writing body (226 != 2736)
error: failed retrieving file 'extra.db' from manjaro.uberglobalmirror.com : Failed writing body (1480 != 1485)
error: failed retrieving file 'extra.db' from linorg.usp.br : Failed writing body (1216 != 2880)
error: failed retrieving file 'extra.db' from free.nchc.org.tw : Failed writing body (37 != 1440)
error: failed retrieving file 'extra.db' from mirrors.tuna.tsinghua.edu.cn : Failed writing body (1216 != 4320)
error: failed retrieving file 'extra.db' from ftp.tsukuba.wide.ad.jp : Failed writing body (1411 != 1440)
error: failed to update extra (download library error)
error: failed retrieving file 'community.db' from repo.manjaro.org.uk : Failed writing body (72 != 1440)
error: failed retrieving file 'community.db' from www.mirrorservice.org : Failed writing body (1426 != 1440)
error: failed retrieving file 'community.db' from mirror.lignux.com : Failed writing body (1427 != 1440)
error: failed retrieving file 'community.db' from ftp.nluug.nl : Failed writing body (56 != 2880)
error: failed retrieving file 'community.db' from ftp.belnet.be : Failed writing body (1420 != 1440)
error: failed retrieving file 'community.db' from ftp.heanet.ie : Failed writing body (1417 != 2880)
error: failed retrieving file 'community.db' from manjarolinux.polymorf.fr : Failed writing body (1455 != 2880)
error: failed retrieving file 'community.db' from ftp.tu-chemnitz.de : Failed writing body (280 != 1368)
error: failed retrieving file 'community.db' from mirror.yandex.ru : Failed writing body (1559 != 2796)
error: failed retrieving file 'community.db' from mirror.netzspielplatz.de : Failed writing body (129 != 1440)
error: failed retrieving file 'community.db' from manjaro.mirrors.uk2.net : Failed writing body (41 != 1440)
error: failed retrieving file 'community.db' from ftp.lysator.liu.se : Failed writing body (512 != 1536)
error: failed retrieving file 'community.db' from mirror.dacentec.com : Failed writing body (11 != 1440)
error: failed retrieving file 'community.db' from ftp.linux.org.tr : Failed writing body (21 != 2880)
error: failed retrieving file 'community.db' from mirror.zetup.net : Failed writing body (1455 != 2880)
error: failed retrieving file 'community.db' from lug.mtu.edu : Failed writing body (131 != 1440)
error: failed retrieving file 'community.db' from mirror.jmu.edu : Failed writing body (1455 != 2880)
error: failed retrieving file 'community.db' from mirrors.ucr.ac.cr : Failed writing body (226 != 2736)
error: failed retrieving file 'community.db' from manjaro.uberglobalmirror.com : Failed writing body (1480 != 1485)
error: failed retrieving file 'community.db' from linorg.usp.br : Failed writing body (1216 != 2880)
error: failed retrieving file 'community.db' from free.nchc.org.tw : Failed writing body (1477 != 2880)
error: failed retrieving file 'community.db' from mirrors.tuna.tsinghua.edu.cn : Failed writing body (1216 != 2880)
error: failed retrieving file 'community.db' from ftp.tsukuba.wide.ad.jp : Failed writing body (1411 != 2880)
error: failed to update community (download library error)
error: failed retrieving file 'multilib.db' from repo.manjaro.org.uk : Failed writing body (70 != 1440)
error: failed retrieving file 'multilib.db' from www.mirrorservice.org : Failed writing body (1424 != 1440)
error: failed retrieving file 'multilib.db' from mirror.lignux.com : Failed writing body (0 != 4111)
error: failed retrieving file 'multilib.db' from ftp.nluug.nl : Failed writing body (54 != 1440)
error: failed retrieving file 'multilib.db' from ftp.belnet.be : Failed writing body (1418 != 4320)
error: failed retrieving file 'multilib.db' from ftp.heanet.ie : Failed writing body (1415 != 2880)
error: failed retrieving file 'multilib.db' from manjarolinux.polymorf.fr : Failed writing body (14 != 1440)
error: failed retrieving file 'multilib.db' from ftp.tu-chemnitz.de : Failed writing body (1646 != 2736)
error: failed retrieving file 'multilib.db' from mirror.yandex.ru : Failed writing body (159 != 1398)
error: failed retrieving file 'multilib.db' from mirror.netzspielplatz.de : Failed writing body (127 != 1440)
error: failed retrieving file 'multilib.db' from manjaro.mirrors.uk2.net : Failed writing body (1479 != 2880)
error: failed retrieving file 'multilib.db' from ftp.lysator.liu.se : Failed writing body (512 != 1536)
error: failed retrieving file 'multilib.db' from mirror.dacentec.com : Failed writing body (1450 != 4320)
error: failed retrieving file 'multilib.db' from ftp.linux.org.tr : Failed writing body (1459 != 2880)
error: failed retrieving file 'multilib.db' from mirror.zetup.net : Failed writing body (1453 != 2880)
error: failed retrieving file 'multilib.db' from lug.mtu.edu : Failed writing body (1569 != 2880)
error: failed retrieving file 'multilib.db' from mirror.jmu.edu : Failed writing body (13 != 1440)
error: failed retrieving file 'multilib.db' from mirrors.ucr.ac.cr : Failed writing body (224 != 2736)
error: failed retrieving file 'multilib.db' from manjaro.uberglobalmirror.com : Failed writing body (1478 != 1485)
error: failed retrieving file 'multilib.db' from linorg.usp.br : Failed writing body (1216 != 2880)
error: failed retrieving file 'multilib.db' from free.nchc.org.tw : Failed writing body (61 != 1440)
error: failed retrieving file 'multilib.db' from mirrors.tuna.tsinghua.edu.cn : Failed writing body (1216 != 1440)
error: failed retrieving file 'multilib.db' from ftp.tsukuba.wide.ad.jp : Failed writing body (1409 != 1440)
error: failed to update multilib (download library error)
error: failed to synchronise any databases
error: failed to init transaction (download library error)
10-02-2015, 07:19 AM
#2
Member
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 814
These are just shots in the dark, but it might help...
Is your hard drive full? Try "pacman -Sc" or "pacman -Scc"
Try just running "pacman -Syy"
When was the last time you updated your system? I know that they sometimes change the database format, and you have to rebuild the databases... if you missed several upgrades, that might be an issue.
10-03-2015, 02:47 AM
#3
LQ Newbie
Registered: Oct 2010
Posts: 26
Original Poster
Rep:
Quote:
Originally Posted by
maples
These are just shots in the dark, but it might help...
Is your hard drive full? Try "pacman -Sc" or "pacman -Scc"
Try just running "pacman -Syy"
When was the last time you updated your system? I know that they sometimes change the database format, and you have to rebuild the databases... if you missed several upgrades, that might be an issue.
Thanks for your reply.
The hard drive was barely half full, pacman regularly updated and I had tried the above commands, I guess it had somehow become corrupted. I tried everything I could think of and eventually, after a few days, gave up.
I decided it was time for a change after using Arch based distros for a few years, so I have wiped the lot and started afresh with Slackware (which I am finding very good).
10-03-2015, 12:13 PM
#4
Member
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 814
Quote:
Originally Posted by
csaenemy
Thanks for your reply.
The hard drive was barely half full, pacman regularly updated and I had tried the above commands, I guess it had somehow become corrupted. I tried everything I could think of and eventually, after a few days, gave up.
I decided it was time for a change after using Arch based distros for a few years, so I have wiped the lot and started afresh with Slackware (which I am finding very good).
Sorry to hear the issue wasn't fixed.
Good luck with Slackware!
All times are GMT -5. The time now is 06:45 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News