View Issue Details

IDProjectCategoryView StatusLast Update
0002612Kali Linux[All Projects] Kali Package Bugpublic2015-09-03 12:00
ReporterFulgur Assigned Torhertzog  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionno change required 
Product Version2.0 
Target VersionFixed in Version 
Summary0002612: virtualbox-qt unmet dependencies
Description* Kali Linux 2.0 installed from ISO - OK

* apt-get install virtualbox - OK

* apt-get update & upgrade

  Now trying to upgrade Kali 2.0 packages give "unmet dependencies" error.
Steps To Reproduce# apt-get update
# apt-get upgrade

Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 virtualbox-qt : Depends: virtualbox (= 4.3.28-dfsg-1kali1+b1) but 4.3.28-dfsg-1kali1 is to be installed
E: Broken packages

Activities

rhertzog

2015-09-03 08:48

administrator   ~0003876

Can you show the output of "apt-cache policy virtualbox virtualbox-qt" after an "apt-get update"?

In theory you should see version 4.3.28-dfsg-1kali1+b1 of both packages... and the upgrade should not cause any problem, it's just that both packages must be upgraded together.

If the upgrade still fails, can you try to do "apt-get install virtualbox virtualbox-qt" and show the error?

Did you put some package on "hold" or did you add custom apt pinning that would forbid APT to do it job?

Fulgur

2015-09-03 09:00

reporter   ~0003877

SOLVED! Thanks!

# apt-get update
# apt-cache policy virtualbox virtualbox-qt

virtualbox:
  Installato: (nessuno)
  Candidato: 4.3.20-dfsg-1~kali1
  Tabella versione:
     4.3.20-dfsg-1~kali1 0
        500 http://http.kali.org/kali/ kali/contrib i386 Packages
     4.1.18-dfsg-2.1 0
        500 http://http.kali.org/kali/ kali/main i386 Packages
virtualbox-qt:
  Installato: (nessuno)
  Candidato: 4.3.20-dfsg-1~kali1
  Tabella versione:
     4.3.20-dfsg-1~kali1 0
        500 http://http.kali.org/kali/ kali/contrib i386 Packages
     4.1.18-dfsg-2.1 0
        500 http://http.kali.org/kali/ kali/main i386 Packages

# apt-get upgrade

 OK - SOLVED! Thanks

rhertzog

2015-09-03 09:03

administrator   ~0003878

This shows that you don't have Kali 2.0 in your /etc/apt/sources.list. Ensure you have "sana" and not kali as distribution name there...

deb http://http.kali.org/kali sana main contrib non-free

Fulgur

2015-09-03 11:02

reporter   ~0003897

Sorry, I have done a bit of confusion. The correct steps to SOLVE the problem are as suggested before by you:

# apt-get update
# apt-cache policy virtualbox virtualbox-qt

virtualbox:
  Installed: 4.3.28-dfsg-1kali1
  Candidate: 4.3.28-dfsg-1kali1+b1
  Version table:
     4.3.28-dfsg-1kali1+b1 0
        500 http://http.kali.org/kali/ sana/contrib i386 Packages
 *** 4.3.28-dfsg-1kali1 0
        100 /var/lib/dpkg/status
virtualbox-qt:
  Installed: 4.3.28-dfsg-1kali1
  Candidate: 4.3.28-dfsg-1kali1+b1
  Version table:
     4.3.28-dfsg-1kali1+b1 0
        500 http://http.kali.org/kali/ sana/contrib i386 Packages
 *** 4.3.28-dfsg-1kali1 0
        100 /var/lib/dpkg/status

# apt-get upgrade

  FAIL

# apt-get install virtualbox virtualbox-qt

Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  vde2 virtualbox-guest-additions-iso
The following packages will be upgraded:
  virtualbox virtualbox-qt
2 upgraded, 0 newly installed, 0 to remove and 28 not upgraded.
Need to get 0 B/20,9 MB of archives.
After this operation, 0 B of additional disk space will be used.
Reading changelogs... Done
(Reading database ... 349381 files and directories currently installed.)
Preparing to unpack .../virtualbox-qt_4.3.28-dfsg-1kali1+b1_i386.deb ...
Unpacking virtualbox-qt (4.3.28-dfsg-1kali1+b1) over (4.3.28-dfsg-1kali1) ...
Preparing to unpack .../virtualbox_4.3.28-dfsg-1kali1+b1_i386.deb ...
Unpacking virtualbox (4.3.28-dfsg-1kali1+b1) over (4.3.28-dfsg-1kali1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for menu (2.1.47) ...
Processing triggers for gnome-menus (3.13.3-6) ...
Processing triggers for desktop-file-utils (0.22-1) ...
Processing triggers for mime-support (3.58) ...
Processing triggers for shared-mime-info (1.3-1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for systemd (215-17+deb8u1) ...
Setting up virtualbox (4.3.28-dfsg-1kali1+b1) ...
Setting up virtualbox-qt (4.3.28-dfsg-1kali1+b1) ...
Processing triggers for menu (2.1.47) ...

# apt-get upgrade - OK (Resolved)

Thanks!

Issue History

Date Modified Username Field Change
2015-09-02 20:02 Fulgur New Issue
2015-09-03 08:48 rhertzog Note Added: 0003876
2015-09-03 08:48 rhertzog Assigned To => rhertzog
2015-09-03 08:48 rhertzog Status new => feedback
2015-09-03 09:00 Fulgur Note Added: 0003877
2015-09-03 09:00 Fulgur Status feedback => assigned
2015-09-03 09:03 rhertzog Note Added: 0003878
2015-09-03 09:03 rhertzog Resolution open => no change required
2015-09-03 09:03 rhertzog Product Version kali-dev => 2.0
2015-09-03 09:03 rhertzog Status assigned => resolved
2015-09-03 11:02 Fulgur Note Added: 0003897
2015-09-03 11:02 Fulgur Status resolved => feedback
2015-09-03 11:02 Fulgur Resolution no change required => reopened
2015-09-03 12:00 rhertzog Status feedback => resolved
2015-09-03 12:00 rhertzog Resolution reopened => no change required