Re: [opensuse] Re: zypper: How to dist-upgrade specific packages?



On Tuesday 29 September 2009 13:13:58 Joachim Schrod wrote:
Michael S. Dunsavage writes:

Hi, thanks for your answer.

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?

Try zypper up <package>

This will ask interactive questions, which is tedious to answer for
dozens of questions on several systems. As mentioned in my first email
in this thread, I'm looking for a way to install them without the
manual interaction required for each and every package.

You could try this:

zypper up --force-resolution --auto-agree-with-licenses --repo $PACKMANS_NUMBER "*"

This forces only upgrades of packages that are available from Packman.
It will auto-accept any licences, although I'm not sure I recall seeing
any Packman packages that do need a licence acceptance. It also appears
that it will change vendors as required.

If you're not sure about this, you can also add the --dry-run option
before the "*" and it will do everything but actually install the
packages.

Finally, $PACKMANS_NUMBER can be found by using:

zypper sl


Regards,
David Bolt

--
Team Acorn: www.distributed.net OGR-NG @ ~100Mnodes RC5-72 @ ~1Mkeys/s
openSUSE 10.3 32b | openSUSE 11.0 32b | |
openSUSE 10.3 64b | openSUSE 11.0 64b | openSUSE 11.1 64b | openSUSE 11.2m7
RISC OS 3.6 | RISC OS 3.11 | openSUSE 11.1 PPC | TOS 4.02
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages