Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

(solved) Switch to Libreoffice 5 from Debian repo ?

Message
Author
User avatar
fehlix
Forum Regular
Forum Regular
Posts: 597
Joined: Wed Apr 11, 2018 5:09 pm

Re: Switch to Libreoffice 5 from Debian repo ?

#11 Post by fehlix » Sun Jun 03, 2018 12:09 pm

dolphin_oracle wrote:
Sun Jun 03, 2018 11:52 am

Code: Select all

sudo apt-get install -t stable libreoffice 
will install libreoffice 5 from debian stable.
Unfortunately not! It gives you this error!:
$ LANG=en_US.UTF-8 sudo apt-get install -t stable libreoffice
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libreoffice : Depends: libreoffice-core (= 1:5.2.7-1+deb9u4) but 1:6.0.1-1~bpo9+1 is to be installed
Depends: python3-uno (>= 4.4.0~beta2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
If you had read my post#2 above
you would get this success installation message, after applying my pin's :
$ LANG=en_US.UTF-8 sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libboost-chrono1.62.0 libboost-locale1.62.0 libboost-thread1.62.0 libgpgmepp6
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
libgltf-0.0-0v5 libmwaw-0.3-3 liborcus-0.11-0 libvisio-0.1-1 libwps-0.4-4
The following packages will be upgraded:
mx-installer mx-packageinstaller-pkglist mx-system xfce4-weather-plugin
The following packages will be DOWNGRADED:
fonts-opensymbol libreoffice-avmedia-backend-gstreamer libreoffice-base libreoffice-base-core libreoffice-base-drivers libreoffice-calc
libreoffice-common libreoffice-core libreoffice-draw libreoffice-gtk2 libreoffice-help-de libreoffice-help-en-us libreoffice-impress
libreoffice-java-common libreoffice-l10n-de libreoffice-math libreoffice-pdfimport libreoffice-report-builder-bin libreoffice-sdbc-hsqldb
libreoffice-style-galaxy libreoffice-style-tango libreoffice-writer uno-libs3 ure
4 upgraded, 5 newly installed, 24 downgraded, 0 to remove and 0 not upgraded.
Need to get 94.9 MB of archives.
After this operation, 25.8 MB disk space will be freed.
.....
:snail:
--fehlix

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 8667
Joined: Sun Dec 16, 2007 1:17 pm

Re: (solved) Switch to Libreoffice 5 from Debian repo ?

#12 Post by dolphin_oracle » Sun Jun 03, 2018 12:45 pm

well, you do have to remove libreoffice-common first.

but I just did it. I did it while writing the procedure. perhaps I left out a step.

**edit*** yep, I did an

Code: Select all

apt-get autoremove
before the reinstall. by bad. original post edited.
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 17 32 bit (streaming media player)
lenovo ThinkPad T530 - MX-17
lenovo s21e - antiX-17, MX17(live-usb)

User avatar
fehlix
Forum Regular
Forum Regular
Posts: 597
Joined: Wed Apr 11, 2018 5:09 pm

Re: (solved) Switch to Libreoffice 5 from Debian repo ?

#13 Post by fehlix » Sun Jun 03, 2018 1:08 pm

dolphin_oracle wrote:
Sun Jun 03, 2018 12:45 pm
well, you do have to remove libreoffice-common first.

but I just did it. I did it while writing the procedure. perhaps I left out a step.

**edit*** yep, I did an

Code: Select all

apt-get autoremove
before the reinstall. by bad. original post edited.
Well, with your pin's the user has to unistall all LO related stuff, do an autoremove ,
re-install and after that make sure to apply your pin's. After that he still would have a
mixture LO related coming from both MX + debian like this one:

Code: Select all

LANG=C apt policy fonts-opensymbol
fonts-opensymbol:
  Installed: 2:102.10+LibO6.0.1-1~bpo9+1
  Candidate: 2:102.10+LibO6.0.1-1~bpo9+1
  Version table:
 *** 2:102.10+LibO6.0.1-1~bpo9+1 500
        500 http://nl.mxrepo.com/mx/repo stretch/main amd64 Packages
        500 http://nl.mxrepo.com/mx/repo stretch/main i386 Packages
        100 /var/lib/dpkg/status
     2:102.7+LibO5.2.7-1+deb9u4 500
        500 http://security.debian.org stretch/updates/main amd64 Packages
        500 http://security.debian.org stretch/updates/main i386 Packages
I'd rather suggest we use for those special cases the special apt-pins for "downgrade"
as I shown above in my post#2:
Applying the pin and that's it! The automatic or manuale upgrade will do the "downgrade"!
ttfn
--fehlix

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 8667
Joined: Sun Dec 16, 2007 1:17 pm

Re: (solved) Switch to Libreoffice 5 from Debian repo ?

#14 Post by dolphin_oracle » Sun Jun 03, 2018 1:12 pm

yep, you're probably right.
http://www.youtube.com/runwiththedolphin
eeepc 904ha antix 17 32 bit (streaming media player)
lenovo ThinkPad T530 - MX-17
lenovo s21e - antiX-17, MX17(live-usb)

User avatar
fehlix
Forum Regular
Forum Regular
Posts: 597
Joined: Wed Apr 11, 2018 5:09 pm

Re: (solved) Switch to Libreoffice 5 from Debian repo ?

#15 Post by fehlix » Sun Jun 03, 2018 3:01 pm

dolphin_oracle wrote:
Sun Jun 03, 2018 1:12 pm
yep, you're probably right.
Just a further thought: Why not providing exactly the above "Downgrad Steps" within MXPI itself,
Something like "Libreoffice French - Debian version" .
The user would only need to click to get the debian version within MXPI!
And going back: again just a click! And it is bulled proof and easy to set up in MXPI!
I can provide the MXPI setup for this ;) Again just a proposal, but perhaps much easier for the user!
--fehlix

Post Reply

Return to “Software / Configuration”