FS#69851 - the installation of Tumbler fails if the file /etc/xdg/tumbler/tumbler.rc is already present
Attached to Project:
Arch Linux
Opened by Lacsap (lacsap) - Tuesday, 02 March 2021, 09:09 GMT
Last edited by Evangelos Foutras (foutrelis) - Thursday, 04 March 2021, 20:50 GMT
Opened by Lacsap (lacsap) - Tuesday, 02 March 2021, 09:09 GMT
Last edited by Evangelos Foutras (foutrelis) - Thursday, 04 March 2021, 20:50 GMT
|
Details
Description:
hi, the installation of Tumbler fails if the file /etc/xdg/tumbler/tumbler.rc is already present. unlike some other packages, the ".pacnew" mechanism is not triggered during installation. regards. Additional info: * package version(s) * config and/or log files etc. * link to upstream bug report, if any # pacman -S tumbler resolving dependencies... looking for conflicting packages... Packages (1) tumbler-4.16.0-1 Total Installed Size: 0.84 MiB :: Proceed with installation? [Y/n] (1/1) checking keys in keyring [######################] 100% (1/1) checking package integrity [######################] 100% (1/1) loading package files [######################] 100% (1/1) checking for file conflicts [######################] 100% error: failed to commit transaction (conflicting files) tumbler: /etc/xdg/tumbler/tumbler.rc exists in filesystem Errors occurred, no packages were upgraded. Steps to reproduce: # pacman -Rsn tumbler # touch /etc/xdg/tumbler/tumbler.rc # pacman -S tumbler |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Thursday, 04 March 2021, 20:50 GMT
Reason for closing: Fixed
Additional comments about closing: tumbler 4.16.0-2
Thursday, 04 March 2021, 20:50 GMT
Reason for closing: Fixed
Additional comments about closing: tumbler 4.16.0-2
I may be wrong, but the pacman manual doesn't quite say the same thing :
"""
HANDLING CONFIG FILES
Pacman uses the same logic as rpm...
...
original=NULL, current=Y, new=Z
The package was not previously installed, and the file already exists on the file system. Install the new file with a .pacnew
extension and warn the user. The user must then manually merge any necessary changes into the original file.
"""
this is not a very important problem but it would be nice if the tumbler package uses pacnew ;-)