Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#5156 - Required by dependencies handling
Attached to Project:
Pacman
Opened by Sergej Pupykin (sergej) - Friday, 04 August 2006, 10:14 GMT
Last edited by Roman Kyrylych (Romashka) - Thursday, 09 November 2006, 00:22 GMT
Opened by Sergej Pupykin (sergej) - Friday, 04 August 2006, 10:14 GMT
Last edited by Roman Kyrylych (Romashka) - Thursday, 09 November 2006, 00:22 GMT
|
DetailsHi!
I write this request after some discussions in arch and pacman-dev mailing lists. (I'll use openssl packages as an example...) 1. What I want? I want update openssl with all packages that depend on it. It is because openssl versioned lib and all linked with it packages will be broken. So I need "pacman -Sy --with-all-pkgs-that-depends-on openssl" 2. Why I think it is usefull? I see that I can do `pacman -Qi openssl | grep Required`. Or I can write trivial one line script. But if depends level >= 1 script will not be oneliner. Now I can see following: I do 'pacman -Sy openssl db' and it breaks many packages. VMiklos <vmiklos@frugalware.org> explain me that it is because of packages have not strict openssl dep (depends=('openssl=0.9.8')). But if such strict dep presents, than pacman gives error. 'pacman -Syu' is not solution because of it upgrades whole system. It is not thing that I want. I want to update only openssl with packages that can not stay unupdated. (openssl was just example of versioned lib...) thanks... |
This task depends upon
Closed by Aaron Griffin (phrakture)
Wednesday, 21 February 2007, 21:54 GMT
Reason for closing: Not a bug
Wednesday, 21 February 2007, 21:54 GMT
Reason for closing: Not a bug
Arch is designed in a way that it only works if you either update everything, or don't update at all.
I see that this problem ahs severity low. However, I see this as a big issue. This type of errors breaks applications. People update a package which breajs packages that depend on it. For example now, I have this problem with ekiga on arch64 (is there a place to flag packages out-of-date for arch64?). Anyway, someone updated evolution-dataserver and now ekiga doesn't start anymore because of a dependency on libebook.so.5, which isn't there anymore.
A while ago, I had this problem also I think with apache, although I also maintained packages myself. I maintainted packages for apache 2.0.x, while in arch apache 2.2.x was in current I believe. The update to apache 2.2.x broke packages (also one in the repositories themselve I think: mod-python?) that depended on apache. Suddenly your webservice may not start anymore because of this problem. I'll repeat again. This was also because I maintainted packages outside of the repositories. But still, mod-python was broken and I had to maintain even more packages myself (apache 2.0.x, ...), atleast for a short period, because of the update.
My conclusion, the severity should atleast be bigger to my opinion. These problems occur. I'm not sure if the version-tag is good in this case, because a packager maybe doesn't know if a dependency will be broken in the next version of it ... It would be good if package-data could be updated without updating the package. So, if you pdate ssl to a newer version, you can check if all sofwtare that depends on it still works with the newer version and update the meta-data of the package to the newer version. Another possibility is that you say that softwarex needs atleast version a of a dependency y. If the dependency y is updated and a breaks because of that, that you signal that in some way (through meta-data?).
Greetings,
Michel
I'd be glad to ship some script with pacman that does what you mention (it's very easy to script "upgrade this package and all packages that depend on it"), but I don't see this as a big issue at all. Broken packages are a maintenance issue, not a pacman issue. If a package is broken, complain to the maintainer.
But I agree, this ticket can be closed...