This is my fix on Ubuntu 14.04.5 LTS x86_64 (kernel 3.13.0-116-generic).
script "fix-libreoffice.sh":
#!/bin/bash
mkdir /tmp/fix
cd /tmp/fix
apt-get download libreoffice-l10n-ru # <<< YOUR LANGUAGE PACKAGE
DEBNAME=$(basename $(ls -1|head -n1) .deb)
dpkg-deb -x $DEBNAME.deb $DEBNAME/
dpkg-deb --control $DEBNAME.deb $DEBNAME/DEBIAN
sed -i 's/libreoffice-l10n-5.2/libreoffice-l10n-5.3/g' $DEBNAME/DEBIAN/control
sed -i 's/\(Version:.*\)/\1-fixed/' $DEBNAME/DEBIAN/control
dpkg -b $DEBNAME ${DEBNAME}_fixed.deb
dpkg -i ${DEBNAME}_fixed.deb
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/1662227
Title:
Error with command "apt-get update" when using versioned "Provides:"
(apt is too old to support that case)
Status in libreoffice package in Ubuntu:
Triaged
Bug description:
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.
If I remove all PPA packages and remove the PPA itself the error goes
away.
This has been reported in askubuntu.com:
http://askubuntu.com/questions/880447/ubuntu-14-04-error-with-apt-get-update-w-ignoring-provides-line-with-depcom
http://askubuntu.com/questions/879497/apt-spewing-warnings-after-
libreoffice-update
Help please. Thank you.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1662227/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp