VirtualBox

Ticket #34 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

Dependency conflict in Ubuntu packages.

Reported by: majorandras Owned by:
Priority: critical Component: other
Version: VirtualBox 1.3.4 Keywords: UnInstallable
Cc: Guest type: other
Host type: other

Description (last modified by frank) (diff)

The Ubuntu packages (edgy and dapper) have a dependency conflict with libc-dev, because this package is not exist. I gues the correct one is libc6-dev.

Attachments

libc-dev.jpg Download (44.3 KB) - added by majorandras 7 years ago.

Change History

comment:1 Changed 7 years ago by frank

The libc6-dev package provides libc-dev. I don't see the problem.

Changed 7 years ago by majorandras

comment:2 follow-up: ↓ 3 Changed 7 years ago by majorandras

On this picture you can see my problem.

comment:3 in reply to: ↑ 2 Changed 7 years ago by frank

Please could you execute 'dpkg -s libc6-dev'? There should be a line "Provides: libc-dev". Which distribution did you try -- both Edgy and Dapper?

comment:4 Changed 7 years ago by Olav

For everyone's information: I'm on Ubuntu 6.10 Edgy and I didn't see this error. Installation was flawless. But perhaps I have a few things (and their dependencies) installed that others don't.

comment:5 Changed 7 years ago by tristanbob

I am running Ubuntu 6.10 and have previously had Vbox 1.3.2 installed. I am getting this dependency error for "libc-dev". Perhaps it only happens when you have the previous version installed?

comment:6 Changed 7 years ago by tristanbob

tristan@tristan-desktop:~$ dpkg -s libc6-dev Package `libc6-dev' is not installed and no info is available. Use dpkg --info (= dpkg-deb --info) to examine archive files, and dpkg --contents (= dpkg-deb --contents) to list their contents.

also

tristan@tristan-desktop:~$ dpkg -s libc-dev Package `libc-dev' is not installed and no info is available. Use dpkg --info (= dpkg-deb --info) to examine archive files, and dpkg --contents (= dpkg-deb --contents) to list their contents. tristan@tristan-desktop:~$

comment:7 Changed 7 years ago by michael

For the record, on my Edgy system:

