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 )

> Can't Upgrade System or Remove Program
ArchiMark
post Sep 20 2018, 06:05 PM
Post #1





Group: Admin
Posts: 1,696
Joined: 25-June 03
From: Silicon Valley
Member No.: 208



Been very frustrated today with multiple attempts to get 'apt-get upgrade' or 'apt-get remove' to work.

Problem seems to be an issue with the Libreoffice install.

Here's some of the messages I see in terminal:

CODE
(Reading database ... 105256 files and directories currently installed.)
Preparing to unpack .../libreoffice-base_1%3a5.2.7-1+deb9u4_arm64.deb ...
Unpacking libreoffice-base (1:5.2.7-1+deb9u4) over (1:5.2.7-1+deb9u3) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-base_1%3a5.2.7-1+deb9u4_arm64.deb (--unpack):
trying to overwrite '/usr/lib/libreoffice/share/basic/dialog.xlc', which is also in package libreoffice-common 1:5.2.7-1+deb9u3
Preparing to unpack .../libreoffice-common_1%3a5.2.7-1+deb9u4_all.deb ...
Unpacking libreoffice-common (1:5.2.7-1+deb9u4) over (1:5.2.7-1+deb9u3) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a5.2.7-1+deb9u4_all.deb (--unpack):
trying to overwrite '/usr/lib/libreoffice/share/basic/dialog.xlc', which is also in package libreoffice-base 1:5.2.7-1+deb9u3
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
rmdir: failed to remove '/var/lib/libreoffice/share/prereg/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice/share/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice/program/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
Errors were encountered while processing:
/var/cache/apt/archives/libreoffice-base_1%3a5.2.7-1+deb9u4_arm64.deb
/var/cache/apt/archives/libreoffice-common_1%3a5.2.7-1+deb9u4_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@localhost:/home/gemini# apt-get install aptitude
Reading package lists... Done
Building dependency tree      
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
aptitude : Depends: aptitude-common (= 0.8.7-1) but it is not going to be installed
           Depends: libcwidget3v5 but it is not going to be installed
           Depends: libsigc++-2.0-0v5 (>= 2.8.0) but it is not going to be installed
libreoffice-base : Depends: libreoffice-base-core (= 1:5.2.7-1+deb9u3) but 1:5.2.7-1+deb9u4 is to be installed
                   Depends: libreoffice-base-drivers (= 1:5.2.7-1+deb9u3) but 1:5.2.7-1+deb9u4 is to be installed
                   Depends: libreoffice-core (= 1:5.2.7-1+deb9u3) but 1:5.2.7-1+deb9u4 is to be installed
                   Recommends: default-jre but it is not going to be installed or
                               openjdk-8-jre but it is not going to be installed or
                               openjdk-7-jre but it is not installable or
                               openjdk-6-jre but it is not installable or
                               gcj-jre but it is not going to be installed or
                               java5-runtime or
                               jre but it is not installable
libreoffice-core : Breaks: libreoffice-base (< 1:5.2.7-1+deb9u4) but 1:5.2.7-1+deb9u3 is to be installed
                   Recommends: libpaper-utils but it is not going to be installed
libreoffice-java-common : Depends: libreoffice-common (= 1:5.2.7-1+deb9u4) but 1:5.2.7-1+deb9u3 is to be installed
libreoffice-script-provider-python : Depends: libreoffice-common (= 1:5.2.7-1+deb9u4) but 1:5.2.7-1+deb9u3 is to be installed
libreoffice-style-galaxy : Depends: libreoffice-common (= 1:5.2.7-1+deb9u4) but 1:5.2.7-1+deb9u3 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@localhost:/home/gemini# apt --fix-broken install
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libreoffice-base libreoffice-common
Suggested packages:
libreoffice-gcj libreoffice-report-builder unixodbc libreoffice-style-breeze
libreoffice-style-hicontrast libreoffice-style-oxygen libreoffice-style-sifr
libreoffice-style-tango
Recommended packages:
default-jre | openjdk-8-jre | openjdk-7-jre | openjdk-6-jre | gcj-jre
| java5-runtime | jre
The following packages will be upgraded:
libreoffice-base libreoffice-common
2 upgraded, 0 newly installed, 0 to remove and 92 not upgraded.
4 not fully installed or removed.
Need to get 0 B/24.9 MB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 105256 files and directories currently installed.)
Preparing to unpack .../libreoffice-base_1%3a5.2.7-1+deb9u4_arm64.deb ...
Unpacking libreoffice-base (1:5.2.7-1+deb9u4) over (1:5.2.7-1+deb9u3) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-base_1%3a5.2.7-1+deb9u4_arm64.deb (--unpack):
trying to overwrite '/usr/lib/libreoffice/share/basic/dialog.xlc', which is also in package libreoffice-common 1:5.2.7-1+deb9u3
Preparing to unpack .../libreoffice-common_1%3a5.2.7-1+deb9u4_all.deb ...
Unpacking libreoffice-common (1:5.2.7-1+deb9u4) over (1:5.2.7-1+deb9u3) ...
dpkg: error processing archive /var/cache/apt/archives/libreoffice-common_1%3a5.2.7-1+deb9u4_all.deb (--unpack):
trying to overwrite '/usr/lib/libreoffice/share/basic/dialog.xlc', which is also in package libreoffice-base 1:5.2.7-1+deb9u3
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
rmdir: failed to remove '/var/lib/libreoffice/share/prereg/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice/share/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice/program/': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
rmdir: failed to remove '/var/lib/libreoffice': No such file or directory
Errors were encountered while processing:
/var/cache/apt/archives/libreoffice-base_1%3a5.2.7-1+deb9u4_arm64.deb
/var/cache/apt/archives/libreoffice-common_1%3a5.2.7-1+deb9u4_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


I've tried doing 'apt --fix-broken install' as systems suggests, but get same problem.

When I've tried to remove Libreoffice, I get the error messages.

Anyone have a way to get this fixed?

Thanks for any suggestions!

Mark
Go to the top of the page
 
+Quote Post

Posts in this topic


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

 



RSS Lo-Fi Version Time is now: 19th February 2020 - 11:08 AM