[2201] in athena10
Re: [DRAFT] apt: Confusing "malformed Release file" error for nonexistent
daemon@ATHENA.MIT.EDU (Evan Broder)
Sat Apr 11 18:23:45 2009
Message-ID: <49E11852.7090701@mit.edu>
Date: Sat, 11 Apr 2009 18:23:14 -0400
From: Evan Broder <broder@MIT.EDU>
MIME-Version: 1.0
To: Tim Abbott <tabbott@mit.edu>
CC: debathena@mit.edu
In-Reply-To: <alpine.DEB.1.10.0904111751060.26521@vinegar-pot.mit.edu>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Looks fine to me.
- Evan
Tim Abbott wrote:
> Below is a draft bug report for the confusing malformed release file error
> bug. Thoughts? I've reproduced on sid.
>
> I can attach a patch to the report, once we settle on wording.
>
> -Tim Abbott
>
> -------------
>
> Package: apt
> Severity: normal
> Version: 0.7.20.2
>
> If you have an invalid component name in your sources.list file, e.g.:
>
> deb http://debian.lcs.mit.edu/debian/ sid mainy
>
> and then you do an "apt-get update", you get this confusing error message:
>
> W: Failed to fetch http://debian.lcs.mit.edu/debian/dists/sid/Release
> Unable to find expected entry mainy/binary-i386/Packages in Meta-index
> file (malformed Release file?)
>
> Suggesting that the problem is a malformed Release file is very confusing
> here, given that the issue here is a problem with the local configuration,
> not the remote repository (and that a typo in sources.list is probably
> much more common than a malformed Release file).
>
> Perhaps we should change "(malformed Release file?)" to "(likely caused by
> either configuring a nonexistent repository component or a malformed
> Release file)"
>
> -Tim Abbott
>