Debian stretch
|
19th Jun, 2017, 02:10 AM
Post: #1
|
|||
|
|||
Debian stretch
Hello,
Since Debian Stretch was released yesterday (https://wiki.debian.org/DebianStretch) Can/sould we upgrade to the new version or xbian packages should be adapted before? Thanks! |
|||
19th Jun, 2017, 06:27 AM
(This post was last modified: 19th Jun, 2017 06:28 AM by Nachteule.)
Post: #2
|
|||
|
|||
RE: Debian stretch
XBian is ready for Stretch since months and binary packages are build for Jessie and Stretch.
So, if you want to upgrade to Stretch, you can do this manually (by editing /etc/apt/sources.list and /etc/apt/sources.list.d/xbian.list) or wait a bit more until final package for upgrade (xbian-package-repo) will be released. There will be an additional selection in xbian-config GUI, category Update for upgrading to Stretch |
|||
4th Sep, 2017, 08:16 AM
Post: #3
|
|||
|
|||
RE: Debian stretch
fair warning to all: the current way xbian does mirror selection breaks apt 1.4 (the new apt used in stretch)
I've spend more than 1 headbreaking hour trying to fix the issue (being misdirected due to it being similar to an old bug reported elsewhere) The following workaround works: edit /etc/apt/sources.list.d/xbian.list and change the mirror:// part into http:// (httpS might work, not tested) and remove the mirror.txt at the end. Or better, to not overload the server, open the mirror.txt file in your browser and randomly choose a mirror and copy the url in the right place. |
|||
4th Sep, 2017, 08:41 AM
Post: #4
|
|||
|
|||
RE: Debian stretch
(4th Sep, 2017 08:16 AM)gizag Wrote: fair warning to all: the current way xbian does mirror selection breaks apt 1.4 (the new apt used in stretch) Thanks for you note, but the installer script of package xbian-package-repo does this automatically |
|||
4th Sep, 2017, 09:19 AM
Post: #5
|
|||
|
|||
RE: Debian stretch
(4th Sep, 2017 08:41 AM)Nachteule Wrote:great I guess I was either unlucky in timing or it was due to manually switching(4th Sep, 2017 08:16 AM)gizag Wrote: fair warning to all: the current way xbian does mirror selection breaks apt 1.4 (the new apt used in stretch) -edit- welll, either I'm doing something terribly wrong, or the script doesnt work To test I removed xbian-package-repo, purged it's config files and then reinstalled it using apt to make sure it triggers its config files. This results in /etc/apt/sources.list.d/xbian.list getting created with the following content: deb mirror://apt.xbian.org/mirror.txt stable main rpi2-stretch ### deb mirror://apt.xbian.org/mirror.txt staging main rpi2-stretch ### deb mirror://apt.xbian.org/mirror.txt devel main rpi2-stretch Running apt-get update afterwards results in a segfault: root@xbian:/mediamap/dump# apt-get update Reading package lists... Done E: Method mirror has died unexpectedly! E: Sub-process mirror received a segmentation fault. This is due to apt 1.4 not understanding the mirror:// section in the config file, switching that out for http:// and removing mirror.txt fixes apt. |
|||
4th Sep, 2017, 07:01 PM
Post: #6
|
|||
|
|||
RE: Debian stretch
@gizag
Ok, seems I have to explain a bit more: 1) xbian-package-repo supplies a helper script (/usr/local/sbin/xbian-update-repo) which modifies sources.list and xbian.list. This script is only installed if system is still running under Debian Jessie 2) xbian-config GUI checks if this script is present and if not already running Stretch, it opens a message box to indicate a Distribution upgrade is available 3) In that case, xbian-config GUI has a new function in category Update, which starts Distribution upgrade 4) When you start this operation, above script will be called, and after that a apt-get dist-upgrade will be executed 5) after a successfully upgrade, this helper script is not longer needed and will be removed |
|||
« Next Oldest | Next Newest »
|