Forum
Beta2 [UPGRADE INSTRUCTIONS ONLY!] - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Releases (/forum-48.html)
+--- Thread: Beta2 [UPGRADE INSTRUCTIONS ONLY!] (/thread-1768.html)

Pages: 1 2 3 4 5 6


RE: Beta2 [UPGRADE INSTRUCTIONS ONLY!] - Ulk Bäär - 6th Dec, 2013 06:58 PM

Thank you for the explanation.

I booted with
cmdline.txt Wrote:rootflags=subvol=/@,autodefrag,compress=lzo
and
your proposal Wrote:rootflags=subvol=.,autodefrag,compress=lzo
and
cmdline.default Wrote:rootflags=subvol=root/@,autodefrag,compress=lzo
in cmdline.txt
Some of those also wuthout ,autodefrag,compress=lzo .

Always black screen with only an underscore in the top left (not blinking) and only the red LED of the RPI lit.
Using the files provided in post #18 I get a complete black screen.


RE: Beta2 [UPGRADE INSTRUCTIONS ONLY!] - mk01 - 6th Dec, 2013 08:02 PM

so this actual status after reboot was called after apt-get finished upgrading the last available package ?

is initramfs.gz line uncomented in /boot/config.txt ?

if you all answer are yes, reformat /boot partition (NOT CARD, JUST THE FAT PART) and unpack http://xbian.brantje.com/others/boot20131206.zip to it.


RE: Beta2 [UPGRADE INSTRUCTIONS ONLY!] - Ulk Bäär - 6th Dec, 2013 11:32 PM

(6th Dec, 2013 08:02 PM)mk01 Wrote:  is initramfs.gz line uncomented in /boot/config.txt ?

No.
Fixed it. With the next boot it converts to btrfs, reboots and then recovery boot console.

Quote:Mounting root as: mount t ext4 -o rw, subvol=/@, autodefrag,compress=lzo,noatime /dev/mmcblk0p2 /rootfs
mount: unknown filesystem type 'ext4'
Mounting root partition /dev/mmcblk0p2 failed

If I change the rootfs type in the config.txt to btrfs it converts the sd card again and revocery boot console.
If I exit the console then a lot of rm -r /... stuff is going on.


Beta2 [UPGRADE INSTRUCTIONS ONLY!] - mk01 - 6th Dec, 2013 11:37 PM

thats ok already just correct subvol to root/@

now it is just /@


RE: Beta2 [UPGRADE INSTRUCTIONS ONLY!] - Ulk Bäär - 7th Dec, 2013 12:47 AM

(6th Dec, 2013 11:37 PM)mk01 Wrote:  thats ok already just correct subvol to root/@

nope, this does not help. still recovery console.

I tried also your boot folder from post #62:
Quote:no filesystem could mount root, tried: btrfs
kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)

I guess it's still not converted to btrfs even the splash screen makes you belief it!?


RE: Beta2 [UPGRADE INSTRUCTIONS ONLY!] - mk01 - 8th Dec, 2013 12:03 AM

in that case check /boot/config.txt where probably
Code:
initramfs initramfs.gz  0x00a00000

is missing or is commented out. put it as first line and try.

initramfs will try to convert in case physical partition is ext4, but rootfstype=btrfs.


RE: Beta2 [UPGRADE INSTRUCTIONS ONLY!] - cooLopke - 8th Dec, 2013 04:15 AM

Hello forum members,

I followed the upgrade instructions in this thread:

I placed this source in the sources.list file:

Terminal
deb http://xbian.brantje.com wheezy main

After that I ran the following commands:

Terminal
sudo -i
apt-get clean; apt-get update; apt-get upgrade

Now when I do this:

Terminal
apt-get install xbian-update

I get the following:

