You are not logged in.
Pages: 1
i have been trying to get the local repo to work without success
i mounted the iso. tried changing the repo via terminal
#tazpkg setiup-mirror
then tazpkg recharge but i cant seem to install anything.
see picture
i also tried to change "/etc/slitaz/slitaz.conf"
change the line
LOCAL REPOSITORY="/media/pakages-40/pakages/4.0/"
what am i doing wrong?
p.s.cant seem to find any post or documentation regarding this.
[attachment=41146,2203]
Offline
Mojo has once helped me with this and it's been working well ever since.
Offline
to make it easier i move all .tazpkg from the .iso to my home folder
then cd to that folder
root@slitaz:/home/milk/4.0# ls -1 *.tazpkg | sed s'/.tazpkg//' > packages.list
root@slitaz:/home/milk/4.0# ls packages.*
packages.desc packages.list packages.txt
packages.equiv packages.md5
root@slitaz:/home/milk/4.0# tazpkg setup-mirror
Current mirror(s)
================================================================================
/home/milk/4.0
Please enter URL of the new mirror (http, ftp or local path). You must specify
the complete address to the directory of the packages and packages.list file.
New mirror(s) URL : /home/milk/4.0/
Setting mirror(s) to : /home/milk/4.0/
root@slitaz:/home/milk/4.0# tazpkg recharge
Main is up to date.
root@slitaz:/home/milk/4.0# tazpkg get-install zip
Main is up to date.
Unable to find: zip in the mirrored packages list.
Unable to find: get-zip in the mirrored packages list.
cant get it to work..........
did i miss something from your post?
Offline
Suppose all your local packages are in "/media/seagate/repo" (change the path to suit your setup) and your "packages.list" file has been created and is in there as well, then you can set up your local mirror like this ...
in 3.0: tazpkg setup-mirror /media/seagate/repo/
in 5.0: tazpkg -sm /media/seagate/repo/
... I'm not 100% sure how it was in 4.0. You can check it by running "tazpkg -help"
Offline
Maybe there's something broken in /var/lib/tazpkg, type this and report:
[c]ls -l /var/lib/tazpkg[/c]
Offline
milk@slitaz:~$ ls -l /var/lib/tazpkg
total 36
lrwxrwxrwx 1 root root 36 Jan 11 16:02 files.list.lzma -> file://home/milk/4.0/files.list.lzma
lrwxrwxrwx 1 root root 18 Jan 11 16:14 ID -> /home/milk/4.0//ID
drwxr-xr-x 242 root root 12288 Jan 11 16:17 installed
-rw-r--r-- 1 root root 13820 Jan 11 16:17 installed.md5
-rw-r--r-- 1 root root 16 Jan 11 16:03 mirror
-rw-r--r-- 1 root root 15 Jan 11 16:03 mirror.bak
lrwxrwxrwx 1 root root 28 Jan 11 16:02 mirrors -> file://home/milk/4.0/mirrors
lrwxrwxrwx 1 root root 34 Jan 11 16:02 packages.desc -> file://home/milk/4.0/packages.desc
lrwxrwxrwx 1 root root 35 Jan 11 16:02 packages.equiv -> file://home/milk/4.0/packages.equiv
lrwxrwxrwx 1 root root 34 Jan 11 16:02 packages.list -> file://home/milk/4.0/packages.list
lrwxrwxrwx 1 root root 33 Jan 11 16:02 packages.md5 -> file://home/milk/4.0/packages.md5
lrwxrwxrwx 1 root root 33 Jan 11 16:02 packages.txt -> file://home/milk/4.0/packages.txt
-rw-r--r-- 1 root root 0 Jan 11 14:30 packages.up
milk@slitaz:~$ cat /var/lib/tazpkg/mirror
/home/milk/4.0/
packages.list content is right.
the nothing wrong with the packages, and i can do a manual install
this a fresh install btw
@Darjeeling
thats what i did. i moved all the packages to ~/4.0 as i have shown
4.0 uses tazpkg setup-mirror
but i cant get it to work
Offline
Mojo explains here: http://forum.slitaz.org/topic/how-can-i-use-packages-40iso
Offline
thx that did it.
i thought install.sh was a script for installing slitaz
Offline
Pages: 1
[ Generated in 0.024 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]