You are not logged in.

#1 2021-06-01 13:29:26

hsantanna
Member
Registered: 2017-02-13
Posts: 7

pacman.conf ParallelDownloads option will coredump packagekit.service

As documented by pacman.conf manpage there is an option ParallelDownloads:

ParallelDownloads
           Specifies number of concurrent download streams. The value needs to be a positive integer. If this config option is not set then only one download stream is
           used (i.e. downloads happen sequentially).

But if I enable that option, e.g

ParallelDownloads=5

than packagekit.service will not start anymore.

I my pacman version is:

core/pacman 6.0.0-2

Offline

#2 2021-06-01 13:32:36

hsantanna
Member
Registered: 2017-02-13
Posts: 7

Re: pacman.conf ParallelDownloads option will coredump packagekit.service

from journalctl I can see:

jun 01 09:43:37 anarch systemd-coredump[5017]: [?] Process 5012 (packagekitd) of user 0 dumped core.
                                               
                                               Stack trace of thread 5012:
                                               #0  0x00007fbfbfb29ba8 g_log_structured_array (libglib-2.0.so.0 + 0x5aba8)
                                               #1  0x00007fbfbfb29e76 g_log_default_handler (libglib-2.0.so.0 + 0x5ae76)
                                               #2  0x00007fbfbfb2b2b9 g_logv (libglib-2.0.so.0 + 0x5c2b9)
                                               #3  0x00007fbfbfb2b560 g_log (libglib-2.0.so.0 + 0x5c560)
                                               #4  0x00007fbfbdc27b20 pk_backend_initialize (libpk_backend_alpm.so + 0x9b20)
                                               #5  0x0000558d84912496 pk_backend_load (packagekitd + 0x1a496)
                                               #6  0x0000558d84920267 pk_engine_load_backend (packagekitd + 0x28267)
                                               #7  0x0000558d84904471 main (packagekitd + 0xc471)
                                               #8  0x00007fbfbf4d0b25 __libc_start_main (libc.so.6 + 0x27b25)
                                               #9  0x0000558d849046de _start (packagekitd + 0xc6de)
                                               
                                               Stack trace of thread 5013:
                                               #0  0x00007fbfbf59cb2f __poll (libc.so.6 + 0xf3b2f)
                                               #1  0x00007fbfbfb76ae8 n/a (libglib-2.0.so.0 + 0xa7ae8)
                                               #2  0x00007fbfbfb20781 g_main_context_iteration (libglib-2.0.so.0 + 0x51781)
                                               #3  0x00007fbfbfb207d2 n/a (libglib-2.0.so.0 + 0x517d2)
                                               #4  0x00007fbfbfb510c1 n/a (libglib-2.0.so.0 + 0x820c1)
                                               #5  0x00007fbfbf67e259 start_thread (libpthread.so.0 + 0x9259)
                                               #6  0x00007fbfbf5a75e3 __clone (libc.so.6 + 0xfe5e3)
                                               
                                               Stack trace of thread 5015:
                                               #0  0x00007fbfbf5a218d syscall (libc.so.6 + 0xf918d)
                                               #1  0x00007fbfbfb7106b g_cond_wait_until (libglib-2.0.so.0 + 0xa206b)
                                               #2  0x00007fbfbfaf28b3 n/a (libglib-2.0.so.0 + 0x238b3)
                                               #3  0x00007fbfbfb53ddb n/a (libglib-2.0.so.0 + 0x84ddb)
                                               #4  0x00007fbfbfb510c1 n/a (libglib-2.0.so.0 + 0x820c1)
                                               #5  0x00007fbfbf67e259 start_thread (libpthread.so.0 + 0x9259)
                                               #6  0x00007fbfbf5a75e3 __clone (libc.so.6 + 0xfe5e3)
                                                                                              
                                               Stack trace of thread 5014:
                                               #0  0x00007fbfbf59cb2f __poll (libc.so.6 + 0xf3b2f)
                                               #1  0x00007fbfbfb76ae8 n/a (libglib-2.0.so.0 + 0xa7ae8)
                                               #2  0x00007fbfbfb22593 g_main_loop_run (libglib-2.0.so.0 + 0x53593)
                                               #3  0x00007fbfbf9ba5b8 n/a (libgio-2.0.so.0 + 0x1025b8)
                                               #4  0x00007fbfbfb510c1 n/a (libglib-2.0.so.0 + 0x820c1)
                                               #5  0x00007fbfbf67e259 start_thread (libpthread.so.0 + 0x9259)
                                               #6  0x00007fbfbf5a75e3 __clone (libc.so.6 + 0xfe5e3)
                                               jun 01 09:43:37 anarch systemd[1]: systemd-coredump@4-5016-0.service: Deactivated successfully.
jun 01 09:43:37 anarch kernel: audit: type=1131 audit(1622551417.590:213): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@4-5016-0 comm="systemd" ex>
jun 01 09:43:37 anarch audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@4-5016-0 comm="systemd" exe="/usr/lib/systemd/systemd" >
jun 01 09:43:37 anarch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=packagekit comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? add>
jun 01 09:43:37 anarch systemd[1]: packagekit.service: Main process exited, code=dumped, status=5/TRAP
jun 01 09:43:37 anarch systemd[1]: packagekit.service: Failed with result 'core-dump'.
jun 01 09:43:37 anarch systemd[1]: Failed to start PackageKit Daemon.
jun 01 09:43:37 anarch audit: BPF prog-id=61 op=UNLOAD
jun 01 09:43:37 anarch audit: BPF prog-id=60 op=UNLOAD
jun 01 09:43:37 anarch audit: BPF prog-id=59 op=UNLOAD
jun 01 09:44:02 anarch dbus-daemon[1396]: [system] Failed to activate service 'org.freedesktop.PackageKit': timed out (service_start_timeout=25000ms)

and from journalctl -b --unit packagekit.service

jun 01 09:43:37 anarch systemd[1]: Starting PackageKit Daemon...
jun 01 09:43:37 anarch PackageKit[5012]: daemon start
jun 01 09:43:37 anarch packagekitd[5012]: Failed to initialize alpm: using /etc/PackageKit/alpm.d/pacman.conf: /etc/PackageKit/alpm.d/pacman.conf:8/etc/pacman.conf:37unrec>
jun 01 09:43:37 anarch systemd[1]: packagekit.service: Main process exited, code=dumped, status=5/TRAP
jun 01 09:43:37 anarch systemd[1]: Failed to start PackageKit Daemon.
jun 01 09:43:37 anarch systemd[1]: packagekit.service: Failed with result 'core-dump'.

Offline

#3 2021-06-01 13:35:58

Slithery
Forum Moderator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 4,412

Re: pacman.conf ParallelDownloads option will coredump packagekit.service

Please search before posting...
https://bbs.archlinux.org/viewtopic.php?id=266822

Closing as duplicate.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Online

Board footer

Powered by FluxBB