This question already has an answer here:
I am using Ubuntu 16.04 and LibreOffice recently upgraded into version 16.0.0. When I want to do another software installation via apt-get
, I got an error as follows:
E: The package libobasis5.3-base needs to be reinstalled, but I can't find an archive for it.
As far as I remember the previous version of LibreOffice was 5.3.4 and it has been removed about a month ago.
Does anyone know how to solve this problem? The following steps have been done, but they did not resolve the problem yet.
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get install -f
sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade
sudo dpkg --clear-avail && sudo apt-get update
sudo apt --fix-broken install
sudo add-apt-repository ppa:libreoffice/ppa
sudo apt-get purge libreoffice*