[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#959093: marked as done (command to delete downloaded package lists and package cache, for container building)



Your message dated Mon, 08 Jan 2024 10:49:29 +0000
with message-id <E1rMnCD-000tj4-SA@fasolo.debian.org>
and subject line Bug#959093: fixed in apt 2.7.8
has caused the Debian Bug report #959093,
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.debian.org
immediately.)


-- 
959093: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959093
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 2.0.2
Severity: wishlist
Tags: upstream

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:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: ppc64el (ppc64le)

Kernel: Linux 5.5.0-2-powerpc64le (SMP w/64 CPU cores)
Kernel taint flags: TAINT_UNSIGNED_MODULE
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 /usr/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.20-1
ii  libapt-pkg6.0           2.0.2
ii  libc6                   2.30-4
ii  libgcc-s1               10-20200418-1
ii  libgnutls30             3.6.13-2
ii  libseccomp2             2.4.3-1+b1
ii  libstdc++6              10-20200418-1
ii  libsystemd0             245.5-1

Versions of packages apt recommends:
ii  ca-certificates  20190110

Versions of packages apt suggests:
pn  apt-doc         <none>
ii  aptitude        0.8.12-3
ii  dpkg-dev        1.19.7
ii  gnupg           2.2.20-1
ii  powermgmt-base  1.36

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 2.7.8
Done: Julian Andres Klode <jak@debian.org>

We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 959093@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Andres Klode <jak@debian.org> (supplier of updated apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 08 Jan 2024 10:32:31 +0100
Source: apt
Architecture: source
Version: 2.7.8
Distribution: unstable
Urgency: medium
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Julian Andres Klode <jak@debian.org>
Closes: 959093 1053887 1059352
Changes:
 apt (2.7.8) unstable; urgency=medium
 .
   [ Gábor Németh ]
   * Add 'dist-clean' command to remove packages and list files (Closes:
     #959093); this is experimental and does not yet have docs or tests.
 .
   [ David Kalnischkies ]
   * Have Grp.FindPreferredPkg return very foreign pkgs as last resort
   * Improve and test distclean implementation
   * Do not store .diff_Index files in update
 .
   [ Tianyu Chen ]
   * apt-pkg/cacheset.cc: set ShowErrors to true when no version matched
     (Closes: #1053887)
 .
   [ Julian Andres Klode ]
   * Do not silently ignore directories for reserved file names
   * test: Disable valgrind on armhf, incompatible with stack clash protector
     (Closes: #1059352)
Checksums-Sha1:
 b5c252874da42a2985f2b149081364625654bc13 2931 apt_2.7.8.dsc
 a2627f78fcc431246c212563e772a054cce31cca 2347516 apt_2.7.8.tar.xz
 5dbfae1081692701f582b8e9d4273b99e5e5d1fb 7671 apt_2.7.8_source.buildinfo
Checksums-Sha256:
 10d656d98dc7f4da284c13b2784ca2fa65ed91769a5480fd832c2364447beb87 2931 apt_2.7.8.dsc
 9c09a2c1f18489fb430d616b93e6df5a15f61473856a789d5e3cce0ad2195dc6 2347516 apt_2.7.8.tar.xz
 06a53bd868c7f193ae9517ffad8c4a87fc21fc16a2c342302d1b93ecd756c78e 7671 apt_2.7.8_source.buildinfo
Files:
 bcefe1823b63620226dc0458c9aa8c19 2931 admin required apt_2.7.8.dsc
 9804a9f61adaa99511cf93c0d61d01d5 2347516 admin required apt_2.7.8.tar.xz
 f105a708a0d7a8bd801ca68ff6a2aa4a 7671 admin required apt_2.7.8_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEET7WIqEwt3nmnTHeHb6RY3R2wP3EFAmWb0poPHGpha0BkZWJp
YW4ub3JnAAoJEG+kWN0dsD9xPs8P/jDlkuVzGsHtQKUjQMxjwiVctf8JX/5f5HZ0
WLOpF+CNUqVgDdRfUmBkh2TK2WG1e3F9DPFPuteSAoxdEVhmtb+qhnGSEDk0DakC
TQIXgVGg+/7kiHk+ZV4Dud0pYc9Gz/AZXkDdf5S23o2sZetPCxFJRduMCvZdHYV3
LT2KRn1fo4KdtuM02mXZzDn36n2cMAvhqdgOhtZ1wNC0WUIwTL3fAm1uazzlqQ5g
1h0LKM3RHNhIzy46Ae5SpxxCMQffMvXNsBjQahzBLy4JX7KVKAW60lfKUUz3SmYk
tvAlRMq8bK2ugnDs58g59gOLytb+fQyG/GOyJWaKm+//uE5Z8FtCVn3VEKYoy+2/
ABifXMJmXjKktqhF3DDkPtMIQ/Bb4i01uZS02JkUdD9/b/VfjIhd3nByRK2zFkPy
IPCRXc6kOTeTWynEYdwB7ETlSt/97dYH1aOvcKo2U/VK9HaACak8nFtS7CkMig4j
VLzi/WU0DvhNzpB3stuahiwLJ/7IqdSuPs5h23Al4shfXohZJ49ES2Z3e1XLh4No
ngNGwe2JtPJ0QcptdDxZ7CLddnSKAHFK8WPBe0FB9nrEtd5S4Eqt/e6iIBQbJNi6
foEb3yKaFx0pK4+2FCetGpB+Z6nSebXmaDekyWEtyciB87A21DaeS4UsR7j6Ecss
coYb8jYC
=yDyX
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: