apt-get purge does nothing

Bug #815844 reported by Sergio Callegari
40
This bug affects 7 people
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

On natty.

To reproduce

1) Set up things so that you have a package that is not installed, but for which configuration data is still present on the system
(not installed with residual config in synaptic).

2) at the prompt type
sudo apt-get purge <package>
or
sudo apt-get --purge remove <package>

What happens:

You see something like the following

sudo apt-get remove --purge grub
[sudo] password for callegar:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  grub*
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

And the package is not purged

What should happen

You should see something like

sudo apt-get remove --purge grub
[sudo] password for callegar:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  grub*
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Do you want to continue (y/n)?

And by saying yes you should have the package purged

affects: synaptic (Ubuntu) → apt (Ubuntu)
Changed in apt (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.