VirtualBox

18 年 前 建立

18 年 前 結束

#34 closed defect (fixed)

Dependency conflict in Ubuntu packages.

回報者: majorandras 負責人:
元件: other 版本: VirtualBox 1.3.4
關鍵字: UnInstallable 副本:
Guest type: other Host type: other

描述 (由 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.

附加檔案 (1)

libc-dev.jpg (44.3 KB ) - 18 年 前, 由 majorandras 新增

下載所有附檔: .zip

更動歷史 (17)

comment:1 18 年 前Frank Mehnert 編輯

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

18 年 前majorandras 編輯

附檔: 新增 libc-dev.jpg

comment:2 18 年 前majorandras 編輯

On this picture you can see my problem.

回覆:  2 comment:3 18 年 前Frank Mehnert 編輯

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 18 年 前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 18 年 前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 18 年 前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 18 年 前Michael Thayer 編輯

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 <[email protected]>
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 <[email protected]>

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 18 年 前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.

回覆:  8 comment:9 18 年 前Frank Mehnert 編輯

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 18 年 前Frank Mehnert 編輯

描述: 修改 (差異)

comment:11 18 年 前Frank Mehnert 編輯

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 18 年 前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 18 年 前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 18 年 前Frank Mehnert 編輯

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

comment:15 18 年 前Frank Mehnert 編輯

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

comment:16 18 年 前Frank Mehnert 編輯

狀態: newclosed
處理結果: fixed

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

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette