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

Bug#381282: apt-setup on sarge system gives `testing' in /etc/apt/sources.list



Package: base-config
Version: 2.53.10

(I may very easily have reported this bug against the wrong package.
It's difficult to localise the problem.)

I've been trying to manually install a Debian system using
debootstrap, as described in
http://www.debian.org/releases/stable/i386/apcs04.html.en . So I ran
debootstrap as follows to create me a bare-bones Debian sarge system
in a subdirectory:

  debootstrap sarge z http://ftp.us.debian.org/debian

(where `z' is the name of my subdirectory). Then I chrooted into
that subdirectory and ran `/usr/sbin/base-config new'. One of the
options offered by base-config was `Configure apt', which in due
course I selected. This ran apt-setup.

apt-setup asked me to specify an access method (I selected http), a
country (I selected US) and a server (I selected ftp.us.debian.org).
It produced me an /etc/apt/sources.list which read

  deb http://ftp.us.debian.org/debian/ testing main
  deb-src http://ftp.us.debian.org/debian/ testing main

I wanted a Debian stable system, not testing, which is why I asked
debootstrap to install sarge rather than etch. But apt-setup appears
to have unilaterally decided that I really wanted testing.

Once I knew this was happening I was able to work around it easily
enough, by manually editing /etc/apt/sources.list and replacing
`testing' with `stable'. But I didn't notice the error the first
time round, and was somewhat surprised to find aptitude helpfully
upgrading most of the base packages debootstrap had installed, and
even uninstalling one (libnewt0.51)! When I realised it had non-
consensually upgraded me to a testing system, I had to restart my
entire install from scratch.

It's not clear to me whether this is a problem somewhere in the
base-config package, or in some package archive on the net which
apt-setup is talking to. Initially debootstrap was a suspect as
well, but I think I've at least ruled that out by observing that
none of the files in the debootstrap package even _contains_ the
word `testing'. So I'm reporting it against base-config because it's
as close as I can get to a sensible localisation of the error. If
I'm wrong, I apologise.

Cheers,
Simon
-- 
Simon Tatham         "I'm going to pull his head off. Ear by ear."
<anakin@pobox.com>                          - a games teacher



Reply to: