Kodi Update error

hey there,

both with automatic as well as with manual update, I get an OSMC update error.

here is the log file:

http://paste.osmc.io/irutumisek.vhdl

i already done “sudo apt-get clean” and "sudo apt-get update

hope you could help :slight_smile:

That is only a Kodi log. Upload full logs with grab-logs -A

But what I can assume from your screenshot is that you have added none osmc/arm repositories

http://paste.osmc.io/kemowurufu

and iam running a MusicBot on it. but the problem is with a fresh install of OSMC/Kodi too.

I was not refering to a Kodi repository but to any apt sources that you seemed to had installed earlier (seems now be removed).

Anyhow in your last log files I don’t see any errors anymore. Are you still getting errors?
Then post output of

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

still getting error, and now, i cant grab-logs??

EDIT: now it worked with “sudo grab-logs -A”
http://paste.osmc.io/ukuwedifin

I’ve been having the same error for quite a few days too.

Here my log right after triggering a manual update and getting the error dialog: http://paste.osmc.io/gilujepiku

I’ve just tried to run the update with debug logging on and here’s the error thrown (see bottom of error log):

21:44:22 253496.250000 T:1854366704   DEBUG: PushCecKeypress - received key  b duration 0 (rep:0 size:0)
21:44:22 253496.250000 T:1854366704   DEBUG: PushCecKeypress - added key  b
21:44:22 253496.265625 T:1956766640   DEBUG: OnKey: 11 (0x0b) pressed, action is Select
21:44:22 253496.265625 T:1380967408   DEBUG: Thread LanguageInvoker start, auto delete: false
21:44:22 253496.265625 T:1380967408    INFO: initializing python engine.
21:44:22 253496.265625 T:1380967408   DEBUG: CPythonInvoker(24, /usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/call_parent.py): start processing
21:44:22 253496.421875 T:1854366704   DEBUG: PushCecKeypress - received key  b duration 169 (rep:0 size:0)
21:44:22 253496.421875 T:1854366704   DEBUG: PushCecKeypress - ignored key  b
21:44:22 253496.703125 T:1380967408   DEBUG: -->Python Interpreter Initialized<--
21:44:22 253496.703125 T:1380967408   DEBUG: CPythonInvoker(24, /usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/call_parent.py): the source file to load is "/usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/call_parent.py"
21:44:22 253496.703125 T:1380967408 WARNING: CPythonInvoker(24): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
21:44:22 253496.718750 T:1380967408   DEBUG: CPythonInvoker(24, /usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/call_parent.py): setting the Python path to /usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib:/usr/share/kodi/addons/script.module.xmltodict/lib:/usr/share/kodi/addons/script.module.osmcsetting.logging/lib:/usr/share/kodi/addons/script.module.osmcsetting.networking/lib:/usr/share/kodi/addons/script.module.osmcsetting.services/lib:/home/osmc/.kodi/addons/script.module.arrow/lib:/home/osmc/.kodi/addons/script.module.dateutil/lib:/usr/share/kodi/addons/script.module.osmcsetting.pi/lib:/home/osmc/.kodi/addons/script.module.addon.signals/lib:/home/osmc/.kodi/addons/script.module.six/lib:/usr/share/kodi/addons/script.module.osmcsetting.remotes/lib:/usr/share/kodi/addons/script.module.simplejson/lib:/usr/share/kodi/addons/script.module.osmccommon/lib:/usr/share/kodi/addons/script.module.osmcsetting.apfstore/lib:/usr/share/kodi/addons/script.module.pil/lib:/usr/share/kodi/addons/script.module.unidecode/lib:/home/osmc/.kodi/addons/script.module.requests/lib:/usr/share/kodi/addons/script.module.osmcsetting.pioverclock/lib:/home/osmc/.kodi/addons/script.module.trakt/lib:/usr/share/kodi/addons/script.module.elementtree/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-arm-linux-gnueabihf:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/local/lib/python2.7/dist-packages/pip-8.1.2-py2.7.egg:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat:/usr/lib/python2.7/dist-packages/gtk-2.0
21:44:22 253496.718750 T:1380967408   DEBUG: CPythonInvoker(24, /usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/call_parent.py): entering source directory /usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib
21:44:22 253496.890625 T:1380967408   DEBUG: OSMC settings sending response, update
21:44:22 253496.890625 T:1380967408   DEBUG: OSMC settings sent response, update
21:44:22 253496.890625 T:1380967408    INFO: CPythonInvoker(24, /usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/call_parent.py): script successfully run
21:44:22 253496.890625 T:1639969776   DEBUG: OSMC UPDATE COMMS: Connection active.
21:44:22 253496.906250 T:1380967408    INFO: Python script stopped
21:44:22 253496.906250 T:1380967408   DEBUG: Thread LanguageInvoker 1380967408 terminating
21:44:22 253496.906250 T:1794458608   DEBUG: script.module.osmcsetting.updates :  - update_service.onSettingsChanged received: pos0: <update_service.Monitah object at 0x5a26ccc0>
21:44:22 253496.906250 T:1794458608   DEBUG: script.module.osmcsetting.updates :  - update_service.onSettingsChanged [0.00096607208252]  returns: None
21:44:22 253496.906250 T:1956766640   DEBUG: ------ Window Deinit (DialogAddonSettings.xml) ------
21:44:23 253497.187500 T:1353708528   DEBUG: OSMC UPDATES END
21:44:23 253497.203125 T:1639969776   DEBUG: OSMC UPDATE COMMS: data = ["settings_command", {"action": "update"}]
21:44:23 253497.203125 T:1794458608   DEBUG: Previous line repeats 1 times.
21:44:23 253497.203125 T:1794458608   DEBUG: script.module.osmcsetting.updates : comm_from_script - [u'update_settings', {}]
21:44:23 253497.203125 T:1794458608   DEBUG: script.module.osmcsetting.updates :  - update_service.update_settings received: pos0: <update_service.Main object at 0x5b070a50>
21:44:23 253497.203125 T:1794458608   DEBUG: script.module.osmcsetting.updates : trigger_time - 2016-10-04 04:44:27.252862
21:44:23 253497.203125 T:1794458608   DEBUG: script.module.osmcsetting.updates :  - update_service.update_settings [0.00142693519592]  returns: {'backup_upnpserver': True, 'backup_peripheral_data': True, 'backup_advancedsettings': True, 'suppress_icon': False, 'backup_library': True, 'backup_keyboard': True, 'update_on_idle': True, 'check_time': 0, 'check_freq': 1, 'backup_remote': True, 'location_selection': '0', 'backup_location': '', 'backup_on_update': False, 'check_hour': 12, 'backup_fstab': True, 'backup_playlists': True, 'backup_keymaps': True, 'backup_Database': True, 'on_upd_detected': 0, 'backup_favourites': True, 'backup_location_typed': '', 'backup_addon_data': True, 'backup_sources': True, 'check_minute': 0, 'backup_profiles': True, 'pos_x': 4, 'pos_y': 95, 'backup_RssFeeds': True, 'check_weekday': 1, 'tarball_count': 1, 'backup_addons': False, 'backup_guisettings': True, 'suppress_progress': False, 'check_day': 0, 'backup_LCD': True, 'backup_Thumbnails': False, 'home_prompts_only': False}
21:44:23 253497.703125 T:1794458608   DEBUG: script.module.osmcsetting.updates : comm_from_script - [u'settings_command', {u'action': u'update'}]
21:44:23 253497.703125 T:1794458608   DEBUG: script.module.osmcsetting.updates :  - update_service.settings_command received: pos0: <update_service.Main object at 0x5b070a50>, action: update
21:44:23 253497.703125 T:1794458608   DEBUG: script.module.osmcsetting.updates :  - update_service.check_update_conditions received: pos0: <update_service.Main object at 0x5b070a50>, connection_only: True
21:44:23 253497.703125 T:1794458608   DEBUG: script.module.osmcsetting.updates :  - update_service.check_update_conditions [1.59740447998e-05]  returns: (True, '')
21:44:23 253497.703125 T:1794458608   DEBUG: script.module.osmcsetting.updates :  - update_service.call_child_script received: pos0: <update_service.Main object at 0x5b070a50>, pos1: update_manual
21:44:23 253497.859375 T:1794458608   DEBUG: script.module.osmcsetting.updates :  - update_service.call_child_script [0.153177022934]  returns: None
21:44:23 253497.859375 T:1794458608   DEBUG: script.module.osmcsetting.updates :  - update_service.settings_command [0.157880067825]  returns: Called child action - update_manual
21:44:24 253498.234375 T:1639969776   DEBUG: OSMC UPDATE COMMS: Connection active.
21:44:24 253498.250000 T:1639969776   DEBUG: OSMC UPDATE COMMS: data = ["progress_bar", {"message": "Cache Updating", "percent": 1, "heading": "Updater"}]
21:44:24 253498.250000 T:1639969776   DEBUG: Previous line repeats 1 times.
21:44:24 253498.250000 T:1639969776   DEBUG: OSMC UPDATE COMMS: Connection active.
21:44:24 253498.250000 T:1639969776   DEBUG: OSMC UPDATE COMMS: data = ["progress_bar", {"message": "Starting Download", "percent": 0, "heading": "Downloading Update"}]
21:44:24 253498.359375 T:1794458608   DEBUG: Previous line repeats 1 times.
21:44:24 253498.359375 T:1794458608   DEBUG: script.module.osmcsetting.updates : comm_from_script - [u'progress_bar', {u'message': u'Cache Updating', u'percent': 1, u'heading': u'Updater'}]
21:44:24 253498.359375 T:1794458608   DEBUG: script.module.osmcsetting.updates : update_args - {'message': u'Cache Updating', 'percent': 1, 'heading': u'Updater'}
21:44:24 253498.375000 T:1956766640   DEBUG: ------ Window Init (DialogExtendedProgressBar.xml) ------
21:44:24 253498.906250 T:1794458608   DEBUG: script.module.osmcsetting.updates : comm_from_script - [u'progress_bar', {u'message': u'Starting Download', u'percent': 0, u'heading': u'Downloading Update'}]
21:44:24 253498.906250 T:1794458608   DEBUG: script.module.osmcsetting.updates : update_args - {'message': u'Starting Download', 'percent': 0, 'heading': u'Downloading Update'}
21:44:28 253502.421875 T:1794458608   DEBUG: script.module.osmcsetting.updates :  - blurp 414 - Home.xml
21:44:30 253504.234375 T:1639969776   DEBUG: OSMC UPDATE COMMS: Connection active.
21:44:30 253504.234375 T:1639969776   DEBUG: OSMC UPDATE COMMS: data = ["apt_error", {"exception": "Error Type and Args: SystemError : (\"E:Malformed Description-md5 line; includes invalid character 'fbcc8db3171f2e013ad$0fu42dbd0c29', W:Unknown Multi-Arch type 'sa}e' for package 'python3-pil', E:Problem parsing dependency Depends, E:Error occurred while processing python3-pil (NewVersion2), E:Problem with MergeList /var/lib/apt/lists/ftp.debian.org_debian_dists_jessie_main_binary-armhf_Packages, 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:Malformed Description-md5 line; includes invalid character 'fbcc8db3171f2e013ad$0fu42dbd0c29', W:Unknown Multi-Arch type 'sa}e' for package 'python3-pil', E:Problem parsing dependency Depends, E:Error occurred while processing python3-pil (NewVersion2), E:Problem with MergeList /var/lib/apt/lists/ftp.debian.org_debian_dists_jessie_main_binary-armhf_Packages, E:The package lists or status file could not be parsed or opened.\n", "package": "", "error": ""}]
21:44:30 253504.234375 T:1639969776   DEBUG: Previous line repeats 1 times.
21:44:30 253504.234375 T:1639969776   DEBUG: OSMC UPDATE COMMS: Connection active.
21:44:30 253504.234375 T:1639969776   DEBUG: OSMC UPDATE COMMS: data = ["apt_cache update_manual complete", {}]
21:44:30 253504.421875 T:1794458608   DEBUG: Previous line repeats 1 times.
21:44:30 253504.421875 T:1794458608   DEBUG: script.module.osmcsetting.updates : comm_from_script - [u'apt_error', {u'exception': u'Error Type and Args: SystemError : ("E:Malformed Description-md5 line; includes invalid character \'fbcc8db3171f2e013ad$0fu42dbd0c29\', W:Unknown Multi-Arch type \'sa}e\' for package \'python3-pil\', E:Problem parsing dependency Depends, E:Error occurred while processing python3-pil (NewVersion2), E:Problem with MergeList /var/lib/apt/lists/ftp.debian.org_debian_dists_jessie_main_binary-armhf_Packages, 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:Malformed Description-md5 line; includes invalid character \'fbcc8db3171f2e013ad$0fu42dbd0c29\', W:Unknown Multi-Arch type \'sa}e\' for package \'python3-pil\', E:Problem parsing dependency Depends, E:Error occurred while processing python3-pil (NewVersion2), E:Problem with MergeList /var/lib/apt/lists/ftp.debian.org_debian_dists_jessie_main_binary-armhf_Packages, E:The package lists or status file could not be parsed or opened.\n', u'error': u'', u'package': u''}]
21:44:30 253504.421875 T:1794458608   DEBUG: script.module.osmcsetting.updates :  - apt_updater encountered and error: 
                                            Exception : Error Type and Args: SystemError : ("E:Malformed Description-md5 line; includes invalid character 'fbcc8db3171f2e013ad$0fu42dbd0c29', W:Unknown Multi-Arch type 'sa}e' for package 'python3-pil', E:Problem parsing dependency Depends, E:Error occurred while processing python3-pil (NewVersion2), E:Problem with MergeList /var/lib/apt/lists/ftp.debian.org_debian_dists_jessie_main_binary-armhf_Packages, E:The package lists or status file could not be parsed or opened.",) 
                                            
                                             Traceback (most recent call last):
                                              File "/usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/apt_cache_action.py", line 72, in __init__
                                                self.act()
                                              File "/usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/apt_cache_action.py", line 115, in act
                                                action()
                                              File "/usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/apt_cache_action.py", line 236, in update
                                                self.cache = apt.Cache()
                                              File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 107, in __init__
                                                self.open(progress)
                                              File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 154, in open
                                                self._cache = apt_pkg.Cache(progress)
                                            SystemError: E:Malformed Description-md5 line; includes invalid character 'fbcc8db3171f2e013ad$0fu42dbd0c29', W:Unknown Multi-Arch type 'sa}e' for package 'python3-pil', E:Problem parsing dependency Depends, E:Error occurred while processing python3-pil (NewVersion2), E:Problem with MergeList /var/lib/apt/lists/ftp.debian.org_debian_dists_jessie_main_binary-armhf_Packages, E:The package lists or status file could not be parsed or opened.
                                             
                                            Package :  
                                            Error :
21:44:30 253504.437500 T:1956766640   DEBUG: ------ Window Init (DialogOK.xml) ------
21:44:30 253504.578125 T:1956766640   DEBUG: ------ Window Deinit (DialogExtendedProgressBar.xml) ------
21:44:38 253512.671875 T:1854366704   DEBUG: PushCecKeypress - received key  b duration 0 (rep:0 size:0)
21:44:38 253512.671875 T:1854366704   DEBUG: PushCecKeypress - added key  b
21:44:38 253512.671875 T:1956766640   DEBUG: OnKey: 11 (0x0b) pressed, action is Select

Ok, this fixed it for me:

sudo rm -r /var/lib/apt/lists/*
sudo mkdir /var/lib/apt/lists/partial
sudo apt-get update

From: Could not Initialize package information

1 Like

Just got this error and these commands fixed it. Cheers