~alpine/users

2 2

How to enable an apk log with timestamps?

Details
Message ID
<f7af1adae7da87134dec56e0029f78934d2a2701.camel@riseup.net>
DKIM signature
missing
Download raw message
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
Details
Message ID
<CT2EPMG055Z4.16YYIV4P4BSQG@sumire>
In-Reply-To
<f7af1adae7da87134dec56e0029f78934d2a2701.camel@riseup.net> (view parent)
DKIM signature
missing
Download raw message
On Fri Jun 2, 2023 at 2:40 PM CEST, Ralf Mardorf wrote:
> Hi,
>
> is it possible to enable an apk log showing the timestamp when a package
> was added or upgraded?

it's not

>
> I found this
> https://gitlab.alpinelinux.org/alpine/apk-tools/-/merge_requests/55 but
> 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

> # 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
Details
Message ID
<a8dd96f9edcb81f02dc9ea425291f7dc8356b3db.camel@riseup.net>
In-Reply-To
<CT2EPMG055Z4.16YYIV4P4BSQG@sumire> (view parent)
DKIM signature
missing
Download raw message
On Fri, 2023-06-02 at 21:21 +0200, alice wrote:
> On Fri Jun 2, 2023 at 2:40 PM CEST, Ralf Mardorf wrote:
> > is it possible to enable an apk log showing the timestamp when a package
> > was added or upgraded?
> 
> it's not

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
Reply to thread Export thread (mbox)