FS#59348 - Overwrite option appears to not work
Attached to Project:
Pacman
Opened by Mark Weiman (markzz) - Monday, 16 July 2018, 04:28 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 16 July 2018, 04:29 GMT
Opened by Mark Weiman (markzz) - Monday, 16 July 2018, 04:28 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 16 July 2018, 04:29 GMT
|
Details
Summary and Info: --force states that it is deprecated, but
overwrite appears to not function in the same way
Steps to Reproduce: I produced this error with the --asdeps option, but I cannot be sure if that flag causes it or not at this time. An example is below. % sudo pacman -S libutf8proc --overwrite --asdeps resolving dependencies... looking for conflicting packages... Package (1) Old Version New Version Net Change community/libutf8proc 2.1.1-2 2.1.1-4 0.00 MiB Total Installed Size: 0.32 MiB Net Upgrade Size: 0.00 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) libutf8proc: /usr/lib/libutf8proc.so.2 exists in filesystem Errors occurred, no packages were upgraded. % sudo pacman -S libutf8proc --force --asdeps warning: option --force is deprecated; use --overwrite instead resolving dependencies... looking for conflicting packages... Package (1) Old Version New Version Net Change community/libutf8proc 2.1.1-2 2.1.1-4 0.00 MiB Total Installed Size: 0.32 MiB Net Upgrade Size: 0.00 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% (1/1) checking available disk space [####################################################] 100% :: Processing package changes... (1/1) upgrading libutf8proc [####################################################] 100% :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... |
This task depends upon
Closed by Doug Newgard (Scimmia)
Monday, 16 July 2018, 04:29 GMT
Reason for closing: Not a bug
Additional comments about closing: You're right, it doesn't function the same way and isn't supposed to. Read the man page.
Monday, 16 July 2018, 04:29 GMT
Reason for closing: Not a bug
Additional comments about closing: You're right, it doesn't function the same way and isn't supposed to. Read the man page.