It is coming from the appstream source package.
Steps to reproduce:
1. Create a minimal Ubuntu 20.04 chroot with all packages that install files in
/etc/apt/apt.conf.d on my Ubuntu 20.04 VM installed (that is,
update-notifier-common, debconf, aptdaemon, apt-config-icons,
apt-config-icons-hidpi, packagekit, appstream, apt, unattended-upgrades,
ubuntu-advantage-tools, snapd and command-not-found).
2. Get the source code for all packages in the chroot with apt source
SOURCE_PACKAGE_NAMES.
3. Run the following command:
$ grep -Fr 'Can not add an empty (zero-length) key to the cache'
appstream-0.12.10/.pc/01_less-long-token-noise.patch/src/as-cache.c:
"Can not add an empty (zero-length) key to the cache");
appstream-0.12.10/src/as-cache.c: "Can not add an
empty (zero-length) key to the cache");
** Changed in: ubuntu
Status: Incomplete => New
** Package changed: ubuntu => appstream (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to appstream in Ubuntu.
https://bugs.launchpad.net/bugs/1982198
Title:
apt update: Can not add an empty (zero-length) key to the cache
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1982198/+subscriptions
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs