[opensuse] 13.1 - zypper - strange results from zypper patch

Hi all Since yesterday, I get strange results from zypper patch: ---------- quote ---------- # zypper patch-check Loading repository data... Reading installed packages... 5 patches needed (3 security patches) # zypper list-patches Loading repository data... Reading installed packages... Repository | Name | Version | Category | Status | Summary ---------------------+----------------+---------+-------------+--------+-------- openSUSE-13.1-Update | openSUSE-2014- | 1 | recommended | needed | Image-> openSUSE-13.1-Update | openSUSE-2014- | 1 | security | needed | ntp: -> openSUSE-13.1-Update | openSUSE-2014- | 1 | recommended | needed | vorbi-> openSUSE-13.1-Update | openSUSE-2014- | 1 | security | needed | Mozil-> openSUSE-13.1-Update | openSUSE-2014- | 1 | security | needed | updat-> # zypper patch Loading repository data... Reading installed packages... Resolving package dependencies... Nothing to do. -------- end quote -------- How come, "zypper patch" got nothing to do if "zypper list-patches" lists 5 patches that need to get installed? Version info about concerned packages: ---------- quote ---------- # zypper info ImageMagick [...] Repository: openSUSE-13.1-Update Name: ImageMagick Version: 6.8.6.9-2.16.1 Arch: x86_64 Vendor: openSUSE Installed: Yes Status: out-of-date (version 6.8.6.9-2.12.1 installed) # zypper info ntp [...] Repository: openSUSE-13.1-Update Name: ntp Version: 4.2.6p5-15.5.1 Arch: x86_64 Vendor: openSUSE Installed: Yes Status: out-of-date (version 4.2.6p5-15.2.1 installed) # zypper info vorbis-tools [...] Repository: openSUSE-13.1-Update Name: vorbis-tools Version: 1.4.0-14.4.1 Arch: x86_64 Vendor: openSUSE Installed: Yes Status: out-of-date (version 1.4.0-14.1.1 installed) # zypper info MozillaFirefox [...] Repository: openSUSE-13.1-Update Name: MozillaFirefox Version: 31.0-33.1 Arch: x86_64 Vendor: openSUSE Installed: Yes Status: out-of-date (version 30.0-29.1 installed) # zypper info pulseaudio [...] Repository: openSUSE-13.1-Update Name: pulseaudio Version: 4.0.git.270.g9490a-12.1 Arch: x86_64 Vendor: openSUSE Installed: Yes Status: out-of-date (version 4.0.git.270.g9490a-8.1 installed) -------- end quote -------- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

On Thu, Jul 31, 2014 at 09:09:38AM +0200, Rolf Krahl wrote:
Hi all
Since yesterday, I get strange results from zypper patch:
---------- quote ---------- # zypper patch-check Loading repository data... Reading installed packages... 5 patches needed (3 security patches) # zypper list-patches Loading repository data... Reading installed packages...
Repository | Name | Version | Category | Status | Summary ---------------------+----------------+---------+-------------+--------+-------- openSUSE-13.1-Update | openSUSE-2014- | 1 | recommended | needed | Image-> openSUSE-13.1-Update | openSUSE-2014- | 1 | security | needed | ntp: -> openSUSE-13.1-Update | openSUSE-2014- | 1 | recommended | needed | vorbi-> openSUSE-13.1-Update | openSUSE-2014- | 1 | security | needed | Mozil-> openSUSE-13.1-Update | openSUSE-2014- | 1 | security | needed | updat-> # zypper patch Loading repository data... Reading installed packages... Resolving package dependencies...
Nothing to do. -------- end quote --------
How come, "zypper patch" got nothing to do if "zypper list-patches" lists 5 patches that need to get installed?
This is weird. What is "zypper in ntp" reporting for instance? Would "zypper up" update them? CIao, Marcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

Am Donnerstag, 31. Juli 2014, 09:26:05 schrieb Marcus Meissner:
This is weird.
What is "zypper in ntp" reporting for instance?
Would "zypper up" update them?
Both would update them: ---------- quote ---------- # zypper in ntp Loading repository data... Reading installed packages... Resolving package dependencies... The following package is going to be upgraded: ntp 1 package to upgrade. Overall download size: 558.6 KiB. After the operation, additional 1.7 KiB will be used. Continue? [y/n/? shows all options] (y): n # zypper up Loading repository data... Reading installed packages... The following NEW package is going to be installed: yast2-inetd-doc The following 21 packages are going to be upgraded: ImageMagick MozillaFirefox MozillaFirefox-translations-common libMagick++-6_Q16-2 libMagickCore-6_Q16-1 libMagickWand-6_Q16-1 libfreebl3 libpulse-mainloop-glib0 libpulse0 libsoftokn3 mozilla-nss mozilla-nss-certs ntp pulseaudio pulseaudio-module-bluetooth pulseaudio-module-jack pulseaudio-module-lirc pulseaudio-module-x11 pulseaudio-module-zeroconf pulseaudio-utils vorbis-tools 21 packages to upgrade, 1 new. Overall download size: 44.8 MiB. After the operation, additional 4.4 MiB will be used. Continue? [y/n/? shows all options] (y): n -------- end quote -------- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

