[opensuse] Re: zypper: How to dist-upgrade specific packages?
Joachim Schrod wrote: Hi,
What is the best method to dist-upgrade only some packages?
My concrete case is that some Packman packages changed their vendor field. I'd like to dist-upgrade only these packages, i.e., to ignore the vendor change for them and to install/upgrade their dependencies if necessary. I do not want to do a full dist-upgrade to the whole Packman repository.
If I call "zypper update package ..." I have to manually declare that vendor change for each and every package in the list.
I discovered that for vendor changes, zypper install will do what I want. It won't do architecture changes (i686->i586), though. Any idea how to allow that? Cheers, Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod Email: jschrod@acm.org Roedermark, Germany -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 29 September 2009 13:19:46 Joachim Schrod wrote:
It won't do architecture changes (i686->i586), though. Any idea how to allow that?
zypper in packagename.i586 should do it Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday September 29 2009 6:19:46 am Joachim Schrod wrote:
I discovered that for vendor changes, zypper install will do what I want.
It won't do architecture changes (i686->i586), though. Any idea how to allow that?
I don't think people are so far following what you're saying. I think I have an idea, but tell me if I'm wrong. When you're doing an update of multiple packages, or merely repeating the same update on multiple machines, you're asked over and over again about the architecture changes for each package and you're hoping there's a way to either do a sort of "yes to all" thing or specify beforehand to silence certain messages and act as if "yes" was chosen, right? If so, there's no simple way to do it. There's nothing built in, so you'd have to come up with a fancy shmancy shell script of some kind that watches the output and responds. I know it can be done, but it'd be a headache for me to figure out (if I have no deadline, I'll look at a man page for something and wind up reading beyond what I was looking up and continuing to other man pages - this lasts for way too long). Anyway, so that's what it is as far as I know. I hope someone corrects me. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Anders Johansson
-
Constantinos Galilei
-
Joachim Schrod