apt-get hassle

Tez binary_y2k2 at blueyonder.co.uk
Sat May 20 05:11:10 UTC 2006


Andrew Otte wrote:

>Tez,
>Thanks for the help - was googling all the while and found some with similar 
>issues on a debian list somewhere.  The fix was to do a fsck on the disk.  
>Hard to believe that the disk reports as clean and the system runs except for 
>the dpkg command.  I did accidentally unplug the machine yesterday - that 
>would explain the corruption.
>By the way I had to boot an old fedora cd to get a command line to run fsck on 
>my main linux partition.  How do I do it in Kubuntu?   
>Thanks again for the help.
>  
>
When in an X session just press "Ctrl-Alt-F#" to go to a tty console,
so to use tty1 you'd press "Ctrl-Alt-F1", tty2 "Ctrl-Alt-F2" ...
then you can login.
If you are going to do something like fsck it's better to boot in to
single user mode from the grub menu choose:
Ubuntu, kernel [your-kernel-version] (recovery mode)
(Make sure you have a root password setup)
or at a tty console login as root and type:
init 1
To get back to an X session type:
init 2

I'll stop there before I start to ramble :-p

Terence Simpson






More information about the kubuntu-users mailing list