You are not logged in.

#1 2014-03-31 18:03:05

SilverOne
Member
From: Portugal
Registered: 2013-08-22
Posts: 69

[SOLVED] Pacman not updating (downloads stay at 0%)

Hello!,

today i tried to update but got the following output:

[silverone@silver-arch ~]$ sudo pacman -Syu
[sudo] password for silverone: 
:: Synchronizing package databases...
error: failed to update core (unable to lock database)
error: failed to update extra (unable to lock database)
error: failed to update community (unable to lock database)
error: failed to update multilib (unable to lock database)
error: failed to synchronize any databases
error: failed to init transaction (unable to lock database)
error: could not lock database: File exists
  if you're sure a package manager is not already
  running, you can remove /var/lib/pacman/db.lck
[silverone@silver-arch ~]$ ps -aux | grep pac
root       760  0.4  0.2 403596 19020 ?        Sl   18:54   0:00 /usr/lib/PackageKit/packagekitd
silvero+  2219  0.0  0.0  10672  1084 pts/0    S+   18:55   0:00 grep pac
[silverone@silver-arch ~]$ sudo rm  /var/lib/pacman/db.lck
[silverone@silver-arch ~]$ sudo pacman -Syu
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from mirror.system.is : Resolving timed out after 10520 milliseconds
error: failed retrieving file 'core.db' from mirror.datacenter.by : Resolving timed out after 10521 milliseconds
error: failed retrieving file 'core.db' from mirrors.liquidweb.com : Resolving timed out after 10520 milliseconds
error: failed retrieving file 'core.db' from archlinux.surlyjake.com : Resolving timed out after 10518 milliseconds
error: failed retrieving file 'core.db' from mirror.bytemark.co.uk : Resolving timed out after 10520 milliseconds
 core is up to date
 extra is up to date        0.0   B  0.00B/s 00:00 [----------------------]   0%
 community is up to date    0.0   B  0.00B/s 00:00 [----------------------]   0%
 multilib is up to date
:: Starting full system upgrade...
 there is nothing to do
[silverone@silver-arch ~]$ 

What could be wrong here ?  I have looked up the wiki and the forums but got not answer sad

Last edited by SilverOne (2014-03-31 18:22:34)


Best Regards,
SilverOne

Offline

#2 2014-03-31 18:20:04

fredbezies
Member
Registered: 2011-07-28
Posts: 372

Re: [SOLVED] Pacman not updating (downloads stay at 0%)

Try using other mirrors.The one you choose are down.

Modify /etc/pacman.d/mirrorlist

Offline

#3 2014-03-31 18:22:14

SilverOne
Member
From: Portugal
Registered: 2013-08-22
Posts: 69

Re: [SOLVED] Pacman not updating (downloads stay at 0%)

fredbezies wrote:

Try using other mirrors.The one you choose are down.

Modify /etc/pacman.d/mirrorlist


That worked smile / feeling kinda dumb now /

thank you.


Best Regards,
SilverOne

Offline

Board footer

Powered by FluxBB