Discussion:
Bug#862866: upgrade-reports: Error message after installation/Upgrade (Synaptic)
Geo Pe
2017-05-17 20:36:50 UTC
Permalink
Package: upgrade-reports
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

* What led up to the situation?
I upgraded from stable to testing. Try to install/upgrade various packages

* What exactly did you do (or not do) that was effective (or
ineffective)?
Tried to install netbeans. The problem is repeaded with other packages.
* What was the outcome of this action?
Netbeans was installed but i got the following message after installation:

"W: Download is performed unsandboxed as root as file '/var/cache/apt/archives/partial/libminizip1_1.1-8+b1_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)"

* What outcome did you expect instead?
Message for successfull installation.


*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 9.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64
(x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Bill Allombert
2017-05-17 20:47:01 UTC
Permalink
Post by Geo Pe
Package: upgrade-reports
Severity: normal
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
I upgraded from stable to testing. Try to install/upgrade various packages
* What exactly did you do (or not do) that was effective (or
ineffective)?
Tried to install netbeans. The problem is repeaded with other packages.
* What was the outcome of this action?
"W: Download is performed unsandboxed as root as file '/var/cache/apt/archives/partial/libminizip1_1.1-8+b1_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)"
* What outcome did you expect instead?
Message for successfull installation.
Hello Geo Pe,
This is not an error but a warning (W: mean warning).
You should check the permission of
/var/cache/apt/archives/partial/

Cheers,
--
Bill. <***@debian.org>

Imagine a large red swirl here.
Cindy-Sue Causey
2017-05-18 11:58:49 UTC
Permalink
Post by Bill Allombert
Post by Geo Pe
Package: upgrade-reports
Severity: normal
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
I upgraded from stable to testing. Try to install/upgrade various packages
* What exactly did you do (or not do) that was effective (or
ineffective)?
Tried to install netbeans. The problem is repeaded with other packages.
* What was the outcome of this action?
Netbeans was installed but i got the following message after
"W: Download is performed unsandboxed as root as file
'/var/cache/apt/archives/partial/libminizip1_1.1-8+b1_amd64.deb' couldn't
be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)"
* What outcome did you expect instead?
Message for successfull installation.
Hello Geo Pe,
This is not an error but a warning (W: mean warning).
You should check the permission of
/var/cache/apt/archives/partial/
Cheers,
--
Imagine a large red swirl here.
I've received that warning in the past. There obviously could be
multiple causes for seeing it. In my case and purely discovered by
accident, the warning occurred because I had symlinked to
'/var/cache/apt/archives which was on an external hard drive.

No matter where the target '/var/cache/apt/archives/ was placed in a
data'esque hierarchy on that external hard drive, I still received
that error. Permissions *appeared* to be correct, but that also didn't
seem to make a difference.

As a matter of record as long as the topic is here, that symlinking
also caused my debootstrap chroot user "root" to have an identity
crisis where it kept yelling, "I Have No Name!"

As soon as I removed the symlink to '/var/cache/apt/archives/ and
moved files back in the primary hierarchy, debootstrap's chroot user
root found itself again as "root". If I'm remembering correctly, that
instance was ultimately traced back to my missing a similar
permissions denied warning early on in debootstrap. That warning
disappeared immediately upon removal of the package archives directly
symlink.

Hope this some day helps somehow..

Cindy :)
--
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* runs with duct tape *
Cindy-Sue Causey
2017-05-18 12:05:39 UTC
Permalink
My apologies. I literally "hate" when I have to respond to myself as
fast as I send an email. An important detail I left off is that this
occurs for me while using apt-get.

And typo correction attached below where "directly" should have been
"directory". *oops!* :)
Post by Cindy-Sue Causey
Post by Bill Allombert
Post by Geo Pe
Package: upgrade-reports
Severity: normal
Dear Maintainer,
*** Reporter, please consider answering these questions, where
appropriate
***
* What led up to the situation?
I upgraded from stable to testing. Try to install/upgrade various packages
* What exactly did you do (or not do) that was effective (or
ineffective)?
Tried to install netbeans. The problem is repeaded with other packages.
* What was the outcome of this action?
"W: Download is performed unsandboxed as root as file
'/var/cache/apt/archives/partial/libminizip1_1.1-8+b1_amd64.deb' couldn't
be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)"
* What outcome did you expect instead?
Message for successfull installation.
Hello Geo Pe,
This is not an error but a warning (W: mean warning).
You should check the permission of
/var/cache/apt/archives/partial/
Cheers,
--
Imagine a large red swirl here.
I've received that warning in the past. There obviously could be
multiple causes for seeing it. In my case and purely discovered by
accident, the warning occurred because I had symlinked to
'/var/cache/apt/archives which was on an external hard drive.
No matter where the target '/var/cache/apt/archives/ was placed in a
data'esque hierarchy on that external hard drive, I still received
that error. Permissions *appeared* to be correct, but that also didn't
seem to make a difference.
As a matter of record as long as the topic is here, that symlinking
also caused my debootstrap chroot user "root" to have an identity
crisis where it kept yelling, "I Have No Name!"
As soon as I removed the symlink to '/var/cache/apt/archives/ and
moved files back in the primary hierarchy, debootstrap's chroot user
root found itself again as "root". If I'm remembering correctly, that
instance was ultimately traced back to my missing a similar
permissions denied warning early on in debootstrap. That warning
disappeared immediately upon removal of the package archives [directory]
symlink.
Hope this some day helps somehow..
Cindy :)
--
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA
* runs with duct tape *
Loading...