You are not logged in.
i'm trying to install 2 packages i downloaded from the unofficial repo.
i've been reading and searching posts to try to figure this out, but i'm getting errors that i dont' know what to do now.
here's what i did. (trying to follow this thread: http://bbs.archlinux.org/viewtopic.php? … hard+drive )
edited /etc/pacman.conf to be the following:
[custom]
Server = file:///archpkg
copied the 2 pkg.tar.gz files to the /archpkg directory.
executed following commands:
cd /archpkg
tar czf custom.db.tar.gz *
pacman -Sy
after this i get the following output:
:: Synchronizing package databases...
failed to synchronize current
custom [/archpkg/ ] 100% | LOCAL |
error: /var/lib/pacman/custom/wireless_tools-26-2.pkg.tar.gz/desc: Not a directory
any help is appreciated. thanks
loading.... please wait....
Offline
Exactly what packages are you trying to install and where did you download them from?
You don't need a local repo to install downloaded packages. If they come from incoming untar the tar first (there is - or should be - the right package.tar.gz in it). Then just
pacman -A packagefilename.tar.gz or pacman -U packagefilename.tar.gz
(no need for local repo entry in pacman.conf) Does it work for you or you really want this local repo?
Offline
copied the 2 pkg.tar.gz files to the /archpkg directory.
executed following commands:
cd /archpkg
tar czf custom.db.tar.gz *
That's not the proper way to create a db file: you have to use "gensync".
Offline
Exactly what packages are you trying to install and where did you download them from?
You don't need a local repo to install downloaded packages. If they come from incoming untar the tar first (there is - or should be - the right package.tar.gz in it). Then just
pacman -A packagefilename.tar.gz or pacman -U packagefilename.tar.gz
(no need for local repo entry in pacman.conf) Does it work for you or you really want this local repo?
trying to install wireless tools and wlan whatever. i downloaded them from the unofficial repo. they are called wireless<something>.pkg.tar.gz and wlan<something>.pkg.tar.gz.
i don't need a local repo if you say i don't. i just thought i did from reading the man pages and searching the forums, etc.
i will try the -A option and see if that works.
if not, i'll try orelien's suggestion of using gensync.
Thanks for the replies.
loading.... please wait....
Offline
If by unofficial repo you mean the extra repo you really need to read pacman manual. Wireless tools and wlan-ng are in the extra. You don't need to download them manually. Just make sure you have [extra] and at least one mirror below uncommented in /etc/pacman.conf then you can just pacman -Sy wireless_tools wlan-ng24 (or wlan-ng26 whichever version you want). Unless of course you need some other package versions from some really unofficial repo then they should work with pacman -A or pacman -U after downloading.
Offline
If by unofficial repo you mean the extra repo you really need to read pacman manual. Wireless tools and wlan-ng are in the extra. You don't need to download them manually. Just make sure you have [extra] and at least one mirror below uncommented in /etc/pacman.conf then you can just pacman -Sy wireless_tools wlan-ng24 (or wlan-ng26 whichever version you want). Unless of course you need some other package versions from some really unofficial repo then they should work with pacman -A or pacman -U after downloading.
umm... if i could connect to the internet to get them straight thru pacman i wouldn't really need the wireless tools now would i?
edit: i downloaded thru windows, mounted the win partition, then copied them to linux partition. that's the only way i can get them atm.
oh, and by unofficial, i meant the actual "unofficial" folder, not extra, unless the unofficial points to the extra folder?
edit2: i wasn't aware that the wireless and wlan stuff was in extra... i'll get those versions just in case the ones in unofficial aren't up to date or not 'good' versions.
loading.... please wait....
Offline
extra used to be called unofficial. I believe they represent the same directory now.
Dusty
Offline
extra used to be called unofficial. I believe they represent the same directory now.
Dusty
oh ok.... sorry, i've been out of the loop
loading.... please wait....
Offline
oh ok.... sorry, i've been out of the loop
No problem. I think the change was before I joined. I remember seeing some front-page news on it when I first investigated Arch.
Offline
Now is much easier, thanks Pacman 3, by
repo-add
.
ArchWiki is up-to-date.
http://wiki.archlinux.org/index.php/Cus … nd_gensync
"Those who don't know history are doomed to repeat it." Edmund Burke
Offline