Bug 113269 - Ubuntu 14.04 LTS Update means LO PPA installation has unmet dependencies
Summary: Ubuntu 14.04 LTS Update means LO PPA installation has unmet dependencies
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.4.2.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-19 14:11 UTC by Jax
Modified: 2017-10-21 18:06 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jax 2017-10-19 14:11:46 UTC
Description:
Seemingly, Ubuntu 14.04LTS has just updated some LibreOffice components and now third party PPA installation of LO has unmet dependencies.  My 3rd party installation is to allow V5 rather than have V4.2 which is Ubuntu bundled version 

Ubuntu crashes when updating and suggests uninstalling 3rd party PPAs.

See
  *  https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1722932?comments=all
  *  https://askubuntu.com/questions/966179/how-to-get-a-repository-to-override-all-other-repositories-for-all-software-in

Steps to Reproduce:
1.  Allow Ubuntu 14.04 to update
2.  sudo apt-get update && sudo apt-get upgrade

Actual Results:  
Get:1 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Hit http://ppa.launchpad.net trusty InRelease                                  
Ign http://extras.ubuntu.com trusty InRelease                                  
Hit http://extras.ubuntu.com trusty Release.gpg                                
Ign http://ppa.launchpad.net trusty InRelease                                  
Hit http://extras.ubuntu.com trusty Release                                    
Hit http://ppa.launchpad.net trusty InRelease                                  
Ign http://archive.canonical.com trusty InRelease                              
Hit http://ppa.launchpad.net trusty Release.gpg                                
Get:2 http://security.ubuntu.com trusty-security/main Sources [144 kB]         
Hit http://extras.ubuntu.com trusty/main Sources                               
Hit http://archive.canonical.com trusty Release.gpg                            
Ign http://gb.archive.ubuntu.com trusty InRelease                              
Hit http://extras.ubuntu.com trusty/main i386 Packages                         
Hit http://ppa.launchpad.net trusty/main i386 Packages                         
Get:3 http://gb.archive.ubuntu.com trusty-updates InRelease [65.9 kB]          
Get:4 http://security.ubuntu.com trusty-security/restricted Sources [4,931 B]  
Hit http://archive.canonical.com trusty Release                                
Hit http://ppa.launchpad.net trusty/main Translation-en                        
Get:5 http://security.ubuntu.com trusty-security/universe Sources [64.5 kB]    
Hit http://ppa.launchpad.net trusty Release                                    
Get:6 http://security.ubuntu.com trusty-security/multiverse Sources [3,202 B]  
Get:7 http://security.ubuntu.com trusty-security/main i386 Packages [624 kB]   
Hit http://archive.canonical.com trusty/partner i386 Packages                  
Hit http://ppa.launchpad.net trusty/main i386 Packages                         
Hit http://gb.archive.ubuntu.com trusty-backports InRelease                    
Hit http://gb.archive.ubuntu.com trusty Release.gpg                            
Hit http://archive.canonical.com trusty/partner Translation-en                 
Hit http://gb.archive.ubuntu.com trusty Release                                
Hit http://ppa.launchpad.net trusty/main Translation-en                        
Ign http://extras.ubuntu.com trusty/main Translation-en_GB                     
Hit http://ppa.launchpad.net trusty/main i386 Packages                         
Ign http://extras.ubuntu.com trusty/main Translation-en                        
Hit http://ppa.launchpad.net trusty/main Translation-en                        
Get:8 http://gb.archive.ubuntu.com trusty-updates/main Sources [406 kB]        
Get:9 http://security.ubuntu.com trusty-security/restricted i386 Packages [13.7 kB]
Get:10 http://security.ubuntu.com trusty-security/universe i386 Packages [192 kB]
Get:11 http://security.ubuntu.com trusty-security/multiverse i386 Packages [4,285 B]
Hit http://security.ubuntu.com trusty-security/main Translation-en             
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en       
Hit http://security.ubuntu.com trusty-security/restricted Translation-en       
Hit http://security.ubuntu.com trusty-security/universe Translation-en         
Get:12 http://gb.archive.ubuntu.com trusty-updates/restricted Sources [6,322 B]
Get:13 http://gb.archive.ubuntu.com trusty-updates/universe Sources [192 kB]   
Get:14 http://gb.archive.ubuntu.com trusty-updates/multiverse Sources [7,767 B]
Get:15 http://gb.archive.ubuntu.com trusty-updates/main i386 Packages [976 kB] 
Get:16 http://gb.archive.ubuntu.com trusty-updates/restricted i386 Packages [16.8 kB]
Get:17 http://gb.archive.ubuntu.com trusty-updates/universe i386 Packages [431 kB]
Get:18 http://gb.archive.ubuntu.com trusty-updates/multiverse i386 Packages [14.7 kB]
Hit http://gb.archive.ubuntu.com trusty-updates/main Translation-en            
Hit http://gb.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://gb.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://gb.archive.ubuntu.com trusty-updates/universe Translation-en  
Hit http://gb.archive.ubuntu.com trusty-backports/main Sources           
Hit http://gb.archive.ubuntu.com trusty-backports/restricted Sources       
Hit http://gb.archive.ubuntu.com trusty-backports/universe Sources         
Hit http://gb.archive.ubuntu.com trusty-backports/multiverse Sources       
Hit http://gb.archive.ubuntu.com trusty-backports/main i386 Packages       
Hit http://gb.archive.ubuntu.com trusty-backports/restricted i386 Packages 
Hit http://gb.archive.ubuntu.com trusty-backports/universe i386 Packages   
Hit http://gb.archive.ubuntu.com trusty-backports/multiverse i386 Packages 
Hit http://gb.archive.ubuntu.com trusty-backports/main Translation-en      
Hit http://gb.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://gb.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://gb.archive.ubuntu.com trusty-backports/universe Translation-en  
Hit http://gb.archive.ubuntu.com trusty/main Sources                       
Hit http://gb.archive.ubuntu.com trusty/restricted Sources                 
Hit http://gb.archive.ubuntu.com trusty/universe Sources                   
Hit http://gb.archive.ubuntu.com trusty/multiverse Sources                 
Hit http://gb.archive.ubuntu.com trusty/main i386 Packages                 
Hit http://gb.archive.ubuntu.com trusty/restricted i386 Packages           
Hit http://gb.archive.ubuntu.com trusty/universe i386 Packages              
Hit http://gb.archive.ubuntu.com trusty/multiverse i386 Packages            
Hit http://gb.archive.ubuntu.com trusty/main Translation-en_GB              
Hit http://gb.archive.ubuntu.com trusty/main Translation-en
Hit http://gb.archive.ubuntu.com trusty/multiverse Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://gb.archive.ubuntu.com trusty/restricted Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty/restricted Translation-en
Hit http://gb.archive.ubuntu.com trusty/universe Translation-en_GB
Hit http://gb.archive.ubuntu.com trusty/universe Translation-en
Fetched 3,233 kB in 27s (117 kB/s)                                             
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run ‘apt-get -f install’ to correct these.
The following packages have unmet dependencies.
 libreoffice-calc : Depends: libreoffice-base-core (= 1:5.4.1~rc2-0ubuntu0.14.04.1~lo0) but 1:5.4.2~rc2-0ubuntu0.14.04.1~lo1 is installed
                    Depends: libreoffice-core (= 1:5.4.1~rc2-0ubuntu0.14.04.1~lo0) but 1:5.4.2~rc2-0ubuntu0.14.04.1~lo1 is installed
 libreoffice-core : Breaks: libreoffice-calc (< 1:5.4.2~rc2-0ubuntu0.14.04.1~lo1) but 1:5.4.1~rc2-0ubuntu0.14.04.1~lo0 is installed
                    Breaks: libreoffice-draw (< 1:5.4.2~rc2-0ubuntu0.14.04.1~lo1) but 1:5.4.1~rc2-0ubuntu0.14.04.1~lo0 is installed
                    Breaks: libreoffice-impress (< 1:5.4.2~rc2-0ubuntu0.14.04.1~lo1) but 1:5.4.1~rc2-0ubuntu0.14.04.1~lo0 is installed
 libreoffice-draw : Depends: libreoffice-core (= 1:5.4.1~rc2-0ubuntu0.14.04.1~lo0) but 1:5.4.2~rc2-0ubuntu0.14.04.1~lo1 is installed
 libreoffice-impress : Depends: libreoffice-core (= 1:5.4.1~rc2-0ubuntu0.14.04.1~lo0) but 1:5.4.2~rc2-0ubuntu0.14.04.1~lo1 is installed
E: Unmet dependencies. Try using -f.

Expected Results:
I don't know... use updated dependencies, duplicate required ones and/or insist on extant versions in the first place.


Reproducible: Always

User Profile Reset: No

Additional Info:
LibreOffice
  Version: 5.4.2.2
  Build ID: 1:5.4.2~rc2-0ubuntu0.14.04.1~lo1
  CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2; 
  Locale: en-GB (en_GB.UTF-8); Calc: group


Ubuntu 14.04 LTS  32 bit


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:56.0) Gecko/20100101 Firefox/56.0
Comment 1 Michael 2017-10-19 14:31:53 UTC
Ah, yes, I've had the same issue, apparently I've posted in the wrong places?

Please include by Reference:

 - https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1722932

 - https://askubuntu.com/questions/966179/how-to-get-a-repository-to-override-all-other-repositories-for-all-software-in

If someone in LibreOffice knows an answer for the Ask Ubuntu, that would be very welcome as it would curtail the same issue happening in the future.

Best,
Michael
Comment 2 Jax 2017-10-19 14:43:07 UTC
This is preventing a critical Ubuntu security update so importance (for me) is high.

It seems to require the uninstallation of LibreOffice which I don't want to do, really.  I don't know what preferences/settings/personalisation I'd lose by uninstalling.  Any advice welcome.

