Package: ganeti
Version: 3.0.1-2
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'buster'.
It installed fine in 'buster', then the upgrade to 'bullseye' fails.

In order to run 'gnt-cluster upgrade' both ganeti-3.0 and ganeti-2.16
need to be installed, but the package from buster needs to be removed
due to the removal of unversioned python and the Python 2 modules
(python-*) before the local admin could run 'gnt-cluster upgrade'

I'm not sure how a clean upgrade is intended to be performed in this
case. This may also be an interesting question for DSA.

>From the attached log (scroll to the bottom...):

  The following packages were automatically installed and are no longer 
required:
    ganeti-haskell-2.16 ganeti-htools-2.16 libprocps7 libpython2-stdlib
    libpython2.7-minimal libpython2.7-stdlib libreadline5 libreadline7
    python-six python2 python2-minimal python2.7 python2.7-minimal
  Use 'sudo apt autoremove' to remove them.
  The following packages will be REMOVED:
    ganeti-2.16 libpython-stdlib python python-asn1crypto python-bcrypt
    python-bitarray python-cffi-backend python-cryptography python-enum34
    python-fdsend python-ipaddr python-ipaddress python-minimal python-nacl
    python-openssl python-paramiko python-psutil python-pyasn1 python-pycurl
    python-pyinotify python-pyparsing python-simplejson
  The following NEW packages will be installed:
    ganeti-3.0 ganeti-haskell-3.0 ganeti-htools-3.0 gcc-10-base libapt-pkg6.0
    libbpf0 libbrotli1 libcbor0 libcrypt1 libffi7 libfido2-1 libgcc-s1
    libgdbm-compat4 libgdbm6 libhogweed6 libmd0 libmpdec3 libnettle8 libnsl2
    libpcre2-8-0 libperl5.32 libprocps8 libpython3-stdlib libpython3.9-minimal
    libpython3.9-stdlib libreadline8 libtirpc-common libtirpc3 libxxhash0
    logsave mailcap media-types perl perl-modules-5.32 python3 python3-bcrypt
    python3-bitarray python3-cffi-backend python3-cryptography python3-minimal
    python3-nacl python3-openssl python3-paramiko python3-psutil python3-pycurl
    python3-pyinotify python3-pyparsing python3-simplejson python3-six python3.9
    python3.9-minimal runit-helper tzdata
  The following packages will be upgraded:
    [...]
  135 upgraded, 53 newly installed, 22 to remove and 0 not upgraded.
[...]
  Selecting previously unselected package ganeti-3.0.
  Preparing to unpack .../44-ganeti-3.0_3.0.1-2_all.deb ...
  Adding 'diversion of /usr/share/ganeti/2.16/ganeti/utils/version.py to 
/usr/share/ganeti/2.16/ganeti/utils/version.py.orig by ganeti-3.0'
  Unpacking ganeti-3.0 (3.0.1-2) ...
  Preparing to unpack .../45-libcurl4_7.74.0-1.2_amd64.deb ...
  Unpacking libcurl4:amd64 (7.74.0-1.2) over (7.64.0-4+deb10u2) ...
  Preparing to unpack .../46-libpcre3_2%3a8.39-13_amd64.deb ...
  Unpacking libpcre3:amd64 (2:8.39-13) over (2:8.39-12) ...
  Setting up libpcre3:amd64 (2:8.39-13) ...
  Selecting previously unselected package ganeti-haskell-3.0.
  Preparing to unpack .../ganeti-haskell-3.0_3.0.1-2_amd64.deb ...
  Unpacking ganeti-haskell-3.0 (3.0.1-2) ...
  Selecting previously unselected package ganeti-htools-3.0.
  Preparing to unpack .../ganeti-htools-3.0_3.0.1-2_amd64.deb ...
  Unpacking ganeti-htools-3.0 (3.0.1-2) ...
  Preparing to unpack .../ganeti_3.0.1-2_all.deb ...
  Unpacking ganeti (3.0.1-2) over (2.16.0-5) ...
  Removing ganeti-2.16 (2.16.0-5) ...
  dpkg: error processing package ganeti-2.16 (--remove):
   installed ganeti-2.16 package pre-removal script subprocess returned error 
exit status 30
  dpkg: python-simplejson: dependency problems, but removing anyway as you 
requested:
   ganeti-2.16 depends on python-simplejson.
  
  Removing python-simplejson (3.16.0-1) ...
  dpkg: python-fdsend: dependency problems, but removing anyway as you 
requested:
   ganeti-2.16 depends on python-fdsend.
  
  Removing python-fdsend (0.2.1-2) ...
  dpkg: python-paramiko: dependency problems, but removing anyway as you 
requested:
   ganeti-2.16 depends on python-paramiko.
  
  Removing python-paramiko (2.4.2-0.1) ...
  dpkg: python-openssl: dependency problems, but removing anyway as you 
requested:
   ganeti-2.16 depends on python-openssl.
  
  Removing python-openssl (19.0.0-1) ...
  Removing python-cryptography (2.6.1-3+deb10u2) ...
  Removing python-asn1crypto (0.24.0-1) ...
  Errors were encountered while processing:
   ganeti-2.16


cheers,

Andreas

Attachment: ganeti.1.log.gz
Description: application/gzip

Reply via email to