$ dpkg -s libc-dev
Package `libc-dev' is not installed and no info is available.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.

$ dpkg -s libc6-dev
Package: libc6-dev
Status: install ok installed
Priority: standard
Section: libdevel
Installed-Size: 7872
Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
Architecture: i386
Source: glibc
Version: 2.4-1ubuntu12.3
Replaces: man-db (<= 2.3.10-41), gettext (<= 0.10.26-1), ppp (<= 2.2.0f-24), libgdbmg1-dev (<= 1.7.3-24), ldso (<= 1.9.11-9), netkit-rpc, netbase (<< 4.0), kerberos4kth-dev (<< 1.2.2-10), libc6-prof (<< 2.3.5-2)
Provides: libc-dev
Depends: libc6 (= 2.4-1ubuntu12.3), linux-libc-dev
Recommends: gcc | c-compiler
Suggests: glibc-doc, manpages-dev

Conflicts: libstdc++2.10-dev (<< 1:2.95.2-15), gcc-2.95 (<< 1:2.95.3-9), libpthread0-dev, libdl1-dev, libdb1-dev, libgdbm1-dev, libc6-dev (<< 2.0.110-1), locales (<< 2.1.3-5), libstdc++2.9-dev, netkit-rpc, libc-dev

Description: GNU C Library: Development Libraries and Header Files
 Contains the symlinks, headers, and object files needed to compile
 and link programs which use the standard C library.
Original-Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>

Try going into synaptic or aptitude and installing libc6-dev, that should give you more information about why it is not working.

Also, try checking whether any of the packages marked above as conflicting are installed on your system.

comment:8 follow-up: ↓ 9 Changed 7 years ago by tristanbob

OK - I have searched synaptic and there is a packages called "libc6-dev". That package has a required dependency called "linux-libc-dev". I can install both of these packages without any problems.

Now when I try to install the 1.3.4 Vbox deb it tells me that all dependncies are satisfied. Can the Ubuntu 6.10 deb package be modified to search for these two packages instead of libc-dev?

However, the install fails with this text:

(Reading database ... 121900 files and directories currently installed.) Preparing to replace virtualbox 1.3.2-20070114_Ubuntu_edgy (using .../VirtualBox_1.3.4_Ubuntu_edgy_i386.deb) ... (Kernel module not found)...fail! invoke-rc.d: initscript virtualbox, action "stop" failed. dpkg: warning - old pre-removal script returned error exit status 1 dpkg - trying script from the new package instead ... (Kernel module not found)...fail! invoke-rc.d: initscript virtualbox, action "stop" failed. dpkg: error processing /home/tristan/Desktop/VirtualBox_1.3.4_Ubuntu_edgy_i386.deb (--install):

subprocess new pre-removal script returned error exit status 1

-e Creating group 'vboxusers'. VM users must be member of that group!

No precompiled module for this kernel found -- trying to build one Messages displayed during module compilation will be logged to /var/log/vbox-install.log Starting VirtualBox kernel module

Do I need to first uninstall vbox? I had assumed that if I installed the 1.3.4 it would replace the 1.3.2 version that is installed.

comment:9 in reply to: ↑ 8 Changed 7 years ago by frank

Replying to tristanbob:

OK - I have searched synaptic and there is a packages called "libc6-dev". That package has a required dependency called "linux-libc-dev". I can install both of these packages without any problems.

Now when I try to install the 1.3.4 Vbox deb it tells me that all dependncies are satisfied. Can the Ubuntu 6.10 deb package be modified to search for these two packages instead of libc-dev?

However, the install fails with this text:

(Reading database ... 121900 files and directories currently installed.) Preparing to replace virtualbox 1.3.2-20070114_Ubuntu_edgy (using .../VirtualBox_1.3.4_Ubuntu_edgy_i386.deb) ... (Kernel module not found)...fail! invoke-rc.d: initscript virtualbox, action "stop" failed. dpkg: warning - old pre-removal script returned error exit status 1 dpkg - trying script from the new package instead ... (Kernel module not found)...fail! invoke-rc.d: initscript virtualbox, action "stop" failed. dpkg: error processing /home/tristan/Desktop/VirtualBox_1.3.4_Ubuntu_edgy_i386.deb (--install):

subprocess new pre-removal script returned error exit status 1

-e Creating group 'vboxusers'. VM users must be member of that group!

No precompiled module for this kernel found -- trying to build one Messages displayed during module compilation will be logged to /var/log/vbox-install.log Starting VirtualBox kernel module

Do I need to first uninstall vbox? I had assumed that if I installed the 1.3.4 it would replace the 1.3.2 version that is installed.

comment:10 Changed 7 years ago by frank

  • Description modified (diff)

comment:11 Changed 7 years ago by frank

There was a bug in the 1.3.2 Debian/Ubuntu packages which may prevent them from cleanly uninstalling. See our User FAQ on how to fix this. You can safely uninstall and re-install the package, you will not loose your configuration.

comment:12 Changed 7 years ago by tristanbob

Frank,

I saw your update and waited an hour to see if you were updating the FAQ. The information you mentioned is not currently in the User FAQ. How can I read about this manual uninstall process?

Thanks!

comment:13 Changed 7 years ago by tristanbob

FYI - I uninstalled 1.3.2 using synaptic, and then installed the 1.3.4 package on Ubuntu 6.10. VirtualBox is now running fine. So here are the steps to get this working if you are running 1.3.2 on Ubuntu 6.10.

  1. Install packages "libc6-dev" and "linux-libc-dev"
  2. Uninstall 1.3.2 package
  3. Install 1.3.4 package

Now you should be running 1.3.4 with no problems.

comment:14 Changed 7 years ago by frank

I'm sorry for the delay, someone accidently deleted the instructions for handling broken 1.3.2 packages. Just added them again.

comment:15 Changed 7 years ago by frank

Are there still problems? If not I would close this record.

comment:16 Changed 7 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

I finally added libc6-dev. This change will be contained in the next release.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use