Comment 18 for bug 1662227

Revision history for this message
Nick White (nickwh) wrote : Re: Error with command "apt-get update" when using libreoffice PPA

My system didn't have any libreoffice-l10n packages installed and I also get these errors. I'd tried the suggestions above and none worked so tried the following:-

~$ sudo apt-get install libreoffice-l10n
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libreoffice-l10n is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libreoffice-l10n' has no installation candidate

This implies to me that there is an installed package referring to libreoffice-l10n so tried installing one:-

~$ sudo apt-get install libreoffice-l10n-en-gb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  hunspell-dictionary-en-gb myspell-dictionary-en-gb hyphen-en-gb
  libreoffice-grammarcheck-en-gb libreoffice-help-en-gb
The following NEW packages will be installed
  libreoffice-l10n-en-gb
0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
Need to get 484 kB of archives.
....... All installed fine and check:-

~$ dpkg -l libreoffice-l10n-en-gb
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii libreoffice-l1 1:5.3.1-0ubu all office productivity suite -- Engl

~$ sudo apt-get update
.........................
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
....

Seems that there's a libreoffice package explicitly looking for libreoffice-l10n rather than libreoffice-l10n-xx-xx or should not look for one at all as there is no requirement to have one on your system.

Is there a way to figure out which existing package is looking for libreoffice-l10n?

Thanks, Nick