Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.
Check your /etc/apt/sources.list, if this is consistent (with distribution names), then clear your package cache using „sudo apt-get clean“. Then run „sudo apt update“ and „sudo apt upgrade“ again.