LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux Mint (https://www.linuxquestions.org/questions/linux-mint-84/)
-   -   Updated software prompt (https://www.linuxquestions.org/questions/linux-mint-84/updated-software-prompt-4175726500/)

edhe1 07-01-2023 10:03 AM

Updated software prompt
 
[SOLVED] Several times I have received a prompt to download 'updated software.'
Today I clicked install, and the downloads started immediately. About 2 seconds LATER the prompt appeared to enter my root password.
I thought that strange, and cancelled.

pan64 07-01-2023 10:08 AM

would be nice to give us more details, what is it all about.
On linux usually only root has right to install anything, so that can be acceptable. But there are other software which are only used (and installed) by the user, they do not require root access.
From the other hand update is managed by the package management software, we don't just download anything from anywhere. So would be nice to know which OS is it, which software is it (and how did you install id before).

273 07-01-2023 10:12 AM

In the same way that Windows now copies it is normal for a Linux distribution to ask for root access to install software.
I am a little confused why you think the prompt wasn't genuine? Is there a reason to doubt that your install is genuine?

edhe1 07-01-2023 10:33 AM

Update software
 
I am used to having it immediately ask for my password; and not after the install begins.
When it happens again I will reply with more information as requested.

273 07-01-2023 10:41 AM

That worry does make sense now I understand. What you can do is "sudo apt update" and "sudo apt upgrade" on the command line so you can se it happening. I tend to prefer it but I am a dinosaur.

BW-userx 07-01-2023 11:33 AM

ah that is what it does you have to be root to install so it might have downloaded it then requested a password to now Install it.

frankbell 07-01-2023 08:27 PM

Quote:

it might have downloaded it then requested a password to now Install it
I have seen this on some distros I've played with.

edhe1 07-02-2023 10:57 AM

2 Attachment(s)
I am using Linux Mint 20.3 Cinnamon.

I am in the habit of using only 'sudo apt-get update' and sudo apt-get upgrade'; and then watching 'Selecting', 'Preparing to unpack', 'Unpacking', and finally 'Setting up'.
This is the first time seeing something like this - where the packages have already been updated.

What first shows is in the first attachment.
After I click on install, you can see - in the second attachment - that the install begins; and THEN the prompt for the password.
Even in Update Manager it immediately asks for the password; and then it shows all of the files that will be updated.

This is no big deal gentlemen. I am just posting it for your review.

I will continue to use 'sudo apt-get update' and sudo apt-get upgrade'.

yancek 07-02-2023 11:06 AM

The images in your last post are standard on Ubuntu (and most derivatives) when installing from a GUI using Software Updater or whatever Mint uses.

BW-userx 07-02-2023 01:00 PM

Quote:

Originally Posted by edhe1 (Post 6439758)
I am using Linux Mint 20.3 Cinnamon.

I am in the habit of using only 'sudo apt-get update' and sudo apt-get upgrade'; and then watching 'Selecting', 'Preparing to unpack', 'Unpacking', and finally 'Setting up'.
This is the first time seeing something like this - where the packages have already been updated.

What first shows is in the first attachment.


----> After I click on install, <------


you can see - in the second attachment - that the install begins; and THEN the prompt for the password.
Even in Update Manager it immediately asks for the password; and then it shows all of the files that will be updated.

This is no big deal gentlemen. I am just posting it for your review.

I will continue to use 'sudo apt-get update' and sudo apt-get upgrade'.

this method here you are talking about contradicts itself
using
sudo apt update sudo apt upgrade ( as that is the new style, apt-get is old school) nevertheless there is nothing to click afterwards. that would be using a GUI installer apposed to the cli what uses apt . so are you mixing installing updates or what?


those two images is that is how it is done. On my Ubunutu as well as all of those window type linux systems. you tell it yes then it pops up a ROOT LOGIN screen to type in ROOT PASSWORD because only ROOT can install to the SYSTEM. so just add the password and get on with life. :D

it says about you --> Registered: Sep 2006 <---
a lot has happened since then...

edhe1 07-03-2023 07:30 PM

Moving on. [SOLVED]

pan64 07-04-2023 12:51 AM

Quote:

Originally Posted by edhe1 (Post 6439984)
Moving on. [SOLVED]

in that case you might want to mark the thread as solved.
(also you can explain how did you solve it)
Thanks

BW-userx 07-04-2023 07:20 AM

using CLI and sudo without nopasswd in sudoers

sudo apt update enter password
sudo apt upgrade (no enter password because there is a time limit to how long it stays valid)

using GUI
click update all
it collects them then asks for password to install
add password
install

using root su
su
add password
do your thing
exit
there is no getting around it using a password is a way of life.


All times are GMT -5. The time now is 10:30 PM.