UbuntuThis forum is for the discussion of Ubuntu Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following packages will be REMOVED:
acpi acpi-support acpid adduser adept akode akregator alsa-base alsa-utils
amarok amarok-gstreamer anacron apmd appres apt apt-file apt-utils aptitude
ark arts artsbuilder aspell aspell-en at autoconf automake1.9 base-config
There are many, many lines of packages that will be REMOVED.
At the bottom is this:
0 upgraded, 0 newly installed, 1256 to remove and 12 not upgraded.
4 not fully installed or removed.
Need to get 0B of archives.
After unpacking 2211MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
I'm just headed out the door on holidays for a couple of weeks, but if you reply, I'll get back to it when next I'm home.
Okay, two of your non-Ubuntu packages were installed, it seems--only four of them have not been completely installed or removed. The two other ones that installed successfully you should leave alone (by attempting to remove these, you may be causing the removal of those 1256 other packages). You can find out which ones did NOT install correctly by typing in "sudo dpkg --yet-to-unpack." These ones you should be able to safely removed ("sudo apt-get remove <packages...>", where <packages...> are the aforementioned packages).
Okay, then try "dpkg -C". This will list which packages are only partly installed. The previous command I recommended only applied to packages that haven't been unpacked yet...the problematic packages, however, seem to be unpacked already but not configured.
Unfortunately, even though Ubuntu shares Debian's core software, their packages are not guaranteed to be compatible with one another , and problems like this usually result when you try to mix them (for example, I tried to install Ubuntu's compiz packages and removed my X Window System in the process!)
Ok, I can report some success, but also a new problem.
pda_h4x0r's suggestion to use "dkpg -C" showed 4 packages, and grepper's suggestion to use "sudo dpkg --force-depends --purge package1 package2 package3" successfully removed 3 of them:
kimdaba, escputil, libread5 (I think those were the ones, spelling may be incorrect) but the last one libc6 gave messages about many many dependencies, and then this:
(Reading database ... 84945 files and directories currently installed.)
Removing libc6 ...
dpkg - warning: while removing libc6, unable to remove directory `/sys': Device or resource busy - directory may be a mount point ?
dpkg (subprocess): unable to execute post-removal script: No such file or directory
dpkg: error processing libc6 (--purge):
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
Now when I do sudo apt=get -f install
I get bash: /usr/bin/sudo: No such file or directory
and Synaptic won't launch with the message: Details: Failed to execute child process "gksudo" (No such file or directory)
NEVER, EVER, EVER remove libc6. This library is responsible for a good chunk of the app/kernel interfacing (i.e. every program except the kernel requires it to run). You could, in theory, boot from a liveCD, download the libc6 .deb file and install it on your main system, but I have never attempted this before and don't even know if it is easily done (or completely possible).
Guess it always helps to qualify advice better for newbies. The dpkg --purge was for the few packages you installed from debian rather than from the ubuntu repository. Hopefully libc6 was not one of them, that would have been silly.
As pda_h4x0r has pointed out, libc6 is a major system library ( the C libs ) and you are in major trouble without it.
To unpack a deb the command is dpkg-deb -X foo.deb (in an empty directory), and files paths start at the root dir / , if you want to try his suggestion of a liveCD and copy the files you need over.
It is possible that someone that knows what they are doing could fix this depending on how many and which other packages you removed, but as a newbie you are probably better off saving your personal data and reinstalling.
Using --force-depends is always dangerous. If you mistakenly installed a package that ties up apt it is sometimes the only way to fix things. You just took things a little too far, and perhaps mistakenly put together 2 bits of advice from different posters.
Ok, I used gparted to create an ext3 partion on my 2nd hard drive and copied all my 5.10 directories over there so I can restore my Thunderbird and Epiphany stuff once I find out where it's stored.
I tried to install 6.06 and the disk boots fine, but my Viewsonic VX2025wm LCD monitor gives an "out of range" message even if I use "Safe Graphics Mode". I get the same result using both a downloaded Ubuntu 6.06 install CD and the Linux Format magazine Live DVD. My 5.10 Live CD works just fine.
I have an ATI Radeon 9200SE card that's always worked fine with Linux.