Re: apt/sources.list error
On 22 Jan 2004, Haines Brown <brownh@hartford-hwp.com> wrote:
> I'm running woody, but need to install a backport of postfix. So I
> added to /etc/aptsources.list the line:
You probably mean /etc/apt/sources.list.
> deb http://people.debian.org/~hmh/woody/ hmh/postfix/
[...]
> When I run & sudo aptitude update I get the error message:
>
> Reading Package Lists... 0%
> ...
> Reading extended state information... Done
>
> W: Couldn't stat source package list
> http://people.debian.org hmh/postfix/ Packages
> (/var/lib/apt/lists/people.debian.org_%7ehmh_woody_hmh_postfix_Packages)
> - stat (2 No such file or directory)
> W: You may want to update the package lists to correct these missing files
>
> I don't understand this. Is it saying that the address I put in
> sources.list is invalid? Does aptitude update require some kind of
> switch if the repositories are mixed (stable and testing)? What is thi
> file /var/lib/apt/lists/people.debian.org...? It does not exist on my
> machine. Does it need to create this as a directory and is failing to
> do so?
This seems to be a bug with aptitude, as "apt-get update" works on my
machine and "aptitude update" should do exactly the same thing. If
"apt-get update" solves the problem for you, you should probably file a
bug report against aptitude (after checking this has not been reported
already).
--
Philipp Weis pweis@pweis.com
Freiburg, Germany http://pweis.com/
Reply to: