Forum
[PROBLEM] apt dependency problems - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Configuration (/forum-17.html)
+--- Thread: [PROBLEM] apt dependency problems (/thread-2057.html)



apt dependency problems - Phillez - 26th Jan, 2014 06:27 PM

Hi

I am having issues upgrading my system.
After trying to install transmission i get these dependency errors errors from apt:

Terminal

$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libcairo-gobject2 libcairo2 libgtk-3-0 libpango1.0-0 libxcb-shm0 libxcursor1
libxft2 libxrandr2 libxrender1
The following packages have been kept back:
xbian-package-cec xbian-package-config-shell xbian-package-initramfs-tools
xbian-package-kernel xbian-package-xbmc xbian-update
The following packages will be upgraded:
xbian-package-config-xbmc xbian-package-firmware xbian-package-splash
xbian-package-vnc-server
4 upgraded, 0 newly installed, 9 to remove and 6 not upgraded.
34 not fully installed or removed.
Need to get 0 B/3.755 kB of archives.
After this operation, 7.940 kB disk space will be freed.
Do you want to continue [Y/n]? y
Create a snapshot of '/tmp/btrfs-snap/root/@' in '/tmp/btrfs-snap/root/@btrfs-au to-snap_apt-run-2014-01-26-0924'
Delete subvolume '/tmp/btrfs-snap/root/@btrfs-auto-snap_apt-run-2014-01-26-0857'
@btrfs-auto-snap_apt-run-2014-01-26-0924, 1 created snapshots, 1 destroyed snaps hots, 0 warnings.
(Reading database ... 35562 files and directories currently installed.)
Removing libgtk-3-0:armhf ...
Aborted
dpkg: error processing libgtk-3-0:armhf (--remove):
subprocess installed post-removal script returned error exit status 134
Removing libcairo-gobject2:armhf ...
Aborted
dpkg: error processing libcairo-gobject2:armhf (--remove):
subprocess installed post-removal script returned error exit status 134
Removing libpango1.0-0:armhf ...
Aborted
dpkg: error processing libpango1.0-0:armhf (--remove):
subprocess installed post-removal script returned error exit status 134
Removing libcairo2:armhf ...
Aborted
dpkg: error processing libcairo2:armhf (--remove):
subprocess installed post-removal script returned error exit status 134
Removing libxcb-shm0:armhf ...
Aborted
dpkg: error processing libxcb-shm0:armhf (--remove):
subprocess installed post-removal script returned error exit status 134
Removing libxcursor1:armhf ...
Aborted
dpkg: error processing libxcursor1:armhf (--remove):
subprocess installed post-removal script returned error exit status 134
Removing libxft2:armhf ...
Aborted
dpkg: error processing libxft2:armhf (--remove):
subprocess installed post-removal script returned error exit status 134
Removing libxrandr2:armhf ...
Aborted
dpkg: error processing libxrandr2:armhf (--remove):
subprocess installed post-removal script returned error exit status 134
Removing libxrender1:armhf ...
Aborted
dpkg: error processing libxrender1:armhf (--remove):
subprocess installed post-removal script returned error exit status 134
Errors were encountered while processing:
libgtk-3-0:armhf
libcairo-gobject2:armhf
libpango1.0-0:armhf
libcairo2:armhf
libxcb-shm0:armhf
libxcursor1:armhf
libxft2:armhf
libxrandr2:armhf
libxrender1:armhf
E: Sub-process /usr/bin/dpkg returned an error code (1)

I tried removing the packages manually but was unable to do that.
Is there any way to fix this?


RE: apt dependency problems - IriDium - 27th Jan, 2014 03:53 AM

Sounds like something (Transmission - did you follow the Xbian guide?) has installed different versions of some programs.

If you know when you had a good system, you could try the XBMC - Xbian-Config -> Backup -> Rollback to a snapshot function.

I've not used it in earnest but you can only try.