You are not logged in.

#1 2016-09-18 11:40:27

frosk0
Member
From: Milky Way
Registered: 2016-09-18
Posts: 8

Problem while installing VM

When i try to install from .deb packet

root@me0w:/home/me0w/Downloads# dpkg -i virtualbox-5.1_5.1.6-110634~Debian~jessie_amd64.deb
(Reading database ... 93591 files and directories currently installed.)
Preparing to unpack virtualbox-5.1_5.1.6-110634~Debian~jessie_amd64.deb ...
Unpacking virtualbox-5.1 (5.1.6-110634~Debian~jessie) over (5.1.6-110634~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+deb8u4) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for shared-mime-info (1.3-1) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for mime-support (3.58) ...
Errors were encountered while processing:
 virtualbox-5.1

When i try to install from terminal

root@me0w:/home/me0w/Downloads# apt-get 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-headers-generic but it is not installable or
                              linux-headers-generic-pae but it is not installable or
                              linux-headers-686-pae but it is not installable or
                              linux-headers-amd64 but it is not installable or
                              linux-headers-2.6-686 but it is not installable or
                              linux-headers-2.6-amd64 but it is not installable or
                              linux-headers but it is not installable
                  Recommends: linux-image but it is not installable
                  Recommends: gcc but it is not installable
                  Recommends: make but it is not installable or
                              build-essential but it is not installable or
                              dpkg-dev but it is not installable
                  Recommends: binutils but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

I follow the steps here: https://www.virtualbox.org/wiki/Linux_Downloads

And when i try to install something missing

root@me0w:/home/me0w/Downloads# apt-get install libqt5widgets5
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libqt5widgets5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Last edited by frosk0 (2016-09-18 11:50:03)


Atom=Universe?

Offline

#2 2016-09-18 11:55:11

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Problem while installing VM

Did you try

apt-get -f install

Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2016-09-18 11:57:18

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 1,146

Re: Problem while installing VM

You're going to run into issues trying to install VB 5.1 in bunsen/Jessie since that's a newer version than is available, and as you discovered, depends on stuff that's not installable

Simplest solution is simply

sudo apt-get install virtualbox

which will get you 4.3.36-dfsg-1+deb8u1 as of my check just now

If that's not new enough, you could enable backports & use the version there, which (as of just now) would get 5.0.24-dfsg-1~bpo8+1

If you simply *must have* the very latest versions of things, I respectfully suggest a distro based on Debian Stable may not be your best choice..

Though back-porting things yourself is a possibility.


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

#4 2016-09-18 17:42:58

frosk0
Member
From: Milky Way
Registered: 2016-09-18
Posts: 8

Re: Problem while installing VM

I have no problem with the outdated version of the virtualbox, but when now i try to install 4.3 version it promt me that.

 The following packages have unmet dependencies:
 virtualbox-4.3 : Depends: libqt4-network (>= 4:4.5.3) but it is not installable
                  Depends: libqt4-opengl (>= 4:4.7.2) but it is not installable
                  Recommends: libsdl-ttf2.0-0 but it is not installable
                  Recommends: dkms but it is not installable
                  Recommends: linux-headers but it is not installable
                  Recommends: gcc but it is not installable
                  Recommends: make but it is not installable
                  Recommends: binutils but it is not installable
E: Unable to correct problems, you have held broken packages.

Atom=Universe?

Offline

#5 2016-09-18 18:00:51

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,068
Website

Re: Problem while installing VM

Please post the output of:

apt-cache policy

Offline

#6 2016-09-18 19:15:46

frosk0
Member
From: Milky Way
Registered: 2016-09-18
Posts: 8

Re: Problem while installing VM

me0w@me0w:~$ apt-cache policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://pkg.bunsenlabs.org/debian/ bunsen-hydrogen/main amd64 Packages
     release o=bunsenlabs,n=bunsen-hydrogen,l=bunsenlabs,c=main
     origin pkg.bunsenlabs.org
 500 http://download.virtualbox.org/virtualbox/debian/ jessie/contrib amd64 Packages
     release o=Oracle Corporation,n=jessie,l=Oracle Corporation,c=contrib
     origin download.virtualbox.org
Pinned packages:

Atom=Universe?

Offline

#7 2016-09-18 20:03:10

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,068
Website

Re: Problem while installing VM

Oh dear, it looks like you don't have any Debian jessie repositories.

Is there a file at /etc/apt/sources.list?

There should be a file there with this content (roughly):

deb http://httpredir.debian.org/debian jessie main contrib non-free
deb http://httpredir.debian.org/debian jessie-updates main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free

https://wiki.debian.org/SourcesList#Exa … urces.list

You can add these lines yourself by using this command:

sudo apt edit-sources

Then save the file and update the package database:

sudo apt update

You should then be able to install VB from the Debian repositories.

EDIT: also, your avatar .gif is glitching, try this one:

https://drive.google.com/file/d/0BxKgGO … sp=sharing

Last edited by Head_on_a_Stick (2016-09-18 20:05:29)

Offline

#8 2016-09-19 18:14:46

frosk0
Member
From: Milky Way
Registered: 2016-09-18
Posts: 8

Re: Problem while installing VM

This is in the sources.list

# 

# deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160706-02:22]/ jessie contrib main non-free

# deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160706-02:22]/ jessie contrib main non-free

# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/ jessie/updates main contrib non-free
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/ jessie/updates main contrib non-free

deb http://download.virtualbox.org/virtualbox/debian jessie contrib

Atom=Universe?

Offline

#9 2016-09-19 18:38:40

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: Problem while installing VM

Yep as HoaS said, it looks like your sources were wiped out. Not sure how?  But you need to add them back...Also just make sure your bunsenlabs sources are intact as well in the sources.d dir. Just in case...


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#10 2016-09-19 19:31:27

frosk0
Member
From: Milky Way
Registered: 2016-09-18
Posts: 8

Re: Problem while installing VM

Thanks alot guys, i finaly installed VB. smile
I just empty the source.list and paste the repositories it was so simple.

Last edited by frosk0 (2016-09-19 19:41:27)


Atom=Universe?

Offline

Board footer

Powered by FluxBB