virtualbox-ose-dkms

Asked by peter reidemeister

pete@pete-desktop:~$ sudo apt-get install --reinstall *virtualbox*
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Regex compilation error - Invalid preceding regular expression
pete@pete-desktop:~$ sudo fuser -vvv /var/lib/dpkg/lock[sudo] password for pete:
pete@pete-desktop:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.2 LTS"
pete@pete-desktop:~$ uname -a
Linux pete-desktop 2.6.32-28-generic #55-Ubuntu SMP Mon Jan 10 21:21:01 UTC 2011 i686 GNU/Linux
pete@pete-desktop:~$ sudo rm /var/lib/apt/lists/lock
pete@pete-desktop:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
pete@pete-desktop:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
pete@pete-desktop:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
pete@pete-desktop:~$ sudo rm -rf /var/lib/dpkg/updates/*
pete@pete-desktop:~$ sudo rm -rf /var/lib/apt/lists
pete@pete-desktop:~$ sudo rm /var/cache/apt/*.bin
pete@pete-desktop:~$ sudo mkdir /var/lib/apt/lists
pete@pete-desktop:~$ sudo mkdir /var/lib/apt/lists/partial
pete@pete-desktop:~$ LANG=C;sudo apt-get clean
pete@pete-desktop:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
pete@pete-desktop:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  virtualbox-ose-source: Depends: virtualbox-ose-dkms (>= 3.1.6-dfsg-2ubuntu2) but it is not installable
E: Unmet dependencies. Try using -f.
pete@pete-desktop:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Ign http://download.skype.com stable Release.gpg
Get:1 http://download.virtualbox.org maverick Release.gpg [197B]
Ign http://download.skype.com stable Release
Get:2 http://us.archive.ubuntu.com lucid Release.gpg [189B]
Get:3 http://us.archive.ubuntu.com lucid-security Release.gpg [198B]
Get:4 http://us.archive.ubuntu.com lucid-updates Release.gpg [198B]
Get:5 http://archive.canonical.com lucid Release.gpg [198B]
Get:6 http://download.virtualbox.org lucid Release.gpg [197B]
Get:7 http://download.virtualbox.org hardy Release.gpg [197B]
Get:8 http://download.virtualbox.org maverick Release [5417B]
Get:9 http://us.archive.ubuntu.com lucid-backports Release.gpg [198B]
Get:10 http://download.skype.com stable/non-free Packages [634B]
Get:11 http://archive.canonical.com lucid Release [8215B]
Get:12 http://us.archive.ubuntu.com lucid Release [57.2kB]
Get:13 http://download.virtualbox.org lucid Release [5429B]
Get:14 http://download.virtualbox.org hardy Release [5444B]
Get:15 http://archive.getdeb.net jaunty-getdeb Release.gpg [835B]
Get:16 http://download.virtualbox.org maverick/contrib Packages [985B]
Get:17 http://hacktolive.org lucid Release.gpg [198B]
Get:18 http://archive.canonical.com lucid/partner Packages [12.5kB]
Get:19 http://download.virtualbox.org lucid/contrib Packages [979B]
Get:20 http://download.virtualbox.org hardy/non-free Packages [2337B]
Get:21 http://us.archive.ubuntu.com lucid-security Release [44.7kB]
Get:22 http://hacktolive.org lucid Release [11.0kB]
Get:23 http://archive.canonical.com lucid/partner Sources [5780B]
Get:24 http://us.archive.ubuntu.com lucid-updates Release [44.7kB]
Get:25 http://archive.getdeb.net jaunty-getdeb Release [7226B]
Get:26 http://us.archive.ubuntu.com lucid-backports Release [38.5kB]
Get:27 http://us.archive.ubuntu.com lucid/main Packages [1386kB]
Ign http://hacktolive.org lucid/main Packages
Ign http://hacktolive.org lucid/restricted Packages
Ign http://hacktolive.org lucid/multiverse Packages
Ign http://hacktolive.org lucid/universe Packages
Ign http://hacktolive.org lucid/partner Packages
Get:28 http://archive.getdeb.net jaunty-getdeb/games Packages [43.5kB]
Ign http://hacktolive.org lucid/main Packages
Ign http://hacktolive.org lucid/restricted Packages
Ign http://hacktolive.org lucid/multiverse Packages
Ign http://hacktolive.org lucid/universe Packages
Ign http://hacktolive.org lucid/partner Packages
Get:29 http://hacktolive.org lucid/main Packages [27.5kB]
Get:30 http://us.archive.ubuntu.com lucid/universe Packages [5448kB]
Get:31 http://hacktolive.org lucid/restricted Packages [20B]
Get:32 http://hacktolive.org lucid/multiverse Packages [20B]
Get:33 http://hacktolive.org lucid/universe Packages [20B]
Get:34 http://hacktolive.org lucid/partner Packages [20B]
Get:35 http://ppa.launchpad.net lucid Release.gpg [316B]
Get:36 http://ppa.launchpad.net lucid Release.gpg [316B]
Get:37 http://ppa.launchpad.net lucid Release.gpg [316B]
Get:38 http://ppa.launchpad.net lucid Release.gpg [316B]
Get:39 http://ppa.launchpad.net lucid Release.gpg [316B]
Get:40 http://ppa.launchpad.net lucid Release.gpg [316B]
Get:41 http://ppa.launchpad.net lucid Release.gpg [316B]
Get:42 http://ppa.launchpad.net lucid Release.gpg [316B]
Get:43 http://ppa.launchpad.net lucid Release.gpg [316B]
Get:44 http://ppa.launchpad.net lucid Release.gpg [316B]
Get:45 http://ppa.launchpad.net lucid Release [14.0kB]
Get:46 http://ppa.launchpad.net lucid Release [57.2kB]
Get:47 http://ppa.launchpad.net lucid Release [14.0kB]
Get:48 http://ppa.launchpad.net lucid Release [14.0kB]
Get:49 http://ppa.launchpad.net lucid Release [14.0kB]
Get:50 http://ppa.launchpad.net lucid Release [57.3kB]
Get:51 http://ppa.launchpad.net lucid Release [57.3kB]
Get:52 http://ppa.launchpad.net lucid Release [14.0kB]
Get:53 http://ppa.launchpad.net lucid Release [13.9kB]
Get:54 http://ppa.launchpad.net lucid Release [13.9kB]
Get:55 http://ppa.launchpad.net lucid/main Packages [9532B]
Get:56 http://ppa.launchpad.net lucid/main Packages [1381B]
Get:57 http://ppa.launchpad.net lucid/main Packages [1551B]
Get:58 http://ppa.launchpad.net lucid/main Packages [1074B]
Get:59 http://ppa.launchpad.net lucid/main Packages [3696B]
Get:60 http://ppa.launchpad.net lucid/main Packages [1786B]
Get:61 http://ppa.launchpad.net lucid/main Packages [7757B]
Get:62 http://ppa.launchpad.net lucid/main Packages [578B]
Get:63 http://ppa.launchpad.net lucid/main Packages [3256B]
Get:64 http://ppa.launchpad.net lucid/main Packages [7742B]
Get:65 http://us.archive.ubuntu.com lucid/main Sources [659kB]
Get:66 http://us.archive.ubuntu.com lucid/restricted Sources [3775B]
Get:67 http://us.archive.ubuntu.com lucid/universe Sources [3165kB]
Get:68 http://us.archive.ubuntu.com lucid-security/main Packages [150kB]
Get:69 http://us.archive.ubuntu.com lucid-security/restricted Packages [14B]
Get:70 http://us.archive.ubuntu.com lucid-security/universe Packages [64.8kB]
Get:71 http://us.archive.ubuntu.com lucid-security/main Sources [47.4kB]
Get:72 http://us.archive.ubuntu.com lucid-security/restricted Sources [14B]
Get:73 http://us.archive.ubuntu.com lucid-security/universe Sources [19.4kB]
Get:74 http://us.archive.ubuntu.com lucid-updates/main Packages [454kB]
Get:75 http://us.archive.ubuntu.com lucid-updates/restricted Packages [3240B]
Get:76 http://us.archive.ubuntu.com lucid-updates/universe Packages [192kB]
Get:77 http://us.archive.ubuntu.com lucid-updates/main Sources [182kB]
Get:78 http://us.archive.ubuntu.com lucid-updates/restricted Sources [1443B]
Get:79 http://us.archive.ubuntu.com lucid-updates/universe Sources [69.7kB]
Get:80 http://us.archive.ubuntu.com lucid-backports/main Packages [9078B]
Get:81 http://us.archive.ubuntu.com lucid-backports/restricted Packages [14B]
Get:82 http://us.archive.ubuntu.com lucid-backports/universe Packages [29.2kB]
Get:83 http://us.archive.ubuntu.com lucid-backports/main Sources [5290B]
Get:84 http://us.archive.ubuntu.com lucid-backports/restricted Sources [14B]
Get:85 http://us.archive.ubuntu.com lucid-backports/universe Sources [11.4kB]
Fetched 12.5MB in 12s (1030kB/s)
Reading package lists... Done
pete@pete-desktop:~$ sudo dpkg --clear-avail
pete@pete-desktop:~$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of virtualbox-ose-source:
 virtualbox-ose-source depends on virtualbox-ose-dkms (>= 3.1.6-dfsg-2ubuntu2); however:
  Package virtualbox-ose-dkms is not installed.
dpkg: error processing virtualbox-ose-source (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 virtualbox-ose-source
pete@pete-desktop:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  desktop-base mythtv-theme-retro-osd
  mythtv-theme-mono-osd mythtv-theme-titivillus-osd
  mythtv-theme-projectgrayhem-osd
  mythtv-theme-iulius-osd mythtv-theme-blueosd
  mythtv-theme-blootube-osd
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  virtualbox-ose-dkms
The following NEW packages will be installed:
  virtualbox-ose-dkms
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 557kB of archives.
After this operation, 3482kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid-backports/universe virtualbox-ose-dkms 3.2.8-dfsg-2ubuntu1~lucid1 [557kB]
Fetched 557kB in 1s (393kB/s)
(Reading database ... 497523 files and directories currently installed.)
Unpacking virtualbox-ose-dkms (from .../virtualbox-ose-dkms_3.2.8-dfsg-2ubuntu1~lucid1_all.deb) ...
dkms.conf: Error! No 'DEST_MODULE_LOCATION' directive specified.
dkms.conf: Error! No 'PACKAGE_NAME' directive specified.
dkms.conf: Error! No 'PACKAGE_VERSION' directive specified.
Removing obsolete module vboxdrv version 3.0.8
dkms.conf: Error! No 'DEST_MODULE_LOCATION' directive specified.
dkms.conf: Error! No 'PACKAGE_NAME' directive specified.
dkms.conf: Error! No 'PACKAGE_VERSION' directive specified.

Error! Bad conf file.
File: /var/lib/dkms/vboxdrv/3.0.8/source/dkms.conf does not represent
a valid dkms.conf file.
dpkg: error processing /var/cache/apt/archives/virtualbox-ose-dkms_3.2.8-dfsg-2ubuntu1~lucid1_all.deb (--unpack):
 subprocess new pre-installation script returned error exit status 5
Errors were encountered while processing:
 /var/cache/apt/archives/virtualbox-ose-dkms_3.2.8-dfsg-2ubuntu1~lucid1_all.deb
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
localepurge: Disk space freed in /usr/share/omf: 0 KiB
localepurge: Disk space freed in /usr/share/doc/kde/HTML: 0 KiB

Total disk space freed by localepurge: 0 KiB

E: Sub-process /usr/bin/dpkg returned an error code (1)
pete@pete-desktop:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  virtualbox-ose-source: Depends: virtualbox-ose-dkms (>= 3.1.6-dfsg-2ubuntu2) but it is not installed
E: Unmet dependencies. Try using -f.
pete@pete-desktop:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Ign http://download.skype.com stable Release.gpg
Ign http://download.skype.com stable Release
Hit http://us.archive.ubuntu.com lucid Release.gpg
Hit http://us.archive.ubuntu.com lucid-security Release.gpg
Hit http://us.archive.ubuntu.com lucid-updates Release.gpg
Hit http://archive.canonical.com lucid Release.gpg
Hit http://download.skype.com stable/non-free Packages
Hit http://ppa.launchpad.net lucid Release.gpg
Hit http://ppa.launchpad.net lucid Release.gpg
Hit http://ppa.launchpad.net lucid Release.gpg
Hit http://download.virtualbox.org maverick Release.gpg
Hit http://us.archive.ubuntu.com lucid-backports Release.gpg
Hit http://us.archive.ubuntu.com lucid Release
Hit http://us.archive.ubuntu.com lucid-security Release
Hit http://archive.canonical.com lucid Release
Hit http://ppa.launchpad.net lucid Release.gpg
Hit http://ppa.launchpad.net lucid Release.gpg
Hit http://ppa.launchpad.net lucid Release.gpg
Hit http://ppa.launchpad.net lucid Release.gpg
Hit http://ppa.launchpad.net lucid Release.gpg
Hit http://ppa.launchpad.net lucid Release.gpg
Hit http://ppa.launchpad.net lucid Release.gpg
Hit http://ppa.launchpad.net lucid Release
Hit http://download.virtualbox.org lucid Release.gpg
Hit http://download.virtualbox.org hardy Release.gpg
Hit http://us.archive.ubuntu.com lucid-updates Release
Hit http://download.virtualbox.org maverick Release
Hit http://ppa.launchpad.net lucid Release
Hit http://ppa.launchpad.net lucid Release
Hit http://ppa.launchpad.net lucid Release
Hit http://ppa.launchpad.net lucid Release
Hit http://ppa.launchpad.net lucid Release
Hit http://ppa.launchpad.net lucid Release
Hit http://archive.canonical.com lucid/partner Packages
Hit http://archive.getdeb.net jaunty-getdeb Release.gpg
Hit http://download.virtualbox.org lucid Release
Hit http://us.archive.ubuntu.com lucid-backports Release
Hit http://us.archive.ubuntu.com lucid/main Packages
Hit http://us.archive.ubuntu.com lucid/universe Packages
Hit http://us.archive.ubuntu.com lucid/main Sources
Hit http://us.archive.ubuntu.com lucid/restricted Sources
Hit http://us.archive.ubuntu.com lucid/universe Sources
Hit http://ppa.launchpad.net lucid Release
Hit http://ppa.launchpad.net lucid Release
Hit http://ppa.launchpad.net lucid Release
Hit http://archive.canonical.com lucid/partner Sources
Hit http://download.virtualbox.org hardy Release
Hit http://us.archive.ubuntu.com lucid-security/main Packages
Hit http://us.archive.ubuntu.com lucid-security/restricted Packages
Hit http://us.archive.ubuntu.com lucid-security/universe Packages
Hit http://us.archive.ubuntu.com lucid-security/main Sources
Hit http://us.archive.ubuntu.com lucid-security/restricted Sources
Hit http://hacktolive.org lucid Release.gpg
Hit http://us.archive.ubuntu.com lucid-security/universe Sources
Hit http://us.archive.ubuntu.com lucid-updates/main Packages
Hit http://us.archive.ubuntu.com lucid-updates/restricted Packages
Hit http://download.virtualbox.org maverick/contrib Packages
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://download.virtualbox.org lucid/contrib Packages
Hit http://us.archive.ubuntu.com lucid-updates/universe Packages
Hit http://us.archive.ubuntu.com lucid-updates/main Sources
Hit http://us.archive.ubuntu.com lucid-updates/restricted Sources
Hit http://us.archive.ubuntu.com lucid-updates/universe Sources
Hit http://us.archive.ubuntu.com lucid-backports/main Packages
Hit http://us.archive.ubuntu.com lucid-backports/restricted Packages
Hit http://us.archive.ubuntu.com lucid-backports/universe Packages
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://hacktolive.org lucid Release
Hit http://download.virtualbox.org hardy/non-free Packages
Hit http://us.archive.ubuntu.com lucid-backports/main Sources
Hit http://us.archive.ubuntu.com lucid-backports/restricted Sources
Hit http://us.archive.ubuntu.com lucid-backports/universe Sources
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://archive.getdeb.net jaunty-getdeb Release
Ign http://hacktolive.org lucid/main Packages
Ign http://hacktolive.org lucid/restricted Packages
Ign http://hacktolive.org lucid/multiverse Packages
Ign http://hacktolive.org lucid/universe Packages
Ign http://hacktolive.org lucid/partner Packages
Ign http://hacktolive.org lucid/main Packages
Hit http://archive.getdeb.net jaunty-getdeb/games Packages
Ign http://hacktolive.org lucid/restricted Packages
Ign http://hacktolive.org lucid/multiverse Packages
Ign http://hacktolive.org lucid/universe Packages
Ign http://hacktolive.org lucid/partner Packages
Hit http://hacktolive.org lucid/main Packages
Hit http://hacktolive.org lucid/restricted Packages
Hit http://hacktolive.org lucid/multiverse Packages
Hit http://hacktolive.org lucid/universe Packages
Hit http://hacktolive.org lucid/partner Packages
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  virtualbox-ose-source: Depends: virtualbox-ose-dkms (>= 3.1.6-dfsg-2ubuntu2) but it is not installed
E: Unmet dependencies. Try using -f.
pete@pete-desktop:~$ virtualbox-ose-dkms

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu virtualbox-ose Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

apt-cache policy virtualbox-ose-source

Thanks

You may want to update your getdeb reference to say lucid and not jaunty

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

What is the output of:

apt-cache policy virtualbox-ose-source

Thanks

You may want to update your getdeb reference to say lucid and not jaunty

Can you help with this problem?

Provide an answer of your own, or ask peter reidemeister for more information if necessary.

To post a message you must log in.