Devuan bug report logs - #434
command to delete downloaded package lists and package cache, for container building

version graph

Package: apt; Maintainer for apt is Andreas Messer <andi@bastelmap.de>; Source for apt is src:apt.

Reported by: Simon Richter <sjr@debian.org>

Date: Wed, 29 Apr 2020 10:18:01 UTC

Severity: wishlist

Found in version 1.8.2

Done: Simon Richter <sjr@debian.org>

Full log


🔗 View this message in rfc822 format

MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: owner@bugs.devuan.org
From: "Devuan bug Tracking System" <owner@bugs.devuan.org>
To: Simon Richter <sjr@debian.org>
Subject: bug#434: marked as done (command to delete downloaded package
 lists and package cache, for container building)
Message-ID: <handler.434.D434.158816580426655.ackdone@bugs.devuan.org>
References: <20200429130324.GA30643@psi5.com>
 <158815438617.937.12026990781728257684.reportbug@debian>
X-Devuan-PR-Message: closed 434
X-Devuan-PR-Package: apt
Reply-To: 434@bugs.devuan.org
Date: Wed, 29 Apr 2020 13:18:01 +0000
Content-Type: multipart/mixed; boundary="----------=_1588166281-26685-0"
[Message part 1 (text/plain, inline)]
Your message dated Wed, 29 Apr 2020 15:03:24 +0200
with message-id <20200429130324.GA30643@psi5.com>
and subject line sorry, wrong BTS
has caused the Devuan bug report #434,
regarding command to delete downloaded package lists and package cache, for container building
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.devuan.org
immediately.)


-- 
434: https://bugs.devuan.org/cgi/bugreport.cgi?bug=434
Devuan Bug Tracking System
Contact owner@bugs.devuan.org with problems
[Message part 2 (message/rfc822, inline)]
From: Simon Richter <sjr@debian.org>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: command to delete downloaded package lists and package cache, for container building
Date: Wed, 29 Apr 2020 11:59:46 +0200
Package: apt
Version: 1.8.2
Severity: wishlist

Hi,

I'm trying to build a few Docker containers for various apps, and since I'm
adding packages, I need to have package lists available during the
container build, but I'd like to remove them before packing the final
application container.

I can obviously do that manually, which requires me to know apt internals.

It would be nice if there was a command to remove the downloaded lists and
the indexes (although the latter can also be removed by just dropping all
files below /var/cache, which would be allowed in any case).

   Simon

-- System Information:
Distributor ID:	Debian
Description:	Devuan GNU/Linux 3 (beowulf)
Release:	3
Codename:	beowulf
Architecture: x86_64

Kernel: Linux 4.19.0-8-amd64 (SMP w/40 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages apt depends on:
ii  adduser                 3.118
ii  debian-archive-keyring  2019.1
ii  gpgv                    2.2.12-1+deb10u1
ii  libapt-pkg5.0           1.8.2
ii  libc6                   2.28-10
ii  libgcc1                 1:8.3.0-6
ii  libgnutls30             3.6.7-4+deb10u2
ii  libseccomp2             2.3.3-4
ii  libstdc++6              8.3.0-6

Versions of packages apt recommends:
ii  ca-certificates  20190110

Versions of packages apt suggests:
pn  apt-doc         <none>
ii  aptitude        0.8.11-7
ii  dpkg-dev        1.19.7
ii  gnupg           2.2.12-1+deb10u1
ii  powermgmt-base  1.34

-- no debconf information
[Message part 3 (message/rfc822, inline)]
From: Simon Richter <sjr@debian.org>
To: 434-done@bugs.devuan.org
Subject: sorry, wrong BTS
Date: Wed, 29 Apr 2020 15:03:24 +0200
Hi,

this should have gone to the Debian BTS, as it is a wishlist bug and not Devuan specific.

   Simon

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Mon Jul 7 02:44:46 2025;