[pacman-dev] Another proposal for the "-Sy libjpeg" problem

Dan McGee dpmcgee at gmail.com
Sun Oct 11 22:42:25 EDT 2009

On Mon, Aug 24, 2009 at 11:53 AM, Nagy Gabor <ngaba at bibl.u-szeged.hu> wrote:
> Hi!
> I think the problem is known for everyone, if a user upgrades a package
> (without -Su), he can easily get "error while loading shared libraries".
> The most perfect (but maybe overkill) solution is Florian's one:
> http://www.archlinux.org/pipermail/pacman-dev/2009-August/009158.html
> (that patch needs some work on optdepends side, but that is not so
> complicated.)
> I mention a simpler one: Add a new switch to upgrade reversedeps too
> (recursively), ie. "pacman -S --reversedeps libjpeg" would upgrade all
> packages depend on (the local) libjpeg. This should be straightforward
> to implement and imho this is a bit more sophisticated than the "pacman
> -Syu libjpeg" request (see bugs.archlinux.org :-P).
> Opinions?

Did you ever think about this more? I'm not sure I like the name of
the flag, but the idea is interesting. I have the feeling more times
than not it will pull in a *lot* of things (something equivalent to
doing -Rsc <pkgname>) in order to be "correct".


More information about the pacman-dev mailing list