package ocl-icd-opencl-dev 2.2.8-1 failed to install/upgrade: trying to overwrite shared '/usr/share/doc/ocl-icd-opencl-dev/changelog.Debian.gz', which is different from other instances of package ocl-icd-opencl-dev:i386

Bug #1657952 reported by Po-Hsu Lin
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Fix Released
High
Unassigned
ocl-icd (Ubuntu)
Fix Released
High
Unassigned

Bug Description

When trying to install the olc-icd-opencl-dev:i386 package (there is already an ocl-icd-opencl-dev:amd64 package) it will complain about:

$ sudo apt-get install ocl-icd-opencl-dev:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Recommended packages:
  libpoclu-dev:i386
The following NEW packages will be installed:
  ocl-icd-opencl-dev:i386
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/3,546 B of archives.
After this operation, 20.5 kB of additional disk space will be used.
(Reading database ... 223711 files and directories currently installed.)
Preparing to unpack .../ocl-icd-opencl-dev_2.2.8-1_i386.deb ...
Unpacking ocl-icd-opencl-dev:i386 (2.2.8-1) ...
dpkg: error processing archive /var/cache/apt/archives/ocl-icd-opencl-dev_2.2.8-1_i386.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/ocl-icd-opencl-dev/changelog.Debian.gz', which is different from other instances of package ocl-icd-opencl-dev:i386
Errors were encountered while processing:
 /var/cache/apt/archives/ocl-icd-opencl-dev_2.2.8-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: ocl-icd-opencl-dev 2.2.8-1
ProcVersionSignature: Ubuntu 4.4.0-59.80-generic 4.4.35
Uname: Linux 4.4.0-59-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.1-0ubuntu2.5
AptOrdering:
 ocl-icd-libopencl1: Install
 ocl-icd-opencl-dev: Install
 ocl-icd-libopencl1: Configure
 ocl-icd-opencl-dev: Configure
 NULL: ConfigurePending
Architecture: amd64
Date: Thu Jan 19 05:47:41 2017
DuplicateSignature:
 package:ocl-icd-opencl-dev:2.2.8-1
 Unpacking ocl-icd-opencl-dev:i386 (2.2.8-1) ...
 dpkg: error processing archive /var/cache/apt/archives/ocl-icd-opencl-dev_2.2.8-1_i386.deb (--unpack):
  trying to overwrite shared '/usr/share/doc/ocl-icd-opencl-dev/changelog.Debian.gz', which is different from other instances of package ocl-icd-opencl-dev:i386
ErrorMessage: trying to overwrite shared '/usr/share/doc/ocl-icd-opencl-dev/changelog.Debian.gz', which is different from other instances of package ocl-icd-opencl-dev:i386
InstallationDate: Installed on 2017-01-19 (0 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt 1.2.18
SourcePackage: ocl-icd
Title: package ocl-icd-opencl-dev 2.2.8-1 failed to install/upgrade: trying to overwrite shared '/usr/share/doc/ocl-icd-opencl-dev/changelog.Debian.gz', which is different from other instances of package ocl-icd-opencl-dev:i386
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ocl-icd (Ubuntu):
status: New → Confirmed
Changed in ocl-icd (Ubuntu):
importance: Undecided → High
Changed in hundredpapercuts:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

this works fine now since bionic at least

Changed in ocl-icd (Ubuntu):
status: Confirmed → Fix Released
Changed in hundredpapercuts:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.