Bug#1058657: python3-apt: undefined symbol: PyAptWarning

2023-12-17 Thread Alexandre Detiste
This is really bad because it also breaks unattended-upgrades,
so I guess the only way out is to run "apt upgrade" by hand
(after it's fixed) on each impacted system.



Bug#1058657: python3-apt: undefined symbol: PyAptWarning

2023-12-16 Thread Blake Lee
This bug can be reproduced with just a single import statement

```
import apt_inst
```

Bug#1058657: python3-apt: undefined symbol: PyAptWarning, breaks nala

2023-12-14 Thread Hendrik Lehmbruch
Package: python3-apt
Version: 2.7.2
Followup-For: Bug #1058657
X-Debbugs-Cc: hlehmbr...@gmx.net

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

Running nala upgrade

   * What was the outcome of this action?

--- snipp ---

Traceback (most recent call last):
File "/usr/bin/nala", line 5, in 
 from nala.__main__ import main
File "/usr/lib/python3/dist-packages/nala/__main__.py", line 31, in 
 import nala.fetch as _fetch  # pylint: disable=unused-import
 ^^^
File "/usr/lib/python3/dist-packages/nala/fetch.py", line 60, in 
 from nala.downloader import print_error
File "/usr/lib/python3/dist-packages/nala/downloader.py", line 70, in 
 from nala.error import ExitCode, FileDownloadError
File "/usr/lib/python3/dist-packages/nala/error.py", line 38, in 
 from nala.debfile import NalaBaseDep, NalaDebPackage, NalaDep
File "/usr/lib/python3/dist-packages/nala/debfile.py", line 32, in 
 from apt.debfile import DebPackage
File "/usr/lib/python3/dist-packages/apt/debfile.py", line 28, in 
 import apt_inst ImportError: /usr/lib/python3/dist-
packages/apt_inst.cpython-311-x86_64-linux-gnu.so: undefined symbol:
PyAptWarning

- snapp ---

apt policy nala
nala:
  Installed: 0.14.0
  Candidate: 0.14.0


-- System Information:
Debian Release: trixie/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.6.7-1-siduction-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-apt depends on:
ii  distro-info-data   0.60
ii  libapt-pkg6.0  2.7.7
ii  libc6  2.37-13
ii  libgcc-s1  13.2.0-8
ii  libstdc++6 13.2.0-8
ii  python-apt-common  2.7.2
ii  python33.11.6-1

Versions of packages python3-apt recommends:
ii  iso-codes4.15.0-1
ii  lsb-release  12.0-2

Versions of packages python3-apt suggests:
ii  apt 2.7.7
pn  python-apt-doc  

-- no debconf information



Bug#1058657: python3-apt: undefined symbol: PyAptWarning

2023-12-13 Thread Christian Marillat
Package: python3-apt
Version: 2.7.2
Severity: serious

Dear Maintainer,

This morning I see :

,
| dak@christian ~ % dak dominate
| Traceback (most recent call last):
|   File "/usr/bin/dak", line 43, in 
| import daklib.utils
|   File "/usr/lib/python3/dist-packages/daklib/utils.py", line 32, in 
| import apt_inst
| ImportError: 
/usr/lib/python3/dist-packages/apt_inst.cpython-311-x86_64-linux-gnu.so: 
undefined symbol: PyAptWarning
`

Christian


-- System Information:
Debian Release: trixie/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.6.7-1-custom (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-apt depends on:
ii  distro-info-data   0.60
ii  libapt-pkg6.0  2.7.7
ii  libc6  2.37-13
ii  libgcc-s1  13.2.0-8
ii  libstdc++6 13.2.0-8
ii  python-apt-common  2.7.2
ii  python33.11.6-1

Versions of packages python3-apt recommends:
ii  iso-codes4.15.0-1
ii  lsb-release  12.0-2

Versions of packages python3-apt suggests:
ii  apt 2.7.7
pn  python-apt-doc  

-- no debconf information