"aptitude remove --purge" does not purge package [aptitude has no --purge]

Bug #234184 reported by Daniel Hahler
2
Affects Status Importance Assigned to Milestone
aptitude (Ubuntu)
Expired
Medium
Unassigned

Bug Description

Binary package hint: aptitude

"sudo aptitude remove --purge hello" is not the same as "sudo aptitude purge hello".

The "--purge" option gets recognized by aptitude but does not cause purging of the package (unlike "apt-get remove --purge").

This is with aptitude 0.4.9-2ubuntu5 on Ubuntu Hardy.

TEST CASE:
1. sudo apt-get install hello
2. sudo aptitude remove --purge hello
=> Look for "{p}" in the package list. (should not be there)

Daniel Hahler (blueyed)
Changed in aptitude:
importance: Undecided → Medium
Changed in aptitude (Ubuntu):
assignee: nobody → Abhishek kumar singh (abhishekkumarsingh-cse)
status: New → In Progress
Daniel Hartwig (wigs)
Changed in aptitude (Ubuntu):
assignee: Abhishek kumar singh (abhishekkumarsingh-cse) → nobody
status: In Progress → New
Revision history for this message
Daniel Hartwig (wigs) wrote :

Aptitude has no option ‘--purge’, this command line actually triggers ‘--purge-unused’ whose behaviour is correct. In the future we will support ‘--purge’ as apt-get does and also fail for unrecognized options.

This is importance: wishlist and not higher as there is no documented expectation for a ‘--purge’ option.

summary: - "aptitude remove --purge" does not purge package
+ "aptitude remove --purge" does not purge package [aptitude has no
+ --purge]
Changed in aptitude (Ubuntu):
status: New → Confirmed
Revision history for this message
Rolf Leggewie (r0lf) wrote :

There is "aptitude purge".

Is this still an issue?

Changed in aptitude (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for aptitude (Ubuntu) because there has been no activity for 60 days.]

Changed in aptitude (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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