Forum

Full Version: dpkg error while installing xbian-update/firmware during apt-get upgrade
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Terminal
dpkg: regarding .../xbian-package-firmware_1.6.0_armhf.deb containing xbian-package-firmware:
xbian-update conflicts with libraspberrypi0
xbian-package-firmware provides libraspberrypi0 and is to be installed.

dpkg: error processing /var/cache/apt/archives/xbian-package-firmware_1.6.0_armhf.deb (--unpack):
conflicting packages - not installing xbian-package-firmware
Errors were encountered while processing:
/var/cache/apt/archives/xbian-package-firmware_1.6.0_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Getting this error while running
apt-get clean
apt-get update
apt-get upgrade

Was having trouble with http://www.xbian.brantje.com in the source list but edited that as per the faq and am now here
Have you tried upgrading via xbian-config? It's the preferred route.
Terminal
┌───────────[Config > Updates > Check deb upgrades]──────────────┐
│ Reading package lists... │
│ Building dependency tree... │
│ Reading state information... │
│ You might want to run 'apt-get -f install' to correct these. │
│ The following packages have unmet dependencies: │
│ xbian-package-xbmc : Depends: xbian-package-firmware (>= 1.5. │
│ E: Unmet dependencies. Try using -f. │
│ │
│ │
│ │
│ │

Get this with xbian-config

With sudo apt get -f install

Terminal
xbian@xbian ~ $ sudo apt-get -f install
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:
libhal-storage1 libhal1 update-notifier-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
xbian-package-firmware xbian-update
The following packages will be upgraded:
xbian-package-firmware xbian-update
2 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
1 not fully installed or removed.
Need to get 0 B/3,369 kB of archives.
After this operation, 27.6 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Create a snapshot of '/tmp/btrfs-snap/root/@' in '/tmp/btrfs-snap/root/@btrfs-auto-snap_apt-run-2014-11-04-2234'
Transaction commit: none (default)
Delete subvolume '/tmp/btrfs-snap/root/@last_good_known'
Create a snapshot of '/tmp/btrfs-snap/root/@btrfs-auto-snap_apt-run-2014-11-04-2234' in '/tmp/btrfs-snap/root/@last_good_known'
Transaction commit: none (default)
Delete subvolume '/tmp/btrfs-snap/root/@btrfs-auto-snap_apt-run-2014-11-04-2118'
@btrfs-auto-snap_apt-run-2014-11-04-2234, 1 created snapshots, 1 destroyed snapshots, 0 warnings.
dpkg: regarding .../xbian-package-firmware_1.6.0_armhf.deb containing xbian-package-firmware:
xbian-update conflicts with libraspberrypi0
xbian-package-firmware provides libraspberrypi0 and is to be installed.

dpkg: error processing /var/cache/apt/archives/xbian-package-firmware_1.6.0_armhf.deb (--unpack):
conflicting packages - not installing xbian-package-firmware
Errors were encountered while processing:
/var/cache/apt/archives/xbian-package-firmware_1.6.0_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
force finish the install with:

dpkg --force-all -i xbian-package-firmware_1.6.0_armhf.deb
dpkg --force-all -i xbian-update_1.0.2-111_armhf.deb

(download those packages first with apt-get download xbian-update xbian-package-firmware)

retry apt-get then
Reference URL's