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

2017-08-01 Thread CVSH
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

** Package changed: mesa (Ubuntu) => dpkg (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1707865

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1707865/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1707865] [NEW] 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

2017-08-01 Thread CVSH
Public bug reported:

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-