rickysarraf/apt-offline

Extra text in .sig file: `ValueError: unknown url type: '11'`

plattrap opened this issue · 1 comments

When running apt-offline update I get the error message ValueError: unknown url type: '11'

$ apt-offline -v
1.8.2

Verbose:

$ sudo apt-offline set set.uris  --verbose
VERBOSE: Namespace(apt_backend='apt-get', func=<function setter at 0x7f090f470670>, generate_changelog=False, set='set.uris', set_install_packages=None, set_install_release=None, set_install_src_packages=None, set_simulate=False, set_update=False, set_upgrade=False, src_build_dep=False, upgrade_type='upgrade', verbose=True)
VERBOSE: APT Update Method is of type: apt-get
Gathering details needed for 'update' operation
VERBOSE: Command is: ['/usr/bin/apt-get', '-q', '--print-uris', 'update']
VERBOSE: Calling __FixAptSigs to fix the apt sig problemVERBOSE: APT Upgrade Method is of type: apt-get
Gathering details needed for 'upgrade' operation
VERBOSE: Command is: ['/usr/bin/apt-get', '-qq', '--print-uris', 'upgrade']

Check the set.uris file for stray text:

$ grep -v ^\' set.uris
11 standard security updates

This is on:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.3 LTS
Release:        20.04
Codename:       focal

This is already fixed in master. Will be part of next release.