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


Groups > linux.debian.user > #264258

Re: Could/should you set Dir::Cache::{pkgcache, srcpkgcache} = ""; if all you are doing is locally downloading dependencies of an installation package?

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: Could/should you set Dir::Cache::{pkgcache, srcpkgcache} = ""; if all you are doing is locally downloading dependencies of an installation package?
Date 2023-12-05 00:20 +0100
Message-ID <HHqoi-bcwS-1@gated-at.bofh.it> (permalink)
References <HFWsh-a8rk-1@gated-at.bofh.it> <HFYaJ-aabq-3@gated-at.bofh.it> <HGnLP-atnV-1@gated-at.bofh.it> <HGp1f-au8p-3@gated-at.bofh.it> <HHoFP-bb6O-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon 04 Dec 2023 at 21:24:58 (+0000), Albretch Mueller wrote:
> On 12/2/23, David Wright <deblis@lionunicorn.co.uk> wrote:
> > Obviously I'm trying to replicate what you do.
> ...
> > Presumably you're running more commands than you revealed above?
> 
>  Yes, I am; for each "  Depends: " package I have been using apt-get download

~# mkdir /tmp/acl2 ; cd $_
/tmp/acl2# apt-get download acl2
Get:1 http://deb.debian.org/debian bullseye/main amd64 acl2 amd64 8.3dfsg-2 [21.5 MB]
Fetched 21.5 MB in 2s (10.1 MB/s)
W: Download is performed unsandboxed as root as file '/tmp/acl2/acl2_8.3dfsg-2_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
/tmp/acl2# ls -laR . /var/cache/apt
.:
total 21004
drwxr-xr-x  2 root root     4096 Dec  4 17:11 .
drwxrwxrwt 17 root root    20480 Dec  4 17:10 ..
-rw-r--r--  1 root root 21481292 Jan 27  2021 acl2_8.3dfsg-2_amd64.deb

/var/cache/apt:
total 69356
drwxr-xr-x  3 root root     4096 Dec  4 15:00 .
drwxr-xr-x 17 root root     4096 May  2  2022 ..
drwxr-xr-x  3 root root    57344 Dec  4 09:27 archives
-rw-r--r--  1 root root 35492253 Dec  4 15:00 pkgcache.bin
-rw-r--r--  1 root root 35451043 Dec  4 15:00 srcpkgcache.bin

/var/cache/apt/archives:
total 68
drwxr-xr-x 3 root root 57344 Dec  4 09:27 .
drwxr-xr-x 3 root root  4096 Dec  4 15:00 ..
-rw-r----- 1 root root     0 Apr 16  2022 lock
drwx------ 2 _apt root  4096 Dec  4 09:18 partial

/var/cache/apt/archives/partial:
total 64
drwx------ 2 _apt root  4096 Dec  4 09:18 .
drwxr-xr-x 3 root root 57344 Dec  4 09:27 ..
/tmp/acl2# 

Still no extra .bin files.

Cheers,
David.

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


Thread

Could/should you set Dir::Cache::{pkgcache, srcpkgcache} = ""; if all  you are doing is locally downloading dependencies of an installation package? Albretch Mueller <lbrtchx@gmail.com> - 2023-11-30 22:10 +0100
  Re: Could/should you set Dir::Cache::{pkgcache, srcpkgcache} = "";  if all you are doing is locally downloading dependencies of an installation  package? Dan Ritter <dsr@randomstring.org> - 2023-11-30 22:40 +0100
  Re: Could/should you set Dir::Cache::{pkgcache, srcpkgcache} = "";  if all you are doing is locally downloading dependencies of an installation  package? David Wright <deblis@lionunicorn.co.uk> - 2023-12-01 00:00 +0100
    Re: Could/should you set Dir::Cache::{pkgcache, srcpkgcache} = "";  if all you are doing is locally downloading dependencies of an installation  package? Greg Wooledge <greg@wooledge.org> - 2023-12-01 01:10 +0100
    Re: Could/should you set Dir::Cache::{pkgcache, srcpkgcache} = ""; if  all you are doing is locally downloading dependencies of an installation package? Albretch Mueller <lbrtchx@gmail.com> - 2023-12-02 03:20 +0100
      Re: Could/should you set Dir::Cache::{pkgcache, srcpkgcache} = "";  if all you are doing is locally downloading dependencies of an installation  package? David Wright <deblis@lionunicorn.co.uk> - 2023-12-02 04:40 +0100
        Re: Could/should you set Dir::Cache::{pkgcache, srcpkgcache} = ""; if  all you are doing is locally downloading dependencies of an installation package? Albretch Mueller <lbrtchx@gmail.com> - 2023-12-04 22:30 +0100
          Re: Could/should you set Dir::Cache::{pkgcache, srcpkgcache} = "";  if all you are doing is locally downloading dependencies of an installation  package? David Wright <deblis@lionunicorn.co.uk> - 2023-12-05 00:20 +0100
            Re: Could/should you set Dir::Cache::{pkgcache, srcpkgcache} = ""; if  all you are doing is locally downloading dependencies of an installation package? Albretch Mueller <lbrtchx@gmail.com> - 2023-12-06 23:50 +0100
              Re: Could/should you set Dir::Cache::{pkgcache, srcpkgcache} = "";  if all you are doing is locally downloading dependencies of an installation  package? David Wright <deblis@lionunicorn.co.uk> - 2023-12-07 07:00 +0100

csiph-web