authentidation required

Asked by Dave Keyser

When I go to update Firefox to the latest version, I get back a message "Authentication is required to install, update or remove packages" Incorrect permission on usr/lib/policykit-1/polkit-agent-helper-1 (needs to be setuid root)

How do I accomplish this?
Dave

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bashing-om (bashing-om) said :
#1

Dave Keyser; Hello

Is FireFox the default install ?
And what command are you using to update FF ?
Any addition to the system will require escalated privileges by the use of "sudo" - this will require the admin password. When your password is entered there will be no response to the screen for security reasons.

The latest FF available in 18.04 is:
firefox/bionic-security,bionic-updates 68.0+build3-0ubuntu0.18.04.1 amd64
and the package manager can fetch it if you are not current.
sudo apt update
sudo apt full-upgrade

-hope this helps-

Revision history for this message
Dave Keyser (drno410) said :
#2

You may reach me at <email address hidden>

Revision history for this message
Dave Keyser (drno410) said :
#3

Yes Firefox is the default

there you have me--I just click on the icon or the webmail poc in response to the direction that my firefox is much out of date and should be updated.

Also, if I choose another program from the ubuntu software library, it will download a .tar file, I can open it, I can extract it, but then nothing happens, even if I doulbe-click on the * .exe file.

I think I'm at 16.04 now, but on the laptop second computer, no version no is shown, but a line drawing of a Beaver appears...

Revision history for this message
Bashing-om (bashing-om) said :
#4

Dave;

Let's keep our focus on Firefox.

The "beaver" may indeed be release 18.04.
At the desktop activate a terminal with key combo ctl+alt+t.
In this terminal type:
lsb_release -a
and paste back here what it returns -
and to show what verson of FF is installed in that terminal type:
dpkg -l firefox

and the version info as to what and where FF is available
apt policy firefox

Depending on what these return; we then look at maybe the repository sources and the state of the package manager.

-one step at a time-

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Keeping replies on the forum rather than emailing directly may help other people and is what forums are for.

Revision history for this message
Dave Keyser (drno410) said :
#6