Terminal
xbian@xbian ~ $ sudo apt-get install xbian-update
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
xbian-package-initramfs-tools : Depends: xbian-package-kernel (>= 1.3-5.5) but 1.2-2 is to be installed
xbian-package-zram-swap : Breaks: xbian-package-usbmount (< 1.0-0.7) but 1.0-0.6 is to be installed
xbian-update : Depends: ir-keytable but it is not installable
Depends: xbian-package-samba but it is not going to be installed
Depends: lsof but it is not installable
Depends: update-notifier-common but it is not installable
Depends: unattended-upgrades but it is not installable
PreDepends: openbsd-inetd but it is not installable
Breaks: xbian-package-config-shell (< 2.1.6-48b) but 2.1.3-3 is to be installed
Breaks: xbian-package-config-xbmc (< 1.1.4-1) but 1.1-2 is to be installed
Breaks: xbian-package-kernel (< 1.3-5.5) but 1.2-2 is to be installed
Breaks: xbian-package-usbmount (< 1.0.4-7) but 1.0-0.6 is to be installed
Breaks: xbian-package-xbmc (< 2.9-10.13)
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

I also tried this:

Terminal
xbian@xbian ~ $ sudo apt-get install xbian-update xbian-package-xbmc xbian-package-usbmount xbian-package-kernel xbian-package-config-xbmc xbian-package-config-shell
[sudo] password for xbian:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
xbian-package-config-shell : Depends: kpartx but it is not installable
Depends: apt-show-versions but it is not installable
xbian-package-kernel : Depends: rng-tools but it is not installable
xbian-package-usbmount : Depends: ufsutils but it is not installable
xbian-package-xbmc : Depends: libhal-storage1 but it is not installable
Depends: libhal1 but it is not installable
xbian-update : Depends: ir-keytable but it is not installable
Depends: xbian-package-samba but it is not going to be installed
Depends: lsof but it is not installable
Depends: update-notifier-common but it is not installable
Depends: unattended-upgrades but it is not installable
PreDepends: openbsd-inetd but it is not installable
E: Unable to correct problems, you have held broken packages.

Can someone please help me?


RE: Beta2 [UPGRADE INSTRUCTIONS ONLY!] - cooLopke - 8th Dec, 2013 08:44 PM

(8th Dec, 2013 04:15 AM)cooLopke Wrote:  Hello forum members,

I followed the upgrade instructions in this thread:

I placed this source in the sources.list file:

Terminal
deb http://xbian.brantje.com wheezy main

After that I ran the following commands:

Terminal
sudo -i
apt-get clean; apt-get update; apt-get upgrade

Now when I do this:

Terminal
apt-get install xbian-update

I get the following:

Terminal
xbian@xbian ~ $ sudo apt-get install xbian-update
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
xbian-package-initramfs-tools : Depends: xbian-package-kernel (>= 1.3-5.5) but 1.2-2 is to be installed
xbian-package-zram-swap : Breaks: xbian-package-usbmount (< 1.0-0.7) but 1.0-0.6 is to be installed
xbian-update : Depends: ir-keytable but it is not installable
Depends: xbian-package-samba but it is not going to be installed
Depends: lsof but it is not installable
Depends: update-notifier-common but it is not installable
Depends: unattended-upgrades but it is not installable
PreDepends: openbsd-inetd but it is not installable
Breaks: xbian-package-config-shell (< 2.1.6-48b) but 2.1.3-3 is to be installed
Breaks: xbian-package-config-xbmc (< 1.1.4-1) but 1.1-2 is to be installed
Breaks: xbian-package-kernel (< 1.3-5.5) but 1.2-2 is to be installed
Breaks: xbian-package-usbmount (< 1.0.4-7) but 1.0-0.6 is to be installed
Breaks: xbian-package-xbmc (< 2.9-10.13)
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

I also tried this:

Terminal
xbian@xbian ~ $ sudo apt-get install xbian-update xbian-package-xbmc xbian-package-usbmount xbian-package-kernel xbian-package-config-xbmc xbian-package-config-shell
[sudo] password for xbian:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
xbian-package-config-shell : Depends: kpartx but it is not installable
Depends: apt-show-versions but it is not installable
xbian-package-kernel : Depends: rng-tools but it is not installable
xbian-package-usbmount : Depends: ufsutils but it is not installable
xbian-package-xbmc : Depends: libhal-storage1 but it is not installable
Depends: libhal1 but it is not installable
xbian-update : Depends: ir-keytable but it is not installable
Depends: xbian-package-samba but it is not going to be installed
Depends: lsof but it is not installable
Depends: update-notifier-common but it is not installable
Depends: unattended-upgrades but it is not installable
PreDepends: openbsd-inetd but it is not installable
E: Unable to correct problems, you have held broken packages.

Can someone please help me?

I finally got this working. I updated my sources.list file to:

