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#25667 - [alpm] --dbonly operations still check for file conflicts
Attached to Project:
Pacman
Opened by Dave Reisner (falconindy) - Friday, 19 August 2011, 07:04 GMT
Last edited by Dave Reisner (falconindy) - Thursday, 22 December 2011, 00:51 GMT
Opened by Dave Reisner (falconindy) - Friday, 19 August 2011, 07:04 GMT
Last edited by Dave Reisner (falconindy) - Thursday, 22 December 2011, 00:51 GMT
|
DetailsIf you rename the desc file in your local database for a package and try to rewrite the DB entry with --dbonly, alpm will still try to check for file conflicts, and then fail. This currently works as expected with 3.5.4 (without whining about "conflicting" files). I've had a bear of a time bisecting this due to a segfault that was introduced somewhere along the way when a local db file doesn't exist.
$ sudo mv /var/lib/pacman/local/filesystem-2011.08-1/desc{,~} $ sudo pacman -S --dbonly filesystem warning: filesystem-2011.08-1 is up to date -- reinstalling resolving dependencies... looking for inter-conflicts... error: could not open file /var/lib/pacman/local/filesystem-2011.08-1/desc: No such file or directory Targets (1): filesystem-2011.08-1 Total Download Size: 0.00 MiB Total Installed Size: 0.06 MiB Proceed with installation? [Y/n] (1/1) checking package integrity [######################] 100% (1/1) checking for file conflicts [######################] 100% error: failed to commit transaction (conflicting files) filesystem: /etc/arch-release exists in filesystem filesystem: /etc/modprobe.d/usb-load-ehci-first.conf exists in filesystem filesystem: /usr/local/share/man exists in filesystem filesystem: /var/empty/.keep exists in filesystem filesystem: /var/mail exists in filesystem Errors occurred, no packages were upgraded. |
This task depends upon
Closed by Dave Reisner (falconindy)
Thursday, 22 December 2011, 00:51 GMT
Reason for closing: Fixed
Additional comments about closing: http://projects.archlinux.org/pacman.git /commit/?id=71164b76
Thursday, 22 December 2011, 00:51 GMT
Reason for closing: Fixed
Additional comments about closing: http://projects.archlinux.org/pacman.git /commit/?id=71164b76
Comment by Dan McGee (toofishes) -
Friday, 19 August 2011, 16:10 GMT
Mixed on whether we should implicitly skip file conflict checks in this case- given one can always add the -f flag to get the behavior you expect.
Comment by Dan McGee (toofishes) -
Thursday, 06 October 2011, 04:46 GMT
- Field changed: Due in Version (4.0.0 → 4.1.0)
I'll let you fix this in 4.1, Dave.