OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> apt-get upgrade broke libreoffice
Jeffrey Mark Sis...
post Jul 14 2018, 08:57 AM
Post #1





Group: Members
Posts: 10
Joined: 11-July 18
Member No.: 825,932



I'm running DebianTP2. I did an apt-get upgrade today. It broke with unmet dependencies that centered on libreoffice. I am in a state where I am unable to install/remove/upgrade packages with apt. So I removed libreoffice.

apt remove libreoffice \
libreoffice-avmedia-backend-gstreamer \
libreoffice-base \
libreoffice-base-core \
libreoffice-base-drivers \
libreoffice-calc \
libreoffice-common \
libreoffice-core \
libreoffice-draw \
libreoffice-gtk2 \
libreoffice-impress \
libreoffice-java-common \
libreoffice-librelogo \
libreoffice-math \
libreoffice-report-builder-bin \
libreoffice-script-provider-python \
libreoffice-style-galaxy \
libreoffice-writer \
python3-uno

Now I am in a state where all of libreoffice is removed except libreoffice-base. If I attempt to do

root@njere:~# apt-get remove libreoffice-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libreoffice-base
0 upgraded, 0 newly installed, 1 to remove and 52 not upgraded.
20 not fully installed or removed.
After this operation, 6356 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 242184 files and directories currently installed.)
Removing libreoffice-base (1:5.2.7-1+deb9u3) ...
dpkg-divert: error: mismatch on package
when removing 'diversion of /usr/lib/libreoffice/share/basic/dialog.xlc to /usr/lib/libreoffice/share/basic/dialog.xlc.noaccess by libreoffice-base'
found 'diversion of /usr/lib/libreoffice/share/basic/dialog.xlc to /usr/lib/libreoffice/share/basic/dialog.xlc.noaccess by --add'
dpkg: error processing package libreoffice-base (--remove):
subprocess installed post-removal script returned error exit status 2
Errors were encountered while processing:
libreoffice-base
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@njere:~#

I am close but still not able to install/remove/upgrade packages with apt.

Any ideas on how to fix? Once I get back to a state where apt works and I have a consistent set of package installations, I'll try to figure out how to get libreoffice installed again.

I am running an unmodified /etc/apt/sources.list* from DebianTP2.

Thanks.
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
7 User(s) are reading this topic (7 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 16th February 2019 - 11:50 AM