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 Ubuntu
Bugs, which is subscribed to 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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1662227/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to