You are not logged in.

#1 2011-08-17 11:07:29

jlight2011
Member
From: Melbourne
Registered: 2011-06-15
Posts: 51

[Solved] Pacman error after incomplete upgrade

Hi
I was updating my archlinux when my X11 crashed (I was restarting it after tweaking my gnome 3) .

Trying to update after that indicated that my system was already uptodate. Installing anything indicated that pacman was running else to delete a file /var/lib/pacman/db.lck , which I did.

Now I can install but get these errors (for an example of re-installing pacman):

pacman -S pacman
warning: pacman-3.5.4-3 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...
error: could not open file /var/lib/pacman/local/xulrunner-6.0-1/desc: No such file or directory
error: could not open file /var/lib/pacman/local/xulrunner-6.0-1/desc: No such file or directory

Targets (1): pacman-3.5.4-3

Total Download Size:    0.00 MB
Total Installed Size:   2.87 MB

Proceed with installation? [Y/n] y
(1/1) checking package integrity                   [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) upgrading pacman                             [######################] 100%
ldconfig: file /usr/lib/xulrunner-6.0/libxul.so is truncated

Can any one help me? I am clueless. I know I made a mistake ... will be careful next time. Also I am sure that my system is not upto date, though pacman indicates it is.

Last edited by jlight2011 (2011-08-17 12:00:19)

Offline

#2 2011-08-17 11:15:12

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [Solved] Pacman error after incomplete upgrade

Reinstall xulrunner, then do pacman -Syu.

Offline

#3 2011-08-17 11:25:35

jlight2011
Member
From: Melbourne
Registered: 2011-06-15
Posts: 51

Re: [Solved] Pacman error after incomplete upgrade

I am getting the following error


pacman -Syy
:: Synchronizing package databases...
core                     35.6K  990.8K/s 00:00:00 [######################] 100%
error: extra.db appears to be truncated: 485471/485689 bytes--------------]   3%
error: failed to update extra (failed to retrieve some files)
multilib                 26.5K  397.3K/s 00:00:00 [######################] 100%


I ran this

rm -rf /var/lib/pacman/sync/extra.db.part

But does not seem to help..... !!! I cant afford to loos my arch!!! I hope this is not irrecoverable

I can however re-install pacman without the previous mentioned errors!

Last edited by jlight2011 (2011-08-17 11:26:46)

Offline

#4 2011-08-17 11:28:45

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: [Solved] Pacman error after incomplete upgrade

"pacman -Syy" should fix that.

Offline

#5 2011-08-17 11:39:24

jlight2011
Member
From: Melbourne
Registered: 2011-06-15
Posts: 51

Re: [Solved] Pacman error after incomplete upgrade

No luck mate!

I get the following


pacman -Syy
:: Synchronizing package databases...
core                                                                                      35.6K 1413.9K/s 00:00:00 [#######################################################] 100%
warning: resuming download of extra.db not possible; starting over
error: extra.db appears to be truncated: 485471/485689 bytes         176.0K  289.1K/s 00:00:01 [####################-----------------------------------]  37%
error: failed to update extra (failed to retrieve some files)
multilib                                                             26.5K  204.0M/s 00:00:00 [#######################################################] 100%


I tried copying the extra.db file directly from my repo to the folder. But get the same error!

Offline

#6 2011-08-17 11:42:37

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: [Solved] Pacman error after incomplete upgrade

Have you tried a different mirror?

Offline

#7 2011-08-17 11:59:50

jlight2011
Member
From: Melbourne
Registered: 2011-06-15
Posts: 51

Re: [Solved] Pacman error after incomplete upgrade

Well ... for some reason the Australian mirrors were giving the same problem ... I tried a German one and it worked! Thanks mate!

Offline

Board footer

Powered by FluxBB