Ubuntu 14.04: Error with "apt-get update": W: Ignoring Provides line with DepCompareOp

I'm getting this error every time I do apt-get update

Ign http://ni.archive.ubuntu.com trusty/multiverse Translation-en_US           
Ign http://ni.archive.ubuntu.com trusty/restricted Translation-en_US           
Ign http://ni.archive.ubuntu.com trusty/universe Translation-en_US             
Reading package lists... Done                                                  
W: Ignoring Provides line with DepCompareOp for package libreoffice-l10n
W: Ignoring Provides line with DepCompareOp for package libreoffice-l10n
W: Ignoring Provides line with DepCompareOp for package libreoffice-l10n
W: Ignoring Provides line with DepCompareOp for package libreoffice-l10n
W: Ignoring Provides line with DepCompareOp for package libreoffice-l10n
W: Ignoring Provides line with DepCompareOp for package libreoffice-l10n
W: Ignoring Provides line with DepCompareOp for package libreoffice-l10n
...
...
...
...
W: Ignoring Provides line with DepCompareOp for package libreoffice-l10n
W: Ignoring Provides line with DepCompareOp for package libreoffice-l10n
W: Ignoring Provides line with DepCompareOp for package libreoffice-l10n
W: You may want to run apt-get update to correct these problems

This error started to show after I upgraded LibreOffice form 5.2 to 5.3 with the LibreOffice PPA: ppa:libreoffice/ppa.

The thing is that everything is working fine. I can update/upgrade the system, I can install packages, delete packages, etc. The problem is just with the error.

I tried: apt-get autoclean, apt-get clean, apt-get autoremove, apt-get install -f, and a lot of other things and nothing removes that ugly error.


Solution 1:

According to bug report #1662227 that's because the PPA for LibreOffice doesn't provide translation files for languages aside from English.

You can either

  1. safely ignore this warning message as a mostly cosmetic issue or
  2. remove/disable the LibreOffice PPA and use the packages from Canonical's repositories instead.

Solution 2:

Rather than downloading from PPA, you can try installing it using snap.

sudo snap install libreoffice

to enable snap packages in 14.04 run

sudo apt-get install snapd

Sources: libreoffice 5.3 snap package, snap in ubuntu 14.04

Make sure to purge existing installation first.