Looks like the problem is caused by the Windows Hypervisor Platform. Work around is to disable it.
In the Start menu search for “turn Windows features on or off”
Once open, disable “Virtual Machine Platform” and “Windows Hypervisor Platform”
Disable Virtual Machine Platform
You will need to reboot after it finishes.
Apparently if you do
apt purge ubuntu*
You’ll end up deleting apt. Which is a bummer, because you can’t install anything else, or fix the problem. But not to worry, the resolution is fairly easy.
You can go download the apt deb from Ubuntu’s website and install it with dpkg.
Go to the following link and find the packages for your Ubuntu version
You’ll need to show “All packages” at the bottom of the page.
Download and install ubuntu-keyring, apt-transport-https, and apt packages. Example below
sudo dpkg -i ubuntu-keyring_2012.05.19_all.deb
sudo dpkg -i apt-transport-https_1.2.29ubuntu0.1_amd64.deb sudo dpkg -i apt_1.6.6ubuntu0.1_amd64.deb
Run apt and make sure it is all working
sudo apt update && sudo apt upgrade
The network manager widget package is plasma-nm. Can install it by running the following command from a terminal.
sudo apt install plasma-nm
You should be able to add the Network Manager widget onto the default panel.
Try installing software-properties-kde and get
The following packages have unmet dependencies:
software-properties-kde : Depends: python3-software-properties (= 0.96.24.32.11) but 1.8.8 is to be installed
E: Unable to correct problems, you have held broken packages.
Try to install python3 from the bionic from bionic-updates
sudo apt install -t bionic-updates python3-software-properties
sudo apt install software-properties-kde
If it fails try force installing it
sudo dpkg -i --force-overwrite /var/cache/apt/archives/software-properties-kde_0.96.24.32.11_all.deb
Install Kubuntu desktop
sudo apt install kubuntu-desktop
More info here
sudo apt full-upgrade
When prompted type in the following to continue the upgrade
Yes, do as I say!
You may need to remove libsnmp-base if you have package issues.
sudo apt-get remove libsnmp-base
When trying to install pip on Ubuntu with
sudo apt install python-pip
get the following error
Unable to locate package python-pip
Does the same thing for other basic packages. One of which was nasm “Dependency for Chipsec”
Issue ended up being that the Community-maintaned source was not enabled. Enabled via the Software & Updates. Should be able to search for it and it should come up.
The dig utility is apart of the dnsutils package
sudo apt-get install dnsutils -y
Posted in Command Line, Debian, Linux, Ubuntu |
Tagged apt, apt-get, debian, dig, DNS, install, kali, linux, ubuntu |
I had issues after installing Kali Linux with apt not working, ended up there were no repositories in the apt sources list, added the following line and did an apt-get update and everything started working.
Add this line to /etc/apt/sources.list
deb http://http.kali.org/kali kali-rolling main non-free contrib
And dist upgrade
You may need to reboot.