You are not logged in.

#1 2011-09-06 02:11:53

netawater
Member
Registered: 2008-08-01
Posts: 36

[SOLVED]How to update a package with it dependent packages together

most of time, the PKGBUILD only specified the dependent packages but not their version, however it will failed with old dependant package,
for example it requires libx.so.8, but it existed libx.so.6. I have been depressed for have to update dependent package one by one.

I don't prefer pacman -Su for it costs lots of time

Thank you very much!

Last edited by netawater (2013-06-14 00:46:26)

Offline

#2 2011-09-06 02:46:18

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

Re: [SOLVED]How to update a package with it dependent packages together

You should always run 'pacman -Syu' and not pick only some packages to update. Arch doesn't support partial upgrades - you have to deal with breakage yourself.

Offline

#3 2011-09-06 05:01:03

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

Re: [SOLVED]How to update a package with it dependent packages together

netawater wrote:

I don't prefer pacman -Su for it costs lots of time

Not supported, as karol has said. Either -Syu or don't update at all.

Even if you update the dependent packages (say A depends on libB) that would make A work, but C which also depends on libB is now broken. Hence the only safe way is -Syu.


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

#4 2011-09-06 12:47:32

netawater
Member
Registered: 2008-08-01
Posts: 36

Re: [SOLVED]How to update a package with it dependent packages together

Thank you, I understand. this is philosophy of Arch Linux.

Offline

#5 2011-09-06 13:40:39

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: [SOLVED]How to update a package with it dependent packages together

netawater wrote:

Thank you, I understand. this is philosophy of Arch Linux.

No, they're saying that this is the way pacman logically deals with package interactions and potential conflicts.  It's only a matter of choice (or "philosophy," as you put it) insofar as you are willing to deal with the potentially nasty consequences.

Offline

Board footer

Powered by FluxBB