🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.pl.comp.os.linux.debian
Article #17731

apt_preferences

#17731
From: Szymon Nieradka
Date: Thu, 02 Oct 2003 07:47
42 lines
1909 bytes
Mam Sarge'a ale z pewnych powodów chcę korzystać z samby i inn2 z wersji stable.
Mam więc w sources-lists wpisy dla sarge i woody.
Zainstalowałem samba, samba-common, smbfs i inn2 z opcją -t stable.
W /etc/apt/apt.conf mam wpis:

	APT::Default-Release "testing"; # (choć nie jest to konieczne)

A w /etc/apt/prerefences:

	Package: samba
	Pin: release a=stable
	Pin-Priority: 1001

	Package: samba-common
	Pin: release a=stable
	Pin-Priority: 1001

	Package: inn2
	Pin: release a=stable
	Pin-Priority: 1001

	Package: smbfs
	Pin: release a=stable
	Pin-Priority: 1001

Niestety operacja

	$ apt-get update
	$ apt-get dist-upgrade

uporczywie pobiera mi (np.) sambę w wersji 3.0.0beta czyli dokonuje mi się 
upgrade pakietów których sobie nie życzę.
Próbowałem w preferences różnych wartości Pin-Priority. 
Ustawiałem także Pin: version 2.* - nie pomaga:

	$ apt-get -u --download-only dist-upgrade

ciągle pobiera tylko nowe (testing) wesje wymienianych pakietów.

Co robię źle?

Szymon Nieradka
Technical Details
Message-ID: <11412065.0310012347.6b5973@posting.google.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.man.poznan.pl!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!newshosting.com!news-xfer1.atl.newshosting.com!sn-xit-03!sn-xit-01!sn-xit-05!sn-xit-09!supernews.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.man.poznan.pl!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!newshosting.com!news-xfer1.atl.newshosting.com!sn-xit-03!sn-xit-01!sn-xit-05!sn-xit-09!supernews.com!postnews1.google.com!not-for-mail
From: saj-mon@go2.pl (Szymon Nieradka)
Newsgroups: alt.pl.comp.os.linux.debian
Subject: apt_preferences
Date: 2 Oct 2003 00:47:46 -0700
Organization: http://groups.google.com
Lines: 42
Message-ID: <11412065.0310012347.6b5973@posting.google.com>
NNTP-Posting-Host: 62.233.172.33
X-Trace: posting.google.com 1065080867 15431 127.0.0.1 (2 Oct 2003 07:47:47 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 2 Oct 2003 07:47:47 +0000 (UTC)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit