You are not logged in.

#1 2005-09-22 20:17:50

Thereidos
Member
From: Sochaczew, Poland
Registered: 2005-01-08
Posts: 16
Website

pacman crashed after update

Well, my pacman had just f***ed up totaly.

I've just tried to do a complete system update after some 3 or 4 months of a single package upgrades. So I've done pacman -Sy and pacman -Su. Then I got an info that a newer version of pacman is available, so I decided to update this first. Afterwards, once again, I've synchronized by databases and tried to do -Su.

It got me the full list of files - good - and after downloading the first file everything crashed saying - broken pipe, as if the file was missing on the server. So I've change the mirror settings and tried once again, but no matter what I've tried to change it had always crached after downloading the first file (no matter what file that was). So I tried to update - from a different server - pacman itself. Now -Su no longer works. Trying to update single file ends with a list of files "existing already in filesystem".

The system works though, but I'm stuck with no way to upgrade. All I can think of right now is to download the last base iso, backup my files and reinstall all the shit - which I don't want to do.

Any ideas of what the heck has gone wrong?

PS. I've forgot to mention that I'm running a 2.9.7-4 pacman package.


It's human? He's got a face like a join-the-dots puzzle!

Offline

#2 2005-09-22 20:57:50

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: pacman crashed after update

Maybe try pacman.static ?

Offline

#3 2005-09-23 21:19:53

Thereidos
Member
From: Sochaczew, Poland
Registered: 2005-01-08
Posts: 16
Website

Re: pacman crashed after update

Snowman wrote:

Maybe try pacman.static ?

Did not help...


It's human? He's got a face like a join-the-dots puzzle!

Offline

#4 2005-09-23 21:58:13

Thereidos
Member
From: Sochaczew, Poland
Registered: 2005-01-08
Posts: 16
Website

Re: pacman crashed after update

I've downloaded the pacman-2.9.5-1 package from the realese tree. The -Su option works now smile but it gives me no other option that update pacman before system update.

Upgrading to 2.9.7-4 leaves me with what I mentioned in my first post.


It's human? He's got a face like a join-the-dots puzzle!

Offline

#5 2005-09-24 20:03:00

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: pacman crashed after update

What happens when you try and (re-)install a local package (eg something in /var/cache/pacman/pkg/ using pacman -U pkgname?

Were there any error messages after pacman -Syu ?

BTW how much space is there on your /var partition?

Offline

#6 2005-09-25 09:55:44

Thereidos
Member
From: Sochaczew, Poland
Registered: 2005-01-08
Posts: 16
Website

Re: pacman crashed after update

Cotton wrote:

What happens when you try and (re-)install a local package (eg something in /var/cache/pacman/pkg/ using pacman -U pkgname?

Lots of errors of files being already installed, eg.:

glibc: /usr/share/zoneinfo/zone.tab: exists in filesystem

Were there any error messages after pacman -Syu ?

Now I get nothing, just:

root@thereidos pkg]# pacman -Syu
:: Synchronizing package databases... 
 current                  [################] 100%      45K   143.3K/s  00:00:00
 extra                    [################] 100%     213K     3.5K/s  00:01:00
[root@thereidos pkg]#

My /var is on the same partition as / so I have 6.8GB left


It's human? He's got a face like a join-the-dots puzzle!

Offline

#7 2005-09-25 12:45:52

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: pacman crashed after update

Do you have the directory:

/var/lib/pacman/local/-/files

If not, create it using

touch /var/lib/pacman/local/-/files

then run pacman -Syu and report the results.


BTW is srcpac affected?

Offline

#8 2005-09-25 12:56:14

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: pacman crashed after update

maybe building pacman from abs might work?

Offline

#9 2005-09-25 13:10:47

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: pacman crashed after update

Don't know if this post helps:

http://bbs.archlinux.org/viewtopic.php?t=9690

Offline

#10 2005-09-25 20:06:14

Thereidos
Member
From: Sochaczew, Poland
Registered: 2005-01-08
Posts: 16
Website

Re: pacman crashed after update

Thanks y'all for interest.

It showed up that it was most probably some download related problem. I've turned to use wget instead of pacman's built-in program and everything works swell... at least for now. As for the "exists in filesystem" issue, I don't know what was it all about but it's gone.

I also had to force some packages as in the topic mentioned by Cotton. Nevertheless now it's cool smile


It's human? He's got a face like a join-the-dots puzzle!

Offline

Board footer

Powered by FluxBB