package openjdk-8-jre-headless 8u265-b01-0ubuntu2~20.04 [modified: usr/share/doc/openjdk-8-jre-headless/changelog.Debian.gz] failed to install/upgrade: trying to overwrite shared '/etc/java-8-openjdk/accessibility.properties', which is different from other instances of package openjdk-8-jre-headless:amd64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openjdk-8 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Probably related to a problem reported by Software Updater - Package System is Broken:
If you are using third party repositories then disable them, since they are a common source of problems.
Now run the following command in a terminal: apt-get install -f
Transaction failed: The package system is broken
The following packages have unmet dependencies:
openjdk-
openjdk-
ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: openjdk-
ProcVersionSign
Uname: Linux 5.4.0-58-generic x86_64
ApportVersion: 2.20.11-
AptOrdering:
openjdk-
NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckR
Date: Sat Dec 26 11:31:11 2020
DpkgHistoryLog:
Start-Date: 2020-12-26 11:31:06
Commandline: apt-get install -f
Requested-By: jamie (1000)
Upgrade: openjdk-
DpkgTerminalLog:
Preparing to unpack .../openjdk-
Unpacking openjdk-
dpkg: error processing archive /var/cache/
trying to overwrite shared '/etc/java-
DuplicateSignature:
package:
Unpacking openjdk-
dpkg: error processing archive /var/cache/
trying to overwrite shared '/etc/java-
ErrorMessage: trying to overwrite shared '/etc/java-
InstallationDate: Installed on 2015-05-17 (2049 days ago)
InstallationMedia: It
Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
RelatedPackageV
dpkg 1.19.7ubuntu3
apt 2.0.2ubuntu0.2
SourcePackage: openjdk-8
Title: package openjdk-
UpgradeStatus: Upgraded to focal on 2020-10-05 (82 days ago)
tags: | removed: need-duplicate-check |
➜ ~ sudo apt-get install -f software- common imagemagick- 6-common libargon2-0 libatspi2.0-0:i386 libdevel- globaldestructi on-perl libdvdread4 libgmime-3.0-0 libgnome- desktop- 3-17 parser2. 7.1 libip4tc0 liblqr-1-0 libmutter-2-0 libopenobex2 libprotobuf10 libreoffice- style-galaxy libtinfo5:i386 linux-headers- 4.15.0- 118 headers- 4.15.0- 118-generic linux-image- 4.15.0- 118-generic linux-modules- 4.15.0- 118-generic linux-modules- extra-4. 15.0-118- generic python-automat 8-jre-headless ipafont- gothic fonts-ipafont- mincho fonts-wqy-microhei fonts-wqy-zenhei 8-jre-headless 8-jre-headless_ 8u275-b01- 0ubuntu1~ 20.04_amd64. deb ... 8-jre-headless: amd64 (8u275- b01-0ubuntu1~ 20.04) over (8u265- b01-0ubuntu2~ 20.04) ... apt/archives/ openjdk- 8-jre-headless_ 8u275-b01- 0ubuntu1~ 20.04_amd64. deb (--unpack): 8-openjdk/ accessibility. properties' , which is different from other instances of package openjdk- 8-jre-headless: amd64 apt/archives/ openjdk- 8-jre-headless_ 8u275-b01- 0ubuntu1~ 20.04_amd64. deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
gnome-
libhttp-
linux-
python-blinker python-constantly python-gtk2 python-hyperlink python-incremental python3-appdirs python3-distlib python3-filelock python3-jinja2 python3-oauth
python3-padme python3-virtualenv python3-xlsxwriter virtualenv
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
openjdk-
Suggested packages:
fonts-
The following packages will be upgraded:
openjdk-
1 to upgrade, 0 to newly install, 0 to remove and 18 not to upgrade.
2 not fully installed or removed.
Need to get 0 B/28.2 MB of archives.
After this operation, 2,870 kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 365768 files and directories currently installed.)
Preparing to unpack .../openjdk-
Unpacking openjdk-
dpkg: error processing archive /var/cache/
trying to overwrite shared '/etc/java-
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
➜ ~