Mailinglist Archive: opensuse-autoinstall (68 mails)

< Previous Next >
RE: [opensuse-autoinstall] OpenSUSE 11.0: Truly non-interactive "zypper update"?
  • From: Hans-Joachim Ehlers <HansJoachim.Ehlers@xxxxxxxxxxxx>
  • Date: Thu, 26 Mar 2009 17:56:28 +0100
  • Message-id: <A3ADF8C56ADA0F45BC34F904A6514E28014EDEF4A55C@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Have you tried first to patch the system and then do any updates ? Its looks to
me that zypper behaves different on updates and patches.

Thus you check for updates but zypper shows patches. Maybe a bug ?

+ zypper -n list-updates
Reading installed packages...
------> Patches

Warning: These are only the updates affecting the updater itself.
Other updates are available too.

Repository | Name | Version | Category | Status
----------------------+--------------+---------+-------------+-------
openSUSE 11.0 Updates | softwaremgmt | 365 | recommended | Needed
openSUSE 11.0 Updates | softwaremgmt | 462 | recommended | Needed
+ zypper -n update --skip-interactive --auto-agree-with-licenses --
force-resolution
Reading installed packages...

-------> Problem: cannot install both patch:softwaremgmt-462.noarch and
patch:softwaremgmt-365.noarch
Solution 1: do not install patch:softwaremgmt-462.noarch
Solution 2: do not install patch:softwaremgmt-365.noarch


Thus first apply patches and then update
$ zypper patch ....

then

$ zyper update ....


hth
Hajo
< Previous Next >
Follow Ups
References