p.s. Sorry for unclipped/unedited terminal text in OP...  I can't edit it now.
Comment 3 Julien Nabet 2017-10-19 15:18:09 UTC
Ubuntu bug not LO bug.
Comment 4 Aron Budea 2017-10-19 15:56:32 UTC
Please report it here: https://bugs.launchpad.net/~libreoffice

CCing Rico in the meantime.
Comment 5 Julien Nabet 2017-10-19 16:57:04 UTC
(In reply to Aron Budea from comment #4)
> Please report it here: https://bugs.launchpad.net/~libreoffice
> ...
According to description, it's already done
Comment 6 Aron Budea 2017-10-19 17:12:42 UTC
(In reply to Julien Nabet from comment #5)
> (In reply to Aron Budea from comment #4)
> > Please report it here: https://bugs.launchpad.net/~libreoffice
> > ...
> According to description, it's already done

It was reported in the wrong place, as I can understand, that's why it was closed.
Comment 7 Jax 2017-10-19 23:27:38 UTC
And both Ubuntu and LibreOffice bugs are getting 'Resolved' as 'It's their fault'!

Anyone?   Err... me!  Just worked it out!

Solution in fellow Noobspeak:

1. Run Synaptic Package Manager
        If not sure how, press the Windows/Super key then type Synaptic and click the appropriate icon
2. Enter your password when prompted
3. Click On The 'Status' button.  Above that, select 'Broken Dependencies'
4. To the right, Select all four affected LibreOffice Packages
5. Right click them and choose 'Mark For Upgrade' option
6. Click the big Apply button, above.

Unless the tiger is hiding, waiting to bite my hubristic backside, I think that this solves it.

If it hasn't worked, perhaps you'd deseleted the LibreOffice PPA in the Depositary List.  Reenable it and start again.
Comment 8 Michael 2017-10-20 15:01:46 UTC
Re-opening,  per @muru [1] this is purely a  LibreOffice PPA issue, as shown by apt-cache policy [libreoffice-core / libreoffice] .  Ubuntu is only up to LO 4.2.x, so it doesn’t (shouldn’t?) enter the picture at all since the LO PPA is  5.4.x.

michael@local [~/data/trash]# apt-cache policy libreoffice-core
libreoffice-core:
  Installed: 1:5.4.2~rc2-0ubuntu0.14.04.1~lo1
  Candidate: 1:5.4.2~rc2-0ubuntu0.14.04.1~lo2
  Version table:
     1:5.4.2~rc2-0ubuntu0.14.04.1~lo2 0
        500 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main amd64 Packages
 *** 1:5.4.2~rc2-0ubuntu0.14.04.1~lo1 0
        100 /var/lib/dpkg/status
     1:4.2.8-0ubuntu5.1 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
     1:4.2.3~rc3-0ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages


michael@local [~/data/trash]# apt-cache policy libreoffice
libreoffice:
  Installed: 1:5.4.2~rc2-0ubuntu0.14.04.1~lo1
  Candidate: 1:5.4.2~rc2-0ubuntu0.14.04.1~lo2
  Version table:
     1:5.4.2~rc2-0ubuntu0.14.04.1~lo2 0
        500 http://ppa.launchpad.net/libreoffice/ppa/ubuntu/ trusty/main amd64 Packages
 *** 1:5.4.2~rc2-0ubuntu0.14.04.1~lo1 0
        100 /var/lib/dpkg/status
     1:4.2.8-0ubuntu5.1 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/universe amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ trusty-security/universe amd64 Packages
     1:4.2.3~rc3-0ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages


[1]
Comments on, where muru was very patient with my noob-nes with Apt,  https://askubuntu.com/questions/966179/how-to-get-a-repository-to-override-all-other-repositories-for-all-software-in
Comment 9 Julien Nabet 2017-10-20 15:31:10 UTC
Bjoern: I know you let the Ubuntu position available in "find expert" page, but do you know whom I may ping about this? Indeed, d esn't Launchpad belong to Canonical?
If this is the case, why should we consider this bugtracker as LO bug?
Comment 10 Michael 2017-10-20 15:45:05 UTC
This resolved my specific use case.  As I do not know enough of the Apt world to know if this is an acceptable solution to this 'issue,' I'm leaving the status alone.  Someone more knowledgeable please update the status as proper.

> My Solution
# apt-get update 
# apt-get upgrade --fix-broken

As an additional note, I'll fully admit I did a simulation prior which seemed to indicate this wasn't actually going to work:

#  apt-get upgrade --simulate -fix-broken
Keep also in mind that locking is deactivated,
so don't depend on the relevance to the real current situation!
 . . .
58 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
47 not fully installed or removed.

# # #

In any event, this works properly now, yeah!

# apt-get update && apt-get upgrade

Your mileage may vary...

=====

@Julien does your last sentence have a typo?
Comment 11 Rico Tzschichholz 2017-10-20 15:49:48 UTC
Does this issue still persist with the *~lo2* builds of 5.4.2~rc2?

sudo apt update
sudo apt-get -f install
sudo apt upgrade

Does calling those resolve the issue?

Additionally there is "sudo dpkg --configure -a" to get out of half-installed states.
Comment 12 Julien Nabet 2017-10-20 16:33:10 UTC
(In reply to Michael from comment #10)
> @Julien does your last sentence have a typo?
I spotted a typo in the sentence before:
"Indeed, dOesn't Launchpad belong to Canonical?"

About the last sentence, I don't think so or missed it.
If Launchpad belongs to Canonical, I don't think this bugtracker should be considered as LO (LibreOffice) bug since it's Canonical which must deal with the software dependencies of Ubuntu releases (LTS or not).
Comment 13 Maxim Monastirsky 2017-10-21 18:06:43 UTC
AFAIK the LO PPA isn't maintained by TDF -> NOTOURBUG