Forum

Full Version: Strange update behaviour.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Software

/etc/os-release:
PRETTY_NAME="XBian 1.0 (knockout)"
NAME=XBian
VERSION_ID=1.0
VERSION="1.0 (knockout)"

/etc/xbian-codename:
jessie
/etc/xbian_version:
1.0RC2
/etc/xbian_revision:
000124

Problem description:

Hallo
When I SSH into xbian (on RPI B+), there is a blinking message:

216 packages can be updated.
0 updates are security updates.

However, when running 'apt-get upgrade', it does nothing:

sudo apt-get update && sudo apt-get upgrade
Hit http://mirrordirector.raspbian.org wheezy Release.gpg
Hit http://mirrordirector.raspbian.org wheezy Release
Hit http://apt.xbian.org stable Release.gpg
Hit http://mirrordirector.raspbian.org wheezy/main armhf Packages
Hit http://apt.xbian.org stable Release
Hit http://mirrordirector.raspbian.org wheezy/contrib armhf Packages
Hit http://apt.xbian.org stable/main armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/non-free armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/rpi armhf Packages
Ign http://apt.xbian.org stable/main Translation-en_US
Ign http://apt.xbian.org stable/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en_US
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en_US
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en_US
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en_US
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


Is it expected behaviour? How should I upgrade to the latest xbian? Unfortunately, I was not able to find an answer on the forum, so sorry if I have missed something ...

Thank you very much,
Dan T.


P.S. When I looked at the latest XBian_Latest_rpi.img, there are different items in /etc/apt/sources.list and /etc/apt/sources.list.d/xbian.list. Mine is (comments excluded):

/etc/apt/sources.list:
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi

/etc/apt/sources.list.d/xbian.list:
deb mirror://apt.xbian.org/mirror.txt stable main rpi-wheezy

which agrees with http://www.xbian.org/faq/. But the XBian_Latest_rpi.img is:

/etc/apt/sources.list:
deb http://mirrordirector.raspbian.org/raspbian/ jessie main non-free

/etc/apt/sources.list.d/xbian.list:
deb mirror://apt.xbian.org/mirror.txt stable main rpi-jessie
I forgot to mention that I carried out the steps described in http://www.xbian.org/faq/ under "The APT repository at xbian.brantje.com seems to be unreachable", since I have been affected by the error.

Also, running sudo apt-get update seems to never end, producing this output:
Code:
Hit http://mirrordirector.raspbian.org wheezy Release.gpg
Hit http://mirrordirector.raspbian.org wheezy Release
Hit http://apt.xbian.org stable Release.gpg                          
Hit http://mirrordirector.raspbian.org wheezy/main armhf Packages
Hit http://apt.xbian.org stable Release
Hit http://apt.xbian.org stable/main armhf Packages
Hit http://apt.xbian.org stable/rpi-wheezy armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/contrib armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/non-free armhf Packages
Hit http://mirrordirector.raspbian.org wheezy/rpi armhf Packages
Ign http://apt.xbian.org stable/main Translation-en_US
Ign http://apt.xbian.org stable/main Translation-en
Ign http://apt.xbian.org stable/rpi-wheezy Translation-en_US
Ign http://apt.xbian.org stable/rpi-wheezy Translation-en
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en_US
Ign http://mirrordirector.raspbian.org wheezy/contrib Translation-en
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en_US
Ign http://mirrordirector.raspbian.org wheezy/main Translation-en
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en_US
Ign http://mirrordirector.raspbian.org wheezy/non-free Translation-en
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en_US
Ign http://mirrordirector.raspbian.org wheezy/rpi Translation-en
Manually install xbian-package-repo. That should fix your sources.
(31st Dec, 2015 04:31 AM)CurlyMo Wrote: [ -> ]Manually install xbian-package-repo. That should fix your sources.

Thank you for your reply. Unfortunatelly, it did not helped as xbian-package-repo is up to date:
Code:
sudo apt-get install xbian-package-repo

Reading package lists... Done
Building dependency tree      
Reading state information... Done
xbian-package-repo is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I have also tried sudo apt-get install xbian-package-repo --reinstall, but is also did not stopped after the second OK. The output is as follows:
Code:
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/6,730 B of archives.
After this operation, 0 B of additional disk space will be used.
Create a snapshot of '/tmp/btrfs-snap/root/@' in '/tmp/btrfs-snap/root/@btrfs-auto-snap_apt-run-2015-12-30-1951'
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-2015-12-30-1951' in '/tmp/btrfs-snap/root/@last_good_known'
Transaction commit: none (default)
Delete subvolume '/tmp/btrfs-snap/root/@btrfs-auto-snap_apt-run-2015-12-29-0048'
@btrfs-auto-snap_apt-run-2015-12-30-1951, 1 created snapshots, 1 destroyed snapshots, 0 warnings.
(Reading database ... 2997 files and directories currently installed.)
Preparing to replace xbian-package-repo 20151107-1 (using .../xbian-package-repo_20151107-1_armhf.deb) ...
Unpacking replacement xbian-package-repo ...
Setting up xbian-package-repo (20151107-1) ...
OK
OK

Did I do it right?
Thank you again.
Any other advice, please?
Thank you.
This is really strange. I will test few options that came to my mind and let you know if they work.
(7th Jan, 2016 10:57 PM)FrankJackson84 Wrote: [ -> ]This is really strange. I will test few options that came to my mind and let you know if they work.

Thank you very much! Looking forward to hear what you find.
Anyway, I have new RPi 3 with new XBian installation now. So the update is not problem anymore.
Reference URL's