Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs

Dashboard
Notifications
Mark all as read
Q&A

How do I get lubuntu to not prompt non-admins about updates?

+5
−0

I have an old Mac Mini (Late 2009 model) kicking around, and as Apple stopped providing patches for it (and as I'm not going to put an unpatched system on the Internet), I was looking for a Linux distribution to let it do basic tasks (mainly watching Netflix, Youtube, and maybe a bit of LibreOffice usage). I ended up installing Lubuntu 20.04 on it several months ago. For the most part it does what I want, but there's a real big annoyance: Whenever there are updates to apply, it displays a box over whatever the system's doing asking if updates should be applied.

Now, as a general concept it makes sense to want to ask about updates (I mean, like I said the reason I went down this road was because I wanted a system that got current security updates), but it asks regardless of who is logged into the system. That is, while I of course have an admin account on the system that has sudo rights, usually the computer is being used by one of the kids (who each have their own login), and it just gets in the way of what they are trying to do. It seems really weird to me that it prompts for updates, especially when the user it's prompting can't actually do anything about it.

Is there some way to:

  1. Suppress the dialog box asking for updates from non-admin accounts?
  2. Automatically install updates rather than just prompting to do so? (I guess I'm really looking for the Windows-style model here, where it just updates and reboots itself overnight when nobody is logged in and you don't even really notice.)
  3. Or, preferably both?
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

General comments (3 comments)

1 answer

+0
−1

I didn't use Lubuntu. So, I don't have idea of Lubuntu's UI/UX. When we update system, it actually make changes to the system which only root user can do. If you want to give the access to those kids than, you have to make some changes to a file. Run the command (You can watch the tutorial. To know more about admin privilege)

sudo visudo

Then, the file will appear. Then, you should make some changes to give admin privilege to those kids. Actually, normal user can't make every changes cause, normal user don't have access to use every file or, command.

To update your system you have to run following command

sudo apt-get update

Above command is for Debian-Based Linux. Lubuntu is Debian-Based Linux. For, Arch-Based Linux you have to run following command.

sudo pacman -Syyu

As far as I remember in Ubuntu I found a way to directly update system by clicking on button (I am not sure of the information cause, I had used Ubuntu lot of days ago. And, Lubuntu is similar to Ubuntu).

For automatic updates :

  1. How to Enable Automatic Updates on Ubuntu 20.04
  2. How to set up automatic updates for Ubuntu Linux 18.04
sudo vim /etc/apt/apt.conf.d/20auto-upgrades

You can use gedit/nano instead of vim. By default you will have following lines

20auto-upgrades
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";

The value "1" enables auto update and upgrade. To disable it you can set it to "0". If these aren't set to 1 by default then, set it.

Why does this post require moderator attention?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »

This community is part of the Codidact network. We have other communities too — take a look!

You can also join us in chat!

Want to advertise this community? Use our templates!