LinuxQuestions.org
Help answer threads with 0 replies.
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 09-22-2006, 02:24 AM   #1
RyanGRA
Member
 
Registered: Sep 2006
Location: New Brunswick, NJ
Distribution: Debian "Sarge"
Posts: 33

Rep: Reputation: 15
Cannot remove a package in Sarge using apt?


I installed a game to try it out and I ended up not liking it so I tried to remove it. I typed from a command line - apt-get --purge remove "package". It went through the motions and I selected yes to uninstall. Apt uninstalled the package, or so I thought. Not only is the program still in my window-maker menu but it stills runs! I really want to get rid of it because I have severely limited hard drive space. Did I do something wrong? I was just following the instructions in an APT HowTo.
 
Old 09-22-2006, 10:57 AM   #2
eerok
Member
 
Registered: Nov 2005
Location: Canada
Distribution: Mint, Debian
Posts: 168

Rep: Reputation: 32
Try either 'apt-get --purge' or 'apt-get remove' ... not both together.
 
Old 09-22-2006, 11:28 AM   #3
RyanGRA
Member
 
Registered: Sep 2006
Location: New Brunswick, NJ
Distribution: Debian "Sarge"
Posts: 33

Original Poster
Rep: Reputation: 15
Thanks, but --purge needs the remove command in order to work unless you are using dpkg. BTW dpkg didn't work either. Any other ideas?
 
Old 09-22-2006, 12:13 PM   #4
patolfo
Member
 
Registered: Jan 2006
Distribution: Debian-Sarge r2-k.2.6.8-2.386
Posts: 101
Blog Entries: 1

Rep: Reputation: 15
this way... maybe

try a gui like: kpackage or synaptic; first reinstall it, then make a clean, deorphan... then try to remove either via apt or gui.

I had the same problem with an application, a more radical way of doing this, is to remove desktop manager and reinstall, but that is not the best way, believe me.
 
Old 09-22-2006, 08:01 PM   #5
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Rep: Reputation: 62
Hmm, this has never happened to me.

To remove package:

# dpkg -P <name of app>

then with my file manager i look for that app dot file in my /home and delete it.

# apt-get clean

$ update-menus

# updatedb
 
Old 09-22-2006, 08:17 PM   #6
Nathanael
Member
 
Registered: May 2004
Location: Karlsruhe, Germany
Distribution: debian, gentoo, os x (darwin), ubuntu
Posts: 940

Rep: Reputation: 33
what is the output of dpkg when trying to --purge or when trying to simply remove?
 
  


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
Remove a ubuntu package in Debian Sarge gbratig Linux - Distributions 3 07-29-2006 08:04 AM
apt-get remove package-name & config files robbbert Linux - Software 2 04-20-2006 05:33 PM
Apt-get: How to remove software without knowing package name? sureshot324 Linux - Software 4 10-27-2005 01:14 PM
apt setup package source dvd sarge baird Debian 4 02-14-2005 04:45 PM
HELP with apt-getHow come when I tried to use apt-get to remove a package to regain redss Linux - Newbie 1 08-22-2004 11:59 PM

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

All times are GMT -5. The time now is 10:41 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