[SOLVED] Upgrade XBIAN 1.0RC2 Failed on Cubox-i i4Pro
|
16th Feb, 2015, 07:31 PM
Post: #1
|
|||
|
|||
[SOLVED] Upgrade XBIAN 1.0RC2 Failed on Cubox-i i4Pro
Hi
I have an almost stable XBIAN on a Cubox-i i4Pro since last summer. I did no update to keep it in this state. I tried to update it following the FAQ. At some point, /etc/apt/sources.list.d/xbian.list seems to be wrong and the update process stop. Terminal /etc/apt/sources.list.d/xbian.list deb mirror://apt.xbian.org/mirror.txt stable main __ARCH__ Below is ouputs I get with the state of /etc/apt/sources.list.d/xbian.list at each step. Thank you for any help Pascal Software XBian version: 1.0RC2 XBMC/Kodi version: 13.0-RC1 Git:20140501-55f5197 Overclock settings: defaut Hardware Device type and model : CuBox-i i4Pro Power supply rating: SD card size and make/type: 4Go Network (Ethernet or wireless): Ethernet Connected devices (TV, USB, network storage, ...): TV, USB storage Terminal I /etc/apt/sources.list Row 2 Col 1 9:35 Ctrl-K H for help deb http://ftp.sk.debian.org/debian jessie main Terminal I /etc/apt/sources.list.d/xbian.list Row 3 Col 1 9:36 Ctrl-K H for help deb http://xbian.brantje.com stable main deb http://xbian.brantje.com staging main #deb http://xbian.brantje.com devel main Terminal root@arwen:/home/xbian# echo "deb mirror://apt.xbian.org/mirror.txt stable main" > /etc/apt/sources.list.d/xbian.list Terminal I /etc/apt/sources.list.d/xbian.list Row 2 Col 1 9:39 Ctrl-K H for help deb mirror://apt.xbian.org/mirror.txt stable main Terminal root@arwen:/home/xbian# apt-get update Réception de : 1 http://ftp.sk.debian.org jessie InRelease [199 kB] Réception de : 2 http://www.mirrorservice.org/sites/apt.xbian.org/ stable InRelease [3 776 B] Réception de : 3 http://www.mirrorservice.org/sites/apt.xbian.org/ stable/main armhf Packages [24,1 kB] Réception de : 4 http://ftp.sk.debian.org jessie/main armhf Packages [6 644 kB] Ign http://www.mirrorservice.org/sites/apt.xbian.org/ stable/main Translation-fr_FR Ign http://www.mirrorservice.org/sites/apt.xbian.org/ stable/main Translation-fr Ign http://www.mirrorservice.org/sites/apt.xbian.org/ stable/main Translation-en Réception de : 5 http://ftp.sk.debian.org jessie/main Translation-fr [792 kB] Réception de : 6 http://ftp.sk.debian.org jessie/main Translation-en [4 604 kB] 12,3 Mo réceptionnés en 25s (479 ko/s) Lecture des listes de paquets... Fait root@arwen:/home/xbian# Terminal root@arwen:/home/xbian# apt-get install --reinstall lsb-release xbian-package-repo Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait Paquets suggérés : lsb Les paquets suivants seront mis à jour : lsb-release xbian-package-repo 2 mis à jour, 0 nouvellement installés, 0 à enlever et 382 non mis à jour. Il est nécessaire de prendre 31,7 ko dans les archives. Après cette opération, 64,5 ko d'espace disque supplémentaires seront utilisés. Réception de : 1 http://www.mirrorservice.org/sites/apt.xbian.org/ stable/main xbian-package-repo armhf 20150205-6 [5 160 B] Réception de : 2 http://ftp.sk.debian.org/debian/ jessie/main lsb-release all 4.1+Debian13+nmu1 [26,5 kB] 31,7 ko réceptionnés en 0s (81,7 ko/s) WARNING: Less than 30% of free space. Keeping only one single snapshot... Create a snapshot of '/tmp/btrfs-snap/root/@' in '/tmp/btrfs-snap/root/@btrfs-auto-snap_apt-run-2015-02-16-0948' 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-02-16-0948' in '/tmp/btrfs-snap/root/@last_good_known' Transaction commit: none (default) Delete subvolume '/tmp/btrfs-snap/root/@btrfs-auto-snap_apt-run-2014-06-05-2305' Transaction commit: none (default) Delete subvolume '/tmp/btrfs-snap/root/@btrfs-auto-snap_apt-run-2014-06-01-1936' @btrfs-auto-snap_apt-run-2015-02-16-0948, 1 created snapshots, 2 destroyed snapshots, 0 warnings. (Lecture de la base de données... 36155 fichiers et répertoires déjà installés.) Preparing to unpack .../xbian-package-repo_20150205-6_armhf.deb ... !!!!! THIS SPECIFIC REPO PKG UPDATE WILL UNCONDITIONALLY REPLACE /etc/apt/sources.list.d/xbian.list WITH A NEW VERSION RECHECK/MODIFY AFTER IF YOU USED TO CUSTOMISE IT !!!!! Unpacking xbian-package-repo (20150205-6) over (1.0.0) ... Replacing files in old package xbian-update (1.0.2-92b) ... dpkg: error processing archive /var/cache/apt/archives/xbian-package-repo_20150205-6_armhf.deb (--unpack): tentative de remplacement de trying replacing « /etc/apt/apt.conf.d/15update-stamp », qui appartient aussi au paquet wich belongs to the other package update-notifier-common 0.99.3debian11+perrm2+nmu1 gpg: impossible d'ouvrir impossible to open « /var/tmp/xbian.key/* » : Aucun fichier ou dossier de ce type no file or directory dpkg : erreur lors du nettoyage error when cleaning : le sous-processus script post-installation installé a retourné une erreur de sortie d'état 2 output error state 2 Preparing to unpack .../lsb-release_4.1+Debian13+nmu1_all.deb ... Unpacking lsb-release (4.1+Debian13+nmu1) over (4.1+Debian12) ... Des erreurs ont été rencontrées pendant l'exécution : /var/cache/apt/archives/xbian-package-repo_20150205-6_armhf.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Terminal I /etc/apt/sources.list.d/xbian.list Row 2 Col 1 9:55 Ctrl-K H for help deb mirror://apt.xbian.org/mirror.txt stable main __ARCH__ Terminal root@arwen:/home/xbian# apt-get update Atteint http://ftp.sk.debian.org jessie InRelease Atteint http://ftp.sk.debian.org jessie/main armhf Packages Atteint http://ftp.sk.debian.org jessie/main Translation-fr Atteint http://ftp.sk.debian.org jessie/main Translation-en Atteint http://www.mirrorservice.org/sites/apt.xbian.org/ stable InRelease Atteint http://www.mirrorservice.org/sites/apt.xbian.org/ stable/main armhf Packages W: Impossible de récupérer impossible to retrieve mirror://apt.xbian.org/mirror.txt/dists/stable/InRelease Impossible de trouver l'entrée impossible to find input « __ARCH__/binary-armhf/Packages » attendue dans le fichier « Release » : ligne non valable dans sources.list ou fichier corrompu E: Le téléchargement de quelques fichiers d'index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place. Downloading some files failed, they are ignored, or old ones are used |
|||
16th Feb, 2015, 08:44 PM
Post: #2
|
|||
|
|||
RE: [PROBLEM] Upgrade XBIAN 1.0RC2 Failed on Cubox-i i4Pro
The frontpage FAQ clearly describes how the final xbian.list should look like on both platforms.
pilight - modular domotica solution
|
|||
16th Feb, 2015, 10:13 PM
Post: #3
|
|||
|
|||
RE: [PROBLEM] Upgrade XBIAN 1.0RC2 Failed on Cubox-i i4Pro
(16th Feb, 2015 08:44 PM)CurlyMo Wrote: The frontpage FAQ clearly describes how the final xbian.list should look like on both platforms. Thank you for your answer Yes, that's right xbian.list is clearly described in the FAQ and that's why I wrote my /etc/apt/sources.list.d/xbian.list is wrong. /etc/apt/sources.list is ok. I tried to fill manually /etc/apt/sources.list.d/xbian.list. But if i do an apt-get update/upgrade, when proceeding /var/cache/apt/archives/xbian-package-repo_20150205-6_armhf.deb, /etc/apt/sources.list.d/xbian.list is changed with the wrong line I described in the previous post (with deb mirror://apt.xbian.org/mirror.txt stable main __ARCH__). So, I'm unable to go further in the update, even if I change manually /etc/apt/sources.list.d/xbian.list Any idea ? |
|||
16th Feb, 2015, 10:39 PM
Post: #4
|
|||
|
|||
RE: [PROBLEM] Upgrade XBIAN 1.0RC2 Failed on Cubox-i i4Pro
Can you set your language to english so those who don't speak french can read that the apt error is?
Also, can you remove update-notifier-common and try again? pilight - modular domotica solution
|
|||
16th Feb, 2015, 11:44 PM
Post: #5
|
|||
|
|||
RE: [PROBLEM] Upgrade XBIAN 1.0RC2 Failed on Cubox-i i4Pro
That's odd, I change language with xbian-config or with dpkg-reconfigure locales with reboot, everything is in english in xbmc except terminal... (any clue ?)
I put some translation in red in the original post Tell me if you need more Thank you I tried to remove update-notifier-common, but it always needs to install xbian-package-repo_20150205-6_armhf.deb, so apt-get remove doesn't work with the same issue I tried to remove it before doing anything with my xbian image. Since the old repository doesn't work, it's not possible. |
|||
17th Feb, 2015, 12:21 AM
Post: #6
|
|||
|
|||
RE: [PROBLEM] Upgrade XBIAN 1.0RC2 Failed on Cubox-i i4Pro
Can you remove this entry /etc/apt/apt.conf.d/15update-stamp from what i believe must be called:
Code: /var/lib/dpkg/info/update-notifier-common.list pilight - modular domotica solution
|
|||
17th Feb, 2015, 01:06 AM
Post: #7
|
|||
|
|||
RE: [PROBLEM] Upgrade XBIAN 1.0RC2 Failed on Cubox-i i4Pro
apt-get install --reinstall lsb-release xbian-package-repo is working now
I tried to finish my xbian upgrade The title of the thread could be changed as solved Thank you very much Pascal |
|||
17th Feb, 2015, 01:13 AM
Post: #8
|
|||
|
|||
RE: [PROBLEM] Upgrade XBIAN 1.0RC2 Failed on Cubox-i i4Pro
Yes, change the topic title
pilight - modular domotica solution
|
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
Library export from Xbian/XBMC 1.0RC2 to Latest Xbian Kodi | halibut | 2 | 5,966 |
27th Feb, 2024 01:13 PM Last Post: AlexRose |
|
[PROBLEM] Boot failed after upgrade v14 to v15 | seb2mars25 | 2 | 7,978 |
23rd Aug, 2015 02:56 AM Last Post: CurlyMo |