Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Debian stretch
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Debian stretch
4th Sep, 2017, 09:19 AM
Post: #5
gizag Offline
Registered
Posts: 30
Joined: Jan 2013
Reputation: 1
RE: Debian stretch
(4th Sep, 2017 08:41 AM)Nachteule Wrote:  
(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)

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.

Thanks for you note, but the installer script of package xbian-package-repo does this automatically Smile
great Smile I guess I was either unlucky in timing or it was due to manually switching Wink


-edit-
welll, either I'm doing something terribly wrong, or the script doesnt work Wink
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.
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Debian stretch - naox - 19th Jun, 2017, 02:10 AM
RE: Debian stretch - Nachteule - 19th Jun, 2017, 06:27 AM
RE: Debian stretch - gizag - 4th Sep, 2017, 08:16 AM
RE: Debian stretch - Nachteule - 4th Sep, 2017, 08:41 AM
RE: Debian stretch - gizag - 4th Sep, 2017 09:19 AM
RE: Debian stretch - Nachteule - 4th Sep, 2017, 07:01 PM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 8th Jun, 2025, 02:31 AM Powered By MyBB, © 2002-2025 MyBB Group.