Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I was trying to install a printer driver yesterday, and I failed. Worse, the failure seems to have upset dpkg and apt-get, and now regular package management tasks frequently aren't working.
Here are all the details I can remember:
The package which failed to install is dcp7065dnlpr, a Brother printer driver downloaded off their website.
The error message generated when I tried to install it with dpkg was (I think):
start: Unknown job: lpd
I tried dpkg -r, dpkg -P, and dpkg --remove-reinstreq (i.e. all the options which seemed relevant on the dpkg man page), to remove the broken package, but they all generated variants on the same theme:
dpkg: error processing dcp7065dnlpr (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
But trying to reinstall it didn't get anywhere. (I believe that the first time I tried this, there were some different error messages, along the lines of "start: Unknown job: lpd", and mentioning the prerm and postrm scripts, but I can't generate those again).
(or iHR, or PHR, on the first line, depending on whether I last used the -i/-r/-P option).
Similarly, if I try to do pretty much anything with apt-get, I now get error messages based around this package. e.g. apt-get install alarm-clock generates:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package dcp7065dnlpr needs to be reinstalled, but I can't find an archive for it.
Again, the promising-sounding options from the apt-get man page (-f, -m, --ignore-hold - didn't know what that meant but ignoring things sounded potentially helpful) don't help.
One last detail: there was a CUPS driver for the same printer installed at the same time. That one has been installed with no problems - just mentioning it in case it's relevant:
ii cupswrapperdcp7065dn 2.0.4-2 Brother DCP7065DN CUPS wrapper driver
Of course, in the long run, I want to get this printer working (and I might post about that in the relevant forum if I get stuck again), but in the short term, I'd just like to get this package cleaned up, and get everything working smoothly again. I get the feeling I'm missing something very basic, but googling/reading man pages hasn't helped me. If any of you can straighten me out, it'd be much appreciated.