You are not logged in.
hello...im trying to make a custom cd
im inputting this code...
gensync /var/abs/local/ /home/viper/Desktop/arch/extra.db.tar.gz /var/cache/pacman/pkg/
and im getting this
gensync: building database entries, generating md5sums...
gensync: missing package file: /var/cache/pacman/pkg//libebml-0.7.6-1.pkg.tar.gz
i realize that this means that i dont have the package downloaded....but i dont need that package so i have to go into the /var/abs/local/extra/lib/ folder and delete it...
and that would be fine except...i have to do that for every package in the repository....is there anyway i could make a repository out of only the packages that i have..w/o having to download the files or delete the pkgbuild file from the /var/abs/local/extra/lib/ directory...what i want is a repository with kde gnome gnome-extras k3b and libdvdcss, libdvdnav..... thank you for any help or any advise.....im almost 100% sure that im doing alot wrong...im very new to the whole Arch building packaging etc...although from my experience pacman is awsome...
thanx
In this land of the pain the sane lose not knowing they were part of the game.
~LP
Offline
Might this link be helpful to you?
http://wiki.archlinux.org/index.php/Cus … nd_gensync
Offline
I added a script in wiki so you can create XXX.db.tar.gz just from a dir of packages.
VERY usefull on creating custom cd.
REALLY.
Offline
yes...i looked at the wiki and couldnt get it working initially then i found out about abs...at first i thought it was some Arch theory...hahaha ya thats me in a nutshell ..lol
I added a script in wiki so you can create XXX.db.tar.gz just from a dir of packages.
VERY usefull on creating custom cd.
REALLY.
WOW! that sounds like exactly what I need..Im gonna go check it out!
In this land of the pain the sane lose not knowing they were part of the game.
~LP
Offline
hmm... it sounds like a good script...but...umm well hahah i have no idea how to run it....lol...do i just edit it to use my directory or something...and then just copy it in to gvim and save or ? sry!! im just new to scripts and stuff....(Linux in general but I wanna learn!!! sometime i dont have time and i skim wikis and make mistakes, but still hahaha
In this land of the pain the sane lose not knowing they were part of the game.
~LP
Offline
copy, paste in whatever editor you like,
chmod 755 SCRIPT_NAME
./SCRIPT_NAME DIR_NAME
where SCRIPT_NAME is whatever you want to call your script, DIR_NAME is path do directory with your packages.
Offline
copy, paste in whatever editor you like,
chmod 755 SCRIPT_NAME ./SCRIPT_NAME DIR_NAME
where SCRIPT_NAME is whatever you want to call your script, DIR_NAME is path do directory with your packages.
Thanx so much Ive been trying to do that for 2 weeks now! Could you please add those last two lines to the wiki..for all the other newbies...Thanx so much
EDIT: to burn this to a cd wut do i do? From what i understand Im supposed to create and burn an iso with the an /arch/pkg/ directory and put the custom.db.tar.gz file in the /arch/pkg directory on the cd. Thats what i understood from the wiki but hows pacman supposed to know where to retrive the files?
In this land of the pain the sane lose not knowing they were part of the game.
~LP
Offline
Xentac also wrote a patch for gensync that does the samething, we've been using it on arch64 for a while now. it is here http://arch64.org/svn/trunk/current/base/pacman/
just get pacman.patch and pacman2.patch then build a custom pacman package using those 2 patches.
Offline
ummm ya...i got it to where it will add the repository but it is not able to retreive packages from my directory
In this land of the pain the sane lose not knowing they were part of the game.
~LP
Offline
Did you add your custom repo to pacman.conf?
Offline
Did you add your custom repo to pacman.conf?
yes..I added it and it could not retrive the packages from the repository so I copied the custom.db.tar.gz into the folder where I put the packages and it was able to retrive the packages then however when i disable all repos except my custom repo and type pacman -S gnome it says it cannot find the packaged gnome. and the same for KDE ...how do i set it up so that it knows that when i say pacman -S gnome that i want the group gnome and not a package called gnome.??? :?:
p.s. i( used the script from the wiki to make the repo..this link is in this thread.)
EDIT
I put arch on one of my spare partions and Im testing to see if it works...even coping the packages into the /var/pacman/pkg directory does not help as pacman still asks you to refreash and w/o internet thats difficult...is there anyway around this?
In this land of the pain the sane lose not knowing they were part of the game.
~LP
Offline