Paccache-service-manager error

Hi,

when I want to start the package cleaning configuration within the welcome app i get following error:

paccache-service-manager error

Error: sorry, variable ‘keepcount’ has value ‘1)’ from file ‘/etc/systemd/system/paccache.service’, cannot parse it.

Any idea how to solve that problem?

Can you show the contents of file

/etc/systemd/system/paccache.service

?

Edit: The problematic line should look like something like this:

ExecStart=paccache -rk2

[Unit]
Description=Remove unused cached package files

[Service]
Type=oneshot
ExecStart=paccache -rkBail out! Gtk:ERROR:…/gtk/gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /home/markus/.local/share/icons/Windows-Eleven/actions/16/image-missing.svg: Fehler beim Öffnen der Datei »/home/markus/.local/share/icons/Windows-Eleven/actions/16/image-missing.svg«: Datei oder Verzeichnis nicht gefunden (g-io-error-quark, 1)

Lowering priority

OOMScoreAdjust=1000
Nice=19
CPUSchedulingPolicy=idle
IOSchedulingClass=idle
IOSchedulingPriority=7

Sandboxing and other hardening

ProtectProc=invisible
ProcSubset=pid
NoNewPrivileges=yes
ProtectSystem=full
ProtectHome=yes
PrivateTmp=yes
PrivateDevices=yes
PrivateNetwork=yes
PrivateIPC=yes
ProtectHostname=yes
ProtectClock=yes
ProtectKernelTunables=yes
ProtectKernelModules=yes
ProtectKernelLogs=yes
ProtectControlGroups=yes
RestrictAddressFamilies=none
RestrictNamespaces=yes
LockPersonality=yes
MemoryDenyWriteExecute=yes
RestrictRealtime=yes
RestrictSUIDSGID=yes
RemoveIPC=yes
PrivateMounts=yes
SystemCallFilter=@system-service @file-system
SystemCallArchitectures=native

How must this line look like, that it works?

There seem to be more errors “failed to load” some icons.

That file is corrupt, see the line starting with

ExecStart=

You could change it e.g. to:

ExecStart=/usr/bin/paccache -r

I try it, when I,m back at home.

What I did before was some manual clean up according this guide:

https://forum.endeavouros.com/t/a-complete-idiots-guide-to-endeavour-os-maintenance-update-upgrade/25184

and I used bleachbit.

Could that be the cause for the corrupt file?

Impossible to say, depends on what operations you did exactly.
Anyway, somehow the line in that file is not OK. Otherwise the file looks normal.

BTW, I just added some more input value checks into paccache-service-manager. It is in package
eos-bash-shared version 1.44-1.

Hmm, didn’t work for me. Gave up and reinstalled endeavouros. Problem solved. :rofl:

OK, your machine, your rules.
Great that it works now!

Thanks anyway for your effort and fast respose. :slightly_smiling_face:

I only had the feeling that I had broken more on the system.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.