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

Re: Total confusion with aptitude. Help, please!



Alan Mackenzie escreveu:
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)

[...]
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?

None, I'd say. Have you run aptitude update?


Reply to: