maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Debian] Continuing development of Debian on NITs (https://talk.maemo.org/showthread.php?t=21009)

fatalsaint 2008-08-04 23:40

Re: Continuing development of Debian on NITs
 
Ive still been working on it. In maemo our audio out is /dev/dsptask/pcm3 but we have no dsptask directory....i ran the alsa utils that build ALL audio devices and tried a handful of them and none worked... tried modprobing pcm-snd and related as well.... nothing i did worked...

we missing a kernel driver??? dunno... blew up my deb today and have to start over.

fatalsaint 2008-08-05 01:47

Re: Continuing development of Debian on NITs
 
non fatal errors new scripts

Code:

update-rc.d: warning: /etc/init.d/tablet-powersave missing LSB informationupdate-rc.d: see <http://wiki.debian.org/LSBInitScripts>
Setting up tablet-user (1.1-1) ...
Username for the tablet default user:user
adduser: The GID 29999 does not exist.
dpkg: error processing tablet-user (--configure):
 subprocess post-installation script returned error exit status 1

looks like the gid not setting right.

b-man 2008-08-05 02:36

Re: Continuing development of Debian on NITs
 
Quote:

Originally Posted by Stskeeps (Post 210194)
For the people with hal problems, latest installer SVN solves it by faking invoke-rc.d.

fatalsaint: I intentionally kept out libgtkstylus of nit-env-x as this doesn't install any GTK stuff as such (for barebone X purposes). Any of you xfce4/GNOME people writing a nit-env for these yet? :)


Yes, but unfortunately, now post bootstraping fails:(:
Quote:

I: Base system installed successfully.
Teardown pre-existing chroot.. (ignore errors)
ch_i# ['chroot', '/mnt/nit-debian', 'umount', '/proc']
umount: proc: not mounted
umount: proc: not mounted
ch_i# ['chroot', '/mnt/nit-debian', 'umount', '/dev/pts']
umount: /dev/pts: not mounted
ch_i# ['chroot', '/mnt/nit-debian', 'umount', '/sys']
umount: sysfs: not found
umount: /sys: not mounted
umount: sysfs: not found
umount: /sys: not mounted
Setting up chroot..
ch# ['chroot', '/mnt/nit-debian', 'mount', '/proc', '/proc', '-t', 'proc']
ch# ['chroot', '/mnt/nit-debian', 'mount', '-t', 'devpts', 'none', '/dev/pts']
ch# ['chroot', '/mnt/nit-debian', 'mount', 'none', '-t', 'sysfs', '/sys']
*** Installing fake start-stop-daemon, if postbootstrap fails, system is unbootable!
ch# ['chroot', '/mnt/nit-debian', 'mv', '/sbin/start-stop-daemon', '/sbin/start-stop-daemon.REAL']
ch# ['chroot', '/mnt/nit-debian', 'chmod', 'a+rx', '/sbin/start-stop-daemon']
Traceback (most recent call last):
File "/home/user/MyDocs/trunk/installer/debian_installer.py", line 278, in <module>
sys.exit(newinstaller(sys.argv))
File "/home/user/MyDocs/trunk/installer/debian_installer.py", line 268, in newinstaller
post_bootstrap("/mnt/nit-debian")
File "/home/user/MyDocs/trunk/installer/debian_installer.py", line 146, in post_bootstrap
fake_start_stop_daemon_add(target)
File "/home/user/MyDocs/trunk/installer/debian_installer.py", line 81, in fake_start_stop_daemon_add
if not os.path.exists(target, "/usr/sbin/invoke-rc.d.REAL"):
TypeError: exists() takes exactly 1 argument (2 given)
Nokia-N800-23-14:/home/user/MyDocs/trunk/installer#


And don't wory, i am reporting this in the bug tracker;).

p.s. Shure, i could try to make a new "nit-evn" that could involve Gnome, I would call it "nit-evn-gnome" for full-blown Gnome with everything and a "nit-evn-gnome-minumum" for just the environment and nothing ealse:rolleyes:, the only problem is that i am not shure how, could you provide some information? I know that it would definitely include "apt-get -f install" gnome for "nit-evn-gnome" and "apt-get -f install gnome-desktop-environment" for "nit-evn-gnome-minumum", also, it would install matchbox-keyboard+ libgtkstylus for both. and also edit gdm for auto-login.

fatalsaint 2008-08-05 03:20

Re: Continuing development of Debian on NITs
 
yeah but apt-get install nit-env-x works now with a dpkg reconfigure... going to see if icewm will load and reboot.

fatalsaint 2008-08-05 04:45

Re: Continuing development of Debian on NITs
 
had to add the user manually and set both the root and user password but its working... posting from a basic icewm with epiphany atm...

b-man 2008-08-05 17:09

Re: Continuing development of Debian on NITs
 
I tryed apt-get install nit-evn-x and dpkg --configure -a and nothing is working :( It is even complaining about terminfo witch is preventing nano from getting launched during the network-setup proses and that causes problems:(.
I believe that the reason whi NOTHING is working is because thay all depend on each other witch means that if even one error occurs with one of those packages, dpkg refuses to configure enny of those packages because, allmost like a loop, the first package depends on the last package witch depends on the middle package witch depends on the first package to be configurd:


Nokia-N800-23-14:/# dpkg --configure -a
Setting up tablet-network-setup (1.1-1) ...
Error opening terminal: xterm.
dpkg: error processing tablet-network-setup (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nit-env-basic:
nit-env-basic depends on tablet-network-setup; however:
Package tablet-network-setup is not configured yet.
dpkg: error processing nit-env-basic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nit-env-x:
nit-env-x depends on nit-env-basic; however:
Package nit-env-basic is not configured yet.
dpkg: error processing nit-env-x (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
tablet-network-setup
nit-env-basic
nit-env-x
Nokia-N800-23-14:/#

This is driving me CRAZY!!, no matter what gets changed or what i do, nothing is working. But i am not giving up!:D

fatalsaint 2008-08-05 17:26

Re: Continuing development of Debian on NITs
 
I got the exact same errors you did after the base system install part when breaking down the chroot... but I had NO problems installing apt-get install nit-env-x directly after that. Even hal configured and all that... apt-get install dpkg --reconfigure was done after I was done installing everything else.

Did you totally start over or just start with the new installer?

Also I don't know if you guys did anything to the wireless side of the house STS but last night my wireless stayed up in debian the entire night... first time that has ever happened in a booted debian environment. Don't know if you changed something or if just my install went better.. no idea. My current only issue with debian is the sound... once sound works for audio - then the biggest issue will be Video.. with those 2 operational we'd have a completely re-worked and alternative to Maemo OS for the tablet.. retaining all the capabilities of maemo.

ETA: B-man.. looking at your errors.. try running apt-get install xterm ... looks like that might be what's causing tablet-network-setup to fail.

qole 2008-08-06 21:15

Re: Continuing development of Debian on NITs
 
Is there any way you can have a standard style repository that contains the packages from the SVN? Being able to "apt-get install" a package is my preferred way to get something, rather than checking it out and using dpkg...

Stskeeps 2008-08-06 21:25

Re: Continuing development of Debian on NITs
 
Quote:

Originally Posted by qole (Post 210958)
Is there any way you can have a standard style repository that contains the packages from the SVN? Being able to "apt-get install" a package is my preferred way to get something, rather than checking it out and using dpkg...

In a situation where you have a chroot with 'svn export http://trac.tspre.org/svn/deblet/tru...-base-packages' in it in /nit-base-packages,

Something like this python script might work.. (run from maemo!):

Code:

import deblet_installer

deblet_installer.setup_chroot("/chroot")
deblet_installer.build_apt_repos_install("/chroot")

/etc/apt/sources.list.d/deblet.list should then contain a reference to /nit-repository that you can use to apt-get the Deblet debs.

qole 2008-08-06 21:48

Re: Continuing development of Debian on NITs
 
Yeah I was kinda thinking that you would have some kind of server-side script that checked the packages out into a public repository... Maybe I should set something up over at qole.maemobox.org...


All times are GMT. The time now is 11:11.

vBulletin® Version 3.8.8