in-target: To continue, enter Yes - having trouble yet?

This is mostly meant as a note to myself, in case I need to reinstall Debian Lenny on my VPS. The installer stalls at 1%, when at the screen titled "Selecting and installing packages". To fix this, start by pressing CTRL+ALT+F2. Next, do this:

ps aux | grep aptitude # note down the PID (proccess ID) of aptitude
kill $PID # replace $PID with the PID from above
chroot /target
aptitude install debian-archive-keyring
aptitude update
exit

Press CTRL+ALT+F1

The installer will tell you that it failed, but simply select "Select and install packages" from the menu, and you should be on your way.


Written by Jannich Brendle tir 01 marts 2011 In How to

tags: debianlennyvps

Related posts

social