Am Donnerstag, 31. Juli 2014, 09:09:38 schrieb Rolf Krahl:
Hi all
Since yesterday, I get strange results from zypper patch:
Update, another interesting info, "zypper search" does not seem to see these patches: ---------- quote ---------- rinzewind:~ # zypper search -t patch Loading repository data... Reading installed packages... S | Name | Summary | Type --+--------------------+-------------------------------------------------+------ [...] i | openSUSE-2014-460 | security update for flash-player | patch i | openSUSE-2014-461 | mkinitrd: Make booting from bcache devices po-> | patch i | openSUSE-2014-462 | aaa_base: remove "text/js" from mime.types | patch i | openSUSE-2014-463 | lzo, liblzo-2-2: fix security issue. | patch | openSUSE-2014-464 | php, php5, php53: fixes several security issues | patch i | openSUSE-2014-465 | dbus-1: fixes several issues | patch | openSUSE-2014-467 | - logrotate: fixed a security issue | patch | openSUSE-2014-469 | eet: fix security issue | patch [...] -------- end quote -------- The newest patch (by number) that "zypper search" sees, openSUSE-2014-469, dates from Fri Jul 11. Unfortunately the names are cut in the output from "zypper list-patches", but the offending patches must be newer then this. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

Am Donnerstag, 31. Juli 2014, 09:09:38 schrieb Rolf Krahl:
Hi all
Since yesterday, I get strange results from zypper patch:
Update[2]: Digging a little deeper, I guess, I get closer to the problem. I had a look into http://download.opensuse.org/update/13.1/repodata/d5613a83faa8c47d002f9de8ad... ---------- quote ---------- <updates> [...] <update from="maint-coord@suse.de" status="stable" type="security" version="1"
<id>openSUSE-2014-</id> <title>apache2-mod_wsgi: fixed off-by-one error in setgroups</title> <severity>moderate</severity> <release>openSUSE 13.1 Update</release> <issued date="1405510754" /> [...] <update from="maint-coord@suse.de" status="stable" type="security" version="1"
<id>openSUSE-2014-</id> <title>php5: security fixes</title> <severity>moderate</severity> <release>openSUSE 13.1 Update</release> <issued date="1405938099" /> [...] <update from="maint-coord@suse.de" status="stable" type="recommended" version= "1"> <id>openSUSE-2014-</id> <title>clamav: 0.98.4 version update</title> <severity>moderate</severity> <release>openSUSE 13.1 Update</release> <issued date="1405933483" /> [...] <update from="maint-coord@suse.de" status="stable" type="recommended" version= "1"> <id>openSUSE-2014-</id> <title>ImageMagick: enable fft support</title> <severity>low</severity> <release>openSUSE 13.1 Update</release> <issued date="1406016812" /> [...] <update from="maint-coord@suse.de" status="stable" type="security" version="1"
<id>openSUSE-2014-</id> <title>ntp: adjust default config against distributed denial of service attack</title> <severity>moderate</severity> <release>openSUSE 13.1 Update</release> <issued date="1406025709" /> [...] <update from="maint-coord@suse.de" status="stable" type="recommended" version= "1"> <id>openSUSE-2014-</id> <title>vorbis-tools: Fixes segmentation fault of vcut</title> <severity>low</severity> <release>openSUSE 13.1 Update</release> <issued date="1406100219" /> [...] <update from="maint-coord@suse.de" status="stable" type="security" version="1"
<id>openSUSE-2014-</id> <title>MozillaFirefox: Update to Mozilla Firefox 31</title> <severity>important</severity> <release>openSUSE 13.1 Update</release> <issued date="1406269558" /> [...] <update from="maint-coord@suse.de" status="stable" type="security" version="1"
<id>openSUSE-2014-</id> <title>update for pulseaudio</title> <severity>moderate</severity> <release>openSUSE 13.1 Update</release> <issued date="1406129776" /> [...] </updates> -------- end quote -------- Note the crippled ids "openSUSE-2014-". Its eight patches having this id. apache2-mod_wsgi php5 clamav do not concern my installation. The remaining five are just the patches, listed by "zypper list-patches". It seems that "zypper patch" does not cope well with duplicate ids. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

