You are not logged in.

#1 2020-08-19 20:32:35

damo
....moderator....
Registered: 2015-08-20
Posts: 6,351

Upgrading from Helium to Lithium tutorial

Posted here: Tutorials > Upgrading from Helium to Lithium.

Constructive suggestions are welcomed, but please remember that "Tutorials" is not the place for Help requests wink


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#2 2020-08-19 21:12:59

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 704

Re: Upgrading from Helium to Lithium tutorial

damo wrote:

Constructive suggestions are welcomed,

I can't find anyting left out or that should be phrased otherwise... Thanks.

Edit:
https://deb.debian.org/debian-security, is redirected to http://security.debian.org/debian-security/. Is it not better to use that adress instead?
My mirror and I think no mirrors carry the security packages. People choosing a close mirror, can look in vain for the security packages...

Last edited by rbh (2020-08-19 22:04:21)


// Regards rbh

Offline

#3 2020-08-20 00:24:00

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 7,349
Website

Re: Upgrading from Helium to Lithium tutorial

rbh wrote:

https://deb.debian.org/debian-security, is redirected to http://security.debian.org/debian-security/. Is it not better to use that address instead?
My mirror and I think no mirrors carry the security packages. People choosing a close mirror, can look in vain for the security packages...

Yes, security upgrades are handled differently, but I guess the deb.debian.org url is safe to use.
As to the https > http redirect, I suppose it's always possible debian security might support https some time in the future, and the redirect changed, so no harm in going by that route now?

(In fact, while https does add a little bit of extra security, it's not such a huge difference, because debian packages are checksum-validated anyway.)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )

Introduction to the Bunsenlabs Lithium Desktop

Offline

#4 2020-08-20 05:57:49

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 704

Re: Upgrading from Helium to Lithium tutorial

johnraff wrote:
rbh wrote:

https://deb.debian.org/debian-security, is redirected to http://security.debian.org/debian-security/. Is it not better to use that address instead?
My mirror and I think no mirrors carry the security packages. People choosing a close mirror, can look in vain for the security packages...

Yes, security upgrades are handled differently, but I guess the deb.debian.org url is safe to use.
As to the https > http redirect, I suppose it's always possible debian security might support https some time in the future, and the redirect changed, so no harm in going by that route now?

I was not writing about the technical aspect. Of cource, there is no technical problems with using adress https://deb.debian.org/debian-security.

I raised the question of claryfying that security packages is handled differently. For them who want to replace https://deb.debian.org/debian with closer mirror, they shall not try to replace https://deb.debian.org/debian-security, with the same mirror. It will fail.
Using https://deb.debian.org/debian-security in the tutor, might lead some astray.

Last edited by rbh (2020-08-20 05:58:33)


// Regards rbh

Offline

#5 2020-08-20 06:32:47

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 7,349
Website

Re: Upgrading from Helium to Lithium tutorial

Yes, a note that it's necessary to check if an alternative security upgrade url is actually available before trying to use it... would be a good idea.

But:

rbh wrote:

Using https://deb.debian.org/debian-security in the tutor, might lead some astray.

I'm not sure I grasp the issue here - what are you suggesting would be better?


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )

Introduction to the Bunsenlabs Lithium Desktop

Offline

#6 2020-08-20 09:13:23

damo
....moderator....
Registered: 2015-08-20
Posts: 6,351

Re: Upgrading from Helium to Lithium tutorial

Tutorial updated to clarify the use of backports.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#7 2020-08-20 09:39:28

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 704

Re: Upgrading from Helium to Lithium tutorial

johnraff wrote:

Yes, a note that it's necessary to check if an alternative security upgrade url is actually available before trying to use it... would be a good idea.

Why invite people to an goose chase? Time is too valuable to vaste on doomed tasks. https://www.debian.org/mirror/, lists what is mirroring. debian-security, is not listed, is not mirrored.

But:

rbh wrote:

Using https://deb.debian.org/debian-security in the tutor, might lead some astray.

I'm not sure I grasp the issue here - what are you suggesting would be better?


I think, best would be:

To change [comment: note, change instead of edit] the Debian repos, edit /etc/apt/sources.list. Depending on which mirror (https://www.debian.org/mirror/list) you use, change the sources from:

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

to

deb https://deb.debian.org/debian buster main contrib non-free
deb https://deb.debian.org/debian buster-updates main contrib non-free

And
deb http://security.debian.org/debian-security stretch/updates main contrib non-free

to

deb http://security.debian.org/debian-security buster/updates main contrib non-free
(debian-security are not mirrored like man debian and still does not support https.)

Last edited by rbh (2020-08-20 09:51:21)


// Regards rbh

Offline

#8 2020-08-20 09:49:09

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 704

Re: Upgrading from Helium to Lithium tutorial

damo wrote:

Tutorial updated to clarify the use of backports.

Yes, that sholud be added.

Maybe after:

"Disable your backports sources before a dist-upgrade to see if the packages are still required." add: Disable by adding "#" first on the row for the backports source.


// Regards rbh

Offline

#9 2020-08-20 17:15:23

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 704

Re: Upgrading from Helium to Lithium tutorial

rbh wrote:

https://www.debian.org/mirror/, lists what is mirroring. debian-security, is not listed, is not mirrored.

Now I found it:

The debian-security/ archives contain the security updates released by the Debian security team. While it sounds interesting to everyone, we do not recommend to our users to use mirrors to obtain security updates and instead ask them to directly download them from our distributed security.debian.org service. We recommend debian-security not be mirrored.

https://www.debian.org/mirror/ftpmirror

I have not found anyone not following that.


// Regards rbh

Offline

#10 2020-08-21 00:17:19

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 7,349
Website

Re: Upgrading from Helium to Lithium tutorial

@rbl I'm not yet totally convinced that 
https://deb.debian.org/debian-security
would be an inappropriate url to recommend to users.

1) deb.debian.org is an official service (a debian subdomain), not a third-party mirror, and Debian can presumably be relied on to maintain the redirect correctly. I don't think the warning about not using mirrors for security updates would apply here. Yes, the above quote is quite specific about using security.debian.org, but that page is advice for people considering setting up a new third-party mirror, not for users. Why would deb.debian.org provide a security mirror if another part of Debian were deprecating it?

