[SOLVED] Converting/rebranding one distro to another

Kernels & Hardware, configuring network, installing services

[SOLVED] Converting/rebranding one distro to another

Postby RWIndiana » 2018-02-06 21:36

Alright guys, don't make fun of me, but I'd like to know how to change the name of my linux install. My story: I installed Tanglu GNU/Linux originally when it was based directly on Debian, but about two years ago I switched all my sources to Debian Sid. The problem I am having now is that "Tanglu" occasionally still pops up, specifically in GRUB, and when I run lsb_release ics. Is there a way to change it to Debian instead of Tanglu?

Thanks!

Rod
Last edited by RWIndiana on 2018-02-08 20:09, edited 1 time in total.
RWIndiana
 
Posts: 133
Joined: 2005-09-30 17:44

Re: Converting/rebranding one distro to another

Postby Ardouos » 2018-02-06 22:14

RWIndiana wrote:Is there a way to change it to Debian instead of Tanglu?

Install Debian.
viewtopic.php?f=3&t=114644&start=15#p542283
User avatar
Ardouos
 
Posts: 982
Joined: 2013-11-03 00:30
Location: Elicoor II

Re: Converting/rebranding one distro to another

Postby GarryRicketson » 2018-02-06 23:42

You can edit your /etc/lsb-release file, and also may need to edit /etc/distrib-release file.

Code: Select all
man lsb_release
has more details.

And you can get even more details using these key words:
Code: Select all
How to change what lsb_release ics shows as the release

Copy paste in to your favourite search engine.

but about two years ago I switched all my sources to Debian Sid. The problem I am having now is that "Tanglu" occasionally still pops up, specifically in GRUB, and when I run lsb_release ics. Is there a way to change it to Debian instead of Tanglu?

A fresh Debian install would be best, you probably have a mix of various things, and your system is not going to be dependable in this kind of state. I don't know anything about Tanglu, never heard of it.
If grub is using things from that when you boot, and you start changing that, it could very easily leave you with a system that won't boot. Hope you have good backups of your important data, if you don't , that should be the first thing to do.
"What we expect you have already Done"

Before doing anything, read the Debian documentation:
Debian Documentation
How to ask the smart way
Debian Foro Español
======================
For the Birds
User avatar
GarryRicketson
 
Posts: 4726
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Converting/rebranding one distro to another

Postby stevepusser » 2018-02-07 01:34

It's probably easier first to check what version of lsb-release you have installed

Code: Select all
apt policy lsb-release


If it's not Sid's, install that and see if that fixes the issue.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.3, Pale Moon 27.7.2, Yacreader 9.0rc1, Calligra 3.1, VLC 3.0.0, Firefox 58.0.2, QMPlay2 17.12.31
User avatar
stevepusser
 
Posts: 9226
Joined: 2009-10-06 05:53

Re: Converting/rebranding one distro to another

Postby RWIndiana » 2018-02-07 14:00

Okay thanks for the help thus far. :)

You guys have been pretty good about it but I've seen over and over where people assume to know what's best for the person they are helping or what their end goal is instead of helping them to do what they want to do, or understand the system they are running.

I know I could just "install Debian," and that would accomplish what others might judge to be my goal, but I would have learned nothing. Some of us learn by tinkering and occasionally asking a stupid question. Many online help forums are not very conducive to actually learning. But thank you to those of you who are willing to help people learn. :)

I've run Debian Sid for close to 10 years, breaking it and fixing it many times. Through that I've learned enough to keep it up to date and never have breakages (going on nearly 5 years now). Whenever I've asked a question on various forums, it seems many just want to say "you're stupid for running Sid." No, if I had given up and run stable all these years, I'd be stupid.
RWIndiana
 
Posts: 133
Joined: 2005-09-30 17:44

Re: Converting/rebranding one distro to another

Postby Thorny » 2018-02-07 14:29

RWIndiana wrote:This thread hasn't been that bad but I've seen over and over where people assume to know what's best for the person they are helping or what their end goal is. Help me to do what I want to do. If you want to ask the reasoning, go ahead, there's no need to be rude.

Rude is after all an opinion.

You've been around here long enough to know that in a public forum, not all posts will be what you want or even on topic. No one is forced to read or respond to any post. Granted, abrasive posts or swearing or name calling sometimes do evoke a reaction, sometimes warranted and sometimes purely emotional.
RWIndiana wrote: I know I could just "install Debian," and that would accomplish what others might judge to be my goal, but I would have learned nothing. Some of us learn by tinkering and occasionally asking a stupid question. Many online help forums are not very conducive to actually learning.

Learning is the responsibility of the individual not the forum.

RWIndiana wrote:I've run Debian Sid for close to 10 years, breaking it and fixing it many times. Through that I've learned enough to keep it up to date and never have breakages (going on nearly 5 years now). Whenever I've asked a question on various forums, it seems many just want to say "you're stupid for running Sid." No, if I had given up and run stable all these years, I'd be stupid. The online forum culture needs to change.

We don't all agree with that. You could join some of the threads on this forum that pertain to the issue, and express your opinion there.

I find it offensive that you take pot shots here in your thread for help when you actually got pretty good help. And, I didn't see anything I would characterise as "rude". You know how much you already know, but that doesn't mean the rest of us do., you don't spend a lot of time here.

I hope you won't find my post offensive, but I can't help it if you do.
User avatar
Thorny
 
