Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #256825

Re: How to get rid of the synaptic message (mentioned below) at the end of installing a package?

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: How to get rid of the synaptic message (mentioned below) at the end of installing a package?
Date 2023-04-07 00:50 +0200
Message-ID <GhGAx-gn1-9@gated-at.bofh.it> (permalink)
References <GfDdL-gyhh-1@gated-at.bofh.it> <GhkTn-2Jh-1@gated-at.bofh.it> <Ghy0k-b4p-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu 06 Apr 2023 at 15:37:24 (+0200), zithro wrote:
> On 06 Apr 2023 01:30, David Wright wrote:
> > On Sat 01 Apr 2023 at 11:58:49 (+0530), Susmita/Rajib wrote:
> > > My present Debian system installed from "Official Debian GNU/Linux
> > > Live 11.6.0 lxde 2022-12-17T11:46"
> > > 
> > > While installing a package I receive this following message:
> > > 
> > > W: Download is performed unsandboxed as root as file
> > > '/root/.synaptic/tmp//tmp_sh' couldn't be accessed by user '_apt'. -
> > > pkgAcquire::Run (13: Permission denied)

> > I guess you have to sort out why a file would be being read from
> > /root/.synaptic/tmp//tmp_sh. I know next to nothing about synaptic.

From the name of the file, tmp_sh, I would hazard a guess that
some process has written a shell script of files to download,
but that script has not been placed in a world-readable location.
User _apt can't read it to perform the sandboxed download, so
user=root has to do it instead.

> Strange, the second install, even if providing a local file, is still
> fetching the file from "deb.debian.org".

So AIUI, the sequence is (user == root):

. read the control file from the /path-to/foo.deb and obtain the
  package name, version and dependencies.

. is that package/version locatable using sources.list?

. if so, _apt downloads from Debian and caches the file as per usual. Install.

. is /path-to/foo.deb world-readable?

. if so, _apt "downloads" from /path-to/foo.deb. Install, no Warn.

. if not, user/root performs an unsandboxed (no _apt involvement)
  "download" from /path-to/foo.deb instead. Install and Warn.

Cheers,
David.

Back to linux.debian.user | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

How to get rid of the synaptic message (mentioned below) at the end  of installing a package? "Susmita/Rajib" <bkpsusmitaa@gmail.com> - 2023-04-01 08:50 +0200
  Re: How to get rid of the synaptic message (mentioned below) at the  end of installing a package? davidson <davidson@freevolt.org> - 2023-04-03 05:20 +0200
  Re: How to get rid of the synaptic message (mentioned below) at the  end of installing a package? "Susmita/Rajib" <bkpsusmitaa@gmail.com> - 2023-04-05 17:00 +0200
    Re: How to get rid of the synaptic message (mentioned below) at the  end of installing a package? "Susmita/Rajib" <bkpsusmitaa@gmail.com> - 2023-04-06 08:10 +0200
      Re: How to get rid of the synaptic message (mentioned below) at the  end of installing a package? "Susmita/Rajib" <bkpsusmitaa@gmail.com> - 2023-04-06 08:30 +0200
  Re: How to get rid of the synaptic message (mentioned below) at the  end of installing a package? David Wright <deblis@lionunicorn.co.uk> - 2023-04-06 01:40 +0200
    Re: How to get rid of the synaptic message (mentioned below) at the  end of installing a package? zithro <slack@rabbit.lu> - 2023-04-06 15:40 +0200
      Re: How to get rid of the synaptic message (mentioned below) at the  end of installing a package? David Wright <deblis@lionunicorn.co.uk> - 2023-04-07 00:50 +0200

csiph-web