Bug 381694

Summary: zypper doesn't install what I ask for
Product: [openSUSE] openSUSE 11.0 Reporter: Magnus Boman <captain.magnus>
Component: libzyppAssignee: Jan Kupec <jkupec>
Status: RESOLVED FIXED QA Contact: Duncan Mac-Vicar <dmacvicar>
Severity: Normal    
Priority: P5 - None CC: dmueller, felix, francis, mmeeks
Version: Factory   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: solver test case when installing VirtualBox
zypper remove --debug-solver virtualbox-ose-kmp-default

Description Magnus Boman 2008-04-20 08:51:11 UTC
When installing VirtualBox, it pulls in the -debug packages. This might be an issue with VirtualBox though (Bug 362564). My point here is when I try to install the virtualbox-ose-kmp-default module. Just thought I'll give you the whole story...


mblxsrv01:/lib/modules # uname -a
Linux mblxsrv01 2.6.25-rc9-17-default #1 SMP 2008-04-15 22:54:53 +0200 x86_64 x86_64 x86_64 GNU/Linux

mblxsrv01:/home/mboman # zypper se virtualbox
Reading installed packages...

S | Repository            | Type       | Name                           | Version                | Arch  
--+-----------------------+------------+--------------------------------+------------------------+-------
  | openSUSE-FACTORY 11.0 | package    | virtualbox-ose                 | 1.5.6-11               | i586  
  | openSUSE-FACTORY 11.0 | package    | virtualbox-ose                 | 1.5.6-11               | x86_64
  | openSUSE-FACTORY 11.0 | srcpackage | virtualbox-ose                 | 1.5.6-11               | noarch
  | openSUSE-FACTORY 11.0 | package    | virtualbox-ose-guest-tools     | 1.5.6-11               | i586  
  | openSUSE-FACTORY 11.0 | package    | virtualbox-ose-guest-tools     | 1.5.6-11               | x86_64
  | openSUSE-FACTORY 11.0 | package    | virtualbox-ose-kmp-debug       | 1.5.6_2.6.25_rc9.17-11 | i586  
  | openSUSE-FACTORY 11.0 | package    | virtualbox-ose-kmp-debug       | 1.5.6_2.6.25_rc9.17-11 | x86_64
  | openSUSE-FACTORY 11.0 | package    | virtualbox-ose-kmp-default     | 1.5.6_2.6.25_rc9.17-11 | i586  
  | openSUSE-FACTORY 11.0 | package    | virtualbox-ose-kmp-default     | 1.5.6_2.6.25_rc9.17-11 | x86_64
  | openSUSE-FACTORY 11.0 | package    | virtualbox-ose-kmp-pae         | 1.5.6_2.6.25_rc9.17-11 | i586  
  | openSUSE-FACTORY 11.0 | package    | xorg-x11-driver-virtualbox-ose | 1.5.6-11               | i586  
  | openSUSE-FACTORY 11.0 | package    | xorg-x11-driver-virtualbox-ose | 1.5.6-11               | x86_64
mblxsrv01:/home/mboman # zypper in virtualbox-ose
Reading installed packages...

The following NEW packages are going to be installed:
  virtualbox-ose-kmp-debug virtualbox-ose libXerces-c-28 libXalan-c-110 kernel-debug 


Overall download size: 26.8 M. After the operation, additional 135.7 M will be used.
Continue? [YES/no]: yes
Downloading package libXerces-c-28-2.8.0-2.x86_64, 1.0 M (4.5 M unpacked)
* Downloading: libXerces-c-28-2.8.0-2.x86_64.rpm [done]
* Installing: libXerces-c-28-2.8.0-2
Downloading package kernel-debug-2.6.25-rc9.17.x86_64, 20.5 M (108.8 M unpacked)
* Downloading: kernel-debug-2.6.25-rc9.17.x86_64.rpm [done]
* Installing: kernel-debug-2.6.25-rc9.17
Downloading package virtualbox-ose-kmp-debug-1.5.6_2.6.25_rc9.17-11.x86_64, 71.0 K (1.7 M unpacked)
* Downloading: virtualbox-ose-kmp-debug-1.5.6_2.6.25_rc9.17-11.x86_64.rpm [done]
* Installing: virtualbox-ose-kmp-debug-1.5.6_2.6.25_rc9.17-11
Downloading package libXalan-c-110-1.10-108.x86_64, 864.0 K (4.3 M unpacked)
* Downloading: libXalan-c-110-1.10-108.x86_64.rpm [done]
* Installing: libXalan-c-110-1.10-108
Downloading package virtualbox-ose-1.5.6-11.x86_64, 4.4 M (16.3 M unpacked)
* Downloading: virtualbox-ose-1.5.6-11.x86_64.rpm [done]
* Installing: virtualbox-ose-1.5.6-11

mblxsrv01:/lib/modules # modprobe vboxdrv
FATAL: Module vboxdrv not found.

