Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[stretch-backports] Libreoffice continous dependency problem

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
User avatar
VentGrey
Posts: 171
Joined: 2016-04-26 23:57
Location: Guanajuato México

[stretch-backports] Libreoffice continous dependency problem

#1 Post by VentGrey »

It is curious how do backports work, even more curious is how libreoffice manages to break it's dependencies when it comes to upgrade it from backports, it makes a command typing hell to finally make it work (which usually ends in uninstalling and re-installing the packages) Here you can see what am I talking about :mrgreen: :

Code: Select all

Vent@Ventbian:~$ sudo apt update
Obj:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:2 http://deb.debian.org/debian stretch InRelease                              
Obj:3 http://deb.debian.org/debian stretch-updates InRelease             
Ign:4 http://dl.google.com/linux/chrome/deb stable InRelease                     
Obj:5 http://dl.google.com/linux/chrome/deb stable Release                       
Obj:6 http://deb.debian.org/debian stretch-backports InRelease
Obj:7 http://deb.debian.org/debian stretch-proposed-updates InRelease
Obj:8 http://deb.debian.org/debian stretch Release     
Leyendo lista de paquetes... Hecho                     
Creando árbol de dependencias       
Leyendo la información de estado... Hecho
Se pueden actualizar 14 paquetes. Ejecute «apt list --upgradable» para verlos.

Oh dear, 14 updates, let's see.

Code: Select all

apt list --upgradable 
Listando... Hecho
libreoffice/stretch-backports 1:5.4.1-1~bpo9+1 amd64 [actualizable desde: 1:5.4.0-1~bpo9+1]
libreoffice-avmedia-backend-gstreamer/stretch-backports 1:5.4.1-1~bpo9+1 amd64 [actualizable desde: 1:5.4.0-1~bpo9+1]
libreoffice-base/stretch-backports 1:5.4.1-1~bpo9+1 amd64 [actualizable desde: 1:5.4.0-1~bpo9+1]
libreoffice-base-core/stretch-backports 1:5.4.1-1~bpo9+1 amd64 [actualizable desde: 1:5.4.0-1~bpo9+1]
libreoffice-base-drivers/stretch-backports 1:5.4.1-1~bpo9+1 amd64 [actualizable desde: 1:5.4.0-1~bpo9+1]
libreoffice-calc/stretch-backports 1:5.4.1-1~bpo9+1 amd64 [actualizable desde: 1:5.4.0-1~bpo9+1]
libreoffice-core/stretch-backports 1:5.4.1-1~bpo9+1 amd64 [actualizable desde: 1:5.4.0-1~bpo9+1]
libreoffice-draw/stretch-backports 1:5.4.1-1~bpo9+1 amd64 [actualizable desde: 1:5.4.0-1~bpo9+1]
libreoffice-gtk3/stretch-backports 1:5.4.1-1~bpo9+1 amd64 [actualizable desde: 1:5.4.0-1~bpo9+1]
libreoffice-impress/stretch-backports 1:5.4.1-1~bpo9+1 amd64 [actualizable desde: 1:5.4.0-1~bpo9+1]
libreoffice-math/stretch-backports 1:5.4.1-1~bpo9+1 amd64 [actualizable desde: 1:5.4.0-1~bpo9+1]
libreoffice-report-builder-bin/stretch-backports 1:5.4.1-1~bpo9+1 amd64 [actualizable desde: 1:5.4.0-1~bpo9+1]
libreoffice-writer/stretch-backports 1:5.4.1-1~bpo9+1 amd64 [actualizable desde: 1:5.4.0-1~bpo9+1]
python3-uno/stretch-backports 1:5.4.1-1~bpo9+1 amd64 [actualizable desde: 1:5.4.0-1~bpo9+1]
Buuut here comes the problem.

Code: Select all

 sudo apt upgrade
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias       
Leyendo la información de estado... Hecho
Calculando la actualización... Hecho
Los siguientes paquetes se han retenido:
  libreoffice-base libreoffice-gtk3 libreoffice-math
  libreoffice-report-builder-bin
0 actualizados, 0 nuevos se instalarán, 0 para eliminar y 4 no actualizados.
and when I try to upgrade them manually:

Code: Select all

sudo apt install -t stretch-backports libreoffice-base
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias       
Leyendo la información de estado... Hecho
No se pudieron instalar algunos paquetes. Esto puede significar que
usted pidió una situación imposible o, si está usando la distribución
inestable, que algunos paquetes necesarios aún no se han creado o se
han sacado de «Incoming».
La siguiente información puede ayudar a resolver la situación:

