[Bug 555296] New: zypper: zypper up doesn't show upgrades that zypper search does
http://bugzilla.novell.com/show_bug.cgi?id=555296 Summary: zypper: zypper up doesn't show upgrades that zypper search does Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: jnelson-suse@jamponi.net QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4) Gecko/20091016 SUSE/3.5.4-1.1.2 Firefox/3.5.4 I don't understand why zypper won't find the upgrade for a package. Example: worklaptop:~ # zypper search -ds jfsu Loading repository data... Reading installed packages... S | Name | Type | Version | Arch | Repository --+----------------------+------------+-------------+--------+---------------------------- v | jfsutils | package | 1.1.14-31.1 | x86_64 | jnelson-suse's Home Project v | jfsutils | package | 1.1.14-31.1 | i586 | jnelson-suse's Home Project i | jfsutils | package | 1.1.12-27.1 | x86_64 | openSUSE-11.2-Oss v | jfsutils | package | 1.1.12-27.1 | i586 | openSUSE-11.2-Oss | jfsutils | srcpackage | 1.1.14-31.1 | noarch | jnelson-suse's Home Project | jfsutils-debuginfo | package | 1.1.12-27.1 | x86_64 | openSUSE-11.2-Debug | jfsutils-debuginfo | package | 1.1.12-27.1 | i586 | openSUSE-11.2-Debug | jfsutils-debugsource | package | 1.1.12-27.1 | x86_64 | openSUSE-11.2-Debug | jfsutils-debugsource | package | 1.1.12-27.1 | i586 | openSUSE-11.2-Debug worklaptop:~ # zypper -vv up jfsutils Verbosity: 2 Non-option program arguments: 'jfsutils' Initializing Target Checking whether to refresh metadata for Google - i386 Checking whether to refresh metadata for NVIDIA Repository Checking whether to refresh metadata for Packman Repository Checking whether to refresh metadata for Software configuration management (openSUSE_11.2) Checking whether to refresh metadata for Telephony Software (openSUSE_11.2) Checking whether to refresh metadata for VirtualBox OSE is an Emulator (openSUSE_11.2) Checking whether to refresh metadata for Virtualization:Qemu Checking whether to refresh metadata for jnelson-suse's Home Project Checking whether to refresh metadata for openSUSE-11.2-Debug Checking whether to refresh metadata for openSUSE-11.2-Non-Oss Checking whether to refresh metadata for openSUSE-11.2-Oss Checking whether to refresh metadata for openSUSE-11.2-Update Loading repository data... Reading installed packages... Force resolution: No No update candidate for 'jfsutils'. Resolving package dependencies... Force resolution: No Nothing to do. worklaptop:~ # As you can see, zypper search finds jfsutils 1.1.14, but zypper up doesn't appear to be considering it. Why not? Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555296 User jkupec@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=555296#c1 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |jkupec@novell.com Info Provider| |jnelson-suse@jamponi.net --- Comment #1 from Ján Kupec <jkupec@novell.com> 2009-11-13 07:47:12 MST --- Probably because of different vendor or repo priority. Things to check: $ zypper lu -a | grep jfsutils # should show the update $ zypper in jfsutils # should ask you to allow vendor change # in case that was the problem $ zyper lr -P # shows your repos with priorities if it still looks like a bug after checking the above, please attach a solver testcase (zypper up --debug-solver jfsutils) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555296 User jkupec@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=555296#c2 --- Comment #2 from Ján Kupec <jkupec@novell.com> 2009-11-13 07:49:42 MST --- (In reply to comment #1)
$ zypper in jfsutils # should ask you to allow vendor change # in case that was the problem
Uhm. I'm not sure if it currently works that way. It'll probably act just like 'up', telling you that jfsutils is already installed. But 'zypper in jsfutils-1.1.14-31.1' should work (and ask you to allow the vendor change). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555296 User jnelson-suse@jamponi.net added comment http://bugzilla.novell.com/show_bug.cgi?id=555296#c3 Jon Nelson <jnelson-suse@jamponi.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|jnelson-suse@jamponi.net | --- Comment #3 from Jon Nelson <jnelson-suse@jamponi.net> 2009-11-13 07:56:56 MST --- worklaptop:~ # zypper lu Loading repository data... Reading installed packages... No updates found. worklaptop:~ # zypper in jfsutils Loading repository data... Reading installed packages... 'jfsutils' is already installed. Resolving package dependencies... Nothing to do. worklaptop:~ # zypper -v in -f jfsutils Verbosity: 1 Non-option program arguments: 'jfsutils' Initializing Target Checking whether to refresh metadata for Google - i386 Checking whether to refresh metadata for NVIDIA Repository Checking whether to refresh metadata for Packman Repository Checking whether to refresh metadata for Software configuration management (openSUSE_11.2) Checking whether to refresh metadata for Telephony Software (openSUSE_11.2) Checking whether to refresh metadata for VirtualBox OSE is an Emulator (openSUSE_11.2) Checking whether to refresh metadata for Virtualization:Qemu Checking whether to refresh metadata for jnelson-suse's Home Project Checking whether to refresh metadata for openSUSE-11.2-Debug Checking whether to refresh metadata for openSUSE-11.2-Non-Oss Checking whether to refresh metadata for openSUSE-11.2-Oss Checking whether to refresh metadata for openSUSE-11.2-Update Loading repository data... Reading installed packages... Force resolution: Yes Resolving package dependencies... Force resolution: Yes The following package is going to be reinstalled: jfsutils 1.1.12-27.1 1 package to reinstall. Overall download size: 764.0 KiB. No additional space will be used or freed after the operation. Continue? [y/n/?] (y): n worklaptop:~ # zypper lr -P # | Alias | Name | Enabled | Refresh | Priority ---+---------------------------------------------------+----------------------------------------------------+---------+---------+--------- 15 | openSUSE-11.2-Update | openSUSE-11.2-Update | Yes | Yes | 20 10 | jnelson-suse's_Home_Project | jnelson-suse's Home Project | Yes | Yes | 98 16 | openSUSE_11.2_(DVD) | openSUSE 11.2 (DVD) | No | Yes | 98 1 | Google_-_i386 | Google - i386 | Yes | Yes | 99 2 | KDE_4.3.x_BETA_Packages | KDE 4.3.x BETA Packages | No | Yes | 99 3 | NVIDIA_Repository | NVIDIA Repository | Yes | Yes | 99 4 | Packman_Repository | Packman Repository | Yes | Yes | 99 5 | Software_configuration_management_(openSUSE_11.2) | Software configuration management (openSUSE_11.2) | Yes | Yes | 99 6 | Telephony_Software_(openSUSE_11.2) | Telephony Software (openSUSE_11.2) | Yes | Yes | 99 7 | VirtualBox_OSE_is_an_Emulator_(openSUSE_11.2) | VirtualBox OSE is an Emulator (openSUSE_11.2) | Yes | Yes | 99 8 | Virtualization:Qemu_1 | Virtualization:Qemu | Yes | Yes | 99 11 | openSUSE-11.2-Debug | openSUSE-11.2-Debug | Yes | Yes | 99 12 | openSUSE-11.2-Non-Oss | openSUSE-11.2-Non-Oss | Yes | Yes | 99 13 | openSUSE-11.2-Oss | openSUSE-11.2-Oss | Yes | Yes | 99 14 | openSUSE-11.2-Source | openSUSE-11.2-Source | No | Yes | 99 17 | openSUSE_Tools_1 | openSUSE Tools | No | Yes | 99 worklaptop:~ # -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555296 User jkupec@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=555296#c4 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |jnelson-suse@jamponi.net --- Comment #4 from Ján Kupec <jkupec@novell.com> 2009-11-13 08:02:52 MST --- please also do $ zypper lu -a | grep jfsutils $ zypper -v in jsfutils-1.1.14-31.1 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555296 User jnelson-suse@jamponi.net added comment http://bugzilla.novell.com/show_bug.cgi?id=555296#c5 Jon Nelson <jnelson-suse@jamponi.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|jnelson-suse@jamponi.net | --- Comment #5 from Jon Nelson <jnelson-suse@jamponi.net> 2009-11-13 08:06:00 MST --- worklaptop:~ # zypper lu -a Loading repository data... Reading installed packages... No updates found. worklaptop:~ # zypper -v in jsfutils-1.1.14-31.1 Verbosity: 1 Non-option program arguments: 'jsfutils-1.1.14-31.1' Initializing Target Checking whether to refresh metadata for Google - i386 Checking whether to refresh metadata for NVIDIA Repository Checking whether to refresh metadata for Packman Repository Checking whether to refresh metadata for Software configuration management (openSUSE_11.2) Checking whether to refresh metadata for Telephony Software (openSUSE_11.2) Checking whether to refresh metadata for VirtualBox OSE is an Emulator (openSUSE_11.2) Checking whether to refresh metadata for Virtualization:Qemu Checking whether to refresh metadata for jnelson-suse's Home Project Checking whether to refresh metadata for openSUSE-11.2-Debug Checking whether to refresh metadata for openSUSE-11.2-Non-Oss Checking whether to refresh metadata for openSUSE-11.2-Oss Checking whether to refresh metadata for openSUSE-11.2-Update Loading repository data... Reading installed packages... Force resolution: Yes 'jsfutils-1.1.14-31.1' not found. Resolving package dependencies... Force resolution: Yes Nothing to do. worklaptop:~ # -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555296 User jkupec@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=555296#c6 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |jnelson-suse@jamponi.net --- Comment #6 from Ján Kupec <jkupec@novell.com> 2009-11-13 08:10:13 MST --- Well, that's bad. Please attach the solver testcase. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555296 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555296 User jnelson-suse@jamponi.net added comment http://bugzilla.novell.com/show_bug.cgi?id=555296#c7 Jon Nelson <jnelson-suse@jamponi.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|jnelson-suse@jamponi.net | --- Comment #7 from Jon Nelson <jnelson-suse@jamponi.net> 2009-11-13 08:18:12 MST --- Created an attachment (id=327449) --> (http://bugzilla.novell.com/attachment.cgi?id=327449) zypper solver test case D'Oh! I forgot to do that. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555296#c8 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |ma@novell.com Resolution| |INVALID --- Comment #8 from Michael Andres <ma@novell.com> 2009-11-17 12:05:14 UTC --- (In reply to comment #5)
'jsfutils-1.1.14-31.1' not found.
Due to a typeo in comment #4: name is jfsutils (not jsfutils). ;) -- jfsutils-1.1.14 is no candidate for automatic update, because it's vendor is 'obs://build.opensuse.org/home:jnelson-suse' and the installed ones is 'openSUSE'. -- There've been several changes to the zypper commandline handling. At least the latest zypper (1.2.10) should support selecting a specific package version via: zypper in jfsutils-1.1.14-31.1 or zypper in --from "jnelson-suse's_Home_Project" jfsutils CAUTION: Zypper expects the repositories ALIAS as argument to --from. Don't mix it up with the NAME, which is shown in 'zypper se' Repository column. In doubt check 'zypper lr'. @Jano: It would IMO be a nice enhancement, if any repo spec was accepted, that matches either a repositories alias, or exactly one repos name. This way one could simply cut'n'paste from 'zypper se -s' output. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555296#c9 Jon Nelson <jnelson-suse@jamponi.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | --- Comment #9 from Jon Nelson <jnelson-suse@jamponi.net> 2009-11-17 15:17:28 UTC --- I don't see how this can be resolved. As far as I'm concerned, if package foo-1.0 is installed and package foo-2.0 is available to install, then I and everybody else would consider foo a candidate for upgrade. zypper in jfsutils-1.1.14-31.1 *does* work, however 'zypper up' doesn't, and I think that a *lot* of people are going to find this very confusing. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555296#c10 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED AssignedTo|zypp-maintainers@forge.prov |jkupec@novell.com |o.novell.com | --- Comment #10 from Ján Kupec <jkupec@novell.com> 2009-11-18 10:22:59 UTC --- (In reply to comment #9)
I don't see how this can be resolved.
This is how it is designed to work, from the POV of the dependency resolver. However, this is a usability bug in zypper's UI, read on.
As far as I'm concerned, if package foo-1.0 is installed and package foo-2.0 is available to install, then I and everybody else would consider foo a candidate for upgrade.
zypper in jfsutils-1.1.14-31.1
*does* work, however 'zypper up' doesn't, and I think that a *lot* of people are going to find this very confusing.
They already do. What is missing here is that zypper up should report that it intentionally skipped jfsutils because that update would mean a change of vendor and hint what should be done to update such packages. I'll keep this bug open until the reporting is fixed or someone finds a duplicate (there are some IIRC). In the meantime, add file with the following content to your /etc/zypp/vendors.d/: [main] vendors=obs://build.opensuse.org/home:jnelson-suse @ma: is this correct, or would "vendors=home:jnelson-suse" suffice? Do we have this somewhere documented? I always have to learn this anew when i need it occasionally :O) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555296#c11 --- Comment #11 from Ján Kupec <jkupec@novell.com> 2009-11-18 10:24:27 UTC --- (In reply to comment #8)
@Jano: It would IMO be a nice enhancement, if any repo spec was accepted, that matches either a repositories alias, or exactly one repos name. This way one could simply cut'n'paste from 'zypper se -s' output.
Sure, this is planned: bug 543510. Thanx for spotting the typo btw :O) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555296#c Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 - High |P3 - Medium -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555296 http://bugzilla.novell.com/show_bug.cgi?id=555296#c12 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Markus.Elfring@web.de --- Comment #12 from Ján Kupec <jkupec@novell.com> 2010-03-03 13:37:55 UTC --- *** Bug 524625 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=524625 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555296 http://bugzilla.novell.com/show_bug.cgi?id=555296#c13 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #13 from Ján Kupec <jkupec@novell.com> 2010-03-18 10:42:38 UTC --- Fixed in zypper 1.4.0 for oS-11.3. zypper in package zypper up package zypper up All these commands provide additional info about which packages won't get updated and 'zypper in/up package' also says why. ----------------------------------------------------- $ LANG=C zypper in amarok faac Loading repository data... Reading installed packages... 'amarok' is already installed. There is an update candidate for 'amarok', but it is locked. Use 'zypper removelock amarok' to unlock it. 'faac' is already installed. There is an update candidate for 'faac', but it is from different vendor. Use 'zypper install faac-1.28-1.pm.2.1.x86_64' to install this candidate. Resolving package dependencies... Nothing to do. ----------------------------------------------------- $ LANG=C zypper up amarok faac Loading repository data... Reading installed packages... There is an update candidate for 'amarok', but it is locked. Use 'zypper removelock amarok' to unlock it. There is an update candidate for 'faac', but it is from different vendor. Use 'zypper install faac-1.28-1.pm.2.1.x86_64' to install this candidate. Resolving package dependencies... Nothing to do. ----------------------------------------------------- $ LANG=C zypper up Loading repository data... Reading installed packages... The following package updates will NOT be installed: DirectFB amarok amarok-lang boost-devel boost-license1_39_0 cairo cmake faac fate ffmpeg gparted gstreamer-0_10-plugins-base gstreamer-0_10-plugins-base-lang gstreamer-0_10-plugins-good gstreamer-0_10-plugins-good-lang k3b k3b-codecs k3b-lang kaffeine kaffeine-lang knemo ktorrent ktorrent-lang libGLEW1_5 libSDL-1_2-0 libSDL_image-1_2-0 libSDL_mixer-1_2-0 libavcodec52 libavdevice52 libavformat52 libavutil50 libboost_date_time1_39_0 libboost_filesystem1_39_0 libboost_graph1_39_0 libboost_iostreams1_39_0 libboost_math1_39_0 libboost_mpi1_39_0 libboost_program_options1_39_0 libboost_python1_39_0 libboost_regex1_39_0 libboost_serialization1_39_0 libboost_signals1_39_0 libboost_system1_39_0 libboost_test1_39_0 libboost_thread1_39_0 libboost_wave1_39_0 libcaca0 libfaac0 libffmpegthumbnailer4 libgstapp-0_10-0 libmikmod libpostproc51 libqjson0 libquicktime0 libspeex1 libswscale0 libtheora0 libv4l libwavpack1 libxine1 libxine1-codecs libxine1-gnome-vfs osc-plugin-overview perl-HTML-Encoding perl-HTML-Tidy perl-SGML-Parser-OpenSP perl-Set-IntSpan perl-WWW-Curl photorec pingus ppracer python-numpy rar ruby-mysql rubygem-haml rubygem-paperclip rubygem-postgres rubygem-sqlite3 wavpack The following NEW packages are going to be installed: libx264-88 perl-String-Approx rubygem-enhancerepo rubygem-trollop The following package is going to be REMOVED: enhancerepo The following packages are going to be upgraded: 2ManDVD MPlayer MozillaThunderbird MozillaThunderbird-translations-other OpenOffice_org-components OpenOffice_org-libs-core OpenOffice_org-libs-extern OpenOffice_org-libs-gui OpenOffice_org-mailmerge OpenOffice_org-math OpenOffice_org-writer cron dvdauthor enigmail gstreamer-0_10 gstreamer-0_10-lang hypermail lame libblas3 libgstinterfaces-0_10-0 libgstreamer-0_10-0 liblapack3 libmp3lame0 liboil-0_3-0 libopenal1-soft mjpegtools python-ReportLab python-m2crypto ruby-rpm ruby-xml-smart rubygem-actionmailer-2_3 rubygem-actionpack-2_3 rubygem-activerecord-2_3 rubygem-activeresource-2_3 rubygem-activesupport-2_3 rubygem-gem2rpm rubygem-gemcutter rubygem-hoe rubygem-icalendar rubygem-json_pure rubygem-maruku rubygem-mechanize rubygem-mocha rubygem-nokogiri rubygem-rack rubygem-rails rubygem-rails-2_3 rubygem-rake rubygem-rubyforge rubygem-syntax rubygems sane-frontends smplayer w3c-markup-validator w3c-markup-validator-libs wireshark xorg-x11-driver-input xorg-x11-driver-video youtube-dl 59 packages to upgrade, 4 new, 1 to remove. Overall download size: 138.8 MiB. After the operation, additional 1.1 MiB will be used. Continue? [y/n/?] (y): -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555296 http://bugzilla.novell.com/show_bug.cgi?id=555296#c14 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |DUPLICATE --- Comment #14 from Ján Kupec <jkupec@novell.com> 2010-03-18 17:46:30 UTC --- *** This bug has been marked as a duplicate of bug 482307 *** http://bugzilla.novell.com/show_bug.cgi?id=482307 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com