You are not logged in.

#1 2012-04-26 08:23:13

olorian
Member
Registered: 2011-12-16
Posts: 86

How to upgrade dependencies alongside desired packages?

Hi everybody!
I meet every time the same issue, I'm sure I'm just dumb or something similar.
My system works very fine, I would like to update package X because of a feature improvement but as I give "pacman -S X", X updates and then complains about missing libdependence1.2-3.so.
I usually go around manually upgrading every dependence I can find, but it's pretty frustrating having to do it in a 2012 Linux distribution.
I really have no intention of giving blind -Syu's or having to read all of the changelogs and warnings (which I still have to say I have trouble to find) just to update a group of packages.
Please tell me there is a nice option to add to pacman to tell him "update this package AND its dependencies recursively" which I just haven't seen in the wikis, or I'll have to be disappointed once more [yeah, I know nobody cares, of course] by this system which simply works way better [that is, on my pc at least] than every other OS I've ever tried but keeps falling on trivial points for - it seems - a matter of principle.


yeah, sorry for the tone the message seems to have, it is not meant to be rude. I'm grateful to the devs for their work which keeps the system clean and performing, I just really can't understand some of their choices which are apparent from the way the system tools behave.

Last edited by olorian (2012-04-26 08:24:45)

Offline

#2 2012-04-26 08:32:04

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: How to upgrade dependencies alongside desired packages?

You are doing it wrong...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2012-04-26 09:15:21

olorian
Member
Registered: 2011-12-16
Posts: 86

Re: How to upgrade dependencies alongside desired packages?

Yeah I read that, but it just goes around the issue/question, it doesn't even clarify what partial upgrades are in the sense of the article itself, it mainly refers to library updates → need to rebuild packages, while I meant the opposite, so I was asking just in case it was specified elsewhere.
It feels so weird that, by default, one can update one package without upgrading the libraries it depends from.

Last edited by olorian (2012-04-26 09:17:45)

Offline

#4 2012-04-26 09:18:52

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: How to upgrade dependencies alongside desired packages?

olorian wrote:

Yeah I read that, but it just goes around the issue/question, it doesn't even clarify what partial upgrades are in the sense of the article itself, so I was asking just in case it was specified elsewhere.

No. It explicitly states that what you are trying to do is unsupported. If you want to use Arch, then -Syu.

Otherwise stop whinging about the fact that your screwdriver won't hammer in nails...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2012-04-26 09:54:01

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

Re: How to upgrade dependencies alongside desired packages?

For additional reference, please see here, and follow the link [1] in the red warning box.


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

#6 2012-04-26 10:55:10

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,462
Website

Re: How to upgrade dependencies alongside desired packages?

Pacman -S <package> is not even the right way to upgrade a single package.

Read `man pacman`.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB