apk /var/cache/misc does not remove trigger files etc. after package upgrades
I see this on the server tracking the latest release (since February
2016) and the newly setup devel box which follows edge.
The former has files in /var/cache/misc starting on May 25th 2017:
* [steffen@sdaoden]$ lL /var/cache/misc/
total 132
drwxr-xr-x 4 root root 4096 Feb 1 2016 ../
-rwxr-xr-x 1 root root 697 May 25 17:14 openrc-0.24.1-r2.post-upgrade*
-rwxr-xr-x 1 root root 140 May 25 17:14 dnsmasq-2.76-r4.pre-upgrade*
-rwxr-xr-x 1 root root 591 May 25 17:14 busybox-initscripts-3.1-r1.post-upgrade*
-rwxr-xr-x 1 root root 389 May 25 17:14 busybox-1.26.2-r4.post-upgrade*
-rwxr-xr-x 1 root root 39 May 25 17:14 bash-4.3.48-r1.post-upgrade*
-rwxr-xr-x 1 root root 238 May 25 17:14 lighttpd-1.4.45-r1.pre-upgrade*
-rwxr-xr-x 1 root root 242 May 25 17:14 mkinitfs-3.1.0_rc1-r0.pre-upgrade*
-rwxr-xr-x 1 root root 264 May 25 17:14 mkinitfs-3.1.0_rc1-r0.post-upgrade*
-rwxr-xr-x 1 root root 1518 May 25 17:16 syslinux-6.04_pre1-r1.post-upgrade*
-rwxr-xr-x 1 root root 198 May 25 17:16 glib-2.52.1-r0.trigger*
-rwxr-xr-x 1 root root 72 May 25 17:16 ca-certificates-20161130-r2.trigger*
-rwxr-xr-x 1 root root 301 Jun 1 13:26 busybox-1.26.2-r4.trigger*
-rwxr-xr-x 1 root root 781 Jun 1 13:26 mkinitfs-3.1.0_rc1-r0.trigger*
-rwxr-xr-x 1 root root 242 Jun 17 13:43 mkinitfs-3.1.0-r0.pre-upgrade*
-rwxr-xr-x 1 root root 264 Jun 17 13:43 mkinitfs-3.1.0-r0.post-upgrade*
-rwxr-xr-x 1 root root 389 Jun 17 13:43 busybox-1.26.2-r5.post-upgrade*
-rwxr-xr-x 1 root root 781 Jun 17 13:44 mkinitfs-3.1.0-r0.trigger*
-rwxr-xr-x 1 root root 96 Jun 17 13:44 kmod-23-r1.trigger*
-rwxr-xr-x 1 root root 39 Jun 17 13:45 syslinux-6.04_pre1-r1.trigger*
-rwxr-xr-x 1 root root 139 Jul 13 22:49 chrony-3.1-r1.pre-install*
-rwxr-xr-x 1 root root 224 Jul 14 01:00 openntpd-6.0_p1-r3.pre-install*
-rwxr-xr-x 1 root root 301 Jul 21 13:38 busybox-1.26.2-r5.trigger*
-rwxr-xr-x 1 root root 389 Aug 8 13:06 busybox-1.26.2-r6.post-upgrade*
-rwxr-xr-x 1 root root 781 Aug 15 13:20 mkinitfs-3.1.0-r1.trigger*
-rwxr-xr-x 1 root root 242 Aug 15 13:20 mkinitfs-3.1.0-r1.pre-upgrade*
-rwxr-xr-x 1 root root 264 Aug 15 13:20 mkinitfs-3.1.0-r1.post-upgrade*
-rwxr-xr-x 1 root root 781 Sep 23 21:15 mkinitfs-3.1.0-r3.trigger*
-rwxr-xr-x 1 root root 242 Sep 23 21:15 mkinitfs-3.1.0-r3.pre-upgrade*
-rwxr-xr-x 1 root root 264 Sep 23 21:15 mkinitfs-3.1.0-r3.post-upgrade*
-rwxr-xr-x 1 root root 140 Oct 2 21:38 dnsmasq-2.76-r5.pre-upgrade*
drwxr-xr-x 2 root root 4096 Oct 2 21:38 ./
-rwxr-xr-x 1 root root 301 Oct 2 21:38 busybox-1.26.2-r6.trigger*
(from redmine: issue id 7974, created on 2017-10-04, closed on 2017-11-29)
- Changesets:
- Revision 8f0938a0 by Timo Teräs on 2017-10-04T13:56:07Z:
package: remove package script after use (fixes #7974)
this is a regression introduced in commit 349c61c9
("add support for pre and post commit hooks")
- Revision 123db1d3d7a9ede20261c6345e714967d0dc4497 by Timo Teräs on 2017-10-06T13:20:04Z:
package: remove package script after use (fixes #7974)
this is a regression introduced in commit 349c61c9
("add support for pre and post commit hooks")