-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Labels
Description
With (newer ?) ubuntu release, one can use a mirror protocol that use directly the mirrors from mirrors.ubuntu.com
Tihs means lines in sources.list looks like this:
deb mirror://mirrors.ubuntu.com/mirrors.txt [...]
When this is set in sources.list, then apt-select bails out with the error:
Traceback (most recent call last):
File "/home/solstice/.local/bin/apt-select", line 11, in <module>
sys.exit(main())
File "/home/solstice/.local/lib/python2.7/site-packages/apt_select/__main__.py", line 244, in main
apt_select()
File "/home/solstice/.local/lib/python2.7/site-packages/apt_select/__main__.py", line 175, in apt_select
sources.set_current_archives()
File "/home/solstice/.local/lib/python2.7/site-packages/apt_select/apt.py", line 164, in set_current_archives
self.skip_gen_msg)
apt_select.apt.SourcesFileError: Error finding current main URI in /etc/apt/sources.list
Skipping file generation
Reactions are currently unavailable