On Thu, 10 Oct 2013 11:28:10 +0800 Paul Wise wrote: > It would be nice if debsecan could write out an apt preferences file > for packages that have a security issue fixed in unstable such that > when I do apt-get upgrade I will get the security issues fixed before > the packages migrate to testing.
I've made a simple proof-of-concept for this:
#!/bin/sh
for pkg in $(debsecan | grep fixed | cut -d\ -f2 | sort -u) ; do
cat <<EOF > /etc/apt/preferences.d/debsecan
Package: $pkg
Pin: release a=unstable
Pin-Priority: 900
EOF
done
--
bye,
pabs
https://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part

