VirtualBox

Opened 17 years ago

Closed 17 years ago

#34 closed defect (fixed)

Dependency conflict in Ubuntu packages.

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

Description (last modified by Frank Mehnert)

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 (1)

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

Download all attachments as: .zip

Change History (17)

comment:1 by Frank Mehnert, 17 years ago

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

by majorandras, 17 years ago

Attachment: libc-dev.jpg added

comment:2 by majorandras, 17 years ago

On this picture you can see my problem.

in reply to:  2 comment:3 by Frank Mehnert, 17 years ago

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 by Olav, 17 years ago

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 by tristanbob, 17 years ago

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 by tristanbob, 17 years ago

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 by Michael Thayer, 17 years ago

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 by tristanbob, 17 years ago

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.

in reply to:  8 comment:9 by Frank Mehnert, 17 years ago

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 by Frank Mehnert, 17 years ago

Description: modified (diff)

comment:11 by Frank Mehnert, 17 years ago

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 by tristanbob, 17 years ago

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 by tristanbob, 17 years ago

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 by Frank Mehnert, 17 years ago

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

comment:15 by Frank Mehnert, 17 years ago

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

comment:16 by Frank Mehnert, 17 years ago

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use