Update & Upgrade Problem

aaryan

New Member
Joined
Sep 29, 2020
Messages
18
Reaction score
0
Credits
392
sudo apt-get update
[sudo] password for dell:
Get:1 http://packages.microsoft.com/repos/vscode stable InRelease [3,958 B]
Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease
Get:3 http://packages.microsoft.com/repos/vscode stable/main amd64 Packages [219 kB]
Get:4 http://kali.cs.nctu.edu.tw/kali kali-rolling InRelease [30.5 kB]
Ign:5 http://download.virtualbox.org/virtualbox/debian kali-rolling InRelease
Get:6 http://kali.cs.nctu.edu.tw/kali kali-rolling/main amd64 Packages [17.3 MB]
Err:7 http://download.virtualbox.org/virtualbox/debian kali-rolling Release
404 Not Found [IP: ]
Reading package lists... Done
E: The repository 'http://download.virtualbox.org/virtualbox/debian kali-rolling Release' does not have a Release file.
N: Updating from such a repository can't be done securely and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

&&

sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
linux-headers-amd64 : Depends: linux-headers-4.9.0-14-amd64 but it is not installable
virtualbox-6.1 : Depends: libc6 (>= 2.28) but 2.27-6 is installed
Depends: libqt5x11extras5 (>= 5.6.0) but it is not installed
Depends: libsdl1.2debian (>= 1.2.11) but it is not installed
Depends: libssl1.1 (>= 1.1.1) but 1.1.0l-1~deb9u2 is installed
Recommends: libsdl-ttf2.0-0 but it is not installed
Recommends: linux-image but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
 


Lord Boltar

Well-Known Member
Joined
Nov 24, 2020
Messages
1,801
Reaction score
1,210
Credits
13,408
or run
Code:
sudo apt --fix-broken install
also might want to remove the virtualbox repository since Kali is based on Debian Testing not just Debian
Code:
sudo gedit /etc/apt/sources.list
 
Last edited:
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top