Comment 2 for bug 812658

Revision history for this message
Alex Kras (akrasnoborodkin) wrote :

sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  xorg
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1,566 B of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
(Reading database ... 161845 files and directories currently installed.)
Preparing to replace xorg 1:7.6+7ubuntu1 (using .../xorg_1%3a7.6+7ubuntu2_i386.deb) ...
Unpacking replacement xorg ...
dpkg: error processing /var/cache/apt/archives/xorg_1%3a7.6+7ubuntu2_i386.deb (--unpack):
 trying to overwrite '/usr/share/doc/xorg', which is also in package xserver-xorg 1:7.6+7ubuntu2
Errors were encountered while processing:
 /var/cache/apt/archives/xorg_1%3a7.6+7ubuntu2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)