Posts: 531
Joined: 2011-02-27 13:40

Re: Converting/rebranding one distro to another

Postby RWIndiana » 2018-02-07 14:45

You are right, I overreacted to one post. My fault. I am sorry. I came in with a defensive attitude in the first place (hence the "don't make fun of me," which encapsulated these feelings I've had over the years). But yes, you're absolutely right. I apologize.
RWIndiana
 
Posts: 133
Joined: 2005-09-30 17:44

Re: Converting/rebranding one distro to another

Postby Thorny » 2018-02-07 14:50

RWIndiana wrote:I apologize.

You have shown yourself to be an intelligent person, Rod and I thank you for understanding me in the spirit I meant it.
A lot of the time, I wish more people would. ;-)
User avatar
Thorny
 
Posts: 531
Joined: 2011-02-27 13:40

Re: Converting/rebranding one distro to another

Postby RWIndiana » 2018-02-07 14:51

I actually don't have /etc/lsb-release. Should I create one? The version of lsb-release is indeed Sid. Tanglu only had a few add on packages to straight Debian, and those, as far as I know, are long gone.
RWIndiana
 
Posts: 133
Joined: 2005-09-30 17:44

Re: Converting/rebranding one distro to another

Postby RWIndiana » 2018-02-07 14:52

Thorny wrote:
RWIndiana wrote:I apologize.

You have shown yourself to be an intelligent person, Rod and I thank you for understanding me in the spirit I meant it.
A lot of the time, I wish more people would. ;-)


Very kind of you to say. Thank you!
RWIndiana
 
Posts: 133
Joined: 2005-09-30 17:44

Re: Converting/rebranding one distro to another

Postby GarryRicketson » 2018-02-07 15:01

stevepusser wrote:It's probably easier first to check what version of lsb-release you have installed

Code: Select all
apt policy lsb-release


If it's not Sid's, install that and see if that fixes the issue.


Are you really reading the replies ?

https://packages.debian.org/sid/lsb-release

Post by RWIndiana » 2018-02-07 08:51
I actually don't have /etc/lsb-release. Should I create one?

You need to install it, not just create it.
Code: Select all
 apt install lsb-release
"What we expect you have already Done"

Before doing anything, read the Debian documentation:
Debian Documentation
How to ask the smart way
Debian Foro Español
======================
For the Birds
User avatar
GarryRicketson
 
Posts: 4726
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Converting/rebranding one distro to another

Postby RWIndiana » 2018-02-07 15:14

Okay I will check again and confirm when I get home, but I did check that the package was installed (by attempting to install it). And I checked the version with "apt-cache show". But that was yesterday, I haven't had time yet to check with apt policy.
RWIndiana
 
Posts: 133
Joined: 2005-09-30 17:44

Re: Converting/rebranding one distro to another

Postby RWIndiana » 2018-02-07 20:45

Is /etc/lsb-release provided automatically by the lsb-release package? Or does something need to be configured?

Code: Select all
root@Confluence:~# dir /etc/lsb-release
dir: cannot access '/etc/lsb-release': No such file or directory
root@Confluence:~# apt install lsb-release
Reading package lists... Done
Building dependency tree       
Reading state information... Done
lsb-release is already the newest version (9.20170808).
0 upgraded, 0 newly installed, 0 to remove and 43 not upgraded.
root@Confluence:~# apt policy lsb-release
lsb-release:
  Installed: 9.20170808
  Candidate: 9.20170808
  Version table:
 *** 9.20170808 500
        500 http://ftp.debian.org/debian unstable/main amd64 Packages
        500 http://ftp.debian.org/debian unstable/main i386 Packages
        100 /var/lib/dpkg/status
root@Confluence:~# apt install --reinstall lsb-release
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 43 not upgraded.
Need to get 0 B/27.3 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 274659 files and directories currently installed.)
Preparing to unpack .../lsb-release_9.20170808_all.deb ...
Unpacking lsb-release (9.20170808) over (9.20170808) ...
Setting up lsb-release (9.20170808) ...
Processing triggers for man-db (2.8.0-2) ...
root@Confluence:~# ls /etc/lsb-release
ls: cannot access '/etc/lsb-release': No such file or directory
root@Confluence:~# apt remove lsb-release
RWIndiana
 
Posts: 133
Joined: 2005-09-30 17:44

Re: Converting/rebranding one distro to another

Postby RWIndiana » 2018-02-07 21:02

So, apparently the debian-edu-config package provides a /etc/lsb-release file, but it can't be right because in that file it calls the distribution "DebianEdu".

This is the only active line in my sources.list, if relevant: deb http://ftp.debian.org/debian/ unstable main contrib non-free
RWIndiana
 
Posts: 133
Joined: 2005-09-30 17:44

Re: Converting/rebranding one distro to another

Postby stevepusser » 2018-02-07 22:00

The Sid lsb-release package does not seem to include any files in /etc, so it seems it's up to the distro builders to create and populate it manually. I sort of remember we had the discussion in MX Linux over a problem with tools like screenfetch and neofetch displaying Debian instead of MX Linux.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.3, Pale Moon 27.7.2, Yacreader 9.0rc1, Calligra 3.1, VLC 3.0.0, Firefox 58.0.2, QMPlay2 17.12.31
User avatar
stevepusser
 
Posts: 9226
Joined: 2009-10-06 05:53

Next

Return to System configuration

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable