LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-14-2003, 12:00 PM   #1
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
removing obsolete files in APT


I have installed Knoppix to the hard drive and have removed some packages that were on the CD that I no longer need. However, these packages still appear in the list of packages shown in Synaptic or Aptitude, and they are not found in Debian repositories. I have tried the "--purge" option to remove them, but they are still listed. Is there a way to remove obsolete files that still appear in the package list?
 
Old 11-15-2003, 06:57 PM   #2
ToniT
Senior Member
 
Registered: Oct 2003
Location: Zurich, Switzerland
Distribution: Debian/unstable
Posts: 1,357

Rep: Reputation: 47
First check that there is nothing strange in the /etc/apt/sources.list that might contain the packages you want to get rid off.

Run 'apt-get update' to get lists up to date.

If there are configfiles hanging around with some packages (you can check this with a 'dpkg -l thepackage'. The state "rc" mean that there are conffiles hanging around), run 'dpkg --purge thepackage' to get rid of them.
 
  


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
apt not removing dependencies JetJock Debian 11 06-18-2005 02:09 AM
Removing files wihtout removing containing Direcotry caps_phisto Linux - General 2 10-07-2004 08:16 AM
Removing extra files using apt-get Brother Michael Debian 7 06-20-2004 05:24 PM
apt-get error when removing (debian) hyrule Linux - Distributions 4 03-03-2003 10:18 PM
Removing Obsolete Software JHuizingh Linux - General 4 02-26-2002 02:17 PM

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

All times are GMT -5. The time now is 08:03 PM.

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