[Slapt-get-user] Filter location and meta package

Jason Woodward woodwardj at jaos.org
Sun Nov 7 09:57:43 EST 2004


Hi Kocil,

> 1. How can we filter packages, based on location.
> 
> VL put the packages based on libraries and group, for example, we have:
>   ./x11/gtk/MM/xmms
>   ./x11/gtk/NET/dillo
>   ./x11/gtk2/NET/firefox
> 
> We want to able to filter, for example:
> * only packages from x11/gtk (get dillo and xmms, not firefox)

slapt-get --search './x11/gtk/'

> * only NET packages (get dillo and firefox, not xmms).

slapt-get --search './x11/.*?/NET'


Or you can group packages together using meta-packages.


> 2. Is meta-package a good idea for upgrading a flavour ?
> Flavour is a VL term, basically an variation for a specific purpose.
> For a version, say VL 5.0, we make several flavour, for example DYNAMYTE, 
> STANDARD, SOHO.
> See 
> http://www.ibiblio.org/pub/linux/distributions/vectorlinux/veclinux-5.0/doc/
> 
> Now, we want to able to upgrade VL STANDAR (minimal packages)
> to a SOHO (more packages).  I'm thingking of using meta package, so user 
> with VL standard can get SOHO simply by doing:
> 
> slapt --install vector-soho
> 
> Is that a good idea ?

Sure it is.  Makes it easy to identify which packages go with a specific flavour.  This makes
upgrades easier as well.  Your vector-soho package will be identified as being installed and
when upgraded will get the newest additions to that flavours package listing automatically.

> What happen if the DYNAMITE contains some packages that are not in the SOHO 
> ?
> Is it possible to remove it automatically ?

You mean an automatic way to remove the meta packages requirements?  FYI, removing a meta
package will not remove it's requirements.

> 3. How to choose vl packages over slack packages ?
> 
> We are still using original Slackware packages (don't reinvent the whell, 
> right ?),
> except some necessary packages.
> So typically, we set two SOURCEs.
> First to the VL FTP site, and the second to the Slackware mirror.
> Unfortunatelly, when using slapt-get --upgrade, it wants to upgrade, for 
> example:
> 
> libglade-2.0.4-i486-1.tgz over libglade-2.0.4-i586-vl5.tgz
> 
> Both are the same package and version,
> but the installed one is the right VL package.
> How to prevent the original slackware package overwrite it !

Most of all the unofficial slack packages available follow a convention of putting the
builder's tag after the build number.  So slapt-get has been designed to work with this.  If
you put vl after the 5 in your example, you will get the expected results.

> More difficult, Slackware has a problem with cdrtools, so we downgraded it.
> Slapt-get always wants to replace the right package like this:
> 
> cdrtools-2.01-i486-1.tgz over cdrtools.1.10-i586-vl5.tgz
> 
> That should not happen, since the older is BETTER.

In this case, you can add cdrtools to the excludes list, cdrtools$ then rename your cdrtools to
cdrtools-stable-1.10-i585-5vl.tgz.   You can also use slack-conflicts to specify cdrtools as
conflicting.

> let's prove the capability of slapt-get with fully supportive FTP site.

Hey, linuxpackages.net was the first! =]


take care,
jason

--
Jason Woodward
woodwardj at jaos.org

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
 
mQGiBDrwHPoRBAC3nDJRLKTcFcJWid9PN08ChMI7tuQevomWoVeZpZZ0zzip2w/E
ts55Mx58eRRGFFmgZZGeP7EhyUPzb668LIsU62gFO7G5/oWCr3U3g3peabZsqRC9
FchdiM8DJqQu/7ryAjbQ4OFCSW+jAsMC3tKXrdaB48WiipiXUcKR/sONGwCgzGPf
yxDgOc7n9xWVH0qbUDC/vZsEAKvbckkhpe9/x2A4E15l6DUbliEmboeHiT9NJaok
vLo3ElSO1o6ld5+VhFIkhRmmovrS8oyttZNv8HjMEYf6L3NdZybTHfcdS5EIpguH
Xx2/IGzJKbgX3vM/qhJ0+F1LPuN20mOT0NO/29AXJn3V7rTKoKf/uOOKD+Eqh4r1
QVMoBAC3ZPF3idmuW3j4tqhOaWe2qHlLwEClwdsTG+KOsVYh1sU4RvyMErDIU6r/
MomkLAJfbtBTXKcknW68Y4Uv4B+UkyopklktRBFiMBffoHLUfkkQk/L9Yg1YG27N
COsECiamylF8hNSTcNIQqYXDpyoRcSi2p7gqkxJZrk7GwrX2ObQjSmFzb24gV29v
ZHdhcmQgPHdvb2R3YXJkakBqYW9zLm9yZz6IVwQTEQIAFwUCOvAc+gULBwoDBAMV
AwIDFgIBAheAAAoJEGu22odUp/oeN2IAoKHS+qH8AenlOTKL0Ifl3q1QSlDBAKDL
bvvgl7HoRTHY2b9n3pEPr+KIh7kBDQQ68Bz9EAQA2Ds/2VKc08qaNIkA1okxITmQ
aaNjUrm/au9jNzm9lyEFXWXBNegzP5Y4A1ESDKUt5RETgVhNKd9mGkP7tgPTs3f6
Z595K6W7xeZWONKbl578RbWwE1CiMqEOuXwr1/q0DzfwmNQLcqDcX3o0DEpWE+uZ
G+5CtpkXYiDmccigDKMAAwUD/iZDxEr1HC4iLnGXUCDpxXEtp7Fx150baFzZITns
4hpKRAbTR65s2tL8rh5d8ThDgqW5C9JQja9fMxI2u7zlyM2ALFXJP1xwgZTSOYvn
sq+x41i5tJpce+pDmMEl8X0wew2Z5ZRPfDLv64kKPIGNgVXsAHirH2KjChZat4VC
qkZciEYEGBECAAYFAjrwHP0ACgkQa7bah1Sn+h7qkQCePz0ds5O/dsZrm450pjLs
2V3BkMAAn2/6alBBC9b9F94svdOf0mGY/G5w
=4p8c
-----END PGP PUBLIC KEY BLOCK-----

my($c, at s)=(0,qw( | / - \ ));$|++;my$p;&{sub{map{$p.=chr$_}
unpack(join('a',('',split(//,$_->[1]))),$_->[0]);}}foreach
[qw/74117115116 2333/],[qw/65110111116104101114 2333333/],
[qw/80101114108 2333/],[qw/729799107101114 222333/];{my$z=
$c<4?$s[$c++]:$s [$c=0];printf"\ec%s%s%s",$z,$p,$z,select*
STDOUT,*STDOUT,*STDOUT,0.1,;redo;}##########JAPH##########



More information about the Slapt-get-user mailing list