package libgl1-mesa-dri 17.0.7-0ubuntu0.16.04.1 failed to install/upgrade: symbolic link '/usr/share/doc/libgl1-mesa-dri/changelog.Debian.gz' size has changed from 80 to 36

Bug #1707865 reported by CVSH
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dpkg (Ubuntu)
New
Undecided
Unassigned

Bug Description

Installing packages fails because symlinks have a different size than expected.
What works is manually removing the links, but I suppose that dpkg should not worry about symlinks if they are working.
As this error is summing up, I don't want to manually delete all links,
therefore I just start deleting all of them
e.g.:
  rm /usr/share/doc/*/changelog.*gz
  rm /usr/share/doc/*/NEWS.*gz

in a script.

Here is a reinstallation call
$ sudo apt-get install -f
[sudo] password for User:
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:
[...]
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libgl1-mesa-dri:i386
The following packages will be upgraded:
  libgl1-mesa-dri:i386
1 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
3 not fully installed or removed.
Need to get 0 B/5.085 kB of archives.
After this operation, 7.536 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 1693621 files and directories currently installed.)
Preparing to unpack .../libgl1-mesa-dri_17.0.7-0ubuntu0.16.04.1_i386.deb ...
Unpacking libgl1-mesa-dri:i386 (17.0.7-0ubuntu0.16.04.1) over (12.0.6-0ubuntu0.16.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/libgl1-mesa-dri_17.0.7-0ubuntu0.16.04.1_i386.deb (--unpack):
 symbolic link '/usr/share/doc/libgl1-mesa-dri/changelog.Debian.gz' size has changed from 80 to 36
Errors were encountered while processing:
 /var/cache/apt/archives/libgl1-mesa-dri_17.0.7-0ubuntu0.16.04.1_i386.deb
$

and after removing the links:

$ 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:
[...]
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libgl1-mesa-dri:i386
The following packages will be upgraded:
  libgl1-mesa-dri:i386
1 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
3 not fully installed or removed.
Need to get 0 B/5.085 kB of archives.
After this operation, 7.536 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 1693621 files and directories currently installed.)
Preparing to unpack .../libgl1-mesa-dri_17.0.7-0ubuntu0.16.04.1_i386.deb ...
Unpacking libgl1-mesa-dri:i386 (17.0.7-0ubuntu0.16.04.1) over (12.0.6-0ubuntu0.16.04.1) ...
Setting up libgl1-mesa-dri:i386 (17.0.7-0ubuntu0.16.04.1) ...
Installing new version of config file /etc/drirc ...
Setting up libgl1-mesa-dri:amd64 (17.0.7-0ubuntu0.16.04.1) ...
Setting up libegl1-mesa:amd64 (17.0.7-0ubuntu0.16.04.1) ...
Setting up libwayland-egl1-mesa:amd64 (17.0.7-0ubuntu0.16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
$

Regards

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: libgl1-mesa-dri 17.0.7-0ubuntu0.16.04.1
ProcVersionSignature: Ubuntu 4.4.0-83.106-generic 4.4.70
Uname: Linux 4.4.0-83-generic x86_64
.tmp.unity_support_test.0:

ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
Date: Tue Aug 1 10:52:58 2017
DistUpgraded: 2016-08-24 16:49:18,141 ERROR got error from PostInstallScript ./xorg_fix_proprietary.py (Failed to execute child process "./xorg_fix_proprietary.py" (No such file or directory))
DistroCodename: xenial
DistroVariant: ubuntu
DkmsStatus:
 virtualbox, 5.0.40, 4.4.0-83-generic, x86_64: installed
 virtualbox, 5.0.40, 4.4.0-87-generic, x86_64: installed
DuplicateSignature:
 package:libgl1-mesa-dri:17.0.7-0ubuntu0.16.04.1
 Unpacking imagemagick (8:6.8.9.9-7ubuntu5.9) over (8:6.8.9.9-7ubuntu5.8) ...
 dpkg: error processing archive /var/cache/apt/archives/imagemagick_8%3a6.8.9.9-7ubuntu5.9_amd64.deb (--unpack):
  symbolic link '/usr/share/doc/imagemagick/changelog.Debian.gz' size has changed from 88 to 40
ErrorMessage: symbolic link '/usr/share/doc/libgl1-mesa-dri/changelog.Debian.gz' size has changed from 80 to 36
ExtraDebuggingInterest: I just need to know a workaround
GraphicsCard:
 Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA controller])
   Subsystem: Acer Incorporated [ALI] 3rd Gen Core processor Graphics Controller [1025:0686]
 NVIDIA Corporation GK107M [GeForce GT 650M] [10de:0fd1] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: Acer Incorporated [ALI] GK107M [GeForce GT 650M] [1025:0686]
InstallationDate: Installed on 2014-06-21 (1136 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
MachineType: Acer Aspire V3-771
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-83-generic root=UUID=9d68dd8c-b453-4095-b439-546edd108df3 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.2
 apt 1.2.24
SourcePackage: mesa
Title: package libgl1-mesa-dri 17.0.7-0ubuntu0.16.04.1 failed to install/upgrade: symbolic link '/usr/share/doc/libgl1-mesa-dri/changelog.Debian.gz' size has changed from 80 to 36
UpgradeStatus: Upgraded to xenial on 2016-08-24 (341 days ago)
dmi.bios.date: 03/06/2013
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: V1.15
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: VA70_HC
dmi.board.vendor: Type2 - Board Vendor Name1
dmi.board.version: Type2 - Board Version
dmi.chassis.type: 10
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnInsydeCorp.:bvrV1.15:bd03/06/2013:svnAcer:pnAspireV3-771:pvrV1.15:rvnType2-BoardVendorName1:rnVA70_HC:rvrType2-BoardVersion:cvnChassisManufacturer:ct10:cvrChassisVersion:
dmi.product.name: Aspire V3-771
dmi.product.version: V1.15
dmi.sys.vendor: Acer
version.compiz: compiz 1:0.9.12.2+16.04.20160823-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.76-1~ubuntu16.04.1
version.libgl1-mesa-dri: libgl1-mesa-dri 17.0.7-0ubuntu0.16.04.1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 17.0.7-0ubuntu0.16.04.1
version.xserver-xorg-core: xserver-xorg-core 2:1.18.4-0ubuntu0.3
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.1-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.7.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1.2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.12-1build2
xserver.bootTime: Tue Aug 1 10:46:56 2017
xserver.configfile: default
xserver.errors:
 Failed to load module "nvidia" (module does not exist, 0)
 Failed to load module "nvidia" (module does not exist, 0)
 NOUVEAU(G0): [XvMC] Failed to initialize extension.
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
 product id 5920
 vendor CMO
xserver.version: 2:1.18.4-0ubuntu0.3

Revision history for this message
CVSH (cvsh) wrote :
tags: removed: need-duplicate-check
Revision history for this message
CVSH (cvsh) wrote :

I suppose this not really a mesa bug as it occurs with many packages which I try to install,
so I'm changing it to dpkg, since that seems to be where symlinks are checked for size

affects: mesa (Ubuntu) → dpkg (Ubuntu)
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.