Public bug reported:

I use mirror://mirrors.ubuntu.com/mirrors.txt in my sources.list so I am
always using the closest mirrors regardless of where I am. I think it
would also be especially useful with Tor so the mirrors closest to the
exit nodes would be used.

However when I attempt to use sources.list lines such as this:

deb tor+mirror://mirrors.ubuntu.com/mirrors.txt bionic main restricted
universe multiverse

apt starts errorring:

Reading package lists... Done
E: The method driver /usr/lib/apt/methods/tor+mirror could not be found.
N: Is the package apt-transport-tor installed?
E: The method driver /usr/lib/apt/methods/tor+mirror could not be found.
N: Is the package apt-transport-tor installed?
E: The method driver /usr/lib/apt/methods/tor+mirror could not be found.
N: Is the package apt-transport-tor installed?
E: The method driver /usr/lib/apt/methods/tor+mirror could not be found.
N: Is the package apt-transport-tor installed?
E: Failed to fetch 
tor+mirror://mirrors.ubuntu.com/mirrors.txt/dists/bionic/InRelease
E: Failed to fetch 
tor+mirror://mirrors.ubuntu.com/mirrors.txt/dists/bionic-updates/InRelease
E: Failed to fetch 
tor+mirror://mirrors.ubuntu.com/mirrors.txt/dists/bionic-security/InRelease
E: Failed to fetch 
tor+mirror://mirrors.ubuntu.com/mirrors.txt/dists/bionic-backports/InRelease
E: Some index files failed to download. They have been ignored, or old ones 
used instead.

I think better solution would be for me to use Ubuntu mirrors that are
Tor hidden services (Debian offers them, https://tor.debian.org/) but as
far as I can see, they don't exist and neither does anything like
httpredir.debian.org (which is improved version of mirror://?). I
understand that this is the wrong place to ask, but is Ubuntu planning
to run either hidden service mirrors or their own instance of httpredir?

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: apt-transport-tor 0.4
ProcVersionSignature: Ubuntu 4.15.0-34.37-generic 4.15.18
Uname: Linux 4.15.0-34-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu7.3
Architecture: amd64
CurrentDesktop: KDE
Date: Thu Sep 20 12:59:39 2018
InstallationDate: Installed on 2018-04-30 (142 days ago)
InstallationMedia: Ubuntu-MATE 18.04 LTS "Bionic Beaver" - Release amd64 
(20180426)
PackageArchitecture: all
SourcePackage: apt-transport-tor
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: apt-transport-tor (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic mirrors third-party-packages tor

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1793495

Title:
  apt-transport-tor doesn't handle tor+mirror:// lines in sources.list

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-transport-tor/+bug/1793495/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to