Hi, This is bad and should not happen. (Basically libzypp only looks at the newest version of "openSUSE-2014-", and ignore the rest... as observed.) I just mailed the guys reponsible for the generator code. Ciao, Marcus On Thu, Jul 31, 2014 at 10:34:33AM +0200, Rolf Krahl wrote:
Am Donnerstag, 31. Juli 2014, 09:09:38 schrieb Rolf Krahl:
Hi all
Since yesterday, I get strange results from zypper patch:
Update[2]: Digging a little deeper, I guess, I get closer to the problem.
I had a look into
http://download.opensuse.org/update/13.1/repodata/d5613a83faa8c47d002f9de8ad...
---------- quote ---------- <updates> [...] <update from="maint-coord@suse.de" status="stable" type="security" version="1"
<id>openSUSE-2014-</id> <title>apache2-mod_wsgi: fixed off-by-one error in setgroups</title> <severity>moderate</severity> <release>openSUSE 13.1 Update</release> <issued date="1405510754" /> [...] <update from="maint-coord@suse.de" status="stable" type="security" version="1"
<id>openSUSE-2014-</id> <title>php5: security fixes</title> <severity>moderate</severity> <release>openSUSE 13.1 Update</release> <issued date="1405938099" /> [...] <update from="maint-coord@suse.de" status="stable" type="recommended" version= "1"> <id>openSUSE-2014-</id> <title>clamav: 0.98.4 version update</title> <severity>moderate</severity> <release>openSUSE 13.1 Update</release> <issued date="1405933483" /> [...] <update from="maint-coord@suse.de" status="stable" type="recommended" version= "1"> <id>openSUSE-2014-</id> <title>ImageMagick: enable fft support</title> <severity>low</severity> <release>openSUSE 13.1 Update</release> <issued date="1406016812" /> [...] <update from="maint-coord@suse.de" status="stable" type="security" version="1"
<id>openSUSE-2014-</id> <title>ntp: adjust default config against distributed denial of service attack</title> <severity>moderate</severity> <release>openSUSE 13.1 Update</release> <issued date="1406025709" /> [...] <update from="maint-coord@suse.de" status="stable" type="recommended" version= "1"> <id>openSUSE-2014-</id> <title>vorbis-tools: Fixes segmentation fault of vcut</title> <severity>low</severity> <release>openSUSE 13.1 Update</release> <issued date="1406100219" /> [...] <update from="maint-coord@suse.de" status="stable" type="security" version="1"
<id>openSUSE-2014-</id> <title>MozillaFirefox: Update to Mozilla Firefox 31</title> <severity>important</severity> <release>openSUSE 13.1 Update</release> <issued date="1406269558" /> [...] <update from="maint-coord@suse.de" status="stable" type="security" version="1"
<id>openSUSE-2014-</id> <title>update for pulseaudio</title> <severity>moderate</severity> <release>openSUSE 13.1 Update</release> <issued date="1406129776" /> [...] </updates> -------- end quote --------
Note the crippled ids "openSUSE-2014-". Its eight patches having this id. apache2-mod_wsgi php5 clamav do not concern my installation. The remaining five are just the patches, listed by "zypper list-patches". It seems that "zypper patch" does not cope well with duplicate ids.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

On Thursday 31 of July 2014 10:34:33 Rolf Krahl wrote:
Note the crippled ids "openSUSE-2014-". Its eight patches having this id. apache2-mod_wsgi php5 clamav do not concern my installation. The remaining five are just the patches, listed by "zypper list-patches". It seems that "zypper patch" does not cope well with duplicate ids.
I noticed this several days ago on 12.3 for clamscan. I'm surprised nobody else asked about it. -- Regards, Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

On Thu, Jul 31, 2014 at 11:50:34AM +0300, auxsvr@gmail.com wrote:
On Thursday 31 of July 2014 10:34:33 Rolf Krahl wrote:
Note the crippled ids "openSUSE-2014-". Its eight patches having this id. apache2-mod_wsgi php5 clamav do not concern my installation. The remaining five are just the patches, listed by "zypper list-patches". It seems that "zypper patch" does not cope well with duplicate ids.
I noticed this several days ago on 12.3 for clamscan. I'm surprised nobody else asked about it.
No one told maintenance@opensuse.org or other places I see... and I am personally using the -test repo, which uses a different patch name generator method. Ciao, MArcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org

Hi, The issue was corrected by the buildservice team and should be clearing up just now. Please retest. Ciao, Marcus On Thu, Jul 31, 2014 at 10:58:19AM +0200, Marcus Meissner wrote:
On Thu, Jul 31, 2014 at 11:50:34AM +0300, auxsvr@gmail.com wrote:
On Thursday 31 of July 2014 10:34:33 Rolf Krahl wrote:
Note the crippled ids "openSUSE-2014-". Its eight patches having this id. apache2-mod_wsgi php5 clamav do not concern my installation. The remaining five are just the patches, listed by "zypper list-patches". It seems that "zypper patch" does not cope well with duplicate ids.
I noticed this several days ago on 12.3 for clamscan. I'm surprised nobody else asked about it.
No one told maintenance@opensuse.org or other places I see... and I am personally using the -test repo, which uses a different patch name generator method.
Ciao, MArcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
auxsvr@gmail.com
-
Marcus Meissner
-
Rolf Krahl