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

Bug#40434: apt: apt-get update give errors



Package: apt
Version: 0.3.9
Severity: high

Hello!

In /etc/apt/sources.list I have this line:

deb file:/mnt/debian unstable main contrib non-free

Now the problem is that apt-get update does not work
The error are this:
----------------------------------------------------------
Err file:/mnt/debian/ unstable/main Packages
  Invalid URI, local URIS must not start with //
Ign file:/mnt/debian/ unstable/main Release
Err file:/mnt/debian/ unstable/contrib Packages
  Invalid URI, local URIS must not start with //
Ign file:/mnt/debian/ unstable/contrib Release
Err file:/mnt/debian/ unstable/non-free Packages
  Invalid URI, local URIS must not start with //
Ign file:/mnt/debian/ unstable/non-free Release
Reading Package Lists... Done
Building Dependency Tree... Done
W: Couldn't stat source package list 'file:/mnt/debian/ unstable/main
Packages'
(/var/state/apt/lists/mnt_debian_dists_unstable_main_binary-i386_Packages) -
stat (2 No existe el fichero o el directorio)
W: Couldn't stat source package list 'file:/mnt/debian/ unstable/contrib
Packages'
(/var/state/apt/lists/mnt_debian_dists_unstable_contrib_binary-i386_Packages)
- stat (2 No existe el fichero o el directorio)
W: Couldn't stat source package list 'file:/mnt/debian/ unstable/non-free
Packages'
(/var/state/apt/lists/mnt_debian_dists_unstable_non-free_binary-i386_Packages)
- stat (2 No existe el fichero o el directorio)
W: You may want to run apt-get update to correct these missing files
----------------------------------------------------

The file
/var/state/apt/lists/mnt_debian_dists_unstable_*_binary-i386_Packages
does not exist after an instalation. I did touch those files and then the it
works but with this annoying messages:

Err file:/mnt/debian/ unstable/main Packages
  Invalid URI, local URIS must not start with //
Ign file:/mnt/debian/ unstable/main Release
Err file:/mnt/debian/ unstable/contrib Packages
  Invalid URI, local URIS must not start with //
Ign file:/mnt/debian/ unstable/contrib Release
Err file:/mnt/debian/ unstable/non-free Packages
  Invalid URI, local URIS must not start with //
Ign file:/mnt/debian/ unstable/non-free Release


-- System Information
Debian Release: potato
Kernel Version: Linux corky 2.2.10 #1 mar jun 15 08:37:25 UYT 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: