[zypp-devel] selective zypper update
following problem occurs on my SLES 11.1, kernel 2.6.32.12-0.7-default, zypper 1.3.7: I get all packages to update: # zypper lu Loading repository data... Reading installed packages... S | Repository | Name | Current Version | Available Version | Arch --+---------------------+--------------------+-------------------+-------------------+------- v | epages.com - update | epages-j | 6.14.2-0 | 6.15.0-0 | i386 v | epages.com - update | epages-patch | 6.14.2-0 | 6.15.0-0 | i386 v | epages.com - arch | jdk | 2000:1.7.0_05-fcs | 2000:1.7.0_09-fcs | x86_64 v | epages.com - arch | mongo-10gen | 2.0.6-mongodb_1 | 2.2.1-mongodb_1 | x86_64 v | epages.com - arch | mongo-10gen-server | 2.0.6-mongodb_1 | 2.2.1-mongodb_1 | x86_64 updating all packages works: # zypper up Loading repository data... Reading installed packages... The following package updates will NOT be installed: The following NEW package is going to be installed: epages-patch_6_15_0 The following packages are going to be upgraded: epages-j epages-patch jdk mongo-10gen mongo-10gen-server The following packages are not supported by their vendor: epages-j epages-patch epages-patch_6_15_0 jdk mongo-10gen mongo-10gen-server 5 packages to upgrade, 1 new. Overall download size: 406.3 MiB. After the operation, additional 442.3 MiB will be used. Continue? [y/n/?] (y): n But I can't update only selected packages: # zypper up 'epages-*' Loading repository data... Reading installed packages... No update candidate for 'epages-appsrv'. No update candidate for 'epages-common'. No update candidate for 'epages-mysql'. No update candidate for 'epages-mysqld'. No update candidate for 'epages-patch_6_14_2'. No update candidate for 'epages-perl'. No update candidate for 'epages-release'. No update candidate for 'epages-reqsrv'. Resolving package dependencies... Nothing to do. Nor that works: # zypper up epages-j Loading repository data... Reading installed packages... Resolving package dependencies... Nothing to do. Do you have an idea how to update only selected packages? Greetings, Wolf. -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org
On Wednesday 16 January 2013 12:40:57 Wolf-Dietrich Filss wrote:
Do you have an idea how to update only selected packages?
That's probably a missing feature. The install/update command expects exact package names and does not support globbing or regex. Newer zypper versions will print a line like Package 'epages-*' not found. so it becomes more obvious. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres SUSE LINUX Products GmbH, Development, ma@suse.de GF:Jeff Hawn,Jennifer Guild,Felix Imendörffer, HRB16746(AG Nürnberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org
On Wednesday 16 January 2013 12:40:57 Wolf-Dietrich Filss wrote:
Do you have an idea how to update only selected packages?
That's probably a missing feature. The install/update command expects exact package names and does not support globbing or regex.
Newer zypper versions will print a line like
Package 'epages-*' not found.
so it becomes more obvious.
thank you for you fast response. anyway, any clue why 'zypper up epages-j' does not work? greetings, wolf. -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org
On Wednesday 16 January 2013 16:21:26 Wolf-Dietrich Filss wrote:
thank you for you fast response. anyway, any clue why 'zypper up epages-j' does not work?
I overlooked this. Can you send me your /var/log/zypper.log? (to ma(at)suse.de) I'll have a closer look at it. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres SUSE LINUX Products GmbH, Development, ma@suse.de GF:Jeff Hawn,Jennifer Guild,Felix Imendörffer, HRB16746(AG Nürnberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org
What I did: zypper clean -a cat /dev/null > /var/log/zypper.log zypper lu zypper up epages-j # no action zypper up # works attached zypper.log. thank you, greetings. wolf. -----Original Message----- From: ma@suse.de Subject: Re: [zypp-devel] selective zypper update Date: Wed, 16 Jan 2013 18:05:40 +0100 On Wednesday 16 January 2013 16:21:26 Wolf-Dietrich Filss wrote:
thank you for you fast response. anyway, any clue why 'zypper up epages-j' does not work?
I overlooked this. Can you send me your /var/log/zypper.log? (to ma(at)suse.de) I'll have a closer look at it. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres SUSE LINUX Products GmbH, Development, ma@suse.de GF:Jeff Hawn,Jennifer Guild,Felix Imendörffer, HRB16746(AG Nürnberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org
On Thursday 17 January 2013 09:29:47 Wolf-Dietrich Filss wrote:
zypper clean -a cat /dev/null > /var/log/zypper.log zypper lu zypper up epages-j # no action zypper up # works
$ rpm -qp epages-j-6.14.2-0.i386.rpm --provides * epages-j epages-j = 6.14.2-0 The strange behavior is caused by the self-provides 'epages-j'. Packages should not do this. A provides without version matches any version. 'zypper up epages-j' asks the resolver to install a package providing 'epages-j > 6.14.2-0'. As the the self-provides matches any version, the already installed 6.14.2-0 fullfills this request. So there is nothing todo. With 'zypper up' it most probably works because updating some other package requires moving to epages-j-6.15. Future resolver versions handle this a bit smarter, but I don't know when those changes were introduced. zypper-1.3.7/libzypp-6.31.4 on your system is pretty old, even for SLE11. Maybe you can try out the latest versions zypper-1.3.22/libzypp-6.37.11. Nevertheless one should also consider to fix the epages-j packages. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres SUSE LINUX Products GmbH, Development, ma@suse.de GF:Jeff Hawn,Jennifer Guild,Felix Imendörffer, HRB16746(AG Nürnberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org
alas, I use the same repo files for yum and zypper, I simply copy files in /etc/yum.repos.d/epages*.repo to /etc/zypp/repos.d and clean zypper. attached is tar.gz of /etc/zypp -----Original Message----- From: ma@suse.de Subject: Re: [zypp-devel] selective zypper update Date: Wed, 16 Jan 2013 18:05:40 +0100 On Wednesday 16 January 2013 16:21:26 Wolf-Dietrich Filss wrote:
thank you for you fast response. anyway, any clue why 'zypper up epages-j' does not work?
I overlooked this. Can you send me your /var/log/zypper.log? (to ma(at)suse.de) I'll have a closer look at it. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres SUSE LINUX Products GmbH, Development, ma@suse.de GF:Jeff Hawn,Jennifer Guild,Felix Imendörffer, HRB16746(AG Nürnberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org
participants (2)
-
Michael Andres
-
Wolf-Dietrich Filss