LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-21-2006, 04:05 AM   #1
dekers
LQ Newbie
 
Registered: Dec 2005
Posts: 14

Rep: Reputation: 0
Can't delete packages on Debian Sarge


Hi all,

I installed some software and later removed that software. The software had some packages that contained printer drivers. The packages were removed but apt-get/aptitude/dpkg didn't notice that they were removed. Now when I try to install CUPS first apt-get tries to remove those already removed packages. Since they are not there apt-get can't go on with the installation.

I already tried deleting the packages manually but with no luck either (since they are not there!)

how can I tell aptitude/dpkg/apt-get to forget about those packages??

I am close to throwing myself out the window. This is a bad thing since I work on the second floor and I think that I will only break my spine instead of dieing and sit in a wheelchair for the rest of my life.
Any ideas before I take a chance with the window??

Thanks, Dekers
 
Old 03-21-2006, 06:55 AM   #2
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Try dpkg --purge packagename
 
Old 03-21-2006, 08:40 AM   #3
dekers
LQ Newbie
 
Registered: Dec 2005
Posts: 14

Original Poster
Rep: Reputation: 0
I tried it and still got errors.

I actually tried everything I found in my debian book about deleting packages but it still didn't work

The solution: after uninstalling the package from ESP (the developers of CUPS) I had to manually copy the file '/usr/sbin/cupsd' from another system I have because the software from ESP somehow corrupted the file. After that I also had to copy /usr/lib/libcups.so.2 from the other system. After that everything went as smooth as a baby's bottom. I could install and configure CUPS without problems

thanks for effort

Roy
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
delete the routing cache on Debian Sarge Stable cccc Debian 1 01-23-2006 12:24 PM
Debian Sarge - old packages? J_K9 Debian 4 06-15-2005 06:27 AM
List of 6600 packages on Debian Sarge bamboo_spider Debian 4 04-21-2005 10:49 AM
save space and delete old packages ctagg Linux - Newbie 1 03-14-2005 04:33 PM
Debian Sarge & 14 CD's of packages... Eux Debian 8 11-07-2004 05:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration