*** This bug is a duplicate of bug 1193243 ***
    https://bugs.launchpad.net/bugs/1193243

Hi,

Same problem today for me.
To solve this, I need to manually backup the file :
  sudo mv /etc/xdg/Trolltech.conf{,.old}
Then fix the update :
  sudo apt-get install -f

After this, the file is not created, so I don't understand why dpkg complains 
about the overwrite of the file.
If needed, you could rename the backup to restore the file :
  sudo mv /etc/xdg/Trolltech.conf{.old,}

** This bug has been marked a duplicate of bug 1193243
   package libqtcore4 (not installed) failed to install/upgrade: trying to 
overwrite shared '/etc/xdg/Trolltech.conf', which is different from other 
instances of package libqtcore4:i386

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qt4-x11 in Ubuntu.
https://bugs.launchpad.net/bugs/1462621

Title:
  : Sub-process /usr/bin/dpkg returned an error code (1)

Status in qt4-x11 package in Ubuntu:
  Confirmed

Bug description:
  After xubuntu standard update it failed with a libqtcore4 error
  tried terminal  sudo apt-get install -f
  got another error

  in synaptic Package Manager did a update

   I got this error :

  (synaptic:3987): GLib-CRITICAL **: g_child_watch_add_full: assertion 'pid > 
0' failed
  (Reading database ... 893340 files and directories currently installed.)
  Preparing to unpack 
.../libqtcore4_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_amd64.deb ...
  Unpacking libqtcore4:amd64 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) over 
(4:4.8.5+git192-g085f851+dfsg-2ubuntu4) ...
  dpkg: error processing archive 
/var/cache/apt/archives/libqtcore4_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_amd64.deb
 (--unpack):
   trying to overwrite shared '/etc/xdg/Trolltech.conf', which is different 
from other instances of package libqtcore4:amd64
  Errors were encountered while processing:
   
/var/cache/apt/archives/libqtcore4_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_amd64.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  A package failed to install.  Trying to recover:

  system still trying to update it seems like it installs the correct
  Package I think it's to do with the removal of the old that the
  problem comes in

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: libqtcore4 4:4.8.5+git192-g085f851+dfsg-2ubuntu4
  ProcVersionSignature: Ubuntu 3.13.0-54.91-generic 3.13.11-ckt20
  Uname: Linux 3.13.0-54-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.11
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Sat Jun  6 14:05:11 2015
  InstallationDate: Installed on 2013-03-06 (822 days ago)
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 
(20120425)
  SourcePackage: qt4-x11
  UpgradeStatus: Upgraded to trusty on 2014-05-16 (386 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/1462621/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to