Score:0

When I try to run update-manager then I receive the following error:

us flag
** (appstreamcli:7309): WARNING **: 10:16:30.753: No origin found for file us.archive.ubuntu.com_ubuntu_dists_focal-updates_main_dep11_Components-amd64.yml.gz

** (appstreamcli:7309): WARNING **: 10:16:30.753: No origin found for file us.archive.ubuntu.com_ubuntu_dists_focal-updates_universe_dep11_Components-amd64.yml.gz

** (appstreamcli:7309): WARNING **: 10:16:30.753: No origin found for file us.archive.ubuntu.com_ubuntu_dists_focal-updates_multiverse_dep11_Components-amd64.yml.gz

** (appstreamcli:7309): WARNING **: 10:16:30.753: No origin found for file us.archive.ubuntu.com_ubuntu_dists_focal-backports_universe_dep11_Components-amd64.yml.gz
AppStream system cache refresh failed. Turn on verbose mode to get detailed issue information.
Traceback (most recent call last):
  File "/usr/lib/cnf-update-db", line 26, in <module>
    col.create(db)
  File "/usr/lib/python3/dist-packages/CommandNotFound/db/creator.py", line 94, in create
    self._fill_commands(con)
  File "/usr/lib/python3/dist-packages/CommandNotFound/db/creator.py", line 138, in _fill_commands
    self._parse_single_commands_file(con, fp)
  File "/usr/lib/python3/dist-packages/CommandNotFound/db/creator.py", line 176, in _parse_single_commands_file
    suite=tagf.section["suite"]
KeyError: 'suite'
Reading package lists... Error!
E: Repository 'http://us.archive.ubuntu.com/ubuntu focal-updates InRelease' changed its 'Origin' value from '' to 'Ubuntu'
E: Repository 'http://us.archive.ubuntu.com/ubuntu focal-updates InRelease' changed its 'Label' value from '' to 'Ubuntu'
N: Repository 'http://us.archive.ubuntu.com/ubuntu focal-updates InRelease' changed its 'Version' value from '' to '20.04'
N: Repository 'http://us.archive.ubuntu.com/ubuntu focal-updates InRelease' changed its 'Suite' value from '' to 'focal-updates'
E: Repository 'http://us.archive.ubuntu.com/ubuntu focal-updates InRelease' changed its 'Codename' value from '' to 'focal'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
E: Repository 'http://us.archive.ubuntu.com/ubuntu focal-backports InRelease' changed its 'Origin' value from '' to 'Ubuntu'
E: Repository 'http://us.archive.ubuntu.com/ubuntu focal-backports InRelease' changed its 'Label' value from '' to 'Ubuntu'
N: Repository 'http://us.archive.ubuntu.com/ubuntu focal-backports InRelease' changed its 'Version' value from '' to '20.04'
N: Repository 'http://us.archive.ubuntu.com/ubuntu focal-backports InRelease' changed its 'Suite' value from '' to 'focal-backports'
E: Repository 'http://us.archive.ubuntu.com/ubuntu focal-backports InRelease' changed its 'Codename' value from '' to 'focal'
E: Repository 'http://us.archive.ubuntu.com/ubuntu focal-backports InRelease' changed its default priority for apt_preferences(5) from 500 to 100.
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi'
E: Sub-process returned an error code
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_focal-updates_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.
Score:1
us flag

The following command works in this case:

sudo rm -vf /var/lib/apt/lists/*
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.