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#30609 - package replacement, system file renamed .pacsave, nonotification
Attached to Project:
Pacman
Opened by Florian Pritz (bluewind) - Monday, 09 July 2012, 08:25 GMT
Last edited by Florian Pritz (bluewind) - Monday, 09 July 2012, 09:23 GMT
Opened by Florian Pritz (bluewind) - Monday, 09 July 2012, 08:25 GMT
Last edited by Florian Pritz (bluewind) - Monday, 09 July 2012, 09:23 GMT
|
DetailsSummary and Info:
Pacman renames a file to pacsave, but doesn't tell the user about it. > ll /etc/mpd* -rw-r--r-- 1 root root 14K Jun 14 23:16 /etc/mpd.conf Files: 1 --- Directories: 0 flo@Marin ~/git/aur/mpd-git > s p -S mpd resolving dependencies... looking for inter-conflicts... :: mpd and mpd-git are in conflict. Remove mpd-git? [y/N] y Targets (2): Name Old Version New Version Net Change Download Size mpd-git 20120229-1 -0.67 MiB mpd 0.17-2 0.57 MiB Total Installed Size: 0.57 MiB Net Upgrade Size: -0.10 MiB Proceed with installation? [Y/n] (1/1) checking package integrity [------------------------------------------] 100% (1/1) loading package files [------------------------------------------] 100% (1/1) checking for file conflicts [------------------------------------------] 100% (2/2) checking available disk space [------------------------------------------] 100% (1/1) removing mpd-git [------------------------------------------] 100% userdel: user mpd is currently used by process 5491 groupdel: cannot remove the primary group of user 'mpd' (1/1) installing mpd [------------------------------------------] 100% flo@Marin ~/git/aur/mpd-git > ll /etc/mpd* -rw-r--r-- 1 root root 14K Jun 14 23:16 /etc/mpd.conf.pacsave -rw-r--r-- 1 root root 15K Jul 2 01:53 /etc/mpd.conf Steps to Reproduce: Install attached mpd-git package, install mpd from repo. pacman 4.0.3-2 |
This task depends upon
Closed by Florian Pritz (bluewind)
Monday, 09 July 2012, 09:23 GMT
Reason for closing: Not a bug
Additional comments about closing: mpd-git install file renamed it, not pacman
Monday, 09 July 2012, 09:23 GMT
Reason for closing: Not a bug
Additional comments about closing: mpd-git install file renamed it, not pacman
mpd-git-20120229-1-x86_64.pkg...
1) /etc/foo exists in the filesystem - not owned by any package
2) pkg1 is replaced by pkg2
3) pkg2 has /etc/foo in its backup array.
Should be easy to write a pactest for. Step #2 is the critical part.
I have no dea why this is moved to .pacsave rather than .pacorig and how no output about the move gets outputted...