Error: Conflicts with the installed package 'virtualbox-2.0'

Discussions related to using VirtualBox on Linux hosts.
Post Reply
apprentice
Posts: 5
Joined: 6. Sep 2008, 11:23

Error: Conflicts with the installed package 'virtualbox-2.0'

Post by apprentice »

I'm using Debian Etch 4.01 and downloaded this file in order to install.
Vbox 2.0 for Debian Etch

I used "GDebi package isntaller" in order to extract and install. Then I got this at the end of the install
Status:

Error: Conflicts with the installed package 'virtualbox-2.0'
How do I find the conflicts and fix them?
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Post by stefan.becker »

Install at the commandline, looking for more text when the error appears.
apprentice
Posts: 5
Joined: 6. Sep 2008, 11:23

[SOLVED]

Post by apprentice »

I got some help at #vbox by erstazi and wols_. To summarize, the problem was that my Debian Etch system had it's kernel and kernel headers running as 486. wols_ told me to check the CPU and that I should force install the 686 kernel instead. To make a long story short I'm gonna post all the useful commands that helped me solve all of this for intermediate users and semi-newbies that can read between the lines.

Code: Select all

$ uname -r
2.6.18-5-486

$ dpkg -l | grep virtualbox
ii  virtualbox-2.0                    2.0.0-36011_Debian_etch       Sun xVM VirtualBox

$ dpkg --purge virtualbox-2.0

$ cat /proc/cpuinfo
$ apt-get install linux-image-2.6-686
$ aptitude upgrade
$ init 6

$ uname -r
$ ls -l /lib/modules/`uname -r`/build
$ aptitude install linux-headers-`uname -r` build-essential

$ aptitude update && aptitude install virtualbox-2.0

$ cat /etc/group
$ addgroup YOU vboxusers 
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

See the VirtualBox FAQ about upgrading from an old VB version. You need to remove the previous one before you install 2.0.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply