[Bug 1848974] Re: update-notifier fails on ALL sources if ONE source is bad
Lorenzo
1848974 at bugs.launchpad.net
Mon Oct 21 10:47:04 UTC 2019
@Sebastien affect also me
Ubuntu 19.04
1. The specific steps or actions you took that caused you to encounter the problem.
add currently broken adoptopenjdk repository:
wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -
sudo add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
2. The behavior you expected.
I think notify for an update also if a source is broken
3. The behavior you actually encountered (in as much detail as possible).
No update found, only error of broken source
** Attachment added: "Screenshot of notification"
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1848974/+attachment/5298856/+files/Untitled.png
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-notifier in Ubuntu.
https://bugs.launchpad.net/bugs/1848974
Title:
update-notifier fails on ALL sources if ONE source is bad
Status in update-notifier package in Ubuntu:
Incomplete
Bug description:
Update-notifier doesn't work at all if *one* package source gives a
list that can't be parsed. It should still be able to work on packages
from *other* sources. After seeing the error in the system tray icon,
I ran:
```
$ sudo apt-get update
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/adoptopenjdk.jfrog.io_adoptopenjdk_deb_dists_disco_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
```
apt-get successfully processed all but one of the package lists, so I would have expected update-notifier to do so as well.
I had to manually file this bug, because this error also prevents
ubuntu-bug update-notifier from working (see attached).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1848974/+subscriptions
More information about the foundations-bugs
mailing list