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

Re: How safely to stop using backports repo?





On Wed, May 27, 2009 at 11:20 AM, <sthu.deus@gmail.com> wrote:
Good day, MARGUERIE.

Thank You for Your reply:
>Otherwise, you can `apt-get remove` them (plus --purge if you want to
>reset your configuration files) and re-install them : that way you'll
>use the main-repo version and you won't want have security problems
>anymore.

That decision I feared...

Is there a automatic way that can give me a list of the packages came
from backports repo?


 

Not automatic, but here is a quick script that might help you along:
 
#!/bin/sh

for pkg in `dpkg -l | awk '{print $2}'|sort` ; do

if apt-cache policy $pkg | grep "www.backports.org" > /dev/null ; then
                echo $pkg  "  appears to be from www.backports.org"
fi

done


-Jeff


Reply to: