You are not logged in.
Pages: 1
I have followed the WIKI for a local pacman cache. I can and have updated the caches current and extra sucessfully
I have noticed that twice now I have tried to pacman -Sy (package name) and recieved this error
eg:
[10:48][root@jelb evan]# pacman -Sy lineakconfig-0.3.2-2.pkg.tar.gz
:: Synchronizing package databases...
current [/home/mirror/current/os/i686/] 100% LOCAL
extra [/home/mirror/extra/os/i686/] 100% LOCAL
lineakconfig-0.3.2-2.pkg.tar.gz: not found in sync db
I have tried just the lineakconfig and lineakconfig-0.3.2-2 etc to no avail. Also I can see the package in the folder, but wish to work this out instaed of a manual install.
Any ideaś????
Cheers
Sitting quietly
Doing nothing
The grass grows
And the flowers bloom
All by themselves
Offline
If you are trying to manually install a file from a local system you need to use pacman -U with the full filename, if you are trying to sync a pkg from the repo you need to use pacman -S and the package name, which is usually the bit before the version
You could also have a look at man pacman
Offline
Thanx for the reply dibblethewrecker,
I tried your advice but to no avail.
[15:10][root@jelb evan]# pacman -U lineakconfig
loading package data... could not open package: No such file or directory
[15:10][root@jelb evan]# pacman -Uy lineakconfig
loading package data... could not open package: No such file or directory
[15:10][root@jelb evan]# pacman -U lineakconfig-0.3.2-2.pkg.tar.gz
loading package data... could not open package: No such file or directory
[15:11][root@jelb evan]# pacman -Uy lineakconfig-0.3.2-2.pkg.tar.gz
loading package data... could not open package: No such file or directory
I read the man Pacman before I posted - sorry , should have mentioned that. -U is for upgrade, -u system upgrade. Still no sausage!!
Sitting quietly
Doing nothing
The grass grows
And the flowers bloom
All by themselves
Offline
You need to use the full pathname:
pacman -U /path/to/lineakconfig-0.3.2-2.pkg.tar.gz
Also, the y option only work with -S.
BTW,
pacman -S lineakconfig
should also work.
Offline
Excellent Thankyou
[16:59][root@jelb evan]# pacman -U /home/mirror/extra/os/i686/lineakconfig-0.3.2-2.pkg.tar.gz
loading package data... done.
checking for file conflicts... done.
installing lineakconfig... done.
[17:00][root@jelb evan]#
Pacman -S lineakconfig returns
[17:00][root@jelb evan]# pacman -S lineakconfig
lineakconfig: not found in sync db
[17:03][root@jelb evan]#
I believe this has something to do with my rsync.sh file. After following the WIKI instructions I couldn´t sync my caches. When I executed rsync.sh via CLI my ¨current¨ folder would be replaced by a symlink to ´0.8´ which doesn´t exist, and the rsync.sh would fail on the ´current´ cache. The ´extra´ cache would sync fine. I could not figure out why, so I adjusted the appropriate files to point to the correct folders ( ie: /home/mirror/current/os/i686/)
My adjusted rsync.sh
rsync -avz --delete rsync.archlinux.org::ftp/current/os/i686/ /home/mirror/current/os/i686
rsync -avz --delete rsync.archlinux.org::ftp/extra/os/i686/ /home/mirror/extra/os/i686
I can sync now no problems, but I fear that pacman doesn´t like my setup.
Thanks again!!
Sitting quietly
Doing nothing
The grass grows
And the flowers bloom
All by themselves
Offline
Pages: 1