Using:

Ubuntu 14.04.5 LTS x86_64
Kernel: 3.13.0-116-generic

---

Problem:

LibreOffice 5.3.2.2 (1:5.3.2~rc2-0ubuntu1~trusty1)

1. PPA package libreoffice-common
DEBIAN/control -> Conflicts: ..., libreoffice-l10n-5.2, ...

2. PPA package libreoffice-l10n-ru
DEBIAN/control -> Provides: libreoffice-l10n-5.2

3. PPA package libreoffice-help-ru
DEBIAN/control -> Provides: libreoffice-help-5.2

May be -ru or -de or -it etc.

"Transaction failed: Package dependencies cannot be resolved"
The update to 5.3.2.2 (1:5.3.2~rc2-0ubuntu1~trusty1) is interrupted.

---

My temporary solution (example for -ru):

1. my-libreoffice-langpack-ru-reinstall.sh:

#!/bin/bash

sudo apt-get purge libreoffice-help-ru libreoffice-l10n-ru
sudo apt-get update
sudo apt-get upgrade

mkdir /var/tmp/my-libreoffice-l10n-ru
cd /var/tmp/my-libreoffice-l10n-ru
apt-get download libreoffice-l10n-ru
dpkg --extract *.deb .
dpkg --control *.deb .
sed -i 's/libreoffice-l10n-5.2/libreoffice-l10n-5.3/g' control
fakeroot tar czf data.tar.gz usr
fakeroot tar czf control.tar.gz control md5sums
echo 2.0 > debian-binary
ar -r my-libreoffice-l10n-ru_1%3a5.3.2~rc2-0ubuntu1~trusty1_all.deb 
debian-binary control.tar.gz data.tar.gz
sudo dpkg -i my-libreoffice-l10n-ru_1%3a5.3.2~rc2-0ubuntu1~trusty1_all.deb

mkdir /var/tmp/my-libreoffice-help-ru
cd /var/tmp/my-libreoffice-help-ru
apt-get download libreoffice-help-ru
dpkg --extract *.deb .
dpkg --control *.deb .
sed -i 's/libreoffice-help-5.2/libreoffice-help-5.3/g' control
fakeroot tar czf data.tar.gz usr
fakeroot tar czf control.tar.gz control md5sums
echo 2.0 > debian-binary
ar -r my-libreoffice-help-ru_1%3a5.3.2~rc2-0ubuntu1~trusty1_all.deb 
debian-binary control.tar.gz data.tar.gz
sudo dpkg -i my-libreoffice-help-ru_1%3a5.3.2~rc2-0ubuntu1~trusty1_all.deb


2. my-libreoffice-langpack-ru-list.sh:

#!/bin/bash

sudo sed -i 's/: libreoffice-l10n-5.2/: libreoffice-l10n-5.3/g' 
/var/lib/apt/lists/ppa.launchpad.net_libreoffice_ppa_ubuntu_dists_trusty_main_binary-amd64_Packages
sudo sed -i 's/: libreoffice-help-5.2/: libreoffice-help-5.3/g' 
/var/lib/apt/lists/ppa.launchpad.net_libreoffice_ppa_ubuntu_dists_trusty_main_binary-amd64_Packages

---

Alas, after each command 'apt-get update' run 
my-libreoffice-langpack-ru-list.sh again.
Not yet fixed in ppa.

-- 
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     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to