-----Original Message-----
>From: Bashing-om <email address hidden>
>Sent: Jul 23, 2019 1:08 AM
>To: <email address hidden>
>Subject: Re: [Question #682244]: authentidation required
>
>Your question #682244 on Ubuntu changed:
>https://answers.launchpad.net/ubuntu/+question/682244
>
> Status: Open => Needs information
>
>Bashing-om requested more information:
>Dave;
>
>Let's keep our focus on Firefox.
>
>The "beaver" may indeed be release 18.04.
>At the desktop activate a terminal with key combo ctl+alt+t.
>In this terminal type:
>lsb_release -a
>and paste back here what it returns - Ubvuntu 18.04.01 LTS
reply = verifies Ubuntu 18.04, codename bionic

>and to show what verson of FF is installed in that terminal type:
>dpkg -l firefox
>
>and the version info as to what and where FF is available
>apt policy firefox
>
>Depending on what these return; we then look at maybe the repository
>sources and the state of the package manager.
>
>-one step at a time-
>
>--
>To answer this request for more information, you can either reply to
>this email or enter your reply at the following page:
>https://answers.launchpad.net/ubuntu/+question/682244
>
>You received this question notification because you asked the question.

Revision history for this message
Bashing-om (bashing-om) said :
#7

dpkg -l firefox
apt policy firefox
?

Revision history for this message
Dave Keyser (drno410) said :
#8

i THEN  followed your sudo command, just the first one, and the attached
is the result:

Now we are getting somewhere

Thank you

Dave

On 07/23/2019 09:52 PM, Dave Keyser wrote:
> Your question #682244 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/682244
>
> Status: Needs information => Open
>
> You gave more information on the question:
>
>
> -----Original Message-----
>> From: Bashing-om <email address hidden>
>> Sent: Jul 23, 2019 1:08 AM
>> To: <email address hidden>
>> Subject: Re: [Question #682244]: authentidation required
>>
>> Your question #682244 on Ubuntu changed:
>> https://answers.launchpad.net/ubuntu/+question/682244
>>
>> Status: Open => Needs information
>>
>> Bashing-om requested more information:
>> Dave;
>>
>> Let's keep our focus on Firefox.
>>
>> The "beaver" may indeed be release 18.04.
>> At the desktop activate a terminal with key combo ctl+alt+t.
>> In this terminal type:
>> lsb_release -a
>> and paste back here what it returns - Ubvuntu 18.04.01 LTS
> reply = verifies Ubuntu 18.04, codename bionic
>
>
>> and to show what verson of FF is installed in that terminal type:
>> dpkg -l firefox
>>
>> and the version info as to what and where FF is available
>> apt policy firefox
>>
>> Depending on what these return; we then look at maybe the repository
>> sources and the state of the package manager.
>>
>> -one step at a time-
>>
>> --
>> To answer this request for more information, you can either reply to
>> this email or enter your reply at the following page:
>> https://answers.launchpad.net/ubuntu/+question/682244
>>
>> You received this question notification because you asked the question.

Revision history for this message
Bashing-om (bashing-om) said :
#9

Sorry Dave -

I can not follow what you are doing - or not doing.

I do want to see the outputs - here - of terminal commands:
dpkg -l firefox
apt policy firefox
And then we see what and where we go.

-working in the blind - Not-

Revision history for this message
Manfred Hampl (m-hampl) said :
#10

I assume that the problem is caused by wrong access rights settings on a specific file (no idea what might have caused this).
see https://www.youtube.com/watch?v=wy0WnHB8GD0

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#11

Attaching a file to the automated email doesn't work. If the output is text then please post it as an update on:
https://answers.launchpad.net/ubuntu/+question/682244

Thanks

Revision history for this message
Dave Keyser (drno410) said :
#12

i reported last time about the progress made.  So once again I tried to
install a video prg from Ubuntu  Software, and I am still told I do not
have permission to install.

Thank you,

Dave

On 07/23/2019 09:52 PM, Dave Keyser wrote:
> Your question #682244 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/682244
>
> Status: Needs information => Open
>
> You gave more information on the question:
>
>
> -----Original Message-----
>> From: Bashing-om <email address hidden>
>> Sent: Jul 23, 2019 1:08 AM
>> To: <email address hidden>
>> Subject: Re: [Question #682244]: authentidation required
>>
>> Your question #682244 on Ubuntu changed:
>> https://answers.launchpad.net/ubuntu/+question/682244
>>
>> Status: Open => Needs information
>>
>> Bashing-om requested more information:
>> Dave;
>>
>> Let's keep our focus on Firefox.
>>
>> The "beaver" may indeed be release 18.04.
>> At the desktop activate a terminal with key combo ctl+alt+t.
>> In this terminal type:
>> lsb_release -a
>> and paste back here what it returns - Ubvuntu 18.04.01 LTS
> reply = verifies Ubuntu 18.04, codename bionic
>
>
>> and to show what verson of FF is installed in that terminal type:
>> dpkg -l firefox
>>
>> and the version info as to what and where FF is available
>> apt policy firefox
>>
>> Depending on what these return; we then look at maybe the repository
>> sources and the state of the package manager.
>>
>> -one step at a time-
>>
>> --
>> To answer this request for more information, you can either reply to
>> this email or enter your reply at the following page:
>> https://answers.launchpad.net/ubuntu/+question/682244
>>
>> You received this question notification because you asked the question.

Revision history for this message
Bashing-om (bashing-om) said :
#13

Dave- Hey

Without that you post the errors, as text, that the system reports (so that we see what you see) - there is nothing further that we can do.

Depending on the desktop that you have -
Attempt to Install the program from terminal, then
try: right click in the terminal and drag over all the outputs,
return to this thread and middle click to "paste" the contents from the drag operation.

-my bit to try and help-

Revision history for this message
Dave Keyser (drno410) said :
#14

returns:

dave@dave-Precision-M4400:~$ dpkg -1 firefox
dpkg: error: unknown option -1

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or
'more' !
dave@dave-Precision-M4400:~$ apt policy firefox
firefox:
   Installed: 61.0.1+build1-0ubuntu0.18.04.1
   Candidate: 68.0+build3-0ubuntu0.18.04.1
   Version table:
      68.0+build3-0ubuntu0.18.04.1 500
         500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main
amd64 Packages
         500 http://security.ubuntu.com/ubuntu bionic-security/main
amd64 Packages
  *** 61.0.1+build1-0ubuntu0.18.04.1 100
         100 /var/lib/dpkg/status
      59.0.2+build1-0ubuntu1 500
         500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
dave@dave-Precision-M4400:~$ ^C
dave@dave-Precision-M4400:~$

On 07/23/2019 11:17 PM, Bashing-om wrote:
> Your question #682244 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/682244
>
> Status: Open => Needs information
>
> Bashing-om requested more information:
> Sorry Dave -
>
> I can not follow what you are doing - or not doing.
>
> I do want to see the outputs - here - of terminal commands:
> dpkg -l firefox
> apt policy firefox
> And then we see what and where we go.
>
> -working in the blind - Not-
>

Revision history for this message
Bashing-om (bashing-om) said :
#15

Dave; Good -

Making progress.

So now we know that the installed firefox is an old version.
So, let's see what now results in updating the system,
Run and paste back the results:
sudo apt update
sudo apt upgrade

Not that it matters now in this case but the command that you entered: "dpkg -1 firefox"; the switch (argument to dpkg) is a lower case ell (l) - not a numeral one (1).

-getting there, slowly-

Revision history for this message
Dave Keyser (drno410) said :
#16

after sudo update the response is [sudo] password for dave

When I type in my login pw, I get an error message.  What would that be,
or where do I enter it in a log, or is that the problem with my lack of
permission to install?

dave@dave-Precision-M4400:~$ sudo apt update
[sudo] password for dave:
Sorry, try again.
[sudo] password for dave:

On 07/25/2019 11:27 PM, Bashing-om wrote:
> Your question #682244 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/682244
>
> Status: Open => Needs information
>
> Bashing-om requested more information:
> Dave; Good -
>
> Making progress.
>
> So now we know that the installed firefox is an old version.
> So, let's see what now results in updating the system,
> Run and paste back the results:
> sudo apt update
> sudo apt upgrade
>
> Not that it matters now in this case but the command that you entered:
> "dpkg -1 firefox"; the switch (argument to dpkg) is a lower case ell (l)
> - not a numeral one (1).
>
> -getting there, slowly-
>

Revision history for this message
Bashing-om (bashing-om) said :
#17

Dave; ....
"Sorry, try again."

The system is requesting the password that you created for the primary user that you made when you installed the system.
Check and insure that the cap lock (key) is not active when you enter the pass word. Be aware there will be no response to the screen when the pas word is entered. Try again with great care that no error is made in typing that password.

-try try again-

Revision history for this message
Dave Keyser (drno410) said :
#18

Thank you for your patience.  I didn't realize that the terminal would
not show the pw, but when I entered it I got a lot of response.  Some of
which follows:

Fetched 7,866 kB in 5s (1,562 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
510 packages can be upgraded. Run 'apt list --upgradable' to see them.
dave@dave-Precision-M4400:~$ sudp apt upgrade

Command 'sudp' not found, did you mean:

   command 'sfdp' from deb graphviz
   command 'sudo' from deb sudo
   command 'sudo' from deb sudo-ldap
   command 'sup' from deb sup

Try: sudo apt install <deb name>

dave@dave-Precision-M4400:~$ sudo apt upgrade
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure
-a' to correct the problem.
dave@dave-Precision-M4400:~$ sudo dpkg -a
dpkg: error: need an action option

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or
'more' !
dave@dave-Precision-M4400:~$ dpkg -l firefox
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                            Version Architecture         Description
+++-===============================-====================-====================-====================================================================
ii  firefox                         61.0.1+build1-0ubunt
amd64                Safe and easy web browser from Mozilla
dave@dave-Precision-M4400:~$ apt policy firefox
firefox:
   Installed: 61.0.1+build1-0ubuntu0.18.04.1
   Candidate: 68.0.1+build1-0ubuntu0.18.04.1
   Version table:
      68.0.1+build1-0ubuntu0.18.04.1 500
         500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main
amd64 Packages
         500 http://security.ubuntu.com/ubuntu bionic-security/main
amd64 Packages
  *** 61.0.1+build1-0ubuntu0.18.04.1 100
         100 /var/lib/dpkg/status
      59.0.2+build1-0ubuntu1 500
         500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
dave@dave-Precision-M4400:~$

On 07/26/2019 12:32 AM, Bashing-om wrote:
> Your question #682244 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/682244
>
> Bashing-om posted a new comment:
> Dave; ....
> "Sorry, try again."
>
> The system is requesting the password that you created for the primary user that you made when you installed the system.
> Check and insure that the cap lock (key) is not active when you enter the pass word. Be aware there will be no response to the screen when the pas word is entered. Try again with great care that no error is made in typing that password.
>
> -try try again-
>

Revision history for this message
Dave Keyser (drno410) said :
#19

it asks for sudo password---------I put in my pw, but since the screen
did not display it I did not take the next step.  When i did we got
success!  I was able to go to the web and download and install a video
feature that I wanted:  I think I've also upgraded firefox as well, and
there are 510 other pkg s which I could choose to do--I guess, unless
that also was executed.:

dave@dave-Precision-M4400:~$ sudo snap install vlc
[sudo] password for dave:
vlc 3.0.7 from VideoLAN✓ installed
dave@dave-Precision-M4400:~$

Thank you very much.  This is a new installation on a 4-yr old
superlaptop which we were using to develop a new CFD program.  I used to
be reasonably facile onthe terminal commands I needed back then, but in
the intervening several years, I forgot most of what I knew.

Best regards

Dave

On 07/25/2019 11:27 PM, Bashing-om wrote:
> Your question #682244 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/682244
>
> Status: Open => Needs information
>
> Bashing-om requested more information:
> Dave; Good -
>
> Making progress.
>
> So now we know that the installed firefox is an old version.
> So, let's see what now results in updating the system,
> Run and paste back the results:
> sudo apt update
> sudo apt upgrade
>
> Not that it matters now in this case but the command that you entered:
> "dpkg -1 firefox"; the switch (argument to dpkg) is a lower case ell (l)
> - not a numeral one (1).
>
> -getting there, slowly-
>

Revision history for this message
Bashing-om (bashing-om) said :
#20

Dave; Great ?

If all is now good - please mark this thread as solved :)

Revision history for this message
Dave Keyser (drno410) said :
#21

   I was successful in installing the video player VLC off the web.  The
command syntax I used was $ sudo snap install vlc

That is when I replied to you.

Then I thought, as a test,  let's see if that approach will work for a
piece of ubuntu software from folder 'A' on the left panel: I was given
the ~website as ' ubuntu-bionic-universe '  so I put in the command as
before with the new website as:  sudo ubuntu-bionic-universe gimp

and the error returned was, after inputting the pw:  sudo
ubuntu-bionic-universe     command not found

after searching my linux literature (mostly ref to Red Hat) I tried to
get su authorization, but that failed too.    the pkg I was trying to
install is GNU image manipulation program

So,  what is the syntax for installing pgm or pkg from the Ubuntu
Software ICON on my left panel?

On 7/26/19 1:22 AM, Bashing-om wrote:
> Your question #682244 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/682244
>
> Bashing-om posted a new comment:
> Dave; Great ?
>
> If all is now good - please mark this thread as solved :)
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#22

To su you need the password of the account you are su'ing to. That's how you get that access. Were you trying to su to root?

Revision history for this message
Dave Keyser (drno410) said :
#23

will that get me permission to install pkg / programs off the web?

On 7/28/19 8:52 PM, actionparsnip wrote:
> Your question #682244 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/682244
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> To su you need the password of the account you are su'ing to. That's how
> you get that access. Were you trying to su to root?
>

Revision history for this message
Bashing-om (bashing-om) said :
#24

Dave; Yukkie ...

You are overthinking things and seem a bit confused.
Snap and apt are two different mediums to install software - they are distinct and do not share.
Let's focus on "GNU image manipulation" installing such a package from the official software repository.

The terminal method:
From the terminal execute:
apt search "GNU image manipulation"
to search for applications that meet the search criteria.
One result is:
gimp/bionic 2.8.22-1 amd64
  GNU Image Manipulation Program

Well that looks promising - we can get more info about the app 'gimp':
apt show gimp

And as it appears to be what is sought, one can install from terminal:
sudo apt update
sudo apt upgrade
sudo apt install gimp
where "your" password for administrative action is required.
As before, enter you password where there is no return to the screen when the password is entered.

The package manager will go to work and install gimp - AND take care also of installing all other dependencies and configs for the package.

I expect it to be
-as simple as that-

Revision history for this message
Dave Keyser (drno410) said :
#25

Thank you very much. We have installed GIMP successfully, and I have
started working with it.  My gratitude for your patience and tutorial
knows no bounds.  This is the way I like to work with computers, but
I've gotten quite rusty from being babied by MS.

Sometime, at your leisure, you might send me the steps as below to
uninstall prg / pkg s in the future.

Best regards

Dave

p s  After playing around with GIMP tomorrow, I shall end this question
as you recommended.

On 7/28/19 11:42 PM, Bashing-om wrote:
> Your question #682244 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/682244
>
> Status: Open => Answered
>
> Bashing-om proposed the following answer:
> Dave; Yukkie ...
>
> You are overthinking things and seem a bit confused.
> Snap and apt are two different mediums to install software - they are distinct and do not share.
> Let's focus on "GNU image manipulation" installing such a package from the official software repository.
>
> The terminal method:
> >From the terminal execute:
> apt search "GNU image manipulation"
> to search for applications that meet the search criteria.
> One result is:
> gimp/bionic 2.8.22-1 amd64
> GNU Image Manipulation Program
>
> Well that looks promising - we can get more info about the app 'gimp':
> apt show gimp
>
> And as it appears to be what is sought, one can install from terminal:
> sudo apt update
> sudo apt upgrade
> sudo apt install gimp
> where "your" password for administrative action is required.
> As before, enter you password where there is no return to the screen when the password is entered.
>
> The package manager will go to work and install gimp - AND take care
> also of installing all other dependencies and configs for the package.
>
> I expect it to be
> -as simple as that-
>

Revision history for this message
Bashing-om (bashing-om) said :
#26

Dave -

We are always happy to answer any question - so long as you are trying to climb that learning curve.

There are many other support venues:
These too are popular.
Ask ubuntu
ubuntuforums.org
irc: #ubuntu on freenode

And for documentation and tutorials:
https://help.ubuntu.com/community/PopularPages

-always be ready to answer a question-

Can you help with this problem?

Provide an answer of your own, or ask Dave Keyser for more information if necessary.

To post a message you must log in.