Package: crossgrader
Version: 0.0.3+nmu3
Severity: normal

I tried to crossgrade an LXC container running Debian 11
from i386 to amd64, and I got this error:


  $ crossgrader amd64

  Installing initramfs binary architecture check hook...
  arch check hook already installed.
  Hook installation failed.
  Hit http://security.debian.org bullseye-security InRelease
  Hit http://deb.debian.org/debian bullseye InRelease
  Hit http://deb.debian.org/debian bullseye-updates InRelease
  Hit http://deb.debian.org/debian bullseye-backports InRelease
  Hit http://deb.debian.org/debian unstable InRelease
  Fetched 0 B in 0s (0 B/s)
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/apt/cache.py", line 281, in __getitem__
      rawpkg = self._cache[key]
  KeyError: 'multiarch-support:amd64'
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/debian_crossgrader/utils/apt.py", line 
87, in find_package_objs
      package = apt_cache[target_name]
    File "/usr/lib/python3/dist-packages/apt/cache.py", line 283, in __getitem__
      raise KeyError('The cache has no package named %r' % key)
  KeyError: "The cache has no package named 'multiarch-support:amd64'"
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "/usr/bin/crossgrader", line 33, in <module>
      sys.exit(load_entry_point('debian-crossgrader==0.0.3', 'console_scripts', 
'crossgrader')())
    File "/usr/lib/python3/dist-packages/debian_crossgrader/__main__.py", line 
262, in main
      first_stage(args)
    File "/usr/lib/python3/dist-packages/debian_crossgrader/__main__.py", line 
21, in first_stage
      targets = crossgrader.list_first_stage_targets(
    File "/usr/lib/python3/dist-packages/debian_crossgrader/crossgrader.py", 
line 735, in list_first_stage_targets
      return self.find_package_objs(targets, default_arch=self.target_arch,
    File "/usr/lib/python3/dist-packages/debian_crossgrader/crossgrader.py", 
line 613, in find_package_objs
      return apt_utils.find_package_objs(names, self._apt_cache, **kwargs)
    File "/usr/lib/python3/dist-packages/debian_crossgrader/utils/apt.py", line 
92, in find_package_objs
      raise PackageNotFoundError(target_name)
  debian_crossgrader.utils.apt.PackageNotFoundError: multiarch-support:amd64 
could not be found in APT's cache

Reply via email to