• Check it out - we have a chatbot! Go ask TuxBot a question in the Ask Tuxbot section!

Update AppArmor in Ubuntu?

Eddie Paul Litz

Active Member
Joined
Apr 30, 2018
Messages
302
Reaction score
57
Credits
707
How does AppArmor get updated? I have version "AppArmor 2.13.3" and the latest version is 3.0.1. Is there any possible way to update AppArmor in Ubuntu?
 


wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
8,389
Reaction score
7,292
Credits
33,456
Google

apparmor pkgs.org

Wiz
 

kc1di

Well-Known Member
Joined
May 14, 2021
Messages
1,528
Reaction score
1,358
Credits
11,033
How does AppArmor get updated? I have version "AppArmor 2.13.3" and the latest version is 3.0.1. Is there any possible way to update AppArmor in Ubuntu?
Which version of Ubuntu are you using?
Ubuntu 21.10 comes with appamor 3.0.3
20.04 only has 2.13.3.
I don't know of any way to upgrade to the newer version in 20.04.
You may have to wait until 22.04 LTS is released to get a new version.
 
Last edited:

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
8,576
Reaction score
7,328
Credits
69,725
That's not something I'd try to change without having made a working backup. Unless you have a really good reason, I'd suggest keeping it the same as when the devs released it.
 
OP
Eddie Paul Litz

Eddie Paul Litz

Active Member
Joined
Apr 30, 2018
Messages
302
Reaction score
57
Credits
707
I have KDE Neon w/ Build 2004 (Build 2004 LTS= Ubuntu 20.04 LTS)
 
OP
Eddie Paul Litz

Eddie Paul Litz

Active Member
Joined
Apr 30, 2018
Messages
302
Reaction score
57
Credits
707
My guess is that App Armor will be updated when Build 2204 LTS gets released this year.
 

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
8,576
Reaction score
7,328
Credits
69,725
In Jammy (what will be 22.04) the apt policy indicates that the apparmor candidate is 3.0.3.

So, that will be the version in 22.04 LTS (due out relatively soon) - or a more recent version will be.
 

kc1di

Well-Known Member
Joined
May 14, 2021
Messages
1,528
Reaction score
1,358
Credits
11,033
Having used the daily build of 22.04 for awhile. I would say the apparmor version will be 3.0.3. But then Conical sometime surprises at the last minute. In any event it's very hard to upgrade apparmor without a total update of debus and other dependencies. So in Ubuntu and derivatives any way your pretty much stuck with the version it ships with.
 

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
8,576
Reaction score
7,328
Credits
69,725
But then Conical sometime surprises at the last minute.

It's not too far from being feature locked, where they very, very seldom change the version to give LTS. In my understanding, they want the software to also be in LTS as much as possible. Looking at the release notes, this doesn't appear to be a major version change. So, they could go with something newer - if it's available. 3.0.3 mostly just fixes a bug in 3.0.2.
 

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
8,576
Reaction score
7,328
Credits
69,725
Having used the daily build of 22.04 for awhile.

Also, if you want, you can download a new 'manifest' every day. I then keep two in rotation so that I can use 'diff' to accurately track the day's changes. It looks like this.

Code:
ls -la | grep manifest # tells me which is oldest, so I can remove it
rm jammy-desktop-amd64.manifest # or rm jammy-desktop-amd64.manifest.1 - remove the oldest
wget http://cdimage.ubuntu.com/lubuntu/daily-live/current/jammy-desktop-amd64.manifest
diff jammy-desktop-amd64.manifest jammy-desktop-amd64.manifest.1

I do the live testing, mostly. So, that's my method. There are surely more elegant solutions, but here we are.
 
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Members online


Top