Update Error Raspberry Pi 3B+ June 2018

I have received an update error and told to report it here. I cannot manually update via the GUI. When I ssh in and try I get this;
osmc@osmc:~$ sudo apt update && sudo apt dist-upgrade -y
Ign:2 http://ftp.debian.org/debian stretch InRelease
Get:3 http://security.debian.org stretch/updates InRelease [94.3 kB]
Get:4 http://ftp.debian.org/debian stretch-updates InRelease [91.0 kB]
Hit:1 http://ftp.fau.de/osmc/osmc/apt stretch InRelease
Hit:5 http://ftp.debian.org/debian stretch Release
Get:6 http://security.debian.org stretch/updates/main armhf Packages [345 kB]
Fetched 531 kB in 3s (163 kB/s)
Reading package lists… Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/ftp.debian.org_debian_dists_stretch_main_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.

Any ideas?

Try again later – it may be a problematic mirror.

I’ll try later. Thanks

Still happening

osmc@osmc:~$ sudo apt update
Ign:2 http://ftp.debian.org/debian stretch InRelease
Hit:3 http://security.debian.org stretch/updates InRelease
Hit:4 http://ftp.debian.org/debian stretch-updates InRelease
Hit:5 http://ftp.debian.org/debian stretch Release
Hit:1 http://ftp.fau.de/osmc/osmc/apt stretch InRelease
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/ftp.debian.org_debian_dists_stretch_main_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.

Hi,

To get a better understanding of the problem you are experiencing we need more information from you. The best way to get this information is for you to upload logs that demonstrate your problem. You can learn more about how to submit a useful support request here.

So, in summary:

  • activate the logging
  • reboot the OSMC device
  • reproduce the issue
  • upload the log set either using the Log Uploader method within the My OSMC menu in the GUI or the ssh method invoking command grab-logs -A
  • publish the provided URL from the log set upload, here

Thanks for your understanding. We hope that we can help you get up and running again shortly.

Tom.

https://paste.osmc.tv/nagocisoqa

As in the initial post the file

/var/lib/apt/lists/ftp.debian.org_debian_dists_stretch_main_i18n_Translation-en

seems to be corrupt.
Can you ssh into to the Pi and try to remove it? Suggest you remove them all:

sudo rm -R /var/lib/apt/lists/*

It should be reloaded from the ftp sources if you initiate a new update via MyOSMC method in the GUI or start it being logged in via ssh:

sudo apt-get update
sudo apt-get dist-upgrade

1 Like