package virtualbox-ose-modules-2.6.24-11-rt 14 failed to install/upgrade: trying to overwrite `/etc/init.d/vboxdrv', which is also in package virtualbox-ose-modules-2.6.24-11-386

Bug #200380 reported by boubkar
10
Affects Status Importance Assigned to Milestone
virtualbox-ose (Ubuntu)
Fix Released
Medium
Daniel Hahler
virtualbox-ose-modules (Ubuntu)
Fix Released
High
Daniel Hahler

Bug Description

Binary package hint: virtualbox-ose-modules

it s due by installing from synaptic package manager

ProblemType: Package
Architecture: i386
Date: Mon Mar 10 00:15:00 2008
DistroRelease: Ubuntu 8.04
ErrorMessage: trying to overwrite `/etc/init.d/vboxdrv', which is also in package virtualbox-ose-modules-2.6.24-11-386
Package: virtualbox-ose-modules-2.6.24-11-rt 14
PackageArchitecture: i386
SourcePackage: virtualbox-ose-modules
Title: package virtualbox-ose-modules-2.6.24-11-rt 14 failed to install/upgrade: trying to overwrite `/etc/init.d/vboxdrv', which is also in package virtualbox-ose-modules-2.6.24-11-386
Uname: Linux 2.6.24-11-generic i686

Revision history for this message
boubkar (gammoune) wrote :
Revision history for this message
Daniel Hahler (blueyed) wrote :

Thank you for reporting this bug.
The problem is that it should be possible to have different versions of the module available, and they cannot provide all the same init script.
I'm moving the init script to the common "virtualbox-ose-modules" package.

Changed in virtualbox-ose-modules:
assignee: nobody → blueyed
importance: Undecided → High
status: New → In Progress
Revision history for this message
Daniel Hahler (blueyed) wrote :

Well, it's probably better to adopt what Debian does: loading the kernel module in the virtualbox-ose init script.
Then virtualbox-ose-modules would only provide the different modules.

Revision history for this message
Daniel Hahler (blueyed) wrote :

I've just uploaded virtualbox-ose-modules 16, which uses "Provides: virtualbox-ose-modules" for each of the real packages.
This appears to allow installing them side by side, although they are overwriting files of each other.
However, this is not a real fix, because when you install the package, which "holds" the init script, the init script gets removed. The fix for this (missing init script) is then to reinstall one of the packages which are still in use (and also ship the init script).

As said above, I will try getting the latest virtualbox-ose package from Debian in, which provides the module loading functionality in its init script, so that the -modules packages basically only ship the .ko files (but not any init scripts).

Daniel Hahler (blueyed)
Changed in virtualbox-ose:
assignee: nobody → blueyed
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package virtualbox-ose-modules - 17

---------------
virtualbox-ose-modules (17) hardy; urgency=low

  * New packages to provide the virtual package virtualbox-ose-guest-modules,
    referred to from virtualbox-ose-guest-utils.
    This basically ships vboxadd.ko in the same way as vboxdrv.ko is shipped
    already, only with different package names (LP: #189444)
  * Split/Copied debian/postinst into debian/{vboxadd,vboxdrv}.postinst:
    Reload modules, if they are currently used. This should provide better
    update experiences.
  * debian/init: Moved the init script to the virtualbox-ose package
    (LP: #200380).
    debian/control: Add "Breaks: virtualbox-ose (< 1.5.6-dfsg-2ubuntu1)" to
    virtualbox-ose-modules packages.
  * debian/control: add "Conflicts: virtualbox-ose-modules (<< 16)" to the
    meta packages that provide v-o-m (followup to LP: #188579).
  * debian/*.postinst: add "|| true" to depmod call, to not cause installation
    failure, if depmod fails for some reason (LP: #202542)

 -- Daniel Hahler <email address hidden> Sun, 16 Mar 2008 18:25:15 +0100

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (4.4 KiB)

This bug was fixed in the package virtualbox-ose - 1.5.6-dfsg-2ubuntu1

---------------
virtualbox-ose (1.5.6-dfsg-2ubuntu1) hardy; urgency=low

  * Merge from Debian unstable (LP: #202727). Remaining Ubuntu changes:
    - Move virtualbox-ose-modules from recommends
      to depends for virtualbox-ose. We can drop this change when Synaptic
      installs recommended packages by default.
    - Fix deprecated values in desktop file (LP: #196714)
    - Change Maintainer to Ubuntu MOTU Developers.
  * debian/virtualbox-ose.vboxdrv.init, debian/rules:
    Move init script from virtualbox-ose-modules to here (LP: #200380).
    This also makes sure that the udev rule to handle permissions of
    /dev/vboxdrv is installed, when this init script to modprobe the
    module is run (LP: #147076).
    debian/control: Add Breaks for virtualbox-ose-modules* meta packages
    (<< 17)
  * debian/control: virtualbox-ose-guest-utils depends on
    virtualbox-ose-guest-modules, instead of "recommends". The "vboxadd"
    module is required by the guest-utils init script (LP: #189444).
    This is also in line with the Depends for virtualbox-ose on the vboxdrv module.
  * debian/control: Drop "suggest uml-utilities" for virtualbox-ose again
    (LP: #154305)
  * Fixes the following bugs in Ubuntu:
    - Clearer message about losing snapshots during upgrade (LP: #187082)
    - virtualbox-ose conditionally modprobes vboxdrv
      (from virtualbox-ose-modules) in its init script, so that the
      modules do not need any init scripts anymore (LP: #200380)

virtualbox-ose (1.5.6-dfsg-2) unstable; urgency=low

  [ Daniel Baumann ]
  * Added Brazilian-Portuguese debconf translation from Eder L. Marques
    <email address hidden> (Closes: #467452).

  [ Michael Meskes ]
  * Added patch by Frans Pop <email address hidden> to make modules compile with
    kernel 2.6.25, closes: #468864
  * Suggest bridge-utils which is needed for static host networking.
  * Added patch against init script to remove newly created file again on
    failure, closes: #468419
  * Fixed watch file to cope with -1 upstream release.

virtualbox-ose (1.5.6-dfsg-1) unstable; urgency=low

  [ Michael Meskes ]
  * New upstream version
  * Fixed LSB headers in init.d scripts, closes: #466311
  * list x11config.pl with correct path in README file, closes: #466621
  * Added last changes made by the translation projects, thanks to
    Christian Perrier <email address hidden>.
  * Tweaked dfsg-free target in rules file so it is really executable, first
    steps made by Hilko.

  [ Hilko Bengen ]
  * Make module loading in initscript configurable (disabled by default).

  [ Patrick Winnertz ]
  * prevent initscript from failing if module doesn't exist. (Closes: #466851)

virtualbox-ose (1.5.4-dfsg-5) unstable; urgency=low

  [ Daniel Baumann ]
  * Again removing reimported useless whitespaces at EOL and EOF in debian/*.
  * Unified headers of debconf template translations.
  * Rediffed patches and again fixed their headers.
  * Added Portuguese debconf translation from Ricardo Silva <email address hidden>
    (Closes: #464761).
  * Removed extra whitespace in maintainer field of control, thanks to
    Christoph Be...

Read more...

Changed in virtualbox-ose:
status: In Progress → Fix Released
Changed in virtualbox-ose-modules:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.