ppa-purge fails to remove the PPA's package

Bug #944992 reported by YannUbuntu
This bug report is a duplicate of:  Bug #706774: apt-get not used as package manager. Edit Remove
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ppa-purge
New
Undecided
Unassigned

Bug Description

On Ubuntu11.10.

Used ppa-purge by curiosity, in order to see it's effect on Boot-Repair's PPA.
Result: the PPA is disabled successfully, but the "boot-repair" package is not remove.

Here is the log:

$ sudo ppa-purge ppa:yannubuntu/boot-repair
Updating packages lists
PPA to be removed: yannubuntu boot-repair
comm: file 2 is not in sorted order
Package revert list generated:
 boot-repair/oneiric boot-sav/oneiric glade2script/oneiric

Disabling yannubuntu PPA from
/etc/apt/sources.list.d/yannubuntu-boot-repair-oneiric.list
Updating packages lists
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Release 'oneiric' for 'boot-repair' was not found
Unable to find an archive "oneiric" for the package "boot-repair"
Unable to find an archive "oneiric" for the package "boot-repair"
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

PPA purged successfully using aptitude fallback

Revision history for this message
Percherie (percherie) wrote :

J'ai le même problème, je crois que les paquets inexistant dans les dépôts officiels ne sont pas supprimés.

La suppressions des paquets concernent uniquement ceux déjà présent dans les dépôts présent après une installation du système. Cela permet une restauration des paquets.

Est il possible aussi d'ajouter une option pour forcer la suppressions des PPA pour effectuer un nettoyage des sources. Par exemple

sudo ppa-purge --remove ppa:yannubuntu/boot-repair

Pour supprimer :
/etc/apt/sources.list.d/yannubuntu-boot-repair-oneiric.list
/etc/apt/sources.list.d/yannubuntu-boot-repair-oneiric.list.save

========================

I have the same problem, I think the packages does not exist in the official repositories are not deleted.

The cuts affect only those packets already present in the repositories after installation of this system. This allows a recovery package.

It is also possible to add an option to force the deletion of APP to perform cleanup of sources. for example

sudo ppa-purge --remove ppa:yannubuntu/boot-repair

to delete :
/etc/apt/sources.list.d/yannubuntu-boot-repair-oneiric.list
/etc/apt/sources.list.d/yannubuntu-boot-repair-oneiric.list.save

Revision history for this message
YannUbuntu (yannubuntu) wrote :

@Robert: is ppa-purge designed to only "downgrade packages that exist in another rep" ? what is the expected behavior if the removed PPA has a package that is not present in other reps (like in this bug report) ?

@Percherie: concerning your suggestion to add an option to "delete PPA" instead of "comment PPA", you should fill a new "wishlist" bug report.

Revision history for this message
Tim Lunn (darkxst) wrote :

Marking as a duplicate of Bug: #706774, since the patch there will fix this bug.

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.