How to add LMDE repository to Debain 11?

Chat about Linux in general
Forum rules
Do not post support questions here. Before you post read the forum rules. Topics in this forum are automatically closed 6 months after creation.
Locked
milokc
Level 1
Level 1
Posts: 2
Joined: Tue Jan 18, 2022 5:32 pm

How to add LMDE repository to Debain 11?

Post by milokc »

How can I add LMDE repository to Debain 11?
I try to add string "deb http://packages.linuxmint.com/ debian main upstream import" in /etc/apt/sources.list
but when I try to run "apt update" I see an error
E: Repository «http://packages.linuxmint.com debian Release» is not signed.
I try to install manualy linuxmint-keyring_2016.05.26_all.deb and see
Warning: apt-key should not be used in scripts (called from postinst maintainerscript of the package linuxmint-keyring)
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
what am I doing wrong?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Hoser Rob
Level 20
Level 20
Posts: 11796
Joined: Sat Dec 15, 2012 8:57 am

Re: How to add LMDE repository to Debain 11?

Post by Hoser Rob »

This is just a bad idea that's going to create a fenkendebian. That's what's wrong.

You should read this: https://wiki.debian.org/DontBreakDebian
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
t42
Level 11
Level 11
Posts: 3747
Joined: Mon Jan 20, 2014 6:48 pm

Re: How to add LMDE repository to Debain 11?

Post by t42 »

Hoser Rob wrote: Wed Jan 19, 2022 9:58 am You should read this: https://wiki.debian.org/DontBreakDebian
Yeah, good reading for users of any distribution!

This part specifically answers the subject question:
Repositories that can create a FrankenDebian if used with Debian Stable:
,,,
Ubuntu, Mint or other derivative repositories are not compatible with Debian!
Ubuntu PPAs and other repositories created to distribute single applications
-=t42=-
milokc
Level 1
Level 1
Posts: 2
Joined: Tue Jan 18, 2022 5:32 pm

Re: How to add LMDE repository to Debain 11?

Post by milokc »

I hope my Frankendebian lives on. managed to update.
I had to install LMDE and explore how the rep is updated there.
if suddenly someone else wants to make himself a frankendebian.
I copied linuxmint-keyring.gpg from /usr/share/keyrings.
then
apt update
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A6616109451BBBF2 (took key from warning)
and further
sudo apt reinstall libxapp1
otherwise it won't let you install xapps-common

P.S. the LMDE repository has the linuxmint-keyring package, you can get gpg from it. maybe just install it and add the key.
Juan_David95
Level 2
Level 2
Posts: 73
Joined: Tue Aug 23, 2022 7:50 pm

Re: How to add LMDE repository to Debain 11?

Post by Juan_David95 »

milokc wrote: Wed Jan 19, 2022 7:53 pm I copied linuxmint-keyring.gpg from /usr/share/keyrings.
where did you copy it from? from LMDM5. I am doing the same tests and I get the error of:

Code: Select all

E: El repositorio «http://packages.linuxmint.com debian Release» no está firmado.
N: No se puede actualizar de un repositorio como este de forma segura y por tanto está deshabilitado por omisión.
N: Vea la página de manual apt-secure(8) para los detalles sobre la creación de repositorios y la configuración de usuarios.
Hoser Rob
Level 20
Level 20
Posts: 11796
Joined: Sat Dec 15, 2012 8:57 am

Re: How to add LMDE repository to Debain 11?

Post by Hoser Rob »

More bad advice. When (not if) it breaks no one here is going know how to help you fix it and no one at Debian would be remotely interested.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
User avatar
MiZoG
Level 8
Level 8
Posts: 2393
Joined: Fri Jan 26, 2018 8:30 pm
Location: Athens, Greece

Re: How to add LMDE repository to Debain 11?

Post by MiZoG »

You can turn a vanilla minimum Debian installation into LMDE. That would be less troublesome than installing desktop environments from the main edition of Linux Mint into LMDE. There are a few low-level tweaks in LMDE beyond DE but generally you can do that. Main Mint repo for LMDE depends on Debian codebase, is essentially a third-party Debian repo (not a PPA) and its maintainers are... trusted.

deb [trusted=yes] http://packages.linuxmint.com elsie main upstream import backport

You'll get a warning but you can use the repo all the same.

Now why would you want to do that?
Switch to LMDE for your ease of mind.
If you have a full-fledged Debian system with lots of software installed etc, you will surely risk breaking apt.
Juan_David95
Level 2
Level 2
Posts: 73
Joined: Tue Aug 23, 2022 7:50 pm

Re: How to add LMDE repository to Debain 11?

Post by Juan_David95 »

I'm using a mxlinux21 respin with cinnamon and wanted to update to the latest version of cinnamon. I already did it and it worked perfectly.

If someone is interested in doing the same, in this forum I explain the step by step https://forum.mxlinux.org/viewtopic.php ... 03#p703403

Thank you very much everyone for the warnings; take precautionary measures.
Locked

Return to “Chat about Linux”