On Sun, Mar 11, 2012 at 5:38 PM, Camaleón <noela...@gmail.com> wrote: > On Sun, 11 Mar 2012 17:19:26 -0400, Tom H wrote: >> On Sun, Mar 11, 2012 at 2:47 PM, Camaleón <noela...@gmail.com> wrote: >>> On Sun, 11 Mar 2012 12:31:11 -0400, Nikolaus Rath wrote: >>>> >>>> Ubuntu has a "ppa-purge" script that not just removes Launchpad PPAs >>>> from sources.list, but also automatically reverts any packages >>>> installed from that PPA to the versions available in the official >>>> archives. >>> >>> The only idea scares me :-} >>> >>>> Has anyone ever written something similar for Debian? I'm thinking of >>>> a script that deletes all packages that are not retrievable from any >>>> of the registered sources, and downgrades (or upgrades) all packages >>>> to the most recent version available. >>> >>> I'm not aware of any, but I would prefer to do that job manually and >>> carefully picking the available sources, packages and versions as >>> possible candidates for installing/upgrading/downgrading. >>> >>> Anyway, porting the script to Debian shouldn't be difficult but I'm a >>> bit reluctant of that sort of automatisms. >> >> In my limited experience of "purge-ppa", it's worked very well. > > My guess is that is highly dependant on user's configuration: the lesser > repositories available + basic pinning rules = the higher chances for > getting successful results.
That applies to non-Debian repositories but not to PPAs that's probably why Ubunical created "apt-add-repository" with which you can add any repository including PPAs and VirtualBox to "/etc/apt/sources.d/" along with its corresponding gpg key but limited itself to "ppa-purge" rather than increasing the complexity of its removal script with "apt-purge-repository" (which is what the OP wants to do). -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=Szd_9=kyg-cowxc--o1qmlyqif3mpqq4jn1trympdb...@mail.gmail.com