Bug#100668: apt should allow to select from more 'sources.list' files
Package: apt
Version: 1.3-16
I often update from security.debian.org but I also quite often need to
fetch various fixes unofficially from various authors' sites.
There's no other way to update only official (or only certain unofficial)
packages than to comment out unneeded lines in /etc/apt/sources.list
and do the apt-get update.
I think the (quite easy) fix would be a new option for arbitrary
'sources.list' files. Then this could be easily done with
apt-get --sources-list=/etc/mycompany_sources.list update
apt-get install ...
#which would update and fetch fixes only for packages from a certain site
apt-get update
#which would update the default (/etc/apt/sources.list)
apt-get instal ...
#as usually
--
Kamil Toman
Reply to: