Best installation practices

rgbellotti

Member
Joined
Nov 2, 2020
Messages
34
Reaction score
19
Credits
315
I've noticed recently that many times when I'm installing software with apt, the installation instructs me to first add the app's key and then update and install, which is fine and makes sense but then I'll often get the message that 'apt-key' is deprecated when installing this way, sometimes even to the point where 'sudo apt update' will bring up errors about the recently installed key, so I manually remove them and try other methods like snap, flatpak or appImage And this is with modern / popular software like Spotify or whatnot, so I wouldn't think it's because they aren't up to date. Am I going about it the wrong way or is this just one of those things about the current state of 'apt' so don't worry about it too much. Using Debian KDE 22.04 btw and really like it

edit: actually I meant to say Debian 11 with KDE plasma desktop option
 
Last edited:


kc1di

Well-Known Member
Joined
May 14, 2021
Messages
1,864
Reaction score
1,749
Credits
13,480
The problem is that ubuntu has changed the way the keys are stored on the system. It affects all ubuntu derititives.
Here's a page with a fix.
apt-keys
 

bob466

Well-Known Member
Joined
Oct 22, 2020
Messages
1,211
Reaction score
915
Credits
8,921
Glad I'm not using Ubuntu as this doesn't happen with Linux Mint.
t2009.gif
 

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
10,119
Reaction score
8,693
Credits
83,680
Glad I'm not using Ubuntu as this doesn't happen with Linux Mint.
t2009.gif

It will soon, probably. It wasn't Ubuntu that made the change, it's a change to apt itself. I believe it's considered to be more secure this way, though the exact details of that are beyond my knowledge. I suppose I could look up the details, but it's not a bother for me.
 

bob466

Well-Known Member
Joined
Oct 22, 2020
Messages
1,211
Reaction score
915
Credits
8,921
I've used apt to install...Wine...Handbrake...Avidemux and a few more without any problems...must be lucky.
m1204.gif
 

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
8,943
Reaction score
7,916
Credits
37,648

kc1di

Well-Known Member
Joined
May 14, 2021
Messages
1,864
Reaction score
1,749
Credits
13,480
I've used apt to install...Wine...Handbrake...Avidemux and a few more without any problems...must be lucky.
m1204.gif
The problem seems to exist mostly with PPA's or added repositories. Not the main ones. so It does not seem to affect installing those programs in the regular ubuntu repositories as much anyway. It will be fixed I'm sure over time. And Chris is right there is no Debian 22.04. Kubuntu works quite well here.
 

MikeWalsh

Well-Known Member
Joined
Aug 29, 2022
Messages
520
Reaction score
658
Credits
6,787
For me, I can't remember the last time I actually installed anything from the repos!

Having developed a whole range of self-contained portable applications - many of which are sourced from either Github or Sourceforge - most of the Puppies I use these days are all kitted-out with these things.....which themselves run from an external partition, thereby keeping Pup relatively bloat-free. "Lean & mean" is the name of the game for us; furthermore, this approach, along with keeping all personal data on another external partition, sym-linked back into Puppy, makes it extremely easy to replace/back-up your Puppy in the event of "borking" it.....

The 'zilla-based portable browsers all update internally, in-situ, within their respective directories. I've written updater scripts for a few of the Chromium-based variants - primarily Chrome itself, and SRWare's Iron browser - and have adapted said script for a few other portable apps, including Zoom. Many other apps only update occasionally, so it's easy enough to keep on top of these manually.

It's a system that works very well, and quite a few community members seem to agree with me.....


Mike. ;)
 

Members online


Top