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#11913 - Pacman: package backup feature
Attached to Project:
Pacman
Opened by Erwin Van de Velde (evdvelde) - Tuesday, 28 October 2008, 15:28 GMT
Last edited by Allan McRae (Allan) - Sunday, 22 April 2012, 11:57 GMT
Opened by Erwin Van de Velde (evdvelde) - Tuesday, 28 October 2008, 15:28 GMT
Last edited by Allan McRae (Allan) - Sunday, 22 April 2012, 11:57 GMT
|
DetailsDescription:
It would be nice if one could make a backup of an installed package, i.e. make a package file of the installed package. This is useful if you want to backup a package installed on your system that has already been updated in the repositories (e.g. backing up important package before updating it). You could of course keep package files for all installed packages, but that requires a lot of disk space. Another nice side effect would be that you end up with the altered configuration files in the backup package, so reinstalling/reverting is really easy. |
This task depends upon
Closed by Allan McRae (Allan)
Sunday, 22 April 2012, 11:57 GMT
Reason for closing: Won't implement
Additional comments about closing: Simple bash script around provided tools will work.
Sunday, 22 April 2012, 11:57 GMT
Reason for closing: Won't implement
Additional comments about closing: Simple bash script around provided tools will work.
I do not think a user needs to join a devel mailing list, nor write patches for a feature request.
I tried to discuss about it on IRC (#archlinux-pacman), but to no avail. Since here is the choice for feature requests, I ask it to be discussed in detail here.
Returning to the request: the implementation is minor (in fact, you almost have it already available as you pointed it out) and is useful, I am sure, not only for me.
So it would be nice if you discussed about it instead of slamming this request shut every time.
pacman -Sy
pacman -Qu -> parse output
bacman
pacman -Su
pacman -Sy
pkgs="$(pacman -Sup --print-format %n | sed "1d")"
for i in pkgs; do bacman $i; done
pacman -Su
Could be made more robust if anyone actually wanted to use it... (not by me!)