0

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*

marked as duplicate by Fabby, Eric Carvalho, waltinator, Zanna, David Foerster Mar 19 '18 at 15:45

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    This is very odd. The version of LibreOffice in 16.04 is 5.1.6, it hasn't been removed, and version 16.0.0 has not been released. You must be on an unsupported release, or have some PPAs added. – mikewhatever Mar 17 '18 at 16:03
  • @mikewhatever Perhaps OP meant libreoffice 6.0 which was recently released. The only way to get this (as a package) though is via its PPA. – JonasCz Mar 17 '18 at 17:20
  • i just got o Software & Updates, and found only one entry of "ppa.launchpad.net/libreoffice/ppa/ubuntu xenial main" entry under Other Software tab. any other clues ? – prawira Mar 17 '18 at 23:38
  • 1
    Please write an answer describing what you did to solve the problem (you can then accept it for a rep boost). – fkraiem Mar 18 '18 at 7:18
  • 1
    @fkraiem FYI you don't get a rep boost for accepting your own answer. See this. – Elder Geek Mar 18 '18 at 21:57