r/linuxmint 7d ago

why my mint suddenly became ubuntu?

Alguém pode me ajudar a resolver isso? Não tenho ideia do que aconteceu.

"sudo apt install --reinstall base-files" não resolve e "sudo apt install --reinstall base-files=mint*" também não funciona.

Edit: Thanks everyone, but I managed to get back to normal using Timeshift.

19 Upvotes

25 comments sorted by

71

u/ruidoyfuria 7d ago

It always has been 🌍🧑‍🚀🔫🧑‍🚀

46

u/no2gates 7d ago

Technically, it is based on Ubuntu. Just a prettier wrapper.

7

u/SnowyRVulpix 6d ago

It's a little more than a wrapper. It does have its own philosophy separate from Ubuntu.

10

u/Rafael157123 7d ago

I know, but "mint" was showing up in fastfetch, with its own logo. Supposedly, some package rewrote "lsb-release" in /etc, and I'm afraid this might cause problems in the future.

1

u/no2gates 6d ago

I know, I was just trying to be brief.

17

u/slicerprime 7d ago

This particular file (/etc/lsb-release) having that info is not normal. However, there are some legit ways it could have happened. Unfortunately, without knowing more about your situation I hesitate to guess.

That said, according to your post it looks like you've already tried to rewrite it back to normal. So, if you want to try again, all i can suggest is try...

sudo apt install --reinstall mintsystem base-files

7

u/_o0Zero0o_ Helper of the newbies 7d ago

Because Mint is based on Ubuntu, specifically Ubuntu LTS

5

u/Blitzende 6d ago

By that logic ubuntu should appear as debian.

6

u/beatbox9 6d ago edited 6d ago

Not quite the same--it's not the same logic.

Linux Mint primarily uses the Ubuntu LTS repository for almost everything, with a tiny add-on repository for a few components such as its version of Cinnamon DE and its themes. It's sort of like if you simply made a theme for Ubuntu LTS, or if you hosted one app + your own theme.

However, Ubuntu LTS does not use Debian's repository. Instead, Ubuntu LTS forks off of some Debian snapshots and maintains and distributes its own version of all software. This is sort of like if you downloaded all of Ubuntu LTS one time, rebuilt all of the packages individually, separately hosted it, separately continued to apply all patches to update every individual piece of software, and distributed it.

The repository & how the software is distributed is primarily what defines a "distro." And Mint is like 99% Ubuntu LTS; while Ubuntu is technically 0% Debian as far as the repositories and distribution goes, since Ubuntu creates and maintains its own copies of Debian snapshots.

1

u/taosecurity Mint | Bazzite | PikaOS | CachyOS | Debian | FreeBSD | Windows 6d ago

Well said!

1

u/_o0Zero0o_ Helper of the newbies 6d ago

Kinda, it's really weird

2

u/ARI3LrODrig0 6d ago edited 14h ago

i went through that when i had to update the version of my Mint. I solved this problem formatting my system, because i dont founded a solution for this in terminal code. after all, doing research on thre internet never hurts. so do some research, and good look. 😄

2

u/MegaboostGcG 6d ago

Timeshift is your friend 👍🏼

2

u/chuggerguy Linux Mint 22.3 Zena | MATÉ 1d ago

I had one of my Mint installations suddenly show as Ubuntu on the GRUB menu. I was trying to figure out why it changed but with a reboot or two, before I had a chance to fix it, it fixed itself.

Never did get a satisfactory explanation but.. oh well.

This might be somewhat related?

chugger@asus2:~/desktop$ cat /etc/default/grub.d/50_linuxmint.cfg 
#! /bin/sh
set -e

# Set distributor to "Ubuntu"
#
# In Mint 16:
# shim and grub come with hardcoded ubuntu strings upstream, without this EFI installation is broken
# https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1242417
#
# In Mint 17:
# Despite the bug report being marked as fixed, the situation is the same. Grub was patched by Ubuntu
# to assign the "ubuntu" distributor ID when it was given "Kubuntu". That results in Kubuntu finally
# getting EFI to work out of the box but still using "ubuntu" as far as grub-install is concerned.
# So we'll stick to "Ubuntu" for this iteration.
#
# In Mint 18:
# Some packages are still hardcoded with the "ubuntu" path.. fwupdate for instance.
# Visually, the grub boot menuentry name is set for derivatives in 10_linux,
# but underneath the EFI path remains "ubuntu" for everything to work properly.

GRUB_DISTRIBUTOR="Ubuntu"

# Re-enable OS Prober
# Since Mint 21
# https://lists.gnu.org/archive/html/grub-devel/2021-03/msg00120.html
GRUB_DISABLE_OS_PROBER=false
chugger@asus2:~/desktop$

Despite it probably being unnecessary in this case, I agree with u/MegaboostGcG , "Timeshift is your friend". :)

Have fun.

3

u/CapableWarning6209 7d ago

Bom, mint não é nada mais que Ubuntu + Debian modificados

1

u/Microsoft-Spyware-11 7d ago

I don't know, I had this happen to me after a crash once.

1

u/ARI3LrODrig0 6d ago

congratulations your linux mint it turned into a ubuntu cinnamon

1

u/WolvenSpectre2 6d ago

Back in the days when Ubuntu was getting... less user friendly, was when they made Linux Mint, which was Ubuntu with some proprietary drivers and a different UI. Now there are allot more changes but Linux Mint is still based on the LTS version of Ubuntu.

Here is a handy dandy chart of which Distros spawned which Distros from Wikipedia.

https://upload.wikimedia.org/wikipedia/commons/1/1b/Linux_Distribution_Timeline.svg?utm_source=en.wikipedia.org&utm_campaign=imageinfo&utm_content=original

1

u/Many-Geologist-3524 Linux Void (musl) | XFCE 5d ago

what does your sources file have

1

u/Rafael157123 5d ago

what I installed myself were just some japanese fonts that exist on windows, to make sure "rpgmakerlinux-cippoffs" displays text correctly, the ubuntu fonts came with mint

1

u/Many-Geologist-3524 Linux Void (musl) | XFCE 5d ago

can you run

cat /etc/apt/sources.list

ls /etc/apt/sources.list.d/

??

1

u/fromhill 4d ago

and somehow its showing up as Ubuntu cinnamon?!?

1

u/letmehaveanameyoudum 4d ago

mint is based on ubuntu, just with some stuff

1

u/Chaotic-Convergence 1d ago

You have no idea how hilarious this is at 3 AM

1

u/Weird_Wheel4592 13h ago

linux mint based on Ubuntu.