Terminal
deb http://xbian.brantje.com wheezy main
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free $
deb mirror://apt.xbian.org/mirror.txt wheezy main

Now it could find the dependencies packages, which first it didn't because I only had "deb http://xbian.branje.com wheezy main" in sources.list

After that the installation continued but I encountered the same error as calisro:

Terminal
(Reading database ... 30720 files and directories currently installed.)
Preparing to replace xbian-package-config-xbmc 1.1-2 (using .../xbian-package-config-xbmc_1.1.4-3_armhf.deb) ...
Unpacking replacement xbian-package-config-xbmc ...
dpkg: considering deconfiguration of xbian-package-initramfs-tools, which would be broken by installation of xbian-package-config-shell ...
dpkg: no, xbian-package-initramfs-tools is essential, will not deconfigure
it in order to enable installation of xbian-package-config-shell
dpkg: error processing /var/cache/apt/archives/xbian-package-config-shell_2.1.6-51a_armhf.deb (--unpack):
installing xbian-package-config-shell would break existing software
Preparing to replace xbian-package-kernel 1.2-2 (using .../xbian-package-kernel_1.3-5.5_armhf.deb) ...
Unpacking replacement xbian-package-kernel ...
dpkg: warning: unable to delete old directory '/lib/modules/3.9.8+': Directory not empty
Preparing to replace xbian-package-xbmc 2.3-0.4 (using .../xbian-package-xbmc_2.9-10.13_armhf.deb) ...
Unpacking replacement xbian-package-xbmc ...
Errors were encountered while processing:
/var/cache/apt/archives/xbian-package-config-shell_2.1.6-51a_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I solved this problem by executing the command corona said:

Terminal
sudo apt-get install -f xbian-update=1.0.2-8d xbian-package-config-shell=2.1.6-51a xbian-package-initramfs-tools=1.3.1-5b xbian-package-xbmc-scripts libhal-storage1 libhal1

Special thanks to Corona!


RE: Beta2 [UPGRADE INSTRUCTIONS ONLY!] - Ulk Bäär - 9th Dec, 2013 04:09 AM

(8th Dec, 2013 12:03 AM)mk01 Wrote:  in that case check /boot/config.txt where probably
Code:
initramfs initramfs.gz  0x00a00000

is missing or is commented out. put it as first line and try.

initramfs will try to convert in case physical partition is ext4, but rootfstype=btrfs.

And again it had a # as first char.
Now it keeps rebooting everytime after
Code:
Scanning for btrfs filesystems

It messed around with diffrent initramfs.gz files and complete boot folders. now it won't even give me a black screen. Also with a restored version.
I will probably install a clean beta2 or revert to a pre-update image and try again. Undecided
Any idea why it's not working for me?

Thank you for your help so far!


RE: Beta2 [UPGRADE INSTRUCTIONS ONLY!] - mk01 - 13th Dec, 2013 12:44 PM

@Ulk Bäär,

if it is Alpha5, do it in two steps. but before you start edit /etc/apt/sources.list and add stable and staging repository so it would look like:
Code:
deb http://xbian.brantje.com stable main
deb http://xbian.brantje.com staging main

there are some changes yet to be released but should be of help for you. run "apt-get update". then in first round "apt-get install xbian-package-kernel". this should install initramfs as well. reboot after this gets installed. then if it works, continue with install xbian-update.


RE: Beta2 [UPGRADE INSTRUCTIONS ONLY!] - anagram - 16th Apr, 2014 05:24 AM

(8th Dec, 2013 08:44 PM)cooLopke Wrote:  I finally got this working. I updated my sources.list file to:

Terminal
deb http://xbian.brantje.com wheezy main
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free $
deb mirror://apt.xbian.org/mirror.txt wheezy main

Now it could find the dependencies packages, which first it didn't because I only had "deb http://xbian.branje.com wheezy main" in sources.list

After that the installation continued but I encountered the same error as calisro:

Terminal
(Reading database ... 30720 files and directories currently installed.)
Preparing to replace xbian-package-config-xbmc 1.1-2 (using .../xbian-package-config-xbmc_1.1.4-3_armhf.deb) ...
Unpacking replacement xbian-package-config-xbmc ...
dpkg: considering deconfiguration of xbian-package-initramfs-tools, which would be broken by installation of xbian-package-config-shell ...
dpkg: no, xbian-package-initramfs-tools is essential, will not deconfigure
it in order to enable installation of xbian-package-config-shell
dpkg: error processing /var/cache/apt/archives/xbian-package-config-shell_2.1.6-51a_armhf.deb (--unpack):
installing xbian-package-config-shell would break existing software
Preparing to replace xbian-package-kernel 1.2-2 (using .../xbian-package-kernel_1.3-5.5_armhf.deb) ...
Unpacking replacement xbian-package-kernel ...
dpkg: warning: unable to delete old directory '/lib/modules/3.9.8+': Directory not empty
Preparing to replace xbian-package-xbmc 2.3-0.4 (using .../xbian-package-xbmc_2.9-10.13_armhf.deb) ...
Unpacking replacement xbian-package-xbmc ...
Errors were encountered while processing:
/var/cache/apt/archives/xbian-package-config-shell_2.1.6-51a_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I solved this problem by executing the command corona said:

Terminal
sudo apt-get install -f xbian-update=1.0.2-8d xbian-package-config-shell=2.1.6-51a xbian-package-initramfs-tools=1.3.1-5b xbian-package-xbmc-scripts libhal-storage1 libhal1

Special thanks to Corona!

Hi,
I have the same situation here, but not the same versions of packages being installed or in errors.
I'm trying to update from Alpha 5, but got these errors :
Terminal
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
xbian-package-initramfs-tools : Depends: xbian-package-kernel (>= 1.3-6.3a) but it is not going to be installed or
xbian-package-kernel-6q but it is not installable
xbian-update : Depends: autofs but it is not going to be installed
Depends: xbian-package-kernel but it is not going to be installed or
xbian-package-kernel-6q but it is not installable
Depends: unattended-upgrades but it is not installable
Depends: xbian-package-vnc-server (>= 1.0.0-2) but it is not going to be installed
Depends: xbian-package-xbmc-scripts (>= 1.0.1-23) but it is not going to be installed
Depends: xbian-package-cec (>= 1.1-0.3) but it is not going to be installed or
xbian-package-cec-6q but it is not going to be installed
Depends: xbian-package-lirc (>= 1.4-8.8) but 1.3 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

If I try the command Corona said, it still gives me an error.
Also tried mk01 solution with the 2 other repositories, and trying to install apt-get install xbian-package-kernel but that gives me an error too :
Terminal
root@xbian:~# apt-get install xbian-package-kernel
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
xbian-package-config-xbmc : Depends: xbian-update (>= 1.0.2-7c) but 1.0-0.5 is to be installed
xbian-update : Depends: console-tools but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Any idea?


RE: Beta2 [UPGRADE INSTRUCTIONS ONLY!] - belese - 16th Apr, 2014 05:27 AM

Any idea?

and if you try what is proposed?
apt-get -f install


RE: Beta2 [UPGRADE INSTRUCTIONS ONLY!] - mk01 - 16th Apr, 2014 05:31 AM

@anagram

just follow the general rule for such cases and list all NEEDED (and reported as missing or not going to be installed) packages onto command line for apt-get install. so in your case probably

Code:
sudo -i
apt-get install xbian-update xbian-package-kernel xbian-package-cec xbian-package-initramfs-tools .......

!!! just don't put any packages with "-6q" suffix, this are Cubox packages. if any deb will be listed by apt-get as "xbian-package-kernel OR xbian-package-kernel-6q" always take the one WITHOUT suffix.


RE: Beta2 [UPGRADE INSTRUCTIONS ONLY!] - anagram - 16th Apr, 2014 05:49 AM

It seems to be going in circles.
Whatever package I try to install, it says others are missing, and if I try to install those, the message says the first ones I tried are missing.

I don't get it.

How can I get the full list of what is needed, reported missing or not being installed?

what does the part "xbian-update (>= 1.0.2-7c) but 1.0-0.5 is to be installed" mean? Feels like I have version greater than 1.0.2-7 installed and that it needs a smaller version (1.0-0.5) to be installed.


Beta2 [UPGRADE INSTRUCTIONS ONLY!] - mk01 - 16th Apr, 2014 02:41 PM

don't replace the package names. always ADD those still 'missing' to one cmd line so it will grow. until you satisfy apt-get's need.