root@noble:/# dpkg-query -W python-apt-common
python-apt-common 2.7.7ubuntu3
root@noble:/# grep kumi.systems /usr/share/python-apt/templates/Ubuntu.mirrors
root@noble:/# apt install -y python-apt-common/noble-proposed
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Selected version '2.7.7ubuntu4' (Ubuntu:24.04/noble-proposed [all]) for
'python-apt-common'
The following packages will be upgraded:
python-apt-common
1 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
Need to get 20.4 kB of archives.
After this operation, 383 kB disk space will be freed.
Get:1 http://archive.ubuntu.com/ubuntu noble-proposed/main amd64
python-apt-common all 2.7.7ubuntu4 [20.4 kB]
Fetched 20.4 kB in 0s (61.5 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 9623 files and directories currently installed.)
Preparing to unpack .../python-apt-common_2.7.7ubuntu4_all.deb ...
Unpacking python-apt-common (2.7.7ubuntu4) over (2.7.7ubuntu3) ...
Setting up python-apt-common (2.7.7ubuntu4) ...
root@noble:/# grep kumi.systems /usr/share/python-apt/templates/Ubuntu.mirrors
https://mirror.kumi.systems/ubuntu-ports/
https://mirror.kumi.systems/ubuntu/
root@noble:/# apt install -y python3-apt/noble-proposed
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Selected version '2.7.7ubuntu4' (Ubuntu:24.04/noble-proposed [amd64]) for
'python3-apt'
Suggested packages:
python-apt-doc
The following packages will be upgraded:
python3-apt
1 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
Need to get 169 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu noble-proposed/main amd64 python3-apt
amd64 2.7.7ubuntu4 [169 kB]
Fetched 169 kB in 1s (283 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 9568 files and directories currently installed.)
Preparing to unpack .../python3-apt_2.7.7ubuntu4_amd64.deb ...
Unpacking python3-apt (2.7.7ubuntu4) over (2.7.7ubuntu3) ...
Setting up python3-apt (2.7.7ubuntu4) ...
root@noble:/# python3
Python 3.12.3 (main, Jan 17 2025, 18:03:48) [GCC 13.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import apt
>>> apt.__dict__
{'__name__': 'apt', '__doc__': 'High-Level Interface for working with apt.',
'__package__': 'apt', '__loader__':
<_frozen_importlib_external.SourceFileLoader object at 0x7d28a0c8a630>,
'__spec__': ModuleSpec(name='apt',
loader=<_frozen_importlib_external.SourceFileLoader object at 0x7d28a0c8a630>,
origin='/usr/lib/python3/dist-packages/apt/__init__.py',
submodule_search_locations=['/usr/lib/python3/dist-packages/apt']), '__path__':
['/usr/lib/python3/dist-packages/apt'], '__file__':
'/usr/lib/python3/dist-packages/apt/__init__.py', '__cached__':
'/usr/lib/python3/dist-packages/apt/__pycache__/__init__.cpython-312.pyc',
'__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, types,
exceptions, and other objects.\n\nThis module provides direct access to all
'built-in'\nidentifiers of Python; for example, builtins.len is\nthe full name
for the built-in function len().\n\nThis module is not normally accessed
explicitly by most\napplications, but can be useful in modules
that provide\nobjects with the same name as a built-in value, but in\nwhich
the built-in of that name is also needed.", '__package__': '', '__loader__':
<class '_frozen_importlib.BuiltinImporter'>, '__spec__':
ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>,
origin='built-in'), '__build_class__': <built-in function __build_class__>,
'__import__': <built-in function __import__>, 'abs': <built-in function abs>,
'all': <built-in function all>, 'any': <built-in function any>, 'ascii':
<built-in function ascii>, 'bin': <built-in function bin>, 'breakpoint':
<built-in function breakpoint>, 'callable': <built-in function callable>,
'chr': <built-in function chr>, 'compile': <built-in function compile>,
'delattr': <built-in function delattr>, 'dir': <built-in function dir>,
'divmod': <built-in function divmod>, 'eval': <built-in function eval>, 'exec':
<built-in function exec>, 'format': <built-in function format>, 'getattr':
<built-in function getattr>, 'glob
als': <built-in function globals>, 'hasattr': <built-in function hasattr>,
'hash': <built-in function hash>, 'hex': <built-in function hex>, 'id':
<built-in function id>, 'input': <built-in function input>, 'isinstance':
<built-in function isinstance>, 'issubclass': <built-in function issubclass>,
'iter': <built-in function iter>, 'aiter': <built-in function aiter>, 'len':
<built-in function len>, 'locals': <built-in function locals>, 'max': <built-in
function max>, 'min': <built-in function min>, 'next': <built-in function
next>, 'anext': <built-in function anext>, 'oct': <built-in function oct>,
'ord': <built-in function ord>, 'pow': <built-in function pow>, 'print':
<built-in function print>, 'repr': <built-in function repr>, 'round': <built-in
function round>, 'setattr': <built-in function setattr>, 'sorted': <built-in
function sorted>, 'sum': <built-in function sum>, 'vars': <built-in function
vars>, 'None': None, 'Ellipsis': Ellipsis, 'NotImplemented': NotImplemented,
'False':
False, 'True': True, 'bool': <class 'bool'>, 'memoryview': <class
'memoryview'>, 'bytearray': <class 'bytearray'>, 'bytes': <class 'bytes'>,
'classmethod': <class 'classmethod'>, 'complex': <class 'complex'>, 'dict':
<class 'dict'>, 'enumerate': <class 'enumerate'>, 'filter': <class 'filter'>,
'float': <class 'float'>, 'frozenset': <class 'frozenset'>, 'property': <class
'property'>, 'int': <class 'int'>, 'list': <class 'list'>, 'map': <class
'map'>, 'object': <class 'object'>, 'range': <class 'range'>, 'reversed':
<class 'reversed'>, 'set': <class 'set'>, 'slice': <class 'slice'>,
'staticmethod': <class 'staticmethod'>, 'str': <class 'str'>, 'super': <class
'super'>, 'tuple': <class 'tuple'>, 'type': <class 'type'>, 'zip': <class
'zip'>, '__debug__': True, 'BaseException': <class 'BaseException'>,
'BaseExceptionGroup': <class 'BaseExceptionGroup'>, 'Exception': <class
'Exception'>, 'GeneratorExit': <class 'GeneratorExit'>, 'KeyboardInterrupt':
<class 'KeyboardInterrupt'>, 'SystemE
xit': <class 'SystemExit'>, 'ArithmeticError': <class 'ArithmeticError'>,
'AssertionError': <class 'AssertionError'>, 'AttributeError': <class
'AttributeError'>, 'BufferError': <class 'BufferError'>, 'EOFError': <class
'EOFError'>, 'ImportError': <class 'ImportError'>, 'LookupError': <class
'LookupError'>, 'MemoryError': <class 'MemoryError'>, 'NameError': <class
'NameError'>, 'OSError': <class 'OSError'>, 'ReferenceError': <class
'ReferenceError'>, 'RuntimeError': <class 'RuntimeError'>,
'StopAsyncIteration': <class 'StopAsyncIteration'>, 'StopIteration': <class
'StopIteration'>, 'SyntaxError': <class 'SyntaxError'>, 'SystemError': <class
'SystemError'>, 'TypeError': <class 'TypeError'>, 'ValueError': <class
'ValueError'>, 'Warning': <class 'Warning'>, 'FloatingPointError': <class
'FloatingPointError'>, 'OverflowError': <class 'OverflowError'>,
'ZeroDivisionError': <class 'ZeroDivisionError'>, 'BytesWarning': <class
'BytesWarning'>, 'DeprecationWarning': <class 'DeprecationWarning'
>, 'EncodingWarning': <class 'EncodingWarning'>, 'FutureWarning': <class
>'FutureWarning'>, 'ImportWarning': <class 'ImportWarning'>,
>'PendingDeprecationWarning': <class 'PendingDeprecationWarning'>,
>'ResourceWarning': <class 'ResourceWarning'>, 'RuntimeWarning': <class
>'RuntimeWarning'>, 'SyntaxWarning': <class 'SyntaxWarning'>,
>'UnicodeWarning': <class 'UnicodeWarning'>, 'UserWarning': <class
>'UserWarning'>, 'BlockingIOError': <class 'BlockingIOError'>,
>'ChildProcessError': <class 'ChildProcessError'>, 'ConnectionError': <class
>'ConnectionError'>, 'FileExistsError': <class 'FileExistsError'>,
>'FileNotFoundError': <class 'FileNotFoundError'>, 'InterruptedError': <class
>'InterruptedError'>, 'IsADirectoryError': <class 'IsADirectoryError'>,
>'NotADirectoryError': <class 'NotADirectoryError'>, 'PermissionError': <class
>'PermissionError'>, 'ProcessLookupError': <class 'ProcessLookupError'>,
>'TimeoutError': <class 'TimeoutError'>, 'IndentationError': <class
>'IndentationError'>, 'IndexErro
r': <class 'IndexError'>, 'KeyError': <class 'KeyError'>,
'ModuleNotFoundError': <class 'ModuleNotFoundError'>, 'NotImplementedError':
<class 'NotImplementedError'>, 'RecursionError': <class 'RecursionError'>,
'UnboundLocalError': <class 'UnboundLocalError'>, 'UnicodeError': <class
'UnicodeError'>, 'BrokenPipeError': <class 'BrokenPipeError'>,
'ConnectionAbortedError': <class 'ConnectionAbortedError'>,
'ConnectionRefusedError': <class 'ConnectionRefusedError'>,
'ConnectionResetError': <class 'ConnectionResetError'>, 'TabError': <class
'TabError'>, 'UnicodeDecodeError': <class 'UnicodeDecodeError'>,
'UnicodeEncodeError': <class 'UnicodeEncodeError'>, 'UnicodeTranslateError':
<class 'UnicodeTranslateError'>, 'ExceptionGroup': <class 'ExceptionGroup'>,
'EnvironmentError': <class 'OSError'>, 'IOError': <class 'OSError'>, 'open':
<built-in function open>, 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit,
'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'copyright': Copyright (c)
2001-2023
Python Software Foundation.
All Rights Reserved.
Copyright (c) 2000 BeOpen.com.
All Rights Reserved.
Copyright (c) 1995-2001 Corporation for National Research Initiatives.
All Rights Reserved.
Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope
Corporation and a cast of thousands
for supporting Python development. See www.python.org for more
information., 'license': Type license() to see the full license text, 'help':
Type help() for interactive help, or help(object) for help about object., '_':
None}, 'apt_pkg': <module 'apt_pkg' from
'/usr/lib/python3/dist-packages/apt_pkg.cpython-312-x86_64-linux-gnu.so'>,
'progress': <module 'apt.progress' from
'/usr/lib/python3/dist-packages/apt/progress/__init__.py'>, 'package': <module
'apt.package' from '/usr/lib/python3/dist-packages/apt/package.py'>, 'cache':
<module 'apt.cache' from '/usr/lib/python3/dist-packages/apt/cache.py'>,
'Cache': <class 'apt.cache.Cache'>, 'ProblemResolver': <class
'apt.cache.ProblemResolver'>, 'Package': <class 'apt.package.Package'>,
'Version': <class 'apt.package.Version'>, 'cdrom': <module 'apt.cdrom' from
'/usr/lib/python3/dist-packages/apt/cdrom.py'>, 'Cdrom': <class
'apt.cdrom.Cdrom'>, '__all__': ['Cache', 'Cdrom', 'Package']}
>>> import aptsources
>>> aptsources.__dict__
{'__name__': 'aptsources', '__doc__': None, '__package__': 'aptsources',
'__loader__': <_frozen_importlib_external.SourceFileLoader object at
0x7d289f930e00>, '__spec__': ModuleSpec(name='aptsources',
loader=<_frozen_importlib_external.SourceFileLoader object at 0x7d289f930e00>,
origin='/usr/lib/python3/dist-packages/aptsources/__init__.py',
submodule_search_locations=['/usr/lib/python3/dist-packages/aptsources']),
'__path__': ['/usr/lib/python3/dist-packages/aptsources'], '__file__':
'/usr/lib/python3/dist-packages/aptsources/__init__.py', '__cached__':
'/usr/lib/python3/dist-packages/aptsources/__pycache__/__init__.cpython-312.pyc',
'__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions,
types, exceptions, and other objects.\n\nThis module provides direct access to
all 'built-in'\nidentifiers of Python; for example, builtins.len is\nthe full
name for the built-in function len().\n\nThis module is not normally accessed
explicitly by most\napplications, but can be us
eful in modules that provide\nobjects with the same name as a built-in value,
but in\nwhich the built-in of that name is also needed.", '__package__': '',
'__loader__': <class '_frozen_importlib.BuiltinImporter'>, '__spec__':
ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>,
origin='built-in'), '__build_class__': <built-in function __build_class__>,
'__import__': <built-in function __import__>, 'abs': <built-in function abs>,
'all': <built-in function all>, 'any': <built-in function any>, 'ascii':
<built-in function ascii>, 'bin': <built-in function bin>, 'breakpoint':
<built-in function breakpoint>, 'callable': <built-in function callable>,
'chr': <built-in function chr>, 'compile': <built-in function compile>,
'delattr': <built-in function delattr>, 'dir': <built-in function dir>,
'divmod': <built-in function divmod>, 'eval': <built-in function eval>, 'exec':
<built-in function exec>, 'format': <built-in function format>, 'getattr':
<built-in function
getattr>, 'globals': <built-in function globals>, 'hasattr': <built-in
function hasattr>, 'hash': <built-in function hash>, 'hex': <built-in function
hex>, 'id': <built-in function id>, 'input': <built-in function input>,
'isinstance': <built-in function isinstance>, 'issubclass': <built-in function
issubclass>, 'iter': <built-in function iter>, 'aiter': <built-in function
aiter>, 'len': <built-in function len>, 'locals': <built-in function locals>,
'max': <built-in function max>, 'min': <built-in function min>, 'next':
<built-in function next>, 'anext': <built-in function anext>, 'oct': <built-in
function oct>, 'ord': <built-in function ord>, 'pow': <built-in function pow>,
'print': <built-in function print>, 'repr': <built-in function repr>, 'round':
<built-in function round>, 'setattr': <built-in function setattr>, 'sorted':
<built-in function sorted>, 'sum': <built-in function sum>, 'vars': <built-in
function vars>, 'None': None, 'Ellipsis': Ellipsis, 'NotImplemented': NotImple
mented, 'False': False, 'True': True, 'bool': <class 'bool'>, 'memoryview':
<class 'memoryview'>, 'bytearray': <class 'bytearray'>, 'bytes': <class
'bytes'>, 'classmethod': <class 'classmethod'>, 'complex': <class 'complex'>,
'dict': <class 'dict'>, 'enumerate': <class 'enumerate'>, 'filter': <class
'filter'>, 'float': <class 'float'>, 'frozenset': <class 'frozenset'>,
'property': <class 'property'>, 'int': <class 'int'>, 'list': <class 'list'>,
'map': <class 'map'>, 'object': <class 'object'>, 'range': <class 'range'>,
'reversed': <class 'reversed'>, 'set': <class 'set'>, 'slice': <class 'slice'>,
'staticmethod': <class 'staticmethod'>, 'str': <class 'str'>, 'super': <class
'super'>, 'tuple': <class 'tuple'>, 'type': <class 'type'>, 'zip': <class
'zip'>, '__debug__': True, 'BaseException': <class 'BaseException'>,
'BaseExceptionGroup': <class 'BaseExceptionGroup'>, 'Exception': <class
'Exception'>, 'GeneratorExit': <class 'GeneratorExit'>, 'KeyboardInterrupt':
<class 'KeyboardInter
rupt'>, 'SystemExit': <class 'SystemExit'>, 'ArithmeticError': <class
'ArithmeticError'>, 'AssertionError': <class 'AssertionError'>,
'AttributeError': <class 'AttributeError'>, 'BufferError': <class
'BufferError'>, 'EOFError': <class 'EOFError'>, 'ImportError': <class
'ImportError'>, 'LookupError': <class 'LookupError'>, 'MemoryError': <class
'MemoryError'>, 'NameError': <class 'NameError'>, 'OSError': <class 'OSError'>,
'ReferenceError': <class 'ReferenceError'>, 'RuntimeError': <class
'RuntimeError'>, 'StopAsyncIteration': <class 'StopAsyncIteration'>,
'StopIteration': <class 'StopIteration'>, 'SyntaxError': <class 'SyntaxError'>,
'SystemError': <class 'SystemError'>, 'TypeError': <class 'TypeError'>,
'ValueError': <class 'ValueError'>, 'Warning': <class 'Warning'>,
'FloatingPointError': <class 'FloatingPointError'>, 'OverflowError': <class
'OverflowError'>, 'ZeroDivisionError': <class 'ZeroDivisionError'>,
'BytesWarning': <class 'BytesWarning'>, 'DeprecationWarning': <class 'Dep
recationWarning'>, 'EncodingWarning': <class 'EncodingWarning'>,
'FutureWarning': <class 'FutureWarning'>, 'ImportWarning': <class
'ImportWarning'>, 'PendingDeprecationWarning': <class
'PendingDeprecationWarning'>, 'ResourceWarning': <class 'ResourceWarning'>,
'RuntimeWarning': <class 'RuntimeWarning'>, 'SyntaxWarning': <class
'SyntaxWarning'>, 'UnicodeWarning': <class 'UnicodeWarning'>, 'UserWarning':
<class 'UserWarning'>, 'BlockingIOError': <class 'BlockingIOError'>,
'ChildProcessError': <class 'ChildProcessError'>, 'ConnectionError': <class
'ConnectionError'>, 'FileExistsError': <class 'FileExistsError'>,
'FileNotFoundError': <class 'FileNotFoundError'>, 'InterruptedError': <class
'InterruptedError'>, 'IsADirectoryError': <class 'IsADirectoryError'>,
'NotADirectoryError': <class 'NotADirectoryError'>, 'PermissionError': <class
'PermissionError'>, 'ProcessLookupError': <class 'ProcessLookupError'>,
'TimeoutError': <class 'TimeoutError'>, 'IndentationError': <class
'IndentationErr
or'>, 'IndexError': <class 'IndexError'>, 'KeyError': <class 'KeyError'>,
'ModuleNotFoundError': <class 'ModuleNotFoundError'>, 'NotImplementedError':
<class 'NotImplementedError'>, 'RecursionError': <class 'RecursionError'>,
'UnboundLocalError': <class 'UnboundLocalError'>, 'UnicodeError': <class
'UnicodeError'>, 'BrokenPipeError': <class 'BrokenPipeError'>,
'ConnectionAbortedError': <class 'ConnectionAbortedError'>,
'ConnectionRefusedError': <class 'ConnectionRefusedError'>,
'ConnectionResetError': <class 'ConnectionResetError'>, 'TabError': <class
'TabError'>, 'UnicodeDecodeError': <class 'UnicodeDecodeError'>,
'UnicodeEncodeError': <class 'UnicodeEncodeError'>, 'UnicodeTranslateError':
<class 'UnicodeTranslateError'>, 'ExceptionGroup': <class 'ExceptionGroup'>,
'EnvironmentError': <class 'OSError'>, 'IOError': <class 'OSError'>, 'open':
<built-in function open>, 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit,
'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'copyright': Copyrig
ht (c) 2001-2023 Python Software Foundation.
All Rights Reserved.
Copyright (c) 2000 BeOpen.com.
All Rights Reserved.
Copyright (c) 1995-2001 Corporation for National Research Initiatives.
All Rights Reserved.
Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope
Corporation and a cast of thousands
for supporting Python development. See www.python.org for more
information., 'license': Type license() to see the full license text, 'help':
Type help() for interactive help, or help(object) for help about object., '_':
None}, 'apt_pkg': <module 'apt_pkg' from
'/usr/lib/python3/dist-packages/apt_pkg.cpython-312-x86_64-linux-gnu.so'>}
>>>
Mirror lists are up to date, and both Python modules are able to import just
fine.
** Tags removed: verification-needed verification-needed-noble
** Tags added: verification-done verification-done-noble
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python-apt in Ubuntu.
https://bugs.launchpad.net/bugs/2096775
Title:
[SRU Exception] refresh mirrors list
Status in python-apt package in Ubuntu:
New
Status in python-apt source package in Noble:
Fix Committed
Bug description:
Here is a link to the exception:
https://wiki.ubuntu.com/StableReleaseUpdates#ubuntu-release-
upgrader_and_python-apt
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/2096775/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp