l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2002 Aug 22 14:04

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] apt-cdrom pins unstable - resolution
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] apt-cdrom pins unstable - resolution

Recall the situation where I thought apt-cdrom had decided my Debian 3.0 
cds were "unstable". It turns out that /etc/apt/sources.list is not to 
be trusted in this situation.

I did some testing with apt-get, trying
apt-get install nano/unstable
apt-get install nano/testing
apt-get install nano/stable
(not actually installing anything, because nano was already installed)
the unstable and stable versions of the command both balked, saying that 
there was no package nano in that branch.
the testing version of the command indicated that the package was 
already installed.

I found that the release of a CD-ROM can be changed in the 
/var/lib/apt/lists/*_Release files, and I edited them to change the 
CD-ROM release to stable. Now apt-get obeys my rules (set 
APT::Default-Release to whatever is most convenient for me over the 
long-run at any time (this means it's stable until I have DSL), and then 
use apt-get -t when I want to get something from a different release)

I *suspect* (but have no real proof) that the "unstable" in 
/etc/apt/sources.list tells apt-get which directory on the CD-ROM it 
should take files from, and release specified in 
/var/lib/apt/lists/*_Release tells apt-get which release the CD is a 
part of for pinning purposes.

Now the Release file for a given CD is copied verbatim from 
/cdrom/dists/unstable/main/binary-i386 , so I guess the question begs to 
be asked why the Debian 3.0 cds are identifying themselves as testing 
rather than stable

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.