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
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/
rm /usr/share/
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-
The following packages will be upgraded:
libgl1-
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-
Unpacking libgl1-
dpkg: error processing archive /var/cache/
symbolic link '/usr/share/
Errors were encountered while processing:
/var/cache/
$
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-
The following packages will be upgraded:
libgl1-
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-
Unpacking libgl1-
Setting up libgl1-
Installing new version of config file /etc/drirc ...
Setting up libgl1-
Setting up libegl1-mesa:amd64 (17.0.7-
Setting up libwayland-
Processing triggers for libc-bin (2.23-0ubuntu9) ...
$
Regards
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: libgl1-mesa-dri 17.0.7-
ProcVersionSign
Uname: Linux 4.4.0-83-generic x86_64
.tmp.unity_
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
CompizPlugins: No value set for `/apps/
CompositorRunning: None
Date: Tue Aug 1 10:52:58 2017
DistUpgraded: 2016-08-24 16:49:18,141 ERROR got error from PostInstallScript ./xorg_
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:
Unpacking imagemagick (8:6.8.
dpkg: error processing archive /var/cache/
symbolic link '/usr/share/
ErrorMessage: symbolic link '/usr/share/
ExtraDebuggingI
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=
RelatedPackageV
dpkg 1.18.4ubuntu1.2
apt 1.2.24
SourcePackage: mesa
Title: package libgl1-mesa-dri 17.0.7-
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.
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.
dmi.modalias: dmi:bvnInsydeCo
dmi.product.name: Aspire V3-771
dmi.product.
dmi.sys.vendor: Acer
version.compiz: compiz 1:0.9.12.
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.76-
version.
version.
version.
version.
version.
version.
version.
version.
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
tags: | removed: need-duplicate-check |
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