Opened 18 years ago
Closed 18 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 )
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)
Change History (17)
comment:1 by , 18 years ago
by , 18 years ago
Attachment: | libc-dev.jpg added |
---|
comment:3 by , 18 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 , 18 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 , 18 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 , 18 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 , 18 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.
follow-up: 9 comment:8 by , 18 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.
comment:9 by , 18 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 , 18 years ago
Description: | modified (diff) |
---|
comment:11 by , 18 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 , 18 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 , 18 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.
- Install packages "libc6-dev" and "linux-libc-dev"
- Uninstall 1.3.2 package
- Install 1.3.4 package
Now you should be running 1.3.4 with no problems.
comment:14 by , 18 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:16 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I finally added libc6-dev. This change will be contained in the next release.
The libc6-dev package provides libc-dev. I don't see the problem.