For the last two years, I have not been able to do handle any changes, update or install new software as there is a major issue with the Synaptic Package Manager and also a similar situation occurs are the terminal level.
I cannot even update nor upgrade Ubuntu. Everything seems to be blocked by the following errors:
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/www.iri.upc.edu_cuik_ubuntu_dists_xenial_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened.
E: _cache->open() failed, please report.
W: Target Packages (partner/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en_CA) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11 (partner/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:45 and /etc/apt/sources.list.d/xenial-partner.list:4
What should I do to repair this issue?
/etc/apt/sources.list.d/xenial-partner.list
or delete line 45 from/etc/apt/sources.list
would fix the warnings, although not the "E" error at the top – Jad Mar 04 '21 at 15:13sudo do-release-upgrade
to get 18.04 LTS. – N0rbert Mar 04 '21 at 15:20