Bug#979695: Bug in Package reportbug
control: tags -1 moreinfo
On 10.01.2021 09.58, 2704839@gmx.de wrote:
> Package: reportbug
> Version: 7.9.0
>
> Debian testing bullseye
>
>
> When i start reportbug, its crashing, due to python error.
> SystemError: <class 'UnicodeDecodeError'> returned a result with an error set
>
> The above exception was the direct cause of the following exception:
>
> Traceback (most recent call last):
> File "/usr/bin/reportbug", line 44, in <module>
> from reportbug import utils
> File "/usr/lib/python3/dist-packages/reportbug/utils.py", line 108, in <module>
> _apt_cache = apt.Cache()
> File "/usr/lib/python3/dist-packages/apt/cache.py", line 152, in __init__
> self.open(progress)
> File "/usr/lib/python3/dist-packages/apt/cache.py", line 214, in open
> self._cache = apt_pkg.Cache(progress)
> SystemError: <class 'apt_pkg.Cache'> returned a result with an error set
Thank you for the report. Since I cannot reproduce the problem, we'll
need more information to resolve it.
It seems like there might be something wrong with apt on your system.
Does `apt-get check` indicate any issues? Are the usual invocations of
`apt-cache` working, like searching for packages or showing package
descriptions? Do you have any unusual entries in your sources.list? Or
perhaps your apt cache is somehow missing and running `sudo apt-cache
gencaches` or something similar fixes the problem?
Reply to: