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#67538 - [pacman] Add interactive alternative to --overwrite

Attached to Project: Pacman
Opened by hudd (hudd) - Sunday, 09 August 2020, 17:34 GMT
Last edited by Allan McRae (Allan) - Sunday, 04 December 2022, 02:21 GMT
Task Type Feature Request
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 5.2.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

It sometimes can annoying to have to rerun pacman because of "file exists in filesystem" error.
(for example I have some systems which I update rarely so when I do an update, there are 1000s of packages which need to be updated)

I suggest adding an option upan enabling which pacman would interactively ask the user "file exists in filesystem, overwrite? [y/N]".
This task depends upon

Closed by  Allan McRae (Allan)
Sunday, 04 December 2022, 02:21 GMT
Reason for closing:  Won't implement
Comment by Eli Schwartz (eschwartz) - Sunday, 09 August 2020, 18:06 GMT
  • Field changed: Attached to Project (Arch Linux → Pacman)
Moving to dedicated project...
Comment by Eli Schwartz (eschwartz) - Sunday, 09 August 2020, 18:13 GMT
I don't see how it's so hard to rerun pacman again, everything is cached and pacman just needs to reread files from the disk cache.

If you have lots of files like this, being prompted for every one is very painful.

And of course, you really should not have file conflicts and if you have them anyway you should investigate the cause and decide if it's safe to overwrite them. I don't like the idea of encouraging people to instinctively press "y" and do possibly unsafe things here.
Comment by Doug Newgard (Scimmia) - Monday, 10 August 2020, 03:46 GMT
If this is happening regularly enough to be annoying, you need to look at how you're managing your setup. This should be an extremely rare thing.

Loading...