[15:13] Good Morning! [15:14] Anyone know how to install Java JRE in localapps so i can run programs based on Jave as localapp? [15:14] Also, I need to install java firefox plugin in localapps. [15:16] I've gotten nothing useful in an hours worth of googling... [15:41] hi dgroos [15:41] dgroos: I think you'll have to install firefox and the java plugin as localapps and then run firefox as a localapp [15:41] Hi highvoltage! [15:42] OK--I've got firefox installed as localapp--not seen instructions on how to install plugins to localapps... [15:42] Also... [15:42] are you saying that JRE won't work in localapp? [15:43] dgroos: ok, I think you'll just have to install the java plugin in the ltsp chroot then [15:43] dgroos: not 100% sure that it will work, but it should [15:43] I'm all eyes ;) [15:48] To install a java plugin, all I have to do is: sudo chroot /opt/ltsp/i386 apt-get install the name of plugin? I'll try it! [15:49] I couldn't find how to install a downloaded file (ie the JRE) into a local app. [16:31] highvoltage: pretty quickly I was able to install the plugins but got this message--been getting it since yesterday--and can't seem to find a solution w/google. Not even sure if it's a problem: [16:31] Errors were encountered while processing: [16:31] /var/cache/apt/archives/hal_0.5.12~rc1+git20090403-0ubuntu1_i386.debE: Sub-process /usr/bin/dpkg returned an error code (1) [16:32] dgroos: what follows that? [16:32] highvoltage: the regular prompt line. [16:33] ah, hal might be unhappy because proc isn't mounted [16:34] before entering the chroot, do a mount --bind /proc proc [16:34] and try installing again [16:35] highvoltage: Thanks, I'll try... [16:37] highvoltage: so I entered "bind /proc proc" at the prompt and hit enter. [16:38] then I re-ran the previous command and got the same error. [16:42] dgroos: I remember having problems with hal inside a chroot before, but I remember seeing an error message that helped me figure it out [16:42] dgroos: sure there was no hal error message before that dpkg error message? [16:45] highvoltage: yes there was--I posted it here...http://pastebin.ubuntu.com/209086/ [16:47] ah now I remember [16:47] you have to do a mount --bind /dev dev [16:47] and then a mount --bind /dev/pts dev/pts [16:47] remember to unmount then again before doing the image rebuild [16:47] *them [16:49] highvoltage: I'll try all this. [16:54] hmmm... root@gcos2:/home/dgroos# mount --bind /dev dev [16:54] mount: mount point dev does not exist [16:55] is this related to the previous "bind /proc proc" no idea what that did. [17:20] so... I've been googling the problem "mount: mount point dev does not exist" and also to figure out what the, "bind /proc proc". I'm not getting anywhere--further help is appreciated... [18:55] !info apcalc [18:55] apcalc (source: apcalc): Arbitrary precision calculator (original name: calc). In component universe, is optional. Version 2.12.3.3-1ubuntu1 (jaunty), package size 302 kB, installed size 700 kB [22:33] I've entered the command: sudo mount --bind /dev dev [22:34] and gotten this printout: "mount: mount point dev does not exist" Anyone know what this means and what I need to do to mount it? [22:38] dgroos, do "ls -lha|grep dev" and post the output [22:38] apart from that, you probably shouldn't be doing what you are trying to do [22:39] The output was... nothing--no text [22:39] then theres no folder dev in your current folder which is right [22:40] you are trying to bind /dev to a non-existing folder ./dev [22:40] Svenstaro: I'm trying to solve an issue... [22:40] binding /dev is generally not a good idea, what are you exactly trying to do? [22:41] Here's how I typed it up earlier: [22:41] dgroos: Errors were encountered while processing: [22:41] [10:31am] dgroos: /var/cache/apt/archives/hal_0.5.12~rc1+git20090403-0ubuntu1_i386.debE: Sub-process /usr/bin/dpkg returned an error code (1) [22:42] Oh come on, how can you have so much trouble with apt-get :( [22:42] Here is some more output from the problem: http://pastebin.ubuntu.com/209086/ [22:42] do apt-get clean and apt-get autoclean and repeat [22:43] invoke-rc.d: initscript hal, action "stop" failed. [22:43] invoke-rc.d: initscript hal, action "stop" failed. [22:43] woops [22:43] Anyway, what I just pasted is the critical part of the error. [22:44] Can you kill X, switch to vt1 and stop hal manually? [22:44] not sure where my X gun has gone... ;) [22:45] try: /etc/init.d/gdm stop [22:45] seriously, I can only guess at what you mean and don't know how to do it. [22:45] but careful, it kills your session [22:45] when in vt1, do /tc/init.d/hal stop [22:45] and try the upgrade again [22:46] OK--I'm working on NXclient, but will get off that and go right to the server... [22:46] and how do I 'switch to vt1'? [22:47] that's the blinking terminal thingie that comes up when you kill X [22:47] this: /etc/init.d/gdm stop kills X [22:47] so be careful not to have any work open [22:47] right. [22:49] Did so. It said, * Stopping GNOME Display Manager... [OK] [22:49] Yeah, you should be dropped to a terminal now [22:50] and then went back to the prompt. I thought it would kill the gui? [22:50] Did it not? [22:50] No [22:50] Prompt? [22:51] Everything looks the same as before I entered the command. [22:52] sudo killall gdm [22:52] hmmm.... I didn't use sudo... [22:52] press ctrl+alt+f1 [22:52] login as root [22:52] do /etc/init.d/gdm stop [22:53] I don't have root account set up--I typed root and my admin password but said login incorrect. [22:54] well just login normally [22:54] that is, I don't know root password... [22:54] then type sudo -i [22:54] and then do /etc/init.d/gdm stop [22:55] In the terminal, right? how do I get out of the ctrl+alt+f1? [22:56] you get back using ctrl+alt+f7 but you want to do the stuff I just told you in vt1 [22:58] OK did and says, OK [22:58] good, not stop hal likewise [22:58] now* [23:00] so... I type "hal" where I had previously typed "gdm" in the previous command? [23:00] Oh I see above... [23:02] I typed: /tc/init.d/hal stop and it says, "No such file or directory". [23:02] Hang on, is that normal in Ubuntu? [23:02] Can anybody else confirm? [23:04] #ubuntu confirmed it [23:04] You don't have that file and it's kind of bad [23:04] It takes care of starting/stopping HAL which is important for periphal [23:04] ls / reveals nothing called "tc" at root level [23:04] peripherals* [23:04] tc? [23:04] huh [23:05] member:identifier:svenstaro when in vt1, do /tc/init.d/hal stop [23:05] did you not mean tc? [23:06] I meant etc, of course /etc/init.d/hal stop [23:06] :) got it! [23:06] Now try upgrading [23:09] Interesting! I updated and upgraded and it said 0000 on upgraded, newly installed, removed, not upgraded. This is good? [23:10] 0000? [23:10] That means it failed [23:10] do apt-get update && apt-get upgrade and post results [23:11] Sorry. 0 upgraded, 0 newly installed, 0 to remove, 0 not upgraded [23:13] Those are the results of [23:13] do apt-get update && apt-get upgrade and post results ? [23:13] OK did it and said: Reading package lists... Done then it says... [23:14] The program 'apt' can be found in the following packages: *openjdk-6-jdk * sun-java5-jdk * sun java6-jdk and then it says... [23:15] Try: sudo apt-get install