Apologies if this has already been answered, but I didn't get meaningful results when I searched for several error messages I found.
I used the instructions in the OP to upgrade from B1.1:
Change sources.list to devel repo, then
Terminal
apt-get clean && apt-get update && apt-get upgrade -y && apt-get install xbian-update
at this point I made note of the packages that were held back before I confirmed that I wanted to install xbian-update.
I then ran
Terminal
rm -f /etc/init.d/mountall*
insserv -f
apt-get upgrade
and finally I installed xbian-update with held back packages with
Terminal
apt-get install xbian-package-config-shell xbian-package-config-xbmc xbian-package-initramfs-tools xbian-package-kernel xbian-package-samba xbian-package-splash xbian-package-xbmc xbian-update
at this point I confirmed that there were no remaining held back packages before I confirmed the installation. At the end of the installation, apt returned
Terminal
Errors were encountered while processing:
/var/cache/apt/archives/xbian-package-xbmc_2.9-10.13_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
So I checked the history, and sure enough there was something going on when xbmc installed. Here are the relevant bits.
Terminal
dpkg: considering deconfiguration of xbian-update, which would be broken by installation of xbian-package-xbmc ...
dpkg: no, xbian-update is essential, will not deconfigure
it in order to enable installation of xbian-package-xbmc
dpkg: error processing /var/cache/apt/archives/xbian-package-xbmc_2.9-10.13_armhf.deb (--unpack):
installing xbian-package-xbmc would break existing software
dpkg: considering deconfiguration of xbian-package-xbmc, which would be broken by installation of xbian-update ...
dpkg: yes, will deconfigure xbian-package-xbmc (broken by xbian-update)
(Reading database ... 40436 files and directories currently installed.)
Preparing to replace xbian-update 1.0-1.1 (using .../xbian-update_1.0.2-8d_armhf.deb) ...
De-configuring xbian-package-xbmc ...
Unpacking replacement xbian-update ...
Replacing files in old package upstart ...
Replacing files in old package base-files ...
Selecting previously unselected package xbian-package-xbmc-scripts.
Unpacking xbian-package-xbmc-scripts (from .../xbian-package-xbmc-scripts_1.0.1-13c_armhf.deb) ...
Replacing files in old package xbian-package-xbmc ...
Processing triggers for xbian-package-initramfs-tools ...
Errors were encountered while processing:
/var/cache/apt/archives/xbian-package-xbmc_2.9-10.13_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A full transcript of the SSH session is
here
Any idea where I go from here? Should I (and can I) install xbian-update without including the new xbmc package?
(7th Nov, 2013 05:00 AM)adepssimius Wrote: [ -> ]Apologies if this has already been answered, but I didn't get meaningful results when I searched for several error messages I found.
I used the instructions in the OP to upgrade from B1.1:
Change sources.list to devel repo, then
Terminal
apt-get clean && apt-get update && apt-get upgrade -y && apt-get install xbian-update
at this point I made note of the packages that were held back before I confirmed that I wanted to install xbian-update.
I then ran
Terminal
rm -f /etc/init.d/mountall*
insserv -f
apt-get upgrade
and finally I installed xbian-update with held back packages with
Terminal
apt-get install xbian-package-config-shell xbian-package-config-xbmc xbian-package-initramfs-tools xbian-package-kernel xbian-package-samba xbian-package-splash xbian-package-xbmc xbian-update
at this point I confirmed that there were no remaining held back packages before I confirmed the installation. At the end of the installation, apt returned Terminal
Errors were encountered while processing:
/var/cache/apt/archives/xbian-package-xbmc_2.9-10.13_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
So I checked the history, and sure enough there was something going on when xbmc installed. Here are the relevant bits.
Terminal
dpkg: considering deconfiguration of xbian-update, which would be broken by installation of xbian-package-xbmc ...
dpkg: no, xbian-update is essential, will not deconfigure
it in order to enable installation of xbian-package-xbmc
dpkg: error processing /var/cache/apt/archives/xbian-package-xbmc_2.9-10.13_armhf.deb (--unpack):
installing xbian-package-xbmc would break existing software
dpkg: considering deconfiguration of xbian-package-xbmc, which would be broken by installation of xbian-update ...
dpkg: yes, will deconfigure xbian-package-xbmc (broken by xbian-update)
(Reading database ... 40436 files and directories currently installed.)
Preparing to replace xbian-update 1.0-1.1 (using .../xbian-update_1.0.2-8d_armhf.deb) ...
De-configuring xbian-package-xbmc ...
Unpacking replacement xbian-update ...
Replacing files in old package upstart ...
Replacing files in old package base-files ...
Selecting previously unselected package xbian-package-xbmc-scripts.
Unpacking xbian-package-xbmc-scripts (from .../xbian-package-xbmc-scripts_1.0.1-13c_armhf.deb) ...
Replacing files in old package xbian-package-xbmc ...
Processing triggers for xbian-package-initramfs-tools ...
Errors were encountered while processing:
/var/cache/apt/archives/xbian-package-xbmc_2.9-10.13_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A full transcript of the SSH session is here
Any idea where I go from here? Should I (and can I) install xbian-update without including the new xbmc package?
I resolved this already. I was able to fix with an
Terminal
apt-get -f install
which fixed the issue. A week or two ago when I tried (what i thought was) the same procedure I got a different result. Either way, resolution is documented for posterity.