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#28377 - Option to keep existing files and install package
Attached to Project:
Pacman
Opened by ifiknew (ifiknew) - Sunday, 12 February 2012, 13:48 GMT
Last edited by Dan McGee (toofishes) - Sunday, 12 February 2012, 23:47 GMT
Opened by ifiknew (ifiknew) - Sunday, 12 February 2012, 13:48 GMT
Last edited by Dan McGee (toofishes) - Sunday, 12 February 2012, 23:47 GMT
|
DetailsAs oposoed to the --force option that installs the package and overwrites the existing files; a option that would install the package but keep the existing files with the same name/location as the ones in the package. If possible, it should exclude the already existing files from the list of the files owned by that package, as the user should be responsible for the files he manually put there.
It could be useful if someone, for example, has modified shared libs that he doesn't want to be overwritten. Thanks. |
This task depends upon
Closed by Dan McGee (toofishes)
Sunday, 12 February 2012, 23:47 GMT
Reason for closing: Won't fix
Additional comments about closing: See comments.
Sunday, 12 February 2012, 23:47 GMT
Reason for closing: Won't fix
Additional comments about closing: See comments.
Allan, i don't really see how this is the opposite of package management, i would rather call it splitting the package(s) to achieve even grater modularity. As for the new package, fair enough, but with reinstalling the original package without the modified shared libs i would again overwrite the modified shared libs - which this report was about preventing.
Here's a scenario that would maybe fit better in your package management standards:
You have a installed package(pkg1) and another package(pkg2) that has modified version of a lib that pkg1 provides, now if you reinstall pkg1 it would overwrite the modified shared lib from pkg2 and you would need to install pkg2 again.
Another thought maybe? Thanks and sorry for the inconvenience.