You are not logged in.
Pages: 1
Hi guys,
Lately I've been playing around with slitaz-arm and it was interesting.
Booting is as fast as we are used to, perhaps a bit faster even. Great.
Very early in my testing I did find two problems.
1: spk does not work in both the basic and the desktop version.
When invoking this command I get an error message
# spk -add lighttpd
find: /var/lib/tazpkg/packages.desc: No such file or directory
WARNING: Unknown package: lighttpd
I tried to create the file by hand but no luck. The first error goes away but I am unable to install any package from the repository. This issue was encountered first in the basic version. My hope was that the desktop version would work so that I could perhaps fiddle out the differences but it was the same problem there.
2: In the desktop version I encountered an even more annoying problem: I was unable to change the keyboard layout from be-latin1 azerty to us-qwerty. Whatever I tried, the system stuck to azerty which is totally not good for me. ;-) Please note that this problem only occurs in the desktop version. Poking around in some files with vi and an incorrect keyboard layout does not seem like a good idea so I would rather have this solved by someone who has an azerty keyboard.
Still I think these are cosmetic issues which can be fixed easily. The GUI is extremely fast and responsive, in fact I like this interface better than the raspbian one.
To make slitaz more popular we should definitely go for a download on the raspberry Pi site but this is hardly feasible without fixing the aforementioned issues. I will be most happy to do some more testing later on so that we can make a good impression.
@edit: The keyboard issue appears to be present also in v5 RC2. I changed my layout by mounting the SD card in another machine and editing a file as described in an old forum post:
http://forum.slitaz.org/topic/how-to-switch-a-keyboard-layout-in-slitaz
/emgi
Offline
Since yesterday I delved a bit deeper in the spk-issue.
Using wget to download a package and then installing it locally works but dependencies are not fetched. The problem is that the mentioned file (packages.desc) is missing from the repository.
I checked this with my browser. All packages are there but not the description file.
I have cross-examined the slitaz4 repository and there a similar file is present.
Please fix!
/emgi
Offline
This is server side problem at http://cook.slitaz.org/cross/arm/packages/
[c]cook pkgdb[/c] should create ID,packages.{desc equiv list md5 txt}, files.list.lzma
This is output which only writes ID, packages.{txt md5}.
root@tank:/# cook pkgdb
Creating lists for: /home/slitaz/packages
================================================================================
Cook pkgdb started: 2014-11-20 15:00
Creating: packages.list
Creating: packages.md5
Creating lists from: /home/slitaz/wok
Done: packages.desc
Done: packages.txt
Done: packages.equiv
Creating: files.list.lzma
Error: can not open input file files.list
================================================================================
Packages: 859 - Time: 4s
Offline
http://cook.slitaz.org/cross/arm/packages/ now has up to date ID,packages.{desc equiv list md5 txt}, files.list.lzma
The 5 tazpkgs with files.list error indicates the wok/<pkgname>/ folder that includes taz/*/files.list was cleaned prior to a rebuild of the package which failed.
I tried to rebuild those packages but they failed again.
Cook creates files.list.lzma using those lists so the user can find a file not installed on their system with [c]tazpkg search-pkgname <filename>[/c]
Creating lists for: /home/slitaz/packages
================================================================================
Cook pkgdb started: 2014-11-23 17:41
Creating: packages.list
Creating: packages.md5
Creating lists from: /home/slitaz/wok
cat: ecore/taz/*/files.list: No such file or directory
cat: edje/taz/*/files.list: No such file or directory
cat: enlightenment/taz/*/files.list: No such file or directory
cat: mpd/taz/*/files.list: No such file or directory
cat: openbox/taz/*/files.list: No such file or directory
Done: packages.desc
Done: packages.txt
Done: packages.equiv
Creating: files.list.lzma
================================================================================
Packages: 859 - Time: 13s
Offline
Hi mojo,
Since you recent posts I've been testing this. Was a bit short on time but meanwhile I have some findings:
The only function that seems to work is spk-add.
I haven't found out a way to upgrade a single package that was already installed.
spk <package> does not seem to do that?
The general upgrade function <spk-up> only works when the packages are already in the local cache. I downloaded them manually through wget, which is actually quite cumbersome. If they are not locally installed, spk loops while trying to download them.
EDIT: This seems to be fixed in spk-1.4.2 which is one of the initial upgrades. After installing spk-1.4.2 the last package remaining (usbids-20140731) was automatically downloaded & installed succesfully. Perhaps this new version fixes other issues as well. However, there is no package left to test this on. I'm up-to-date.
The package slitaz-boot-scripts-5.6.5-arm.tazpkg actually breaks the machine by deleting /etc/rcS.conf and /etc/init.d/rcS. I managed to recover by saving a copy of the old files. After installing the package, I double-checked that these two files were indeed missing and put back the old ones. If you don't do this, you are dead after the next reboot. ;-)
Fixing this is beyond me but I'm happy to test and provide feedback.
/emgi
Offline
Hi emgi,
The package slitaz-boot-scripts-5.6.5-arm.tazpkg actually breaks the machine by deleting /etc/rcS.conf and /etc/init.d/rcS. I managed to recover by saving a copy of the old files. After installing the package, I double-checked that these two files were indeed missing and put back the old ones. If you don't do this, you are dead after the next reboot. ;-)
For arm:
slitaz-boot-scripts commit: http://hg.slitaz.org/wok/rev/978bed95e0f5#l1.28 deletes some files.
Add new package:
slitaz-arm-configs: http://hg.slitaz.org/wok/file/558a9a009ca6/slitaz-arm-configs/receipt
which pulls the files from http://hg.slitaz.org/slitaz-arm/file/ad63b28ec484/rootfs
After upgrading slitaz-boot-scripts it looks like slitaz-arm-configs has to be manually installed, /etc/rcS.conf and some other files may have to be configured before a reboot.
I have no RaspberryPi and I can't boot slitaz-rpi with qemu-arm so I have no way to test.
Offline
Hi Mojo,
Maybe I can help you with the latter. I have both a physical rPi and have it running on qemu (Windoze 7)
The only working Qemu version was 15.3
Batchline: qemu-system-armw -kernel kernel-qemu -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append "root=/dev/sda3 rw panic=1 rootfstype=ext4" -hda slitaz-rpi-base-20140329.img -net nic -net tap,ifname=TAP0
/emgi
Offline
I have no RaspberryPi and I can't boot slitaz-rpi with qemu-arm so I have no way to test.
QEMU patches for Raspberry Pi emulation
http://forum.slitaz.org/topic/slitaz-on-armel/page/3#post-28330
Offline
Pages: 1
[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]