LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-26-2017, 08:58 PM   #1
art3m
LQ Newbie
 
Registered: Feb 2012
Location: Spokane, WA
Distribution: Debian Jessie, Kali Linux
Posts: 18

Rep: Reputation: Disabled
Question Debian Jessie i686 Virtualbox 5 installation unmet dependencies


Freshly installed 32 bit Debian 8.7 Jessie. Downloaded current version of 32 bit Virtualbox and tried installing it. Did apt-get update and upgrade. All
packages and dist-update is all up to date.

Code:
root@debianBox:/etc/apt/sources.list.d# dpkg -i /home/art3m/Downloads/virtualbox-5.1_5.1.18-114002~Debian~jessie_i386.deb 
Selecting previously unselected package virtualbox-5.1.
(Reading database ... 166763 files and directories currently installed.)
Preparing to unpack .../virtualbox-5.1_5.1.18-114002~Debian~jessie_i386.deb ...
Unpacking virtualbox-5.1 (5.1.18-114002~Debian~jessie) ...
dpkg: dependency problems prevent configuration of virtualbox-5.1:
 virtualbox-5.1 depends on libqt5core5a (>= 5.3.0); however:
  Package libqt5core5a is not installed.
 virtualbox-5.1 depends on libqt5gui5 (>= 5.3.0); however:
  Package libqt5gui5 is not installed.
 virtualbox-5.1 depends on libqt5opengl5 (>= 5.0.2); however:
  Package libqt5opengl5 is not installed.
 virtualbox-5.1 depends on libqt5printsupport5 (>= 5.0.2); however:
  Package libqt5printsupport5 is not installed.
 virtualbox-5.1 depends on libqt5widgets5 (>= 5.2.0); however:
  Package libqt5widgets5 is not installed.
 virtualbox-5.1 depends on libqt5x11extras5 (>= 5.1.0); however:
  Package libqt5x11extras5 is not installed.

dpkg: error processing package virtualbox-5.1 (--install):
 dependency problems - leaving unconfigured
Processing triggers for systemd (215-17+deb8u6) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for shared-mime-info (1.5-2~bpo8+1) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for gnome-menus (3.13.3-6) ...
Processing triggers for mime-support (3.58) ...
Errors were encountered while processing:
 virtualbox-5.1
Then I tried resolving dependencies using apt-get -f install, rather than resolving the dependencies it wants to remove virtualbox-5.1 package altogether.

Code:
root@debianBox:/etc/apt/sources.list.d# 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:
  libasprintf0c2 libegl1-mesa-drivers libelfg0 libopenvg1-mesa libuuid-perl
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  virtualbox-5.1
0 upgraded, 0 newly installed, 1 to remove and 39 not upgraded.
1 not fully installed or removed.
After this operation, 153 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
I also tried approaching it a different way adding
deb http://download.virtualbox.org/virtualbox/debian jessie contrib
to my sources.list and installing virtualbox that way still exactly the
same thing happens apt-get does not want to resolve dependencies.

I spent hours researching this problem on google with no solution.
Here is some more useful info that might help.

Code:
root@debianBox:/etc/apt/sources.list.d# uname -a
Linux debianBox 3.16.0-4-686-pae #1 SMP Debian 3.16.39-1 (2016-12-30) i686 GNU/Linux
Code:
root@debianBox:/etc/apt# cat sources.list

# deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot i386 LIVE/INSTALL Binary 20170117-00:38]/ jessie main

#deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot i386 LIVE/INSTALL Binary 20170117-00:38]/ jessie main

# Line commented out by installer because it failed to verify:
deb http://security.debian.org/ jessie/updates main
# Line commented out by installer because it failed to verify:
deb-src http://security.debian.org/ jessie/updates main
Code:
-rw-r--r-- 1 art3m art3m  65387468 Mar 25 15:15 
virtualbox-5.1_5.1.18-114002~Debian~jessie_i386.deb
 
Old 03-26-2017, 10:13 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
You did not use apt to install it rather dpkg so no dependencies would be resolved, you need to do what it says namely install the packages it cannot find manually.

