Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#53032 - pacman hangs when trying to resolve a config file conflict involving symlinks
Attached to Project:
Pacman
Opened by Stefan Majewsky (majewsky) - Monday, 20 February 2017, 17:05 GMT
Last edited by Andrew Gregory (andrewgregory) - Sunday, 04 June 2017, 20:53 GMT
Opened by Stefan Majewsky (majewsky) - Monday, 20 February 2017, 17:05 GMT
Last edited by Andrew Gregory (andrewgregory) - Sunday, 04 June 2017, 20:53 GMT
|
DetailsSteps to Reproduce:
1. Build the following package and install with `pacman -U`. pkgname=symlink-test pkgver=1.0 pkgrel=1 backup=("etc/symlink-test") arch=('any') package() { install -d -m 0755 "${pkgdir}/etc" ln -sf first-target "${pkgdir}/etc/symlink-test" } 2. Replace the installed symlink by a regular file. # rm /etc/symlink-test && echo test > /etc/symlink-test 3. Reinstall the above package with `pacman -U`. Observe that this operation completes successfully. 4. Update the above package to a newer version that installs the same symlink with a different target, and install with `pacman -U`. Observe that pacman hangs at "upgrading symlink-test" and cannot be terminated by SIGINT. |
This task depends upon
Closed by Andrew Gregory (andrewgregory)
Sunday, 04 June 2017, 20:53 GMT
Reason for closing: Works for me
Sunday, 04 June 2017, 20:53 GMT
Reason for closing: Works for me
Comment by Andrew Gregory (andrewgregory) -
Monday, 20 February 2017, 18:24 GMT
I cannot reproduce this. Please provide the output from pacman with --debug=2.
Comment by Stefan Majewsky (majewsky) -
Tuesday, 21 February 2017, 17:32 GMT
Hm, indeed. I cannot reproduce this on my desktop machine right now. Will try again on the notebook where I observed this.