[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: howto use defaults/preferences to keep to testing ???



Also sprach Shawn Lamson (Wed 18 Jun 02003 at 11:58:17PM -0400):
> On Wed, June 18 at  8:32 PM EDT
> "Michael D. Schleif" <mds@helices.org> wrote:
> 
> > What do I *not* understand about apt defaults and preferences?  I was
> > at woody/stable for a year.  Recently, I've taken the plunge and
> > upgraded to testing, and I think that I am configured to stay at
> > testing:
> > 
> > # cat /etc/apt/apt.conf
> > APT::Cache-Limit        12582912;
> > APT::Default-Release    "testing";
> 
> You can refer to the following link for some preferences settings.
> http://www.debian.org/doc/manuals/apt-howto/ch-apt-get.en.html
> If you don't want *any* packages from unstable then comment out that
> line from /etc/apt/sources.list
> 
> > # cat /etc/apt/preferences
> > Package: *
> > Pin: release a=stable
> > Pin-Priority: 1000
> > 
> > Package: *
> > Pin: release a=testing
> > Pin-Priority: 1000
> > 
> > Package: *
> > Pin: release a=unstable
> > Pin-Priority: 0
> > 
> > 
> > However, I just did this:
> > 
> > # sudo dselect update
> > 
> > And, I get this result:
> > 
> > # sudo apt-get upgrade
> > Reading Package Lists... Done
> > Building Dependency Tree... Done
> > The following packages have been kept back
> >   aptitude kdeartwork synaptic w3m 
> > 13 packages upgraded, 0 newly installed, 0 to remove and 4  not
> > upgraded. Need to get 8642kB of archives. After unpacking 477kB will
> > be used. Do you want to continue? [Y/n] 
> > Get:1 http://http.us.debian.org unstable/main sysv-rc 2.85-4 [23.8kB]
> > Get:2 http://http.us.debian.org unstable/main sysvinit 2.85-4 [80.8kB]
> > Get:3 http://http.us.debian.org unstable/main initscripts 2.85-4
> > [13.1kB] Get:4 http://http.us.debian.org unstable/main debconf 1.2.42
> > [138kB] Get:5 http://http.us.debian.org unstable/main ispell
> > 3.1.20.0-2 [156kB] Get:6 http://http.us.debian.org unstable/main
> > iamerican 3.1.20.0-2 [411kB] Get:7 http://http.us.debian.org
> > unstable/main whiptail 0.51.4-10 [26.8kB] Get:8
> > http://http.us.debian.org unstable/main debconf-utils 1.2.42 [98.3kB]
> > Get:9 http://http.us.debian.org unstable/main gs 7.07-1 [3013kB]
> > Get:10 http://http.us.debian.org unstable/main kdeartwork-misc
> > 4:3.1.2-2 [3711kB] Get:11 http://http.us.debian.org unstable/main
> > kdeartwork-style 4:3.1.2-2 [27.0kB] Get:12 http://http.us.debian.org
> > unstable/main kdeartwork-theme-window 4:3.1.2-2 [117kB] Get:13
> > http://http.us.debian.org unstable/main kscreensaver 4:3.1.2-2 [827kB]
> > Fetched 8642kB in 39s (216kB/s) Preconfiguring packages ...
> > 
> > 
> > I do *NOT* want to upgrade to un-stable!
> > 
> > What am I doing wrong?
> 
> Shawn Lamson
> shawn.lamson@verizon.net
> Debian GNU/Linux 3.0

Yes, I understand this.

However, I am trying to understand how defaults/preferences work.

Based on the preferences set, I fail to see how my update installs so
much un-stable ?!?!

Is there some better document to explain this than the apt howto?

-- 
Best Regards,

mds
mds resource
877.596.8237
-
Dare to fix things before they break . . .
-
Our capacity for understanding is inversely proportional to how much
we think we know.  The more I know, the more I know I don't know . . .
--

Attachment: pgpAhHQJgHdxk.pgp
Description: PGP signature


Reply to: