On Du, 11 mar 12, 12:31:11, Nikolaus Rath wrote: > Hello, > > 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. > > 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, aptitude purge ~o (has been mentioned already) > and downgrades (or upgrades) all packages to the most recent version > available. Pinning one source lower than the one you want to keep and perform an upgrade should do the trick and I think it can be done with apt-get/aptitude command line options only, but I'm too lazy to check. Kind regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
Attachment:
signature.asc
Description: Digital signature