You are not logged in.

#1 2016-03-10 18:13:46

damo
....moderator....
Registered: 2015-08-20
Posts: 4,385

Sources - sources.list and backports details

There are regular questions from users who need to restore their sources, (or who haven't visited the page at Bunsenlabs Repositories), so here are the BunsenLabs defaults:

/etc/apt/sources.list should contain:

deb https://deb.debian.org/debian stretch main non-free contrib
# deb-src https://deb.debian.org/debian stretch main non-free contrib

## Debian security updates
deb https://deb.debian.org/debian-security stretch/updates main contrib non-free

# stretch-updates, previously known as 'volatile'
deb https://deb.debian.org/debian stretch-updates main contrib non-free
# deb-src https://deb.debian.org/debian stretch-updates main contrib non-free

You should also have the BL repo set in /etc/apt/sources.list.d/bunsen.list, with the following entry:

deb https://pkg.bunsenlabs.org/debian helium main

If you want to enable our backports then you need /etc/apt/sources.list.d/bunsen-stretch-backports.list with the contents

deb https://pkg.bunsenlabs.org/debian stretch-backports main

Debian backports need /etc/apt/sources.list.d/debian-stretch-backports.list, with the lines

# Debian backports
deb https://deb.debian.org/debian stretch-backports main contrib non-free

Alternative mirrors for your location can be found here: https://www.debian.org/mirror/list

HowTo: use netselect-apt to automatically find fastest mirror

----------------------------------------------------------------------------
Reminder: adding ppa's or other sources is likely to break your system. But you can keep the pieces wink
Advice For New Users On Not Breaking Their Debian System

-mod edit by hhh- updated for helium/stretch

Last edited by johnraff (2018-06-07 05:51:04)


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#2 2016-03-10 19:15:47

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: Sources - sources.list and backports details

Thanks, great post damo...and just to add to it, to actually acquire the individual backports, you would use the command:

sudo apt-get -t jessie-backports install package_name

So for example:

sudo apt-get -t jessie-backports install guake

Last edited by hhh (2016-06-10 22:00:30)


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#3 2016-03-10 23:22:52

d4rksenl4bs
Member
From: israel
Registered: 2016-03-06
Posts: 33

Re: Sources - sources.list and backports details

thank you, young man...god bless..

Offline

#4 2016-03-11 00:45:43

lowrider
Member
From: Germany
Registered: 2015-09-29
Posts: 239

Re: Sources - sources.list and backports details

nice one @damo
very helpful for those of us who are new to bl or debian in general

Offline

#5 2016-03-11 00:58:53

ututo
Member
Registered: 2015-09-29
Posts: 253

Re: Sources - sources.list and backports details

Thank you, Sir!!


BunsenLabs en Español
BunsenLabs on deviantArt

Offline

#6 2016-03-12 02:17:13

hhh
That's easy!
Registered: 2015-09-17
Posts: 6,118
Website

Re: Sources - sources.list and backports details

Great post, damo! Thanks mate.

Offline

#7 2016-03-14 19:37:25

pozric
Member
Registered: 2016-03-04
Posts: 64

Re: Sources - sources.list and backports details

Thanks man

Offline

#8 2016-05-03 10:50:04

dfs64
Member
Registered: 2016-05-03
Posts: 13

Re: Sources - sources.list and backports details

Thanks for this. When I first ran bl-welcome it said it couldn't update the repo list and had to quit. In the details it mentioned about broken packages but I continued anyway until the end. Then I read this post and restart bl-welcome again. No more errors.

Prior to reading this post there were other errors throughout as expected for example getting Java, Flash player and so on to be downloaded and installed. Sorry for the lack of error information details!

Offline

#9 2016-05-03 21:13:24

hhh
That's easy!
Registered: 2015-09-17
Posts: 6,118
Website

Re: Sources - sources.list and backports details

Horizon_Brave wrote:

Thanks, great post damo...and just to add to it, to actually acquire the individual backports, you would use the command:

apt-get -t jessie-backports install "package"

So for example:

apt-get -t jessie-backports install guake

FTFY

Even better, get a sweet progress bar by using apt...

sudo apt install -t jessie-backports --no-install-recommends mate-panel mate-applets

mate-panel isn't actually in jessie-backports, it's just an example.

Offline

#10 2016-05-03 23:43:07

damo
....moderator....
Registered: 2015-08-20
Posts: 4,385

Re: Sources - sources.list and backports details

This thread was intended as a reference for people who either hadn't chosen a mirror during installation, or who didn't read the Repositories page on the BL website.

For apt tweaking, might it be better to split that subject off to its own thread, and close this one?


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#11 2016-05-04 06:52:03

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Sources - sources.list and backports details

damo wrote:

For apt tweaking, might it be better to split that subject off to its own thread, and close this one?

Done: https://forums.bunsenlabs.org/viewtopic.php?id=1841

Sorry for the derailment!


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#12 2016-07-22 18:41:16

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Sources - sources.list and backports details

I just noticed, after installing #bĺ on a friend's machine without net, it worked fine, however the bl-welcome script could not finish the "sources.list" step - it said it cannot change it. Ok, no problem, I put manually

 deb http://httpredir.debian.org/debian jessie main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free

in /etc/apt/sources.list, but apt-get update still did not work. Not even after a restart. I'm still wondering why not (putting those lines in a sources.list.d file did the trick).

Offline

#13 2016-07-22 19:52:46

hhh
That's easy!
Registered: 2015-09-17
Posts: 6,118
Website

Re: Sources - sources.list and backports details

You need an internet connection for apt to update your sources.

Offline

#14 2016-07-23 09:31:48

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Sources - sources.list and backports details

martix wrote:

the bl-welcome script could not finish the "sources.list" step - it said it cannot change it.
[...]
apt-get update still did not work.

Please post full error messages (using code tags) rather than vague descriptions of error messages.

I have mentioned this to you before.
sad


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#15 2016-07-23 13:23:26

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Sources - sources.list and backports details

hhh wrote:

You need an internet connection for apt to update your sources.

There was a working internet connection. After the usb install I tried to update the packages and connected to the internet. Here is the content of the sources.list file:

# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/ jessie/updates main contrib non-free
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/ jessie/updates main contrib non-free

As mentioned I managed to get the repos working. Now I changed the content of the sources.list file manually again. Finally it works as it should be working.

Offline

#16 2016-07-28 21:42:01

mischaf
Member
From: Danville, New Hampshire
Registered: 2015-11-29
Posts: 13

Re: Sources - sources.list and backports details

Following error...

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://pkg.bunsenlabs.org bunsen-hydrogen InRelease: The following signatures were invalid: KEYEXPIRED 1468162041...(THIS REPEATED TWO MORE TIMES)

W: failed to fetch http://pkg.bunsenlabs.org/debian/dists/ … /InRelease...

Is it possible that the disc I used to install is the problem?

Mischa

Offline

#17 2016-07-28 22:08:00

damo
....moderator....
Registered: 2015-08-20
Posts: 4,385

Re: Sources - sources.list and backports details


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#18 2016-07-29 00:40:01

mischaf
Member
From: Danville, New Hampshire
Registered: 2015-11-29
Posts: 13

Re: Sources - sources.list and backports details

Obviously (perhaps) not...I'll get right on it.

Mischa

Offline

#19 2016-07-30 11:23:54

mischaf
Member
From: Danville, New Hampshire
Registered: 2015-11-29
Posts: 13

Re: Sources - sources.list and backports details

Thanks Damo, the patient has recovered nicely...
M.

Offline

#20 2016-07-30 14:29:55

damo
....moderator....
Registered: 2015-08-20
Posts: 4,385

Re: Sources - sources.list and backports details

smile


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#21 2016-09-18 01:24:42

perchslayer
Member
From: Auburn, California - US
Registered: 2016-01-12
Posts: 115
Website

Re: Sources - sources.list and backports details

damo wrote:

Reminder: adding ppa's or other sources is likely to break your system. But you can keep the pieces wink

So is the implicit message here that if I did so and I have issues, then there is no point in trying to "back out"? And that for all practical purposes, it is time to do a wipe?

Also, is there a place to find out if something simply won't work, very likely, on BL, reasonably? For instance, PostgreDB? Or MongoDB? Or Django? Or whatever are the latest Web frameworks, GIS tools, and databases, etc?


Roland Shield
Grill Jockey, Lounge Maven, Unrepentant Agitator
ass.clown@perchslayer.com | "...'ere I am, J.H."

Offline

#22 2016-09-18 06:38:00

twoion
ほやほや
Registered: 2015-08-10
Posts: 2,230

Re: Sources - sources.list and backports details

perchslayer wrote:
damo wrote:

Reminder: adding ppa's or other sources is likely to break your system. But you can keep the pieces wink

So is the implicit message here that if I did so and I have issues, then there is no point in trying to "back out"? And that for all practical purposes, it is time to do a wipe?

Also, is there a place to find out if something simply won't work, very likely, on BL, reasonably? For instance, PostgreDB? Or MongoDB? Or Django? Or whatever are the latest Web frameworks, GIS tools, and databases, etc?

Most if not all of these have repositories for Debian jessie – PostgreSQL definitely has, I don't work with the others. If it works on jessie, just use those repositories.

Ubuntu Xenial PPAs won't work if the binaries in there require different or patched library versions, but for the most part, Xenial is accidentally binary-compatible with jessie so unless things break they're gonna work. But you get to keep the pieces if there are dependency problems.


Im grünen Wald, dort wo die Drossel singt…

Online

#23 2016-09-18 06:45:39

ohnonot
...again
Registered: 2015-09-29
Posts: 3,198
Website

Re: Sources - sources.list and backports details

perchslayer wrote:
damo wrote:

Reminder: adding ppa's or other sources is likely to break your system. But you can keep the pieces wink

So is the implicit message here that if I did so and I have issues, then there is no point in trying to "back out"? And that for all practical purposes, it is time to do a wipe?

YES, that's what it means.

and we appreciate your honesty.

you wouldn't believe how many people break their system this way and don't admit to having done exactly that.

Also, is there a place to find out if something simply won't work, very likely, on BL, reasonably? For instance, PostgreDB? Or MongoDB? Or Django? Or whatever are the latest Web frameworks, GIS tools, and databases, etc?

http://forums.debian.net/
http://duckduckgo.com/

Offline

#24 2016-10-13 10:13:56

GoldsteinBruce
New Member
From: Kingston NY USA
Registered: 2016-10-02
Posts: 2

Re: Sources - sources.list and backports details

New to Linux...thanks for indicating general theme related to repository...GoldsteinBruce

Offline

#25 2016-10-24 06:27:57

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 4,677
Website

Re: Sources - sources.list and backports details

How-to automatically find your quickest local mirror: https://forums.bunsenlabs.org/viewtopic.php?id=2889


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

Board footer

Powered by FluxBB