Subject: How to enable an apk log with timestamps?

From: Ralf Mardorf <[email-masked]>
Date: Fri, 02 Jun 2023 14:40:55 +0200

Hi,

is it possible to enable an apk log showing the timestamp when a package
was added or upgraded?

I found this
https://gitlab.alpinelinux.org/alpine/apk-tools/-/merge_requests/55 but
no apk log file on my install.

# apk list | grep apk-tools | grep installed
apk-tools-2.14.0-r2 x86_64 {apk-tools} (GPL-2.0-only) [installed]

# ls -hl /var/log/apk.log 
ls: /var/log/apk.log: No such file or directory

Regards,
Ralf

---

From: "alice" <[email-masked]>
Date: Fri, 02 Jun 2023 21:21:04 +0200

> is it possible to enable an apk log showing the timestamp when a package

it's not

> no apk log file on my install.

that is only in master and was never added to any release (despite what the
conversation in the link would have you think).
https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10766#note_280006

---

From: Ralf Mardorf <[email-masked]>
Date: Fri, 02 Jun 2023 21:29:52 +0200

> > is it possible to enable an apk log showing the timestamp when a package

Thank you for the information!

-- 
Alpine Linux 2023-06-02
First steps with Alpine v3.18, x86_64,
lightdm, openbox, no desktop environment
https://i.imgur.com/snfkRiZ.png

xfce4-terminal may be replaced by roxterm soon
https://gitlab.alpinelinux.org/alpine/aports/-/commit/ef3efac4fbe4168bed071324425cc92fe34f9ee5