[long] testing unstable and updates in /etc/apt/sources.list
markw at wolfenet.org
Wed Dec 11 22:29:08 PST 2002
All this and more can be had from the apt howto...
On Wed, 2002-12-11 at 18:51, George Georgalis wrote:
> On Wed, Dec 11, 2002 at 12:13:02PM -0800, John H. Robinson, IV wrote:
> >the first way is:
> >apt-get install <package>/unstable
> >the second way is:
> >apt-get -t unstable install <package>
> >you can also include testing sources, and use testing instead of
> >unstable in the above examples.
> okay, with your example I've created
> deb http://mirrors.kernel.org/debian/ stable main contrib
> deb-src http://mirrors.kernel.org/debian/ stable main contrib
> deb http://mirrors.kernel.org/debian/ testing main contrib
> deb-src http://mirrors.kernel.org/debian/ testing main contrib
> deb http://mirrors.kernel.org/debian/ unstable main contrib
> deb-src http://mirrors.kernel.org/debian/ unstable main contrib
> deb http://non-us.debian.org/debian-non-US stable/non-US main contrib
> deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib
> deb http://security.debian.org/ stable/updates main contrib
> deb http://security.debian.org/ testing/updates main contrib
> Package: *
> Pin: release a=stable
> Pin-Priority: 700
> Package: *
> Pin: release a=testing
> Pin-Priority: 650
> Package: *
> Pin: release a=unstable
> Pin Priority: 600
> I did apt-get upgrade... but now when when I install a package I have no
> idea if it's going to come from unstable or testing, until after the fact...
> # apt-get install ipcalc
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following NEW packages will be installed:
> 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 10.1kB of archives. After unpacking 86.0kB will be used.
> Get:1 http://mirrors.kernel.org testing/main ipcalc 0.35-1 [10.1kB]
> Fetched 10.1kB in 0s (29.1kB/s)
> Selecting previously deselected package ipcalc.
> (Reading database ... 19562 files and directories currently installed.)
> Unpacking ipcalc (from .../archives/ipcalc_0.35-1_all.deb) ...
> Setting up ipcalc (0.35-1) ...
> Should I just pay attention and uninstall if I don't like where it came from?
> This didn't do any good for my needs (got it from testing/main because
> of above preferences):
> # apt-get --target-release stable install ipcalc
> This tells me before hand...
> apt-get --simulate install ipcalc
> but it seems like a lot of trouble to check first if 95% of the packages
> are coming from stable anyway.
> If there is no way to force apt-get to inquire if it should use testing or
> unstable, can I some how setup my /etc/apt/preferences so that testing or
> unstable will only be used if explicitly requested with --target-release?
> Is this a case where I should just use dpkg? What about updates, if I install a
> package from unstable or testing how do I ensure it's upgraded when a new release
> is available?
> ...These don't work in /etc/apt/sources.list how do I ensure unstable or
> non-US packages are upgraded?
> deb http://security.debian.org/ unstable/updates main contrib
> deb http://security.debian.org/ stable/non-US/updates main contrib
> // George
> GEORGE GEORGALIS, System Admin/Architect cell: 347-451-8229
> Security Services, Web, Mail, mailto:george at galis.org
> Multimedia, DB, DNS and Metrics. http://www.galis.org/george
> list archives http://www.ultraviolet.org
> To unsubscribe, send a message to the address shown in the list-unsubscribe
> header of this message.
Mark Wolfe http://www.wolfenet.org
gpg fingerprint = 42B6 EFEB 5414 AA18 01B7 64AC EF46 F7E6 82F6 8C71
"MSDOS didn't get as bad as it is overnight -- it took over ten years
of careful development."
(By dmeggins at aix1.uottawa.ca)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.kernel-panic.org/pipermail/kplug-list/attachments/20021211/46c3799e/attachment-0001.pgp
More information about the KPLUG-List