mblxsrv01:/lib/modules # zypper in virtualbox-ose-kmp-default
Reading installed packages...
'virtualbox=ose-kmp-default' is already installed.
Nothing to do.

mblxsrv01:/lib/modules # rpm -ql virtualbox-ose-kmp-default
package virtualbox-ose-kmp-default is not installed
mblxsrv01:/lib/modules # zypper in -n virtualbox-ose-kmp-default
Reading installed packages...

The following NEW package is going to be installed:
  virtualbox-ose-kmp-default 


Overall download size: 71.0 K. After the operation, additional 1.7 M will be used.
Continue? [YES/no]: yes
Downloading package virtualbox-ose-kmp-default-1.5.6_2.6.25_rc9.17-11.x86_64, 71.0 K (1.7 M unpacked)
* Downloading: virtualbox-ose-kmp-default-1.5.6_2.6.25_rc9.17-11.x86_64.rpm [done]
* Installing: virtualbox-ose-kmp-default-1.5.6_2.6.25_rc9.17-11
Comment 1 Magnus Boman 2008-04-20 08:54:40 UTC
Here's when trying to remove;


mblxsrv01:/lib/modules # zypper remove virtualbox-ose-kmp-default
Reading installed packages...
'virtualbox=ose-kmp-default' is not installed.
Nothing to do.
mblxsrv01:/lib/modules # rpm -qa|grep -i virtual
virtualbox-ose-kmp-default-1.5.6_2.6.25_rc9.17-11
mblxsrv01:/lib/modules # zypper remove virtualbox-ose-kmp-default
Reading installed packages...
'virtualbox=ose-kmp-default' is not installed.
Nothing to do.
mblxsrv01:/lib/modules # zypper se virtualbox
Reading installed packages...

S | Repository            | Type       | Name                           | Version                | Arch  
--+-----------------------+------------+--------------------------------+------------------------+-------
  | openSUSE-FACTORY 11.0 | package    | virtualbox-ose                 | 1.5.6-11               | i586  
  | openSUSE-FACTORY 11.0 | package    | virtualbox-ose                 | 1.5.6-11               | x86_64
  | openSUSE-FACTORY 11.0 | srcpackage | virtualbox-ose                 | 1.5.6-11               | noarch
  | openSUSE-FACTORY 11.0 | package    | virtualbox-ose-guest-tools     | 1.5.6-11               | i586  
  | openSUSE-FACTORY 11.0 | package    | virtualbox-ose-guest-tools     | 1.5.6-11               | x86_64
  | openSUSE-FACTORY 11.0 | package    | virtualbox-ose-kmp-debug       | 1.5.6_2.6.25_rc9.17-11 | i586  
  | openSUSE-FACTORY 11.0 | package    | virtualbox-ose-kmp-debug       | 1.5.6_2.6.25_rc9.17-11 | x86_64
  | openSUSE-FACTORY 11.0 | package    | virtualbox-ose-kmp-default     | 1.5.6_2.6.25_rc9.17-11 | i586  
  | openSUSE-FACTORY 11.0 | package    | virtualbox-ose-kmp-default     | 1.5.6_2.6.25_rc9.17-11 | x86_64
i | @System               | package    | virtualbox-ose-kmp-default     | 1.5.6_2.6.25_rc9.17-11 | x86_64
  | openSUSE-FACTORY 11.0 | package    | virtualbox-ose-kmp-pae         | 1.5.6_2.6.25_rc9.17-11 | i586  
  | openSUSE-FACTORY 11.0 | package    | xorg-x11-driver-virtualbox-ose | 1.5.6-11               | i586  
  | openSUSE-FACTORY 11.0 | package    | xorg-x11-driver-virtualbox-ose | 1.5.6-11               | x86_64
mblxsrv01:/lib/modules # zypper remove -n virtualbox-ose-kmp-default
Reading installed packages...

The following package is going to be REMOVED:
  virtualbox-ose-kmp-default 


After the operation, 1.7 M will be freed.
Continue? [YES/no]: yes
* Removing virtualbox-ose-kmp-default-1.5.6_2.6.25_rc9.17-11
Comment 2 Magnus Boman 2008-04-20 08:57:01 UTC
Created attachment 209142 [details]
solver test case when installing VirtualBox
Comment 3 Magnus Boman 2008-04-20 08:58:48 UTC
Created attachment 209143 [details]
zypper remove --debug-solver virtualbox-ose-kmp-default
Comment 4 Jan Kupec 2008-04-20 09:16:30 UTC
the fix is still hot in svn :O) to be in zypper 0.11.1

more info at http://lists.opensuse.org/zypp-devel/2008-04/msg00122.html
Comment 5 Jan Kupec 2008-04-22 11:41:03 UTC
*** Bug 382285 has been marked as a duplicate of this bug. ***
Comment 6 Stephan Kulow 2008-04-24 10:25:36 UTC
*** Bug 383240 has been marked as a duplicate of this bug. ***
Comment 10 Jan Kupec 2008-04-27 22:30:23 UTC
submitted