You are not logged in.

#1 2011-03-18 14:05:02

codeRage
Member
Registered: 2011-02-20
Posts: 29

Last update breaks pacman

Hi all, I am relatively new to arch linux and this is my first problem with pacman.

Updating to version 3.5.0-1 seems to break pacman for me

$ pacman -Syy
pacman: error while loading shared libraries: liblzma.so.5: cannot open shared object file: No such file or directory

I followed the instructions in the sticky post for repairing a broken pacman. I retrieved the 3.4 package from my cache, untarred and used the binary to try to reinstall libarchive, however I now see this error:

$ ./pacman -Sf libarchive
./pacman: error while loading shared libraries: libalpm.so.5: cannot open shared object file: No such file or directory

I have libalpm.so.6 hmm

I now see why that post was stickied.

Offline

#2 2011-03-18 14:25:26

codeRage
Member
Registered: 2011-02-20
Posts: 29

Re: Last update breaks pacman

Ok I got 3.4 fixed!

Just needed to copy libalpm.so.5 from package /lib directory *facepalm*

Now I can do my system update... wait a sec... this doesn't seem right

Remove (9): util-linux-ng-2.18-2  libusb1-1.0.8-1  libjpeg-8.0.2-1
            libdjvu-3.5.22-3  libelf-0.8.13-1  pycairo-1.8.8-1  libv4l-0.6.4-1
            mailx-8.1.1-7  xorg-res-utils-1.0.3-3

Total Removed Size:   10.65 MB

Targets (417): linux-api-headers-2.6.37-1  tzdata-2011d-1  glibc-2.13-4

.......
.......
.......

Total Download Size:    525.58 MB
Total Installed Size:   2285.73 MB

Proceed with installation? [Y/n] 

Offline

#3 2011-03-18 15:14:15

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: Last update breaks pacman

For your first post it's hard to follow how you got there in the first place, but it sounds kind of like you did a partial update rather than running pacman -Syu, which as you discovered can cause problems. I'd also recommend against running testing until you're more comfortable with Arch. If you got pacman 3.5 by a method other than doing a full upgrade to testing, that also can be a source of things breaking.

As for your second post, what "doesn't seem right" ? That packages are being removed? At least some of those I recognize (and probably all of them) were replaced by other packages - which pacman should have asked you about.

Offline

#4 2011-03-18 15:16:27

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Last update breaks pacman

Offline

#5 2011-03-18 15:54:59

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Last update breaks pacman

Sorry for doubleposting, but if I just edit my previous post, people who subscribed won't be notified.

https://bugs.archlinux.org/task/23325

Offline

#6 2011-03-18 16:09:42

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Last update breaks pacman

Moving to testing...


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#7 2011-03-18 23:18:30

codeRage
Member
Registered: 2011-02-20
Posts: 29

Re: Last update breaks pacman

Sorry for posting in the wrong forum :-)

The "what doesn't seem right" would be the 500+ MB download and 2GB install tongue

As for how I got here... I forget now, but I think it was something like

- pacman -Syy
- pacman -Su
- pacman-db-upgrade

Not necessarily in that order.

Offline

#8 2011-03-19 00:08:25

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: Last update breaks pacman

codeRage wrote:

Sorry for posting in the wrong forum :-)

The "what doesn't seem right" would be the 500+ MB download and 2GB install tongue

Compression smile

As for how I got here... I forget now, but I think it was something like

- pacman -Syy
- pacman -Su
- pacman-db-upgrade

Not necessarily in that order.

The first pacman -Su probably asked if you want to install pacman first before all the rest, didn't it?


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#9 2011-03-19 00:24:46

codeRage
Member
Registered: 2011-02-20
Posts: 29

Re: Last update breaks pacman

Well the first package I upgraded was pacman... BIG MISTAKE

I guess I needed to upgrade libarchive first maybe?

I don't remember if the update command asked to upgrade pacman or if I did it myself.

Offline

#10 2011-03-19 00:28:24

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Last update breaks pacman

@codeRage you just hit a bug in pacman. 

https://bugs.archlinux.org/task/23325

i suggest to disable testing, fully upate from the current core/extra/community and then enable testing


Give what you have. To someone, it may be better than you dare to think.

Offline

#11 2011-03-19 01:10:06

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

Re: Last update breaks pacman

wonder wrote:

i suggest to disable testing, fully upate from the current core/extra/community and then enable testing

In fact, I never enable [testing] for my first update after an install.   I like to know things work before I try and break them!  tongue

Offline

Board footer

Powered by FluxBB