Tuesday 3 January 2023

Re: Getting Invalid version exception during apt update

On Tue, Jan 03, 2023 at 12:04:34PM +0530, probal basak wrote:
> I am getting the below exception while trying to issue apt update:
> Getting this issue since last week. Previously the same thing used to work
> perfectly fine.

This is a bug in appimage-builder. As you can see from the fact that
it's installed in /usr/local, it's not supplied by Ubuntu.

The bug is that it's apparently trying to use the Python
packaging.version library to parse and compare the version numbers of
Ubuntu packages. Ubuntu package versions are not compatible with Python
package versions, and it is incorrect to use Python's packaging.version
library to do this job.

It looks like this bug was fixed in
https://github.com/AppImageCrafters/appimage-builder/pull/281, although
it doesn't seem that there's been a release since that fix landed. I
don't know how best to advise you to apply that fix to your system, but
presumably you installed this program yourself and so have some idea of
how best to upgrade it.

--
Colin Watson (he/him) [cjwatson@ubuntu.com]

--
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel