← Back to team overview

openjdk team mailing list archive

[Bug 1909344] Re: 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

 

➜  ~ sudo apt-get install -f
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-software-common imagemagick-6-common libargon2-0 libatspi2.0-0:i386 libdevel-globaldestruction-perl libdvdread4 libgmime-3.0-0 libgnome-desktop-3-17
  libhttp-parser2.7.1 libip4tc0 liblqr-1-0 libmutter-2-0 libopenobex2 libprotobuf10 libreoffice-style-galaxy libtinfo5:i386 linux-headers-4.15.0-118
  linux-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
  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-8-jre-headless
Suggested packages:
  fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-microhei fonts-wqy-zenhei
The following packages will be upgraded:
  openjdk-8-jre-headless
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-8-jre-headless_8u275-b01-0ubuntu1~20.04_amd64.deb ...
Unpacking openjdk-8-jre-headless:amd64 (8u275-b01-0ubuntu1~20.04) over (8u265-b01-0ubuntu2~20.04) ...
dpkg: error processing archive /var/cache/apt/archives/openjdk-8-jre-headless_8u275-b01-0ubuntu1~20.04_amd64.deb (--unpack):
 trying to overwrite shared '/etc/java-8-openjdk/accessibility.properties', which is different from other instances of package openjdk-8-jre-headless:amd64
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/openjdk-8-jre-headless_8u275-b01-0ubuntu1~20.04_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
➜  ~

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-8 in Ubuntu.
https://bugs.launchpad.net/bugs/1909344

Title:
  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

Status in openjdk-8 package in Ubuntu:
  New

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-8-jre-headless: Depends: libnss3 (>= 2:3.17.1) but 2:3.49.1-1ubuntu1.5 is installed
                          Depends: zlib1g (>= 1:1.1.4) but 1:1.2.11.dfsg-2ubuntu1.2 is installed
  openjdk-8-jre-headless:i386: Depends: libnss3 (>= 2:3.17.1) but 2:3.49.1-1ubuntu1.5 is installed
                               Depends: zlib1g (>= 1:1.1.4) but 1:1.2.11.dfsg-2ubuntu1.2 is installed

  ProblemType: Package
  DistroRelease: Ubuntu 20.04
  Package: openjdk-8-jre-headless 8u265-b01-0ubuntu2~20.04 [modified: usr/share/doc/openjdk-8-jre-headless/changelog.Debian.gz]
  ProcVersionSignature: Ubuntu 5.4.0-58.64-generic 5.4.73
  Uname: Linux 5.4.0-58-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.13
  AptOrdering:
   openjdk-8-jre-headless:amd64: Install
   NULL: ConfigurePending
  Architecture: amd64
  CasperMD5CheckResult: skip
  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-8-jre-headless:amd64 (8u265-b01-0ubuntu2~20.04, 8u275-b01-0ubuntu1~20.04)
  DpkgTerminalLog:
   Preparing to unpack .../openjdk-8-jre-headless_8u275-b01-0ubuntu1~20.04_amd64.deb ...
   Unpacking openjdk-8-jre-headless:amd64 (8u275-b01-0ubuntu1~20.04) over (8u265-b01-0ubuntu2~20.04) ...
   dpkg: error processing archive /var/cache/apt/archives/openjdk-8-jre-headless_8u275-b01-0ubuntu1~20.04_amd64.deb (--unpack):
    trying to overwrite shared '/etc/java-8-openjdk/accessibility.properties', which is different from other instances of package openjdk-8-jre-headless:amd64
  DuplicateSignature:
   package:openjdk-8-jre-headless:8u265-b01-0ubuntu2~20.04 [modified: usr/share/doc/openjdk-8-jre-headless/changelog.Debian.gz]
   Unpacking openjdk-8-jre-headless:amd64 (8u275-b01-0ubuntu1~20.04) over (8u265-b01-0ubuntu2~20.04) ...
   dpkg: error processing archive /var/cache/apt/archives/openjdk-8-jre-headless_8u275-b01-0ubuntu1~20.04_amd64.deb (--unpack):
    trying to overwrite shared '/etc/java-8-openjdk/accessibility.properties', which is different from other instances of package openjdk-8-jre-headless:amd64
  ErrorMessage: trying to overwrite shared '/etc/java-8-openjdk/accessibility.properties', which is different from other instances of package openjdk-8-jre-headless:amd64
  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
  RelatedPackageVersions:
   dpkg 1.19.7ubuntu3
   apt  2.0.2ubuntu0.2
  SourcePackage: openjdk-8
  Title: 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
  UpgradeStatus: Upgraded to focal on 2020-10-05 (82 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1909344/+subscriptions


References