2) Security updates are now only provided via http protocol, but if that changed in the future then users would have to update their sources once more to use it. With the https://deb.debian.org url, the redirect can be trusted (I think) to be correctly changed without users having to do anything.

rbh wrote:

I raised the question of claryfying that security packages is handled differently. For them who want to replace https://deb.debian.org/debian with closer mirror, they shall not try to replace https://deb.debian.org/debian-security, with the same mirror. It will fail.

I see now what you were saying. I thought you meant that some mirrors did not provide security updates, hence my reply:

Yes, a note that it's necessary to check if an alternative security upgrade url is actually available before trying to use it... would be a good idea.

Was actually meant to be toungue-in-cheek. ie "Don't try to add mirrors that don't exist."


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )

Introduction to the Bunsenlabs Lithium Desktop

Offline

#11 2020-08-21 00:32:18

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 704

Re: Upgrading from Helium to Lithium tutorial

At least the information:

https://deb.debian.org/debian-security, is not mirrored.


// Regards rbh

Offline

#12 2020-08-21 01:03:50

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 7,349
Website

Re: Upgrading from Helium to Lithium tutorial

^Yes, that would be appropriate to add, for sure.

We're just providing default settings here for new users to copy. A reminder about mirroring, for people who want to go beyond that, would be helpful. smile


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )

Introduction to the Bunsenlabs Lithium Desktop

Offline

#13 2020-08-21 03:35:14

ovum
Member
Registered: 2020-04-17
Posts: 39

Re: Upgrading from Helium to Lithium tutorial

it works!  oh happy day!

Offline

#14 2020-10-02 07:19:00

dbvolvox
Member
From: England
Registered: 2015-09-29
Posts: 84
Website

Re: Upgrading from Helium to Lithium tutorial

Success for me also. All programmes and separate Home partition preserved, as @ovum says "happy days".  Time to donate.

Offline

#15 2020-10-03 03:23:06

hhh
Meep!
Registered: 2015-09-17
Posts: 10,618
Website

Re: Upgrading from Helium to Lithium tutorial

dbvolvox wrote:

Time to donate.

Always appreciated, thanks!

Offline

#16 2020-10-03 20:23:54

dbvolvox
Member
From: England
Registered: 2015-09-29
Posts: 84
Website

Re: Upgrading from Helium to Lithium tutorial

A small thing....
A fresh install would have given me a hostname lithium, Doing the upgrade it is still helium. How would I change the hostname and could there be bad consequences?

Offline

#17 2020-10-03 21:08:45

eight.bit.al
Member
From: Prison
Registered: 2015-10-01
Posts: 647

Re: Upgrading from Helium to Lithium tutorial

^

sudo hostnamectl set-hostname new-host-name

open the /etc/hosts file and replace the old hostname with the new-host-name

it just happens I just did it on an install the failed to ask for a hostname, which is bad form on the installers part.

test with

hostnamectl

8bit

Last edited by eight.bit.al (2020-10-03 21:15:12)


If art is how we decorate space, music is how we decorate time.

Offline

#18 2020-10-25 10:17:35

dbvolvox
Member
From: England
Registered: 2015-09-29
Posts: 84
Website

Re: Upgrading from Helium to Lithium tutorial

One more small thing...
On my Helium I didn't have fortune cookies so I have tried to add them  but all I get is an empty text box so I guess I am missing where to find the sayings. Where does that information need to go?

I have searched the forum but cannot find the answer, sorry.
So a pointer please? Thanks

Offline

#19 Yesterday 18:08:06

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 704

Re: Upgrading from Helium to Lithium tutorial

dbvolvox wrote:

On my Helium I didn't have fortune cookies so I have tried to add them  but all I get is an empty text box so I guess I am missing where to find the sayings.

Install package bunsen-fortune, enable in autostart.


// Regards rbh

Offline

#20 Yesterday 22:20:20

sleekmason
Member
Registered: 2018-05-22
Posts: 231

Re: Upgrading from Helium to Lithium tutorial

You can also add fortunes, BL or otherwise directly to conky!

${execi 3114 fortune -s | fold -s -w24}

Depending on the size/shape, you may need to change the width:)

Offline

Board footer

Powered by FluxBB