🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: apt_preferences

#17733
From: Szymon Nieradka
Date: Fri, 03 Oct 2003 11:01
58 lines
2603 bytes
yox <yoxm@gazeta.LUBUSKA.pl> wrote in message news:<2710844.TRCrLEnga6@Voyager>...
> Szymon Nieradka wrote:
> 
> 
> > A w /etc/apt/prerefences:
> > 
> > Package: samba
> > Pin: release a=stable
> > Pin-Priority: 1001
> 
> Spróbuj:
> 
> Package: samba
> Pin: version (tu pe?ny numer obecnej wersji pakietu bez '*')
> Pin-Priority: 100
> 
> Ps. Pin-Priority > 1000 oznacza, ?e chcesz 'zmniejszy?' dany pakiet tzn. np.
> masz sambe z 'testing', a chcesz zainstalowa? ze 'stable' 100 oznacza ,?e
> zostanie zachowana obecna wersja pakietu (bez poprwwek typu X.Y-xy)
> 
> Je?eli chcesz jakies porawki do obecnej wersji pakietu np 2.0 w stylu
> 2.0-10, 2.0-11 itp. to wpisujesz version 2.0* ,ale priorytet musi by? > 100
> i < 1000 , mo?esz go pomin?? bo domy?lnie jest 989

Niestety:
ti:~# apt-get -u --download-only dist-upgrade
[...]
Get:1 http://ftp.ps.pl sarge/main inn2-inews 2.4.0+20030912-1 [139kB]
Get:2 http://ftp.ps.pl sarge/main inn2 2.4.0+20030912-1 [2979kB]
Get:3 http://ftp.ps.pl sarge/main smbfs 3.0.0beta2+3.0.0rc4-1 [294kB]
Get:4 http://ftp.ps.pl sarge/main smbclient 3.0.0beta2+3.0.0rc4-1 [2303kB]

Czyli nadal to samo.

ti:~# cat /etc/apt/preferences
Package: samba
Pin: version 2.* # tak wol? - chc? mie? uaktualnienia z serii 2.x.x
Pin-Priority: 500

Package: samba-common
Pin: version 2.*
Pin-Priority: 500

Package: smbfs
Pin: version 2.*
Pin-Priority: 500

Package: smbclient
Pin: version 2.*
Pin-Priority: 500

Package: inn2*
Pin: version 2.3.*
Pin-Priority: 500

Radzę sobie za pomocą aptitude i dselect'a ale to nie robota :-(

SN
Technical Details
Message-ID: <11412065.0310030301.2b22b245@posting.google.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!news.ipartners.pl!news.nask.pl!news-stoc.telia.net!217.209.241.210.MISMATCH!news-stod.telia.net!telia.net!luth.se!in.100proofnews.com!in.100proofnews.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!sn-xit-03!sn-xit-01!sn-xit-05!sn-xit-09!supernews.com!postnews1.google.com!not-for-mail
References: <11412065.0310012347.6b5973@posting.google.com> <2710844.TRCrLEnga6@Voyager>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!news.ipartners.pl!news.nask.pl!news-stoc.telia.net!217.209.241.210.MISMATCH!news-stod.telia.net!telia.net!luth.se!in.100proofnews.com!in.100proofnews.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!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: Re: apt_preferences
Date: 3 Oct 2003 04:01:21 -0700
Organization: http://groups.google.com
Lines: 58
Message-ID: <11412065.0310030301.2b22b245@posting.google.com>
References: <11412065.0310012347.6b5973@posting.google.com> <2710844.TRCrLEnga6@Voyager>
NNTP-Posting-Host: 62.233.172.33
X-Trace: posting.google.com 1065178882 31293 127.0.0.1 (3 Oct 2003 11:01:22 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 3 Oct 2003 11:01:22 +0000 (UTC)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit