You are not logged in.

#1 2026-04-19 16:14:03

asio
Member
Registered: 2020-08-04
Posts: 9

[Solved] Small question about paccache in pacman's wiki page

Hi all,

When I was reading the wiki for pacman I found this section for paccache timer in https://wiki.archlinux.org/title/Pacman … kage_cache

Enable and start paccache.timer to discard unused packages weekly. You can configure the arguments for the service in /etc/conf.d/pacman-contrib, e.g with PACCACHE_ARGS='-k1' or PACCACHE_ARGS='-uk0' for the two examples below.

Should the args in /etc/conf.d/pacman-contrib include the prefix "r" operation for removal? in the example below it has r but in the this quote it doesn't. am I missing something here?

Thank you

Last edited by asio (2026-04-19 19:40:31)

Offline

#2 2026-04-19 17:07:52

just4arch
Member
Registered: 2023-01-07
Posts: 124

Re: [Solved] Small question about paccache in pacman's wiki page

# systemctl cat paccache.service | grep -B1 ExecStart
EnvironmentFile=/etc/conf.d/pacman-contrib
ExecStart=/usr/bin/paccache -r $PACCACHE_ARGS

It's already there, no need to include it.

Offline

#3 2026-04-19 17:33:41

asio
Member
Registered: 2020-08-04
Posts: 9

Re: [Solved] Small question about paccache in pacman's wiki page

just4arch wrote:
# systemctl cat paccache.service | grep -B1 ExecStart
EnvironmentFile=/etc/conf.d/pacman-contrib
ExecStart=/usr/bin/paccache -r $PACCACHE_ARGS

It's already there, no need to include it.

Thank you

Offline

#4 2026-04-19 19:20:30

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 74,661

Re: [Solved] Small question about paccache in pacman's wiki page

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Online

#5 2026-04-19 19:41:04

asio
Member
Registered: 2020-08-04
Posts: 9

Re: [Solved] Small question about paccache in pacman's wiki page

seth wrote:

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Done

Offline

Board footer

Powered by FluxBB