On 7/14/07, Xavier <shiningxc@gmail.com> wrote:
On Sat, Jul 14, 2007 at 10:25:27PM +0200, ngaba@petra.hos.u-szeged.hu wrote:
Hi! In my opinion one of the best thinks in pacman that unlike many other package managers user can undo lots of thinks (see -R group after -S group, -Rs after -S ...). However, user cannot undo a package upgrade, because most sync servers doesn't store old packages. So I think that it would be very useful, if there would be a pacman or makepkg command to create a package from an installed one (or is this implemented?). We could(?) do this from the local db and the installed files. Of course this wouldn't be a "distro" package, because config files can change etc. but this is even better for backup/undo. You may say, that this is totally useless, because if a package is installed then there must exist a proper .tar.gz file somewhere.
lol, indeed, that's exactly what I want to say :)
Check the contrib directory. I'm pretty sure re-pacman does what you want.