Hangs on file conflicts checking
Pamac Version
10.2.2
Libpamac Version
11.1.1
Desktop environment
XFCE
What's not working
It seems pamac hangs during file-conflict resolve step
How to reproduce?
- try to install this demo package: demo-conflict-1-1.1-x86_64.pkg.tar.zst
- it will hang at
Checking file conflicts...
pamac install ~/Downloads/Telegram\ Desktop/demo-conflict-1-1.1-x86_64.pkg.tar.zst
Preparing...
Resolving dependencies...
Checking inter-conflicts...
To install (1):
demo-conflict 1-1.1
Apply transaction ? [y/N] y
Checking keyring... [1/1]
Checking integrity... [1/1]
Loading packages files... [1/1]
Checking file conflicts... [1/1]
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Author Owner
maybe similar to #1137 (closed)
That's a sort of prev. error: https://forum.manjaro.org/t/unstable-update-2021-09-21-nvidia-470-74-zfs-2-1-1-kde-git/83466/48 (which was not reported here on GitLab)
Edited by livemuziek- Philip Müller added High Prio label
added High Prio label
- Maintainer
fixed in libpamac 11.1.2 with libpamac@763508e6
- Guillaume Benoit closed
closed
- Author Owner
- Philip Müller reopened
reopened
Probably developers needs more info to collect about the issue, for example to submit call stack and core dumped file. I also got the
11.1.2
, will try it after reboot on my KDE, 5.15-rc5.Got the issue too. Collecting the info. Wait about 10 minutes.
Edited by livemuziekI checked it on my environment: I have the same issue as Phil posted.
Let's check hashes also (is it the same as your Telegram contact originally has?)
$ shasum -a 512 demo-conflict-1-1.1-x86_64.pkg.tar.zst 917cc309f8846570d6d87ec1bfb4381677dc86a7dd0c42141cf3e51efd84042e3ea99c5200500ba9d2926000de56faf8220771483cbb47a891b83789120c8830 demo-conflict-1-1.1-x86_64.pkg.tar.zst $
My report details
$ pamac --version Pamac 10.2.2-5
$ pacman -Qi libpamac | grep Ver Version : 11.1.2-1
Desktop environment
KDE
Operating System: Manjaro Linux KDE Plasma Version: 5.22.5 KDE Frameworks Version: 5.87.0 Qt Version: 5.15.2 Kernel Version: 5.15.0-1-MANJARO (64-bit) Graphics Platform: X11 Processors: 4 × Intel® Core™ i5-8250U CPU @ 1.60GHz Memory: 31.1 GiB of RAM Graphics Processor: Mesa Intel® UHD Graphics 620
What's not working
The same as OP:
$ pamac install demo-conflict-1-1.1-x86_64.pkg.tar.zst Preparing... Resolving dependencies... Checking inter-conflicts... To install (1): demo-conflict 1-1.1 Apply transaction ? [y/N] y Checking keyring... [1/1] Checking integrity... [1/1] Loading packages files... [1/1] Checking file conflicts... [1/1]
and it hangs probably forever.
Also I noticed that after
pamac install
I can't auto complete local files in the current folder: neitherdemo-
nor./demo-
works. I copy-paste the package name only fromls -A1
output. The same time theshasum
TUI app have auto-complete works perfectly.The
TAB
key press after thepamac install
command shows only:$ pamac install : -f in \[options\] print specified -a \(filenames --installed, options: -q terms also filenames installed or --quiet, the --aur, --files, multiple own -r which AUR files, names packages --repos, be for --no-aur \<package\(s\)/file\(s\)\> repositories can given not pamac search do -i only partial\) Search
Also I noticed that usual
pamac update
asks the user password before to show list and question to update or not, but with the command line in this issuepamac install ...
it shows list of packages (that one package), the question to update or not and only aftery
and hittingEnter
it asks user password. may be it is usual behavior forinstall
command, but I do not know.How to reproduce?
The same as OP
Other details:
$ tail -n10 /var/log/pacman.log [2021-10-17T12:50:54+0300] [ALPM] transaction started [2021-10-17T12:50:54+0300] [ALPM] upgraded libpamac (11.1.1-1 -> 11.1.2-1) [2021-10-17T12:50:54+0300] [ALPM] transaction completed [2021-10-17T12:50:54+0300] [ALPM] running '30-systemd-daemon-reload.hook'... [2021-10-17T12:50:55+0300] [ALPM] running '30-systemd-update.hook'... [2021-10-17T12:50:55+0300] [ALPM] running '90-packagekit-refresh.hook'... [2021-10-17T12:50:55+0300] [ALPM] running 'dbus-reload.hook'... [2021-10-17T12:50:55+0300] [ALPM] running 'update-mime-database.hook'... [2021-10-17T13:03:14+0300] [PAMAC] synchronizing package lists [2021-10-17T13:37:22+0300] [PAMAC] synchronizing package lists $
$ uptime -p up 11 minutes
$ journalctl --list-boots | tail -n1 0 267b44e30ac346de915337b774219e5a Sun 2021-10-17 13:39:25 EEST—Sun 2021-10-17 13:51:16 EEST
So
pacman.log
has no new items from currentpamac install
(and current boot also).$ journalctl -b -p3 -- Journal begins at Tue 2021-09-21 07:29:04 EEST, ends at Sun 2021-10-17 13:52:28 EEST. -- Oct 17 13:41:54 pc systemd-coredump[2711]: Process 2675 (pamac-daemon) of user 0 dumped core. Found module linux-vdso.so.1 with build-id: 05d5b5cae76dbd8515c5696c9b721551688db180 Found module libnss_files.so.2 with build-id: 1a36dfc01d3a1010b2ee79766a24a8090a3266d5 Found module libstdc++.so.6 with build-id: 8ab0e57054dd1dcba681f217016afc6a4e639783 Found module libicudata.so.69 with build-id: 0ab994a49ef1848499c4af333b3266f28432a922 Found module libtiff.so.5 with build-id: e8d89a0fb0847641ddb75c5f03fa89d68155a75d Found module libjpeg.so.8 with build-id: 5d102b1a7291a621bba049969d25ead0ccecc6cc Found module libpng16.so.16 with build-id: 2dc0bce07f199bf983c07a05fb95a6f4af83a9b3 Found module libgcc_s.so.1 with build-id: 7f8508bb914546ada778809b64b99d234337d835 Found module libgcrypt.so.20 with build-id: db45f5d5e0f7af1e77324fea1885f974619ad268 Found module libcap.so.2 with build-id: c1674f9082fedd415876b9f7d9712269163259b5 Found module libbrotlicommon.so.1 with build-id: f68934f94312f770550ebc6c5acfd6359b098b07 Found module libunistring.so.2 with build-id: 015ac6d6bcb60b7d8bea31a80d1941b06e8636ab Found module libicuuc.so.69 with build-id: 5cf18c56e2f64efdac32cf61fb9c0c48e9bb1797 Found module libkeyutils.so.1 with build-id: ac405ddd17be10ce538da3211415ee50c8f8df79 Found module libkrb5support.so.0 with build-id: adf65240a4d2aba772d7a0772b4d015469934113 Found module libcom_err.so.2 with build-id: eb61ef71c8b97846db759fb89a115405cff6dd30 Found module libk5crypto.so.3 with build-id: eb8220b8f36675aac769450be4cb6bb7f97ec38a Found module libkrb5.so.3 with build-id: 72d26767c5cb1097db75a5f5bff88860233c902b Found module librt.so.1 with build-id: 75484da2d6f1515189eefa076e0a40328834cd16 Found module libblkid.so.1 with build-id: f03a24e92c9852272bd0049b5bcb7ed6cf0e664f Found module libgpg-error.so.0 with build-id: ba85170c2d9343ea05eea8fa2048c212ff4ef552 Found module libassuan.so.0 with build-id: 21dba3fc93d5d174beca9378b016bcd85829a5c1 Found module libssl.so.1.1 with build-id: 959cd8f1dd43fc31aeb93caac4eda87c907ef18b Found module libssh2.so.1 with build-id: a4adfe44cc7ebd295b3b783361acc3dcfcea1d50 Found module libidn2.so.0 with build-id: 1ce2b50ad9f9821c2c629b521cf5a3c99593d332 Found module libnghttp2.so.14 with build-id: 52da458b2f29708f0dd151944e9d185ae4bbe944 Found module libbz2.so.1.0 with build-id: 919597c477c9b2cb9cdbb7745ed6494ac0e6da60 Found module liblz4.so.1 with build-id: e63600ab23b2f6997f42fac2fa56e1f02ce159a1 Found module libzstd.so.1 with build-id: 4b10444c1560ebc574af4d5f488b7408b22d450e Found module liblzma.so.5 with build-id: 8b615460aa230708c5183f16bede67aa0437d95e Found module libexpat.so.1 with build-id: 8850138eae6d9d4d43c5c4b2ac48393bc4279037 Found module libacl.so.1 with build-id: 35319ea4baa70564deddffb113c0961002bc394c Found module libdl.so.2 with build-id: 5abc547e7b0949f89f3c0e21ab0c8331a7440a8a Found module libstemmer.so.0 with build-id: d3e1b30a80f7b5ead032dd8f97319865366449eb Found module libyaml-0.so.2 with build-id: 94fd2b16e4c311e4c8b041061dfdb9ca8f508e29 Found module libuuid.so.1 with build-id: 832a09e0d9568cc6dbe699472218ea2f79dc0f34 Found module libgdk_pixbuf-2.0.so.0 with build-id: ca4beb15a30de8d8767f7bca8222038c61b58b36 Found module libsystemd.so.0 with build-id: af37631b5fc68f6c2c520ca549a5a34fdaa2c4c0 Found module libbrotlidec.so.1 with build-id: f871e6f204ab8d48099915126ba01be989a8000f Found module libpsl.so.5 with build-id: 0229a201aaf5652186c9fdc192ebe52baf19d7f1 Found module libsqlite3.so.0 with build-id: b5c21727dd6a9dcb95e6e57c0767158fddcb3245 Found module libxml2.so.2 with build-id: b9441ffabb52b50c290152592f17cd78a381d493 Found module libgssapi_krb5.so.2 with build-id: e6e098ad51ce7bdd3dbe902d7b0f69a90f8a9e08 Found module ld-linux-x86-64.so.2 with build-id: 040cc3dd10461562f177df39e3be2f3704258c3c Found module libresolv.so.2 with build-id: c915c72668282861a813f7ea3c0780f37b681dc0 Found module libmount.so.1 with build-id: ff9a1d99d35cf640d0bfdaba294854372672c29b Found module libz.so.1 with build-id: 81bf6e728a6d6f5b105b0f8b25f6c614ce10452a Found module libgpgme.so.11 with build-id: c83889c6f79be19b2a31aee5e24b9b72d19cd8e9 Found module libcurl.so.4 with build-id: b861a63711a5c2915474adc6fed2e18fdf176b4b Found module libarchive.so.13 with build-id: b15aae4b5bb1850b14c87e8a9bf54719ffd8a664 Found module libcrypto.so.1.1 with build-id: 6d23f0a3f354825868d044684fad31d482cc9210 Found module libpcre.so.1 with build-id: 845483dd0acba86de9f0313102bebbaf3ce52767 Found module libffi.so.7 with build-id: de60e99f39569d11d09160bbdcd486cedc87d2b6 Found module libc.so.6 with build-id: 4b406737057708c0e4c642345a703c47a61c73dc Found module libpthread.so.0 with build-id: 07c8f95b4f3251d08550217ad8a1f31066229996 Found module libgmodule-2.0.so.0 with build-id: 34cabbd12d9baf397a0255f174e4c96165bc329b Found module libappstream-glib.so.8 with build-id: b6c2db18354ad660b26ce2281398e50765c225a8 Found module libpolkit-gobject-1.so.0 with build-id: 9db25937f453ec9d8e21ef2b434ee5e5f11df6c0 Found module libsoup-2.4.so.1 with build-id: 0a850dc71e5a34b2e4ef2eb8d1685de351b74c53 Found module libm.so.6 with build-id: 2b8fd1f869ecab4e0b55e92f2f151897f6818acf Found module libjson-glib-1.0.so.0 with build-id: 5865be5fcc01b48a0a113e0145ec45529bff89a6 Found module libgio-2.0.so.0 with build-id: 3338d7168eab6039416e1b6dbb7ea3ef213cd129 Found module libalpm.so.13 with build-id: 1e7517a1160793e04fe5cb4ffd72e83cc8f83617 Found module libglib-2.0.so.0 with build-id: 1fe1592d097fa28822c23e96d9f357583b48424d Found module libgobject-2.0.so.0 with build-id: 0eaa1a0f88089b3dcf33eedf51105a54beeeea9a Found module pamac-daemon with build-id: f13fcf84fb7495413a1375212f6b0bef3a3b7b0c Stack trace of thread 2707: #0 0x00007f75d8aae515 __strlen_avx2 (libc.so.6 + 0x160515) #1 0x00007f75d9049985 g_strdup (libglib-2.0.so.0 + 0x71985) #2 0x00007f75d904e15e g_strdupv (libglib-2.0.so.0 + 0x7615e) #3 0x00007f75d911ec09 n/a (libgobject-2.0.so.0 + 0x10c09) #4 0x00007f75d913d355 g_signal_emit_valist (libgobject-2.0.so.0 + 0x2f355) #5 0x00007f75d913e330 g_signal_emit (libgobject-2.0.so.0 + 0x30330) #6 0x0000556eadc6f8f1 ___lambda57__pamac_alpm_utils_emit_error (pamac-daemon + 0x3c8f1) #7 0x00007f75d9120d8f g_closure_invoke (libgobject-2.0.so.0 + 0x12d8f) #8 0x00007f75d913c718 n/a (libgobject-2.0.so.0 + 0x2e718) #9 0x00007f75d913ddd9 g_signal_emit_valist (libgobject-2.0.so.0 + 0x2fdd9) #10 0x00007f75d913e330 g_signal_emit (libgobject-2.0.so.0 + 0x30330) #11 0x0000556eadc5c2a2 pamac_alpm_utils_trans_commit_real (pamac-daemon + 0x292a2) #12 0x0000556eadc5cfbc pamac_alpm_utils_trans_commit (pamac-daemon + 0x29fbc) #13 0x0000556eadc63cd4 pamac_alpm_utils_trans_run (pamac-daemon + 0x30cd4) #14 0x0000556eadc6fc7b ____lambda83__gthread_func (pamac-daemon + 0x3cc7b) #15 0x00007f75d905ad11 n/a (libglib-2.0.so.0 + 0x82d11) #16 0x00007f75d8b23259 start_thread (libpthread.so.0 + 0x9259) #17 0x00007f75d8a4c5e3 __clone (libc.so.6 + 0xfe5e3) Stack trace of thread 2676: #0 0x00007f75d8a41b2f __poll (libc.so.6 + 0xf3b2f) #1 0x00007f75d90806d9 n/a (libglib-2.0.so.0 + 0xa86d9) #2 0x00007f75d9029bc1 g_main_context_iteration (libglib-2.0.so.0 + 0x51bc1) #3 0x00007f75d9029c12 n/a (libglib-2.0.so.0 + 0x51c12) #4 0x00007f75d905ad11 n/a (libglib-2.0.so.0 + 0x82d11) #5 0x00007f75d8b23259 start_thread (libpthread.so.0 + 0x9259) #6 0x00007f75d8a4c5e3 __clone (libc.so.6 + 0xfe5e3) Stack trace of thread 2675: #0 0x00007f75d8a41b2f __poll (libc.so.6 + 0xf3b2f) #1 0x00007f75d90806d9 n/a (libglib-2.0.so.0 + 0xa86d9) #2 0x00007f75d902ba63 g_main_loop_run (libglib-2.0.so.0 + 0x53a63) #3 0x0000556eadc460e5 main (pamac-daemon + 0x130e5) #4 0x00007f75d8975b25 __libc_start_main (libc.so.6 + 0x27b25) #5 0x0000556eadc4611e _start (pamac-daemon + 0x1311e) Stack trace of thread 2677: #0 0x00007f75d8a4718d syscall (libc.so.6 + 0xf918d) #1 0x00007f75d907ab3b g_cond_wait_until (libglib-2.0.so.0 + 0xa2b3b) #2 0x00007f75d8ffb7c3 n/a (libglib-2.0.so.0 + 0x237c3) #3 0x00007f75d8ffb954 g_async_queue_timeout_pop (libglib-2.0.so.0 + 0x23954) #4 0x00007f75d905d99a n/a (libglib-2.0.so.0 + 0x8599a) #5 0x00007f75d905ad11 n/a (libglib-2.0.so.0 + 0x82d11) #6 0x00007f75d8b23259 start_thread (libpthread.so.0 + 0x9259) #7 0x00007f75d8a4c5e3 __clone (libc.so.6 + 0xfe5e3) Stack trace of thread 2678: #0 0x00007f75d8b2d56d sendmsg (libpthread.so.0 + 0x1356d) #1 0x00007f75d8e6f09d g_socket_send_message_with_timeout (libgio-2.0.so.0 + 0x9509d) #2 0x00007f75d8e6f364 g_socket_send_message (libgio-2.0.so.0 + 0x95364) #3 0x00007f75d8ee5c7a n/a (libgio-2.0.so.0 + 0x10bc7a) #4 0x00007f75d8ee62f6 n/a (libgio-2.0.so.0 + 0x10c2f6) #5 0x00007f75d8ee6459 n/a (libgio-2.0.so.0 + 0x10c459) #6 0x00007f75d902c3e5 g_main_context_dispatch (libglib-2.0.so.0 + 0x543e5) #7 0x00007f75d9080749 n/a (libglib-2.0.so.0 + 0xa8749) #8 0x00007f75d902ba63 g_main_loop_run (libglib-2.0.so.0 + 0x53a63) #9 0x00007f75d8edd268 n/a (libgio-2.0.so.0 + 0x103268) #10 0x00007f75d905ad11 n/a (libglib-2.0.so.0 + 0x82d11) #11 0x00007f75d8b23259 start_thread (libpthread.so.0 + 0x9259) #12 0x00007f75d8a4c5e3 __clone (libc.so.6 + 0xfe5e3) $
$ ls -A1 -l -h /var/lib/systemd/coredump total 1.4M -rw-r----- 1 root root 1.4M Oct 17 13:41 core.pamac-daemon.0.267b44e30ac346de915337b774219e5a.2675.1634467313000000.zst
Uploaded to the https://dropmefiles.net/en/Z6aPA9hyH
Will be available there for 7 days.
$ mhwd-kernel -li Currently running: 5.15.0-1-MANJARO (linux515) The following kernels are installed in your system: * linux515 $
$ pacman -Qi linux515 | grep Ver Version : 5.15.rc5.211011.g64570fb-1 $
Edited by livemuziek- Maintainer
Should be fine now with libpamac 11.1.3
1 Installed and rebooted.
The package case now probably works well for me (@philm, check please)
$ pamac install demo-conflict-1-1.1-x86_64.pkg.tar.zst Preparing... Resolving dependencies... Checking inter-conflicts... To install (1): demo-conflict 1-1.1 Apply transaction ? [y/N] y Checking keyring... [1/1] Checking integrity... [1/1] Loading packages files... [1/1] Checking file conflicts... [1/1] Error: Failed to commit transaction: conflicting files: - demo-conflict: /sbin already exists in filesystem (owned by filesystem) $ pamac install demo-conflict-1-1.1-x86_64.pkg.tar.zst Preparing... Resolving dependencies... Checking inter-conflicts... To install (1): demo-conflict 1-1.1 Apply transaction ? [y/N] y Checking keyring... [1/1] Checking integrity... [1/1] Loading packages files... [1/1] Checking file conflicts... [1/1] Error: Failed to commit transaction: conflicting files: - demo-conflict: /sbin already exists in filesystem (owned by filesystem) $ pamac update Preparing... Synchronizing package databases... Refreshing chaotic-aur.db... Nothing to do. Transaction successfully finished. $ pamac update --force-refresh --aur Preparing... Synchronizing package databases... Refreshing core.db... Refreshing extra.db... Refreshing community.db... Refreshing multilib.db... Refreshing chaotic-aur.db... Refreshing core.files... Refreshing extra.files... Refreshing community.files... Refreshing multilib.files... Refreshing chaotic-aur.files... Nothing to do. Transaction successfully finished. $ pamac update Preparing... Synchronizing package databases... Nothing to do. Transaction successfully finished. $
journalctl -b -p3
is clean from any error.$ tail -n 20 /var/log/pacman.log [2021-10-17T12:50:55+0300] [ALPM] running '90-packagekit-refresh.hook'... [2021-10-17T12:50:55+0300] [ALPM] running 'dbus-reload.hook'... [2021-10-17T12:50:55+0300] [ALPM] running 'update-mime-database.hook'... [2021-10-17T13:03:14+0300] [PAMAC] synchronizing package lists [2021-10-17T13:37:22+0300] [PAMAC] synchronizing package lists [2021-10-17T19:03:20+0300] [PAMAC] synchronizing package lists [2021-10-17T19:03:38+0300] [ALPM] transaction started [2021-10-17T19:03:38+0300] [ALPM] upgraded libpamac (11.1.2-1 -> 11.1.3-1) [2021-10-17T19:03:38+0300] [ALPM] upgraded python-pillow (8.3.2-1 -> 8.4.0-1) [2021-10-17T19:03:38+0300] [ALPM] upgraded ventoy (1.0.54-1 -> 1.0.55-1) [2021-10-17T19:03:39+0300] [ALPM] transaction completed [2021-10-17T19:03:39+0300] [ALPM] running '30-systemd-daemon-reload.hook'... [2021-10-17T19:03:39+0300] [ALPM] running '30-systemd-update.hook'... [2021-10-17T19:03:39+0300] [ALPM] running '90-packagekit-refresh.hook'... [2021-10-17T19:03:39+0300] [ALPM] running 'dbus-reload.hook'... [2021-10-17T19:03:39+0300] [ALPM] running 'update-desktop-database.hook'... [2021-10-17T19:03:39+0300] [ALPM] running 'update-mime-database.hook'... [2021-10-17T19:08:59+0300] [PAMAC] synchronizing package lists [2021-10-17T19:09:25+0300] [PAMAC] synchronizing package lists [2021-10-17T19:10:08+0300] [PAMAC] synchronizing package lists
But did not tried possible regressions: new package installation, update, removal.
Edited by livemuziekHigh prio
tag, last comment a week ago. Looks like that work under the issue stopped.Philip, I tested your initial case under my circumstances. The issue resolved for my environment.
Could I help to check some other test cases on my machine to collect a bit more debug data of the issue if it still persists?
- Author Owner
Issue was fixed.
- Philip Müller closed
closed