It's a bug in apt (reported already), hopefully they'll have a fix out
soon. According to the changelog, they changed the way sources.list lines
are parsed to fix one bug, and accidentally introduced another...

In the mean time, it seems to work if you put two colons after the 'file',
something line this:
  deb file::/debian unstable main contrib non-free

Or you could make the change suggested in the reply to the bug report and
recompile from source (probably not worth it in this case (unless you
want practice compiling from source (or you just like it)))

On 28 Jun 1999, Eloy A. Paris wrote:

> Hi,
> 
> My /etc/apt/sources/list has a line like this:
> 
> deb file:/debian unstable main contrib non-free
> 
> When I run apt-get update I get:
> 
> polux:/tmp# apt-get update
> Err file:/debian/ unstable/main Packages
>   Invalid URI, local URIS must not start with //
> Ign file:/debian/ unstable/main Release
> Err file:/debian/ unstable/contrib Packages
>   Invalid URI, local URIS must not start with //
> Ign file:/debian/ unstable/contrib Release
> Err file:/debian/ unstable/non-free Packages
>   Invalid URI, local URIS must not start with //
> Ign file:/debian/ unstable/non-free Release
> 
> This worked before. What am I dong wrong?
> 
> peloy.-

Reply via email to