An error occurred while trying to intall a package from the Synaptic Package Manager

Asked by Nigel Fitt

While downloading the necessary files from the Synaptic Package Manage the process stopped giving the following error message.

-----------------------------------------------

An error occurred

-------------------

The following details are provided.

W : Download is performed unsandboxed as root as file '/var/cache/apt/archives/partial/libapt-pkg5.0_1.4.6~17.04.1_i386deb' couldn't be accessed by user'_apt'. pkgAcquire::Run (13: Permission denied

---------------------

Imam using Lubuntu 17.04 and Mozilla Firefox. I do not know the Firefox version

Question information

Language:
English Edit question
Status:
Answered
For:
Lubuntu Software Center Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

The message that you see is just a warning and should not stop further processing of the package management system.

For diagnostic purposes please provide the output that you get for the commands (to be executed in a terminal window):

uname -a
lsb_release -crid
sudo apt-get update
sudo dpkg --audit

Revision history for this message
Nigel Fitt (nigelfitt) said :
#2

Hi, Manfred,

Thank you for your email.

How do I access the terminal window? what am I supposed to do with these
commands?

uname -a
lsb_release -crid
sudo apt-get update
sudo dpkg --audit
Looking forward to hearing from you.

God bless,
Nigel Fitt

On 23 September 2017 at 19:58, Manfred Hampl <
<email address hidden>> wrote:

> Your question #658591 on Lubuntu Software Center changed:
> https://answers.launchpad.net/lubuntu-software-center/+question/658591
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> The message that you see is just a warning and should not stop further
> processing of the package management system.
>
> For diagnostic purposes please provide the output that you get for the
> commands (to be executed in a terminal window):
>
> uname -a
> lsb_release -crid
> sudo apt-get update
> sudo dpkg --audit
>
> --
> 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/lubuntu-software-center/+question/658591
>
> You received this question notification because you asked the question.
>

--

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

You can access the terminal by selecting it from menus or by using the dash window for searching, or you just simultaneously press the ctrl-alt-t keys.

Then copy and paste one line of the commands after the other into the terminal window, provide your password when asked for it (note: there will not be any feedback when typing the password, not even '*' placeholders), and finally select all output from within the terminal window and paste it back into this question document that we can see.

Revision history for this message
Nigel Fitt (nigelfitt) said :
#4

Hi, Manfred,

I opened the terminal. I could not copy the commands. I opened both
windows and typed the commands in to the terminal window. I got an error
message. I tried again and again. I got a different error message every
time. There is too much to try to copy

On 25 September 2017 at 16:38, Manfred Hampl <
<email address hidden>> wrote:

> Your question #658591 on Lubuntu Software Center changed:
> https://answers.launchpad.net/lubuntu-software-center/+question/658591
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> You can access the terminal by selecting it from menus or by using the
> dash window for searching, or you just simultaneously press the ctrl-
> alt-t keys.
>
> Then copy and paste one line of the commands after the other into the
> terminal window, provide your password when asked for it (note: there
> will not be any feedback when typing the password, not even '*'
> placeholders), and finally select all output from within the terminal
> window and paste it back into this question document that we can see.
>
> --
> 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/lubuntu-software-center/+question/658591
>
> You received this question notification because you asked the question.
>

--

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

Why can't you copy/paste the commands and the results?
Open your Launchpad question document https://answers.launchpad.net/lubuntu-software-center/+question/658591 and a terminal window at the same time.
Mark one line from the commands in the Launchpad document with your mouse that it is shown in reverse color, click the right mouse button and select "copy" in the pop-up.
Switch to the terminal window, press the right mouse button and select "paste" in the pop-up.
Press enter to execute the command if necessary.
And so on with all commands.
Finally use the terminal window's menu entries "edit - select all" and "edit - copy" to copy all output and paste into this question document that we can see.

Revision history for this message
Nigel Fitt (nigelfitt) said :
#6

Hi, Manfred,

I hope this helps.

nigel@nigel-G41M-ES2L:~$ uname -a
Linux nigel-G41M-ES2L 4.10.0-33-generic #37-Ubuntu SMP Fri Aug 11 10:53:59
UTC 2017 i686 i686 i686 GNU/Linux
nigel@nigel-G41M-ES2L:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 17.04
Release: 17.04
Codename: zesty
nigel@nigel-G41M-ES2L:~$ sudo apt-get update
[sudo] password for nigel:
Hit:1 http://za.archive.ubuntu.com/ubuntu zesty InRelease
Get:2 http://za.archive.ubuntu.com/ubuntu zesty-updates InRelease [89.2
kB]
Get:3 http://security.ubuntu.com/ubuntu zesty-security InRelease [89.2
kB]
Get:4 http://za.archive.ubuntu.com/ubuntu zesty-backports InRelease [89.2
kB]
Get:5 http://security.ubuntu.com/ubuntu zesty-security/main i386 DEP-11
Metadata [12.8 kB]
Get:6 http://security.ubuntu.com/ubuntu zesty-security/main DEP-11 64x64
Icons [17.6 kB]
Get:7 http://security.ubuntu.com/ubuntu zesty-security/universe i386 DEP-11
Metadata [21.0 kB]
Get:8 http://za.archive.ubuntu.com/ubuntu zesty-updates/main i386 Packages
[215 kB]
Get:9 http://security.ubuntu.com/ubuntu zesty-security/universe DEP-11
64x64 Icons [37.6 kB]
Get:10 http://security.ubuntu.com/ubuntu zesty-security/multiverse i386
DEP-11 Metadata [208 B]
Get:11 http://za.archive.ubuntu.com/ubuntu zesty-updates/main i386 DEP-11
Metadata [53.0 kB]
Get:12 http://za.archive.ubuntu.com/ubuntu zesty-updates/main DEP-11 64x64
Icons [32.3 kB]
Get:13 http://za.archive.ubuntu.com/ubuntu zesty-updates/universe i386
DEP-11 Metadata [172 kB]
Get:14 http://za.archive.ubuntu.com/ubuntu zesty-updates/universe DEP-11
64x64 Icons [233 kB]
Get:15 http://za.archive.ubuntu.com/ubuntu zesty-updates/multiverse i386
DEP-11 Metadata [5,840 B]
Get:16 http://za.archive.ubuntu.com/ubuntu zesty-backports/universe i386
DEP-11 Metadata [4,588 B]
Fetched 1,073 kB in 6s (171
kB/s)
Reading package lists... Done
nigel@nigel-G41M-ES2L:~$ sudo dpkg --audit
nigel@nigel-G41M-ES2L:~$