Los siguientes paquetes tienen dependencias incumplidas:
 libreoffice-base : Depende: libreoffice-base-core (= 1:5.4.1-1~bpo9+1) pero 1:5.4.0-1~bpo9+1 va a ser instalado
                    Depende: libreoffice-base-drivers (= 1:5.4.1-1~bpo9+1) pero 1:5.4.0-1~bpo9+1 va a ser instalado
                    Depende: libreoffice-core (= 1:5.4.1-1~bpo9+1) pero 1:5.4.0-1~bpo9+1 va a ser instalado
E: No se pudieron corregir los problemas, usted ha retenido paquetes rotos.
Im aware of how backports work and that they cannot guarantee stability but Is there a way to upgrade libreoffice without making it a long, and tiring command hell? (Besides compiling, I know it would take hours using a Celeron :cry: )
I would exchange everything I know in exchange for half of what I don't.

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: [stretch-backports] Libreoffice continous dependency pro

#2 Post by kedaha »

Hi there,
Have you tried using aptitude instead of apt?
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

TonyT
Posts: 575
Joined: 2006-09-04 11:57

Re: [stretch-backports] Libreoffice continous dependency pro

#3 Post by TonyT »

No need to build the latest versions. Just download the debs,
https://www.libreoffice.org/download/download/
extract, open a terminal in that directory and do:
sudo dpkg -i *.deb

User avatar
VentGrey
Posts: 171
Joined: 2016-04-26 23:57
Location: Guanajuato México

Re: [stretch-backports] Libreoffice continous dependency pro

#4 Post by VentGrey »

Hi there,
Have you tried using aptitude instead of apt?
Of course I did (after this post) :mrgreen:

My guess is that some packages are not released at the same time and that causes the dependency problem or maybe the devs are trying to reduce the dependency list? I really don't know.
I would exchange everything I know in exchange for half of what I don't.

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: [stretch-backports] Libreoffice continous dependency pro

#5 Post by pylkko »

I usually attempt to avoid updating libreoffice as the changes that are made between minor versions are usually so insignificant and might not even pertain to any parts of the suite that I actually use. I was particularly happy about Stretch getting a very very late point release 5.2.7, because Jessie only got .3 or .4 IIRC and have not used a backport yet. The Open Document Foundation says on their page that in enterprise/production machine scenarios you should always use the last point release of a series.

I have, however, previously used backported versions of LO from the backports repo and they have always worked. So out of interest I tried this one, and ran into problems. Some addon packages broke right away and it appears that some packages are 5.4.1 and others 5.4.0 material. Well, maybe the backporter will fix it in future updates. Back to stock. I for sure do not have time to download .debs, verify them and configure them etc.

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: [stretch-backports] Libreoffice continous dependency pro

#6 Post by pylkko »

I noticed that my mirror of the backports repo just received about 20 new packages related to libreoffice. Perhaps this issue is noe fixed?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: [stretch-backports] Libreoffice continous dependency pro

#7 Post by stevepusser »

Vey likely. They are aware of the problem on the backports mailing list.
MX Linux packager and developer

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: [stretch-backports] Libreoffice continous dependency pro

#8 Post by pylkko »

Tested it today. Works.

User avatar
VentGrey
Posts: 171
Joined: 2016-04-26 23:57
Location: Guanajuato México

Re: [stretch-backports] Libreoffice continous dependency pro

#9 Post by VentGrey »

libreoffice-gtk3 and similar packages are still broken (also steam but i've stopped playing a long time ago).

Code: Select all

Vent@Ventbian:~$ sudo apt install libreoffice-gtk
[sudo] password for omar: 
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias       
Leyendo la información de estado... Hecho
No se pudieron instalar algunos paquetes. Esto puede significar que
usted pidió una situación imposible o, si está usando la distribución
inestable, que algunos paquetes necesarios aún no se han creado o se
han sacado de «Incoming».
La siguiente información puede ayudar a resolver la situación:

Los siguientes paquetes tienen dependencias incumplidas:
 libreoffice-gtk : Depende: libreoffice-gtk2 pero no va a instalarse
                   Depende: libreoffice-systray pero no va a instalarse
                   Depende: libreoffice-common (= 1:5.2.7-1) pero 1:5.4.1-1~bpo9+1 va a ser instalado
I would exchange everything I know in exchange for half of what I don't.

Post Reply