[zypp-devel] Recommended packages ignored when Installing from osb, works with manual download
(I also sent this to the opensuse packaging list. Please CC it if possible.) Hi, I want to install the package flac2all: https://build.opensuse.org/package/show?package=flac2all&project=home%3Asebschub which is only available in this very repository (my obs home repository). I thus added the home repository to my local list of repositories (see below for list of activated repositories). Installing from the repository does not take into account the recommended and suggested packages: # zypper in flac2all Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW packages are going to be installed: flac flac2all 2 new packages to install. Overall download size: 554.1 KiB. After the operation, additional 1.6 MiB will be used. Continue? [y/n/?] (y): n If I download the very same rpm directly from build service and install it directly with zypper giving the direct path to the rpm (see above), then the recommended packages will be evaluated: # zypper in /home/schubert/Downloads/flac2all-3.28-2.1.noarch.rpm Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW packages are going to be installed: flac flac2all The following package is recommended, but will not be installed because it's unwanted (was manually removed before): vorbis-tools The following packages are suggested, but will not be installed: lame nero-aac 2 new packages to install. Overall download size: 554.1 KiB. After the operation, additional 1.6 MiB will be used. Continue? [y/n/?] (y): n I would expect the very same behaviour. Is this a bug or a feature? Cheers, Sebastian In the following a list of my repositories. Basically, only the standard openSUSE and my home repository are enabled: # zypper lr --details # | Alias | Name | Enabled | Refresh | Priority | Type | URI | Service ---+-----------------------------+------------------------------------+---------+---------+----------+--------+------------------------------------------------------------------------------------------+-------- 1 | Geo | Geo | No | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/Application:/Geo/openSUSE_12.3/ | 2 | R | R | No | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/R:/patched/openS... | 3 | R_supplement | R supplement | No | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/R:/supplement/op... | 4 | Science | Science | No | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/science/openSUSE_12.3/ | 5 | download.opensuse.org-Extra | openSUSE BuildService - KDE:Extra | No | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_12.3/ | 6 | download.opensuse.org-games | openSUSE BuildService - Games | No | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/games/openSUSE_12.3/ | 7 | ftp.gwdg.de-suse | Packman Repository | Yes | Yes | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_12.3/ | 8 | google-earth | google-earth | No | Yes | 99 | rpm-md | http://dl.google.com/linux/earth/rpm/stable/x86_64 | 9 | ocefpaf | ocefpaf | No | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/home:/ocefpaf/openSUSE_12.3/ | 10 | openSUSE-12.3-1.7 | openSUSE-12.3-1.7 | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/12.3/repo/oss/ | 11 | opensuse-guide.org-repo | libdvdcss repository | No | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/12.3/ | 12 | repo-debug | openSUSE-12.3-Debug | No | Yes | 99 | NONE | http://download.opensuse.org/debug/distribution/12.3/repo/oss/ | 13 | repo-debug-update | openSUSE-12.3-Update-Debug | No | Yes | 99 | NONE | http://download.opensuse.org/debug/update/12.3/ | 14 | repo-debug-update-non-oss | openSUSE-12.3-Update-Debug-Non-Oss | No | Yes | 99 | NONE | http://download.opensuse.org/debug/update/12.3-non-oss/ | 15 | repo-non-oss | openSUSE-12.3-Non-Oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/12.3/repo/non-oss/ | 16 | repo-source | openSUSE-12.3-Source | No | Yes | 99 | NONE | http://download.opensuse.org/source/distribution/12.3/repo/oss/ | 17 | repo-update | openSUSE-12.3-Update | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/12.3/ | 18 | repo-update-non-oss | openSUSE-12.3-Update-Non-Oss | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/12.3-non-oss/ | 19 | sebschub | sebschub | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/home:/sebschub/openSUSE_12.3/
On Thu, Jun 06, 2013 at 03:26:11PM +0200, Sebastian Schubert wrote:
I want to install the package flac2all: https://build.opensuse.org/package/show?package=flac2all&project=home%3Asebschub which is only available in this very repository (my obs home repository). I thus added the home repository to my local list of repositories (see below for list of activated repositories).
Installing from the repository does not take into account the recommended and suggested packages:
# zypper in flac2all [...] # zypper in /home/schubert/Downloads/flac2all-3.28-2.1.noarch.rpm [...] The following package is recommended, but will not be installed because it's unwanted (was manually removed before):
vorbis-tools [...] I would expect the very same behaviour. Is this a bug or a feature?
Looks like a bug to me. As I don't see anything in your flac packages that recommends vorbis-tools, it looks like the "zypper in flac2all" run is actually correct. The zypper.log probably contains some hints about what's going on. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org
On 06/06/13 15:46, Michael Schroeder wrote:
On Thu, Jun 06, 2013 at 03:26:11PM +0200, Sebastian Schubert wrote:
I want to install the package flac2all: https://build.opensuse.org/package/show?package=flac2all&project=home%3Asebschub which is only available in this very repository (my obs home repository). I thus added the home repository to my local list of repositories (see below for list of activated repositories).
Installing from the repository does not take into account the recommended and suggested packages:
# zypper in flac2all [...] # zypper in /home/schubert/Downloads/flac2all-3.28-2.1.noarch.rpm [...] The following package is recommended, but will not be installed because it's unwanted (was manually removed before):
vorbis-tools [...] I would expect the very same behaviour. Is this a bug or a feature?
Looks like a bug to me. As I don't see anything in your flac packages that recommends vorbis-tools, it looks like the "zypper in flac2all" run is actually correct. The zypper.log probably contains some hints about what's going on.
In line 26--28 of the flac2all.spec file, it is written Recommends: vorbis-tools Suggests: lame Suggests: nero-aac so the vorbis-tools are in fact recommended, are they not? So the output of zypper in /home/schubert/Downloads/flac2all-3.28-2.1.noarch.rpm is what I would expect. Anyway, I'll post a bug report. Cheers, Sebastian
On Thu, Jun 06, 2013 at 04:15:31PM +0200, Sebastian Schubert wrote:
On 06/06/13 15:46, Michael Schroeder wrote:
On Thu, Jun 06, 2013 at 03:26:11PM +0200, Sebastian Schubert wrote:
I want to install the package flac2all: https://build.opensuse.org/package/show?package=flac2all&project=home%3Asebschub which is only available in this very repository (my obs home repository). I thus added the home repository to my local list of repositories (see below for list of activated repositories).
Installing from the repository does not take into account the recommended and suggested packages:
# zypper in flac2all [...] # zypper in /home/schubert/Downloads/flac2all-3.28-2.1.noarch.rpm [...] The following package is recommended, but will not be installed because it's unwanted (was manually removed before):
vorbis-tools [...] I would expect the very same behaviour. Is this a bug or a feature?
Looks like a bug to me. As I don't see anything in your flac packages that recommends vorbis-tools, it looks like the "zypper in flac2all" run is actually correct. The zypper.log probably contains some hints about what's going on.
In line 26--28 of the flac2all.spec file, it is written
Recommends: vorbis-tools Suggests: lame Suggests: nero-aac
so the vorbis-tools are in fact recommended, are they not? So the output of zypper in /home/schubert/Downloads/flac2all-3.28-2.1.noarch.rpm is what I would expect.
Yeah, bug in createrepo in SLE11-SP2. It's now manually fixed on our server, so the next time something is changed in the repo the recommends will be back. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org
participants (2)
-
Michael Schroeder
-
Sebastian Schubert