From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7182796543154454528 X-Received: by 2002:a05:6102:3e16:b0:3cd:4f0f:9010 with SMTP id j22-20020a0561023e1600b003cd4f0f9010mr1737722vsv.23.1674199393825; Thu, 19 Jan 2023 23:23:13 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a67:d989:0:b0:3b0:cc1a:a953 with SMTP id u9-20020a67d989000000b003b0cc1aa953ls1537427vsj.9.-pod-prod-gmail; Thu, 19 Jan 2023 23:23:12 -0800 (PST) X-Google-Smtp-Source: AMrXdXvg3zmuCq7bGW5vb2kuv3TSJ9vfk8VnUIyFo+YVgduUgo994ez8+UP67XYRziddEfFV4CeO X-Received: by 2002:a67:d207:0:b0:3d0:8c42:75e3 with SMTP id y7-20020a67d207000000b003d08c4275e3mr10201184vsi.24.1674199392830; Thu, 19 Jan 2023 23:23:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674199392; cv=none; d=google.com; s=arc-20160816; b=Si6e1tyQmXL8BiKCb4jYW2/AwoxFh7N3PCsD4Haz1fbipXOYSWZmaqoKZJr1Wwz2tE 6fflIbO1idD+G8959rvcbKQR32mnApMU66zsdn8FLYv5s9vy+dBR6QkYnEZAzgrMRNwr ZU1tHva+zN55rWMR1CmMEktNQvnHP7wbsn+begPKyZuilQnzGn81YeP305+MzUdQKF0R 8j1PBQX0lPRs9woJ1RoJh5lx8eROgyMHLzXZri7yNNDlMM71cGOoNDhhtyx0vN6nWScj 77tuE/JMdmD/ywYhYBQ8JGL094LfsaNPlCOhMqXkLz/zN9NCXPDF3H+/wxeNsNZMAWnc 3TwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from; bh=6pJX7up+O9DJuTFdUBrJ6BPFumkRGCPgjGKb0IPfkkw=; b=NO/9vlDFvStqMxspZGfsyQbDAVJBXtgN9A0DICV4TG+GWaIGOI/IIUKglrXfL4D2oA jhuRtDqFl21wCnJUxrInDsPKrbylIgR/hqiHNKK3fPWOqtmXYeE7qS98o19IKp+EVt8D 7kKuuwH26SdFZN9d9FHQvf1gBrxE6b4to9iHBIuGoKxtcz+ywJsHweQuzeNZnRickzuh 4gM3EWUFdfcsioT/6AoG4yyrLur0G6J2IrIO4yYDjjo2F2fn9QCQGV0qigpi5vbeSC6F 1SNNIpOwEvCZCVx0IHQsowMkYTKx5oaXtjAZHSfy4H8Nb0Q5Ue24lKsSvM/w4ziegxmH /v7Q== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id m23-20020ab061d7000000b0063914c44d3csi169338uan.1.2023.01.19.23.23.12 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 19 Jan 2023 23:23:12 -0800 (PST) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from hp.localnet (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 30K7N7vD001592 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Jan 2023 08:23:08 +0100 From: Uladzimir Bely To: "Roberto A. Foglietta" , "isar-users@googlegroups.com" Subject: Re: [PATCH v2 0/3] Improving apt cache Date: Fri, 20 Jan 2023 10:23:44 +0300 Message-ID: <2575969.vYhyI6sBWr@hp> In-Reply-To: References: <20230106064809.10412-1-ubely@ilbers.de> <1889300.7Z3S40VBb9@hp> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: SJBuHVbMpnfh In mail from =D0=BF=D1=8F=D1=82=D0=BD=D0=B8=D1=86=D0=B0, 20 =D1=8F=D0=BD=D0= =B2=D0=B0=D1=80=D1=8F 2023 =D0=B3. 10:12:31 +03 user Roberto A. Foglietta=20 wrote: > On Fri, 20 Jan 2023 at 08:00, Uladzimir Bely wrote: > > In mail from =D0=BF=D1=8F=D1=82=D0=BD=D0=B8=D1=86=D0=B0, 20 =D1=8F=D0= =BD=D0=B2=D0=B0=D1=80=D1=8F 2023 =D0=B3. 08:08:03 +03 user Moessbauer, > > Felix > >=20 > > wrote: > > > On Fri, 2023-01-20 at 07:44 +0300, Uladzimir Bely wrote: > > > > In mail from =D1=87=D0=B5=D1=82=D0=B2=D0=B5=D1=80=D0=B3, 19 =D1=8F= =D0=BD=D0=B2=D0=B0=D1=80=D1=8F 2023 =D0=B3. 17:52:37 +03 user Roberto A. > > > >=20 > > > >=20 > > > > I see the following possible solutions that allows to save space. > > > > 1. Since hardlinks don't work, try to use symlinks. > > >=20 > > > If that works, it clearly is the simplest solution. > >=20 > > Yes, approach with symlinks inside sbuild chroot seems to be working, so > > I'm > > going to use it in patchset v3. >=20 > The symlink or software link does not work for exportation... I presume, > did you check? Of course, if symlinks work inside sbuild chroot, whey won't work outside i= t=20 (dl_dir import/export). So, that's how it's supposed to work: =2D dl_dir_export: DL_DIR =3D> hardlink =3D> WORKDIR/rootfs =2D sbuild chroot : WORKDIR/rootfs =3D> symlink =3D> /var/cache/apt/*.deb =2D sbuild chroot: building the package, new .deb files downloaded =2D sbuild chroot: /var/cache/apt/*.deb =3D> copy =3D> WORKIDIR/rootfs =2D dl_dir_import: WORKDIR/rootfs =3D> hardlink =3D> DL_DIR =2D remove WORKDIR/rootfs > Without changing anything it is easy to confuse an old-built package with > the nwer. >=20 > Best regards,