You are not logged in.

#1 2008-08-20 07:40:40

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Metapax: create your own metapackages or reconstruct installed pkgs

I've moved the metapax info here: http://xyne.archlinux.ca/info/metapax

Last edited by Xyne (2008-11-13 07:18:20)


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#2 2008-11-06 23:48:27

vkumar
Member
Registered: 2008-10-06
Posts: 166

Re: Metapax: create your own metapackages or reconstruct installed pkgs

nice


div curl F = 0

Offline

#3 2008-11-07 00:43:25

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: Metapax: create your own metapackages or reconstruct installed pkgs

*blows some dust off this thread*

Thanks vkumar. I thought this had gone completely unnoticed.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#4 2008-11-07 02:49:41

fflarex
Member
Registered: 2007-09-15
Posts: 466

Re: Metapax: create your own metapackages or reconstruct installed pkgs

Didn't comment here before because I haven't used it yet, but I bookmarked this thread for when I put together a new system (in a month or two). I think it will probably come in handy. Nice work.

Last edited by fflarex (2008-11-07 02:50:10)

Offline

#5 2008-11-07 11:41:43

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: Metapax: create your own metapackages or reconstruct installed pkgs

that's really nice.
i heard gentoo's portage supports this by default (i mean sort your packages in meta-groups for easier re-install).
good to have smth like that for arch.
thanks xyne smile

vlad

Offline

#6 2008-11-27 10:59:48

edenxavier
Member
Registered: 2008-03-02
Posts: 35

Re: Metapax: create your own metapackages or reconstruct installed pkgs

I've noticed while trying to do a system snapshot (metapax --system-snapshot), metapax would complain about not being able to reconstruct aur packages because it couldn't find /var/lib/pacman/local/abs/files.  I think the files its trying to look for are actually in /var/lib/pacman/local/abs.  Is there a way to specify a different directory for this action?

Offline

#7 2008-11-27 15:38:09

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: Metapax: create your own metapackages or reconstruct installed pkgs

@edenxavier

The problem was actually that the reconstruction subroutine was looking for "pkg" instead of "pkg-ver". I also found a second bug too, both of which should have been noticed a while ago.

Anyway, the problem should be fixed in the latest version.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#8 2009-01-11 23:51:06

ibendiben
Member
Registered: 2007-10-10
Posts: 519

Re: Metapax: create your own metapackages or reconstruct installed pkgs

This is a good idea, something for pacman contrib?

Offline

#9 2009-01-12 00:05:47

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: Metapax: create your own metapackages or reconstruct installed pkgs

Thanks ibendiben.

I want to see where my optdepends suggestion goes before this is considered for anything even pseudo-official.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#10 2009-01-12 00:59:51

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,458
Website

Re: Metapax: create your own metapackages or reconstruct installed pkgs

We already have bacman to reconstruct packages in pacman-contrib but the metapkg idea might well be usable.

Offline

#11 2009-08-05 16:41:01

fijam
Member
Registered: 2009-02-03
Posts: 244
Website

Re: Metapax: create your own metapackages or reconstruct installed pkgs

I encountered a bug in metapax. Since I do not know perl or regexp, I was unable to fix it.

./metapax --reconstruct autofs
Use of uninitialized value $pkg in concatenation (.) or string at ./metapax line 425, <GEN1> line 556.
Unable to open /var/lib/pacman/local/autofs-4.1.4-4-/files:No such file or directory

Notice the extra hyphen after 4.1.4-4.

I ended up using bacman.

Offline

#12 2009-08-08 23:51:37

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: Metapax: create your own metapackages or reconstruct installed pkgs

This should be fixed now.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

Board footer

Powered by FluxBB