Pacman

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.
Tasklist

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
Task Type Bug Report
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Very Low
Priority Normal
Reported Version 5.1.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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.

Loading...