[pacman-dev] feature request: create .tar.gz package from an installed one

Xavier shiningxc at gmail.com
Sun Jul 15 06:38:18 EDT 2007


On Sat, Jul 14, 2007 at 10:16:47PM -0500, Aaron Griffin wrote:
> On 7/14/07, Xavier <shiningxc at gmail.com> wrote:
> > On Sat, Jul 14, 2007 at 10:25:27PM +0200, ngaba at 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.
> 

Oh, just a small external sh script for doing that job, that's perfect.
Nagy was apparently right when saying it would be easy to implement, 
and it might be useful in some cases indeed (I just never had a need for it ;) ).




More information about the pacman-dev mailing list