Code:
~$ apt-cache policy libqt5core5a
libqt5core5a:
  Installed: (none)
  Candidate: 5.3.2+dfsg-4+deb8u2
  Version table:
     5.3.2+dfsg-4+deb8u2 0
        500 http://ftp.de.debian.org/debian/ jessie/main amd64 Packages
As you can see they are available and you should most likely run a dpkg --configure -a to get any unconfigured packages left over after the error.
 
Old 03-26-2017, 11:00 PM   #3
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,001
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
Why do you want to install it from a .deb instead of enabling contrib, non-free & backports and just installing it using apt?
 
Old 03-27-2017, 12:47 AM   #4
art3m
LQ Newbie
 
Registered: Feb 2012
Location: Spokane, WA
Distribution: Debian Jessie, Kali Linux
Posts: 18

Original Poster
Rep: Reputation: Disabled
I did try backporting I added a backport.list to /etc/apt/sources.list.d
and this is what is looks like

Code:
root@debianBox:/etc/apt/sources.list.d# cat backports.list 
# Backports are recompiled packages from testing and unstable
# Backports cannot be tested as extensively as Debian stable,
# therefore, backports are provided on an as-is basis with risk
# of incompatibilities with other components in Debian stable
# Syntax: deb http-url jessie-backports main
deb http://ftp.debian.org/debian jessie-backports main


# Virtualbox installation
deb http://download.virtualbox.org/virtualbox/debian jessie contrib
root@debianBox:/etc/apt/sources.list.d#
Then I tried installing virtualbox

Code:
root@debianBox:/etc/apt/sources.list.d# apt-get -f install virtualbox-5.1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
virtualbox-5.1 is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 virtualbox-5.1 : Depends: libqt5core5a (>= 5.3.0) but it is not installable
                  Depends: libqt5gui5 (>= 5.3.0) but it is not installable
                  Depends: libqt5opengl5 (>= 5.0.2) but it is not installable
                  Depends: libqt5printsupport5 (>= 5.0.2) but it is not installable
                  Depends: libqt5widgets5 (>= 5.2.0) but it is not installable
                  Depends: libqt5x11extras5 (>= 5.1.0) but it is not installable
                  Recommends: libsdl-ttf2.0-0 but it is not installable
                  Recommends: linux-image but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Any help would be appreciated I'm so frustrated at this point. Normally I solve all my problems using google, unfortunately this time I can't seem to find a solution.
 
Old 03-27-2017, 12:48 AM   #5
art3m
LQ Newbie
 
Registered: Feb 2012
Location: Spokane, WA
Distribution: Debian Jessie, Kali Linux
Posts: 18

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Timothy Miller View Post
Why do you want to install it from a .deb instead of enabling contrib, non-free & backports and just installing it using apt?
I did try backporting, see my reply post
 
Old 03-27-2017, 02:11 AM   #6
art3m
LQ Newbie
 
Registered: Feb 2012
Location: Spokane, WA
Distribution: Debian Jessie, Kali Linux
Posts: 18

Original Poster
Rep: Reputation: Disabled
Smile I solved the problem

I solved the problem after going at it for couple more hours. When I installed Debian it asked me if I wanted to add mirrors, since I did not have an Internet connection at the time I said no my sources.list was only populated with dvd sources, when I added couple sources I only had security and updates. All I had to do is add

Code:
deb http://httpredir.debian.org/debian jessie main
deb-src http://httpredir.debian.org/debian jessie main

After running apt-update and apt-get -f install it finally installed all the unmet dependencies.
Lesson, learned I need to be more watchful and always check my sources.list with official debian
wiki not third party websites. So if anyone else came across this embarrassing problem now you know
the solution.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] debian 8.1 won't install wine-devel due to unmet dependencies achim_59 Linux - Software 14 05-25-2017 01:27 PM
Unmet dependencies when trying to install package on Debian krofna Linux - Software 3 08-06-2012 07:22 PM
Debian Linux 5.0 ffmpeg unmet dependencies problem webmin dont havr Linux - General 3 03-24-2011 09:50 PM
How to resolve unmet dependencies in dist-upgrade from debian sarge to etch maxmil Linux - Software 8 01-30-2007 04:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration