Re: Total confusion with aptitude. Help, please!
Hi, again!
On Fri, Jun 20, 2008 at 10:48:02AM +0000, Alan Mackenzie wrote:
> > To know what is going on with your system, we would need to see your
> > /etc/apt/sources.list and /etc/apt/preferences files.
> #/etc/apt/sources.list:
> #########################################################################
> deb ftp://ftp.de.debian.org/debian/ stable main contrib
> deb-src ftp://ftp.de.debian.org/debian/ stable main contrib
> deb http://security.debian.org/ stable/updates main contrib
> #########################################################################
[ .... ]
> Hmm. I don't really feel that it was me that did the mixing. :-)
> However, I take the point. I'll try the suggestion you gave me up above
> (putting "oldstable" into sources.list), and then report on what
> happened.
My /etc/apt/source.list now looks like this:
#########################################################################
#deb ftp://ftp.de.debian.org/debian/ stable main contrib
deb ftp://ftp.de.debian.org/debian/ oldstable main contrib
#deb-src ftp://ftp.de.debian.org/debian/ stable main contrib
deb-src ftp://ftp.de.debian.org/debian/ oldstable main contrib
deb http://security.debian.org/ oldstable/updates main contrib
#########################################################################
When I now start aptitude, I get a plethora of errors with the following
form:
W: Couldn't stat source package list ftp://ftp.de.debian.org oldstable/main Packages
(/var/lib/apt/lists/ftp.de.debian.org_debian_dists_oldstable_main_binary-i386_Packages) - stat (2 No such file or
directory)
It seems I've misunderstood the format of /etc/apt/sources.list. Looking
at source.lists's man page, however, it seems OK.
If I connect to the ftp server in the error message, ftp.de.debian.org,
then cd to debian/dists, I see this:
lrw-r--r-- 1 ftp ftp 5 Apr 12 21:15 Debian3.1r8 -> sarge
lrw-r--r-- 1 ftp ftp 4 Feb 16 20:51 Debian4.0r3 -> etch
-rw-r--r-- 1 ftp ftp 449 Apr 12 18:16 README
drwxr-xr-x 5 ftp ftp 4096 Feb 16 14:58 etch
drwxr-xr-x 5 ftp ftp 78 Jun 20 08:23 etch-m68k
drwxr-xr-x 5 ftp ftp 69632 Jun 20 08:22 etch-proposed-updates
drwxr-xr-x 5 ftp ftp 78 Jun 20 08:24 experimental
drwxr-xr-x 17 ftp ftp 4096 Jun 20 08:23 lenny
drwxr-xr-x 5 ftp ftp 78 Jun 20 08:23 lenny-proposed-updates
lrw-r--r-- 1 ftp ftp 5 Apr 8 2007 oldstable -> sarge
lrw-r--r-- 1 ftp ftp 22 May 15 2007 oldstable-proposed-updates -> sarge-proposed-updates
lrw-r--r-- 1 ftp ftp 21 Apr 8 2007 proposed-updates -> etch-proposed-updates
drwxr-xr-x 5 ftp ftp 4096 Apr 12 19:08 sarge
drwxr-xr-x 5 ftp ftp 78 Jun 20 08:22 sarge-proposed-updates
drwxr-xr-x 19 ftp ftp 4096 Jun 20 08:24 sid
lrw-r--r-- 1 ftp ftp 4 Apr 8 2007 stable -> etch
lrw-r--r-- 1 ftp ftp 21 Apr 8 2007 stable-proposed-updates -> etch-proposed-updates
lrw-r--r-- 1 ftp ftp 5 Apr 8 2007 testing -> lenny
lrw-r--r-- 1 ftp ftp 22 Apr 8 2007 testing-proposed-updates -> lenny-proposed-updates
lrw-r--r-- 1 ftp ftp 3 May 13 2006 unstable -> sid
Here, "stable -> etch" and "oldstable -> sarge" seem to be of equal
status. This is making me feel stupid; what stupid mistake have I made
in my source.list?
--
Alan Mackenzie (Nuremberg, Germany).
Reply to: