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

Bug#50239: apt complains local URIs have //, but they don't



Package: apt
Version: 0.3.9

The potato version of apt doesn't allow me to work with a local
mirror:

  # apt-get update
  Err file:/u/audusr7/david/debian/ stable/main Packages
    Invalid URI, local URIS must not start with //
  Ign file:/u/audusr7/david/debian/ stable/main Release

The local URI does not start with a double slash!

  # cat /etc/apt/sources.list
  # Use for a local mirror - remove the ftp1 http lines for the bits
  # your mirror contains.
  # deb file:/your/mirror/here/debian stable main contrib non-free
  # See sources.list(5) for more information, especial
  # Remember that you can only use http, ftp or file URIs
  deb file:/u/audusr7/david/debian stable main contrib non-free non-US
  #deb ftp://ftp.cistron.nl/pub/mirrors/debian frozen main contrib non-free
  #deb ftp://non-us.debian.org/pub/debian-non-US frozen non-US
  #deb ftp://ftp.nluug.nl/pub/os/Linux/distr/Debian unstable main contrib non-free
  #deb ftp://ftp.debian.org/pub/debian stable main

Version 0.1.9 had no problems.  

---david


Reply to: