You are not logged in.
i tried to make a local repository of the same structure as online repos (with .db file and the like) and get errors
the files i made
/home/null/
null.db.tar.gz
null_image-1-1-i686.pkg.tar.gz
in null.db.tar.gz :
/null_image-1-1/depends (empty file)
/null_image-1-1/desc
%FILENAME%
null_image-1-1-i686.pkg.tar.gz
%NAME%
null_image
%VERSION%
1-1
%DESC%
test package
%ARCH%
i686
in null_image-1-1-i686.pkg.tar.gz :
/usr/untitled.png (just image file)
i added to /etc/pacman.conf
[null]
Server = file:///home/null
now when i pacman -Sy i get this
[root@kite home]# pacman -Sy null_image
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
null is up to date
resolving dependencies...
looking for inter-conflicts...
Targets (1): null_image-1-1
Total Download Size: 0.00 MB
Total Installed Size: 0.00 MB
Proceed with installation? [Y/n] y
checking package integrity...
error: failed to commit transaction (invalid or corrupted package)
null_image-1-1-i686.pkg.tar.gz is invalid or corrupted
Errors occurred, no packages were upgraded.
did i skip too much in the desc file ? what in it is required and what is not ?
how do i build a repo this way with the automated tools (pkgbuild etc) ?
Last edited by 11010010110 (2008-11-03 09:21:01)
Offline