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

Bug#40425: apt: file method complains of local URI starting with //, even if it doesn't



Package: apt
Version: 0.3.9
Severity: grave

Hi,

observe:

root@utopia:/root# /usr/lib/apt/methods/file
100 Capabilities
Version: 1.0
Single-Instance: true
Local-Only: true

600 URI Acquire
URI: file:/misc/hdd1/debian/dists/unstable/main/binary-i386/Packages.gz
Filename: test
Index-File: true

400 URI Failure
URI: file:/misc/hdd1/debian/dists/unstable/main/binary-i386/Packages.gz
Message: Invalid URI, local URIS must not start with //

If called through apt-get, it says

root@utopia:/root# apt-get update
Err file:/misc/hdd1/debian/ unstable/main Packages
  Invalid URI, local URIS must not start with //
[...]
Reading Package Lists... Done
Building Dependency Tree... Done
W: Couldn't stat source package list 'file:/misc/hdd1/debian/ unstable/main Packages' (/var/state/apt/lists/misc_hdd1_debian_dists_unstable_main_binary-i386_Packages) - stat (2 No such file or directory)
[...]

My sources.list consists of the following single line:

deb file:/misc/hdd1/debian unstable main contrib non-free local non-US/main non-US/contrib non-US/non-free

This line used to work with apt 0.3.6.

Regards,

-- 
  Andrew Korn (Korn Andras) <korn@eik.bme.hu>  http://goliat.eik.bme.hu/~korn
    Finger korn@goliat.eik.bme.hu for pgp key.  Homepage is obsolete. QOTD:
                 Computer! Create dancepartner. Human, female.

-- System Information
Debian Release: potato
Kernel Version: Linux utopia 2.2.10-ac3 #54 Tue Jun 29 11:00:58 CEST 1999 i586 unknown

Versions of the packages apt depends on:
ii  libc6           2.1.1-12       GNU C Library: Shared libraries and timezone
ii  libstdc++2.9-gl 2.91.66-2      The GNU stdc++ library (EGCS version)


Reply to: