For a week now I’ve been getting the following on one of my two OSMC RaspPis:
OSMC Update Error
Error installing:
Please report this on the OSMC forum.
I enabled all logging, rebooted, and tried a manual update where I got the same message.
Logs uploaded to http://paste.osmc.io/nulahulero
This suggests you may have corrupted APT downloads from a previous download attempt, or that there is a problem reaching the raspbian servers:
16:05:20 132.299667 T:2697720816 DEBUG: OSMC UPDATE COMMS: Connection active.
16:05:20 132.306091 T:2697720816 DEBUG: OSMC UPDATE COMMS: data = ["apt_error", {"exception": "Error Type and Args: SystemError : ('E:Unable to parse package file /var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_jessie_main_binary-armhf_Packages (1), E:The package lists or status file could not be parsed or opened.',) \n\n Traceback (most recent call last):\n File \"/usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/apt_cache_action.py\", line 72, in __init__\n self.act()\n File \"/usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/apt_cache_action.py\", line 115, in act\n action()\n File \"/usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/apt_cache_action.py\", line 236, in update\n self.cache = apt.Cache()\n File \"/usr/lib/python2.7/dist-packages/apt/cache.py\", line 107, in __init__\n self.open(progress)\n File \"/usr/lib/python2.7/dist-packages/apt/cache.py\", line 154, in open\n self._cache = apt_pkg.Cache(progress)\nSystemError: E:Unable to parse package file /var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_jessie_main_binary-armhf_Packages (1), E:The package lists or status file could not be parsed or opened.\n", "package": "", "error": ""}]
16:05:20 132.309738 T:2858415088 DEBUG: Previous line repeats 1 times.
16:05:20 132.310822 T:2858415088 DEBUG: script.module.osmcsetting.updates : comm_from_script - [u'apt_error', {u'exception': u'Error Type and Args: SystemError : (\'E:Unable to parse package file /var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_jessie_main_binary-armhf_Packages (1), E:The package lists or status file could not be parsed or opened.\',) \n\n Traceback (most recent call last):\n File "/usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/apt_cache_action.py", line 72, in __init__\n self.act()\n File "/usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/apt_cache_action.py", line 115, in act\n action()\n File "/usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/apt_cache_action.py", line 236, in update\n self.cache = apt.Cache()\n File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 107, in __init__\n self.open(progress)\n File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 154, in open\n self._cache = apt_pkg.Cache(progress)\nSystemError: E:Unable to parse package file /var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_jessie_main_binary-armhf_Packages (1), E:The package lists or status file could not be parsed or opened.\n', u'error': u'', u'package': u''}]
I would log in with SSH and run the following command to clean the package cache:
Thanks for the response. Unfortunately this didn’t fix the issue.
I verified that the following file exists:
osmc@osmc2:~$ ls -l /var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_jessie_main_binary-armhf_Packages
-rw-r–r-- 1 root root 46667352 Jun 2 03:12 /var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_jessie_main_binary-armhf_Packages
osmc@osmc2:~$ tail /var/lib/apt/lists/mirrordirector.raspbian.org_raspbian_dists_jessie_main_binary-armhf_Packages
MD5sum: 7f3f0229acf71f4e90b10a32ef54ffc8
Description: transparent application fuzzer
Zzuf is a transparent fuzzer. It works by intercepting applications’ file
and network operations and changing random bits in their input. Its behaviour
is deterministic, making it easy to reproduce bugs.
.
Zzuf has support for variable fuzzing ratio, character filtering, fuzzing
decision based on filenames and optional network fuzzing. It can also stop
processes that run for too long or that output too much data.
Hmmm, I moved the SD Card to my Linux laptop where I do my re-imaging and both partitions were auto-mounted just fine. Now I’m not sure what to do since I don’t want to re-image if I don’t need to.
Hi also new to kodi and osmc did any automatic update today Got ask do you want to install update? of course yes, did it and got a constant sad face loop
how i solved downloaded putty got my raspb2 ip adress from my router and did the following commandsosmc@localhost:~$ sudo apt-get clean
osmc@localhost:~$ sudo apt-get dist-upgrade