[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Automatically purging non-official packages



Camaleón <noelamac@gmail.com> writes:
> On Sun, 11 Mar 2012 17:19:26 -0400, Tom H wrote:
>
>> On Sun, Mar 11, 2012 at 2:47 PM, Camaleón <noelamac@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.

Why?


Best,

   -Nikolaus

-- 
 »Time flies like an arrow, fruit flies like a Banana.«

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C


Reply to: