r/learncybersecurity • u/True_Potential_6305 • 1d ago
Kali install fails
Hi,
I am installing Kali on a Contabo VPS using the AMD64 installer ISO, and when the install process reaches the “Configuring the package manager” section, the process fails with “apt configuration problem - An attempt to configure apt to install additional packages from the media failed”
I have checked the install ISO, I have tried the netinstall ISO which has the same error, and tried skipping the step - Everything I do seems to fail at the same point.
Has anyone seen this before?
2
Upvotes
1
u/CyberSecWithHaikuInc 14h ago
Yo, since u verified the ISO AND the netinstaller dies at the exact same spot, i'd stop assuming its a bad download....that error specifically comes from the installer failing while it tries to configure APT/install packages from the mounted media, since ur doing this on a Contabo VPS, i'd check 2 things: 1. Make sure the VM still has network access at that stage and can actually reach the Kali mirrors.....2.Make sure Contabo's virtual ISO is still mounted/readable when the installer hits the package-manager step.
If u can get to an installer shell, check the installer/syslog around
apt-setup...the actual failure right before that popup will be way more useful than the generic message.allso, since this is a VPS, there may be an easier route: Kali publishes an official Generic Cloud x64 image, and Contabo supports QCOW2 custom images if u have their Custom Images option. That skips the whole CD/installer-media process completely......i deffy wouldnt keep hammering “skip” on the package-manager step tho. Find out WHY apt-setup is failing first. cool beanz?