I had the same error message, just now when I tried to download and install
Sea Monkey from the Synaptic Package Manager

Looking forward to hearing from you.

God bless,
Nigel Fitt

On 26 September 2017 at 14:15, Nigel Fitt <email address hidden> wrote:

> Hi, Manfred,
>
> I opened the terminal. I could not copy the commands. I opened both
> windows and typed the commands in to the terminal window. I got an error
> message. I tried again and again. I got a different error message every
> time. There is too much to try to copy
>
> On 25 September 2017 at 16:38, Manfred Hampl <question658591@answers.
> launchpad.net> wrote:
>
>> Your question #658591 on Lubuntu Software Center changed:
>> https://answers.launchpad.net/lubuntu-software-center/+question/658591
>>
>> Status: Open => Needs information
>>
>> Manfred Hampl requested more information:
>> You can access the terminal by selecting it from menus or by using the
>> dash window for searching, or you just simultaneously press the ctrl-
>> alt-t keys.
>>
>> Then copy and paste one line of the commands after the other into the
>> terminal window, provide your password when asked for it (note: there
>> will not be any feedback when typing the password, not even '*'
>> placeholders), and finally select all output from within the terminal
>> window and paste it back into this question document that we can see.
>>
>> --
>> 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/lubuntu-software-center/+question/658591
>>
>> You received this question notification because you asked the question.
>>
>
>
>
> --
>
>
>

--

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

Well done, you provided the output as requested.

There is no error shown in your output.

Do you refer to messages like
"W : Download is performed unsandboxed as root as file '/var/cache/apt/archives/partial/libapt-pkg5.0_1.4.6~17.04.1_i386deb' couldn't be accessed by user'_apt'. pkgAcquire::Run (13: Permission denied)"

This is not an _error_ but only a _warning_ message (letter "W" at the beginning), that does not prevent an installation or package upgrade from functioning. You can safely ignore it.
There is a long discussion about it in bug #1522675

Revision history for this message
Nigel Fitt (nigelfitt) said :
#8

Hi, Manfred,

Why can I not find the Blue Griffin and Sea Monkey applications / programs
that I have downloaded from the Synaptic Package Manager?

Looking forward to hearing from you.

God bless,
Nigel Fitt

On 27 September 2017 at 13:29, Manfred Hampl <
<email address hidden>> wrote:

> Your question #658591 on Lubuntu Software Center changed:
> https://answers.launchpad.net/lubuntu-software-center/+question/658591
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Well done, you provided the output as requested.
>
> There is no error shown in your output.
>
> Do you refer to messages like
> "W : Download is performed unsandboxed as root as file
> '/var/cache/apt/archives/partial/libapt-pkg5.0_1.4.6~17.04.1_i386deb'
> couldn't be accessed by user'_apt'. pkgAcquire::Run (13: Permission denied)"
>
> This is not an _error_ but only a _warning_ message (letter "W" at the
> beginning), that does not prevent an installation or package upgrade from
> functioning. You can safely ignore it.
> There is a long discussion about it in bug #1522675
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/lubuntu-software-center/+
> question/658591/+confirm?answer_id=6
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/lubuntu-software-center/+question/658591
>
> You received this question notification because you asked the question.
>

--

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

How did you install these? I am not aware that they are available in the standard Ubuntu repositories.

What is the output of the commands

dpkg -l | grep bluegriffin
dpkg -l | grep seamonkey

Revision history for this message
Nigel Fitt (nigelfitt) said :
#10

nigel@nigel-G41M-ES2L:~$ dpkg -l | grep seamonkey
nigel@nigel-G41M-ES2L:~$

I clicked on Start, System Tools, Synaptic Package Manager. HTML editor and
Internet Browser. I found Blue Griffin and Sea Monkey. with the package
high lighted I clicked on Mark all upgrages and apply, A process started
ending with a message saying Your package is installed. Then the warning
message appeared.

On 28 September 2017 at 15:44, Manfred Hampl <
<email address hidden>> wrote:

> Your question #658591 on Lubuntu Software Center changed:
> https://answers.launchpad.net/lubuntu-software-center/+question/658591
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> How did you install these? I am not aware that they are available in the
> standard Ubuntu repositories.
>
> What is the output of the commands
>
> dpkg -l | grep bluegriffin
> dpkg -l | grep seamonkey
>
> --
> 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/lubuntu-software-center/+question/658591
>
> You received this question notification because you asked the question.
>

--

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

Your output does not indicate that you have installed seamonkey with the help of one of the package management programs (including synaptic). For bluegriffin the output of the related command is missing, so I cannot judge.

Can you help with this problem?

Provide an answer of your own, or ask Nigel Fitt for more information if necessary.

To post a message you must log in.