oh yesss... .DEB-installer (Beta)

News, happenings
Message
Author
User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#91 Post by MU »

The bug appears after you rebooted the first time, what creates pup_safe.3fs (I use a frugal install, pupmode 12, as I have no CD-burner).
So the bug seems to be caused when Puppy mounts pup_safe.3fs.
It affects the whole filesystem , /root /tmp /usr

The easiest way to reproduce it:
Create this script in a new folder:
http://www.puppyos.com/nfphpbb/viewtopic.php?p=278#278
run it, it should create 300 textfiles.
If you encounter the bug, less than 100 textfiles are visible.

Mark
Last edited by MU on Tue 18 Apr 2006, 01:11, edited 1 time in total.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#92 Post by MU »

Code: Select all

sh-3.00# ls -al /tmp
drwxr-xr-x   13 root     root         2048 Apr 18 01:31 .
drwxr-xr-x   15 root     root         1024 Apr 14 00:28 ..
-rw-------    1 root     root       167061 Apr 15 04:54 2006-03-nagiosoncd.pdf
-rw-r--r--    1 root     root            0 Apr 12 00:41 bootcnt.txt
-rw-r--r--    1 root     root        77425 Apr 17 22:55 DOTfvwm95.pwizard_patched.backup
-rw-r--r--    1 root     root        77564 Apr 18 00:01 DOTfvwm95rc
-rw-r--r--    1 root     root        18747 Apr 18 00:01 DOTicemenu
-rw-r--r--    1 root     root        21841 Apr 18 00:01 DOTindex.html
-rw-r--r--    1 root     root        30199 Apr 17 22:55 DOTjwm.pwizard_patched.backup
-rw-r--r--    1 root     root        30350 Apr 18 00:01 DOTjwmrc
-rwxr-xr-x    1 root     root          103 Apr 17 23:59 dotpup.sh
-rw-r--r--    1 root     root            2 Apr 17 22:55 dpimenu.txt
-rw-r--r--    1 root     root           86 Apr 18 00:00 forcealienpkgremove.txt
-rw-r--r--    1 root     root        77564 Apr 18 00:01 fvwm95rcBACKUP
drwxr-xr-x    2 root     root         1024 Apr 12 08:56 hsperfdata_root
-rw-r--r--    1 root     root        18747 Apr 18 00:01 icemenuBACKUP
drwxrwxrwt    2 root     root         1024 Apr 14 00:42 .ICE-unix
-rw-r--r--    1 root     root        18612 Apr 17 22:55 icewmmenu.pwizard.backup
-rw-r--r--    1 root     root        30350 Apr 18 00:01 jwmrcBACKUP
drwx------    2 root     root         1024 Apr 14 00:41 kde-root
drwx------    3 root     root         1024 Apr 14 00:42 ksocket-root
-rw-r--r--    1 root     root         8267 Apr 18 00:00 livepackages.txt
-rw-r--r--    1 root     root            0 Apr 18 00:02 missinglibs0.txt
-rw-r--r--    1 root     root        10042 Apr 18 00:02 missinglibs.txt
srwxr-xr-x    1 root     root            0 Apr 12 10:43 OSL_PIPE_0_SingleOfficeIPC_bfa67ba891bd9b76f67a649f29db7e59
-rwxr-xr-x    1 root     root         9820 Apr 18 00:00 pkgdialog
drwx------    2 root     root         1024 Apr 15 03:56 plugtmp
-rw-r--r--    1 root     root         3682 Apr 12 08:45 profile
-rw-r--r--    1 root     root          401 May 20  2005 readme.txt
-rw-r--r--    1 root     root          177 Apr 18 00:01 rettags.txt
-rw-r--r--    1 root     root            5 Apr 12 08:45 rettag.txt
drwx------    2 root     root         1024 Apr 17 23:55 root-c8ejlf
-rw-r--r--    1 root     root          325 Apr 18  2006 scanmodulemsgs.txt
-rw-------    1 root     root       125524 Apr 15 04:09 synaptics-0.14.4.tar.bz2
-rw-r--r--    1 root     root         1392 Apr 12 08:35 taglocales.txt
-rw-r--r--    1 root     root         8267 Apr 18 00:00 templive.txt
-rw-r--r--    1 root     root          148 Apr 18 01:31 testeide.txt
drwx------    4 root     root         1024 Apr 12 16:41 .wine-0
-rw-r--r--    1 root     root            1 Apr 18 01:31 wmexitmode.txt
-r--r--r--    1 root     root           11 Apr 18 01:31 .X0-lock
drwxrwxrwt    2 root     root         1024 Apr 18 01:31 .X11-unix
-rw-r--r--    1 root     root         1048 Apr 18 01:31 xerrs.txt
-rw-r--r--    1 root     root         8689 Apr 18 00:00 zippidoodah.txt
sh-3.00# 
-------------------------------------

Code: Select all

sh-3.00# ls -al /initrd/pup_rw/tmp
drwxr-xr-x   11 root     root         2048 Apr 18 01:31 .
drwxr-xr-x   13 root     root         1024 Apr 14 00:28 ..
-rw-------    1 root     root       167061 Apr 15 04:54 2006-03-nagiosoncd.pdf
-rw-r--r--    1 root     root          422 Apr 18 00:00 alienpackages.txt
-rw-r--r--    1 root     root            0 Apr 12 00:41 bootcnt.txt
-rw-r--r--    1 root     root        77425 Apr 17 22:55 DOTfvwm95.pwizard_patched.backup
-rw-r--r--    1 root     root        77564 Apr 18 00:01 DOTfvwm95rc
-rw-r--r--    1 root     root        18747 Apr 18 00:01 DOTicemenu
-rw-r--r--    1 root     root        21841 Apr 18 00:01 DOTindex.html
-rw-r--r--    1 root     root        30199 Apr 17 22:55 DOTjwm.pwizard_patched.backup
-rw-r--r--    1 root     root        30350 Apr 18 00:01 DOTjwmrc
-rwxr-xr-x    1 root     root          103 Apr 17 23:59 dotpup.sh
-rw-r--r--    1 root     root            2 Apr 17 22:55 dpimenu.txt
-rw-r--r--    1 root     root           86 Apr 18 00:00 forcealienpkgremove.txt
-rw-r--r--    1 root     root           86 Apr 18 00:00 forcepkgremove.txt
-rw-r--r--    1 root     root        77564 Apr 18 00:01 fvwm95rcBACKUP
drwxr-xr-x    2 root     root         1024 Apr 12 08:56 hsperfdata_root
-rw-r--r--    1 root     root        18747 Apr 18 00:01 icemenuBACKUP
drwxrwxrwt    2 root     root         1024 Apr 14 00:42 .ICE-unix
-rw-r--r--    1 root     root        18612 Apr 17 22:55 icewmmenu.pwizard.backup
-rw-r--r--    1 root     root        30350 Apr 18 00:01 jwmrcBACKUP
drwx------    2 root     root         1024 Apr 14 00:41 kde-root
drwx------    3 root     root         1024 Apr 14 00:42 ksocket-root
-rw-r--r--    1 root     root         8267 Apr 18 00:00 livepackages.txt
-rw-r--r--    1 root     root            0 Apr 18 00:02 missinglibs0.txt
-rw-r--r--    1 root     root        10042 Apr 18 00:02 missinglibs.txt
srwxr-xr-x    1 root     root            0 Apr 12 10:43 OSL_PIPE_0_SingleOfficeIPC_bfa67ba891bd9b76f67a649f29db7e59
drwxr-xr-x    4 root     root         1024 Apr 17 23:31 PB-Debinstall
-rwxr-xr-x    1 root     root         9820 Apr 18 00:00 pkgdialog
drwx------    2 root     root         1024 Apr 15 03:56 plugtmp
-rw-r--r--    1 root     root         3682 Apr 12 08:45 profile
-rw-r--r--    1 root     root          401 May 20  2005 readme.txt
-rw-r--r--    1 root     root          866 Apr 18 00:01 removefileslist.txt
-rw-r--r--    1 root     root          177 Apr 18 00:01 rettags.txt
-rw-r--r--    1 root     root            5 Apr 12 08:45 rettag.txt
drwx------    2 root     root         1024 Apr 17 23:55 root-c8ejlf
-rw-r--r--    1 root     root          325 Apr 18  2006 scanmodulemsgs.txt
-rw-------    1 root     root       125524 Apr 15 04:09 synaptics-0.14.4.tar.bz2
-rw-r--r--    1 root     root         1392 Apr 12 08:35 taglocales.txt
-rw-r--r--    1 root     root         8267 Apr 18 00:00 templive.txt
-rw-r--r--    1 root     root          148 Apr 18 01:31 testeide.txt
drwx------    4 root     root         1024 Apr 12 16:41 .wine-0
-rw-r--r--    1 root     root            1 Apr 18 01:31 wmexitmode.txt
-r--r--r--    1 root     root           11 Apr 18 01:31 .X0-lock
drwxrwxrwt    2 root     root         1024 Apr 18 01:31 .X11-unix
-rw-r--r--    1 root     root         1048 Apr 18 01:31 xerrs.txt
-rw-r--r--    1 root     root         8689 Apr 18 00:00 zippidoodah.txt
sh-3.00#

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#93 Post by Nathan F »

I've noticed that this relies on ghttpd, and was wondering how hard it would be to get it to work with a different webserver. For instance, Grafpup-103 is set to come with Monkey preinstalled (since Monkey can use things like php I figured it was more useful for web designers).

I'm not asking you to port it over, just asking how hard you think it would be to do.

Nathan
Bring on the locusts ...

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#94 Post by MU »

it might work , but I did not try.

move
/root/ghttpd/cgi-bin/easycgi.cgi
and
/root/ghttpd/cgi-bin/runcommand
to the cgi-folder of your webserver.
Move
/root/ghttpd/htdocs/assi1
to the htdocs-folder of your webserver.
Edit
/usr/local/PB-Debian-installer/PB-Debianinstaller
to use your webserver instead of ghttpd.

Mark

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#95 Post by Nathan F »

I'll give it a try later this week, kind of too busy right now. Thanks for the info.

Nathan
Bring on the locusts ...

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#96 Post by BarryK »

MU wrote:The easiest way to reproduce it:
Create this script in a new folder:
http://www.puppyos.com/nfphpbb/viewtopic.php?p=278#278
run it, it should create 300 textfiles.
If you encounter the bug, less than 100 textfiles are visible.
Yes, I do recall reading about this in the unionfs mail-list archives.
This may be due to the old version of unionfs we have to use, and it
probably(?) happens in puppy1 also.

The invisibility bug when installing wmaker is different.

Anyway, I'll do some more testing.

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#97 Post by BarryK »

I'm testing the debian installer in puppy2 running kernel 2.6.16.7.

Everything is the same, except a new kernel. Only packages changed are
module-init-tools, unionfs, e2fsprogs.

Things have gone backwards. Trying the wmaker .deb again, this time at step 2
the "Install this file:" box is empty.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#98 Post by MU »

I'm very curious in testing a 2.6 -iso.
As I said, I can't reproduce the errors, so I'm currently without idea :roll:
Mark

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#99 Post by BarryK »

I have investigated further.
There may be a difference, running Puppy2 totally in ram compared with
having a pup_save.3fs file.

I'm doing some testing with puppy running in ram only, k2.6.16.7...

I have tracked down the problem reported above, about the empty box at step2.

Code: Select all

'result , choice = xdialog("--fselect \"\" 30 80 1>/dev/null  2>/dev/null")

  DIM  xdmsg = "--fselect \"\" 30 80 1>/dev/null  2>/dev/null"

  result = xwin_exec("cd " & fsfolder & " && Xdialog " & xdmsg & " 2> /tmp/wxbxdmenu.tmp" )
  choice = readfiletail( "/tmp/wxbxdmenu.tmp" )
  cleanup()

if result != 0 then
  end
end if
The above code is from /root/ghttpd/assi1-scripts/fileselect.
xwin_exec() is returning 'result' value of -1, even though it is working.
By removing the 'if result != 0 then' test, step2 works.

I tried your alternative line using xdialog(), but same bug.
I extracted just this section of code to a separate small PB script, and it
works -- 'result' value is zero.

So, I would say this invalid return value is what is causing all the trouble,
it would be causing the incorrect testing of dependencies also.

Another bug has emerged, didn't get this before.
When testing dependencies, if I am not online, the wget windows do not
terminate. Testing wmaker .deb, which has all these incorrect dependencies,
multiple wget windows are created. Previously, each one terminated then
the next one appears. Now however, I have to manually close each wget
window -- perhaps that same invalid return value bug?

Anyway, I've narrowed down the bug, but don't know what is causing it.
It must be in the xwin_exec() and xdialog() functions, or somehow the
mechanism used to call them -- which would be a bug in wxbasicscript
itself. Whatever, I don't know how to track it further.

User avatar
kuejoe
Posts: 31
Joined: Fri 14 Apr 2006, 02:18

oh yesss... .DEB-installer (Alpha)

#100 Post by kuejoe »

Hello,
I have 108 on my HD.
at "step 1" - "free Diskspace" it just says "MB". It doesn't have a numerical value before it.
I noticed in the screenshots that have been uploaded, it actually says how many mb's are left.
at "step 3" - after i chose a file to install it will hang, showing the file I picked,
underneath "informations on file"

Did I miss something when I installed your file?

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#101 Post by MU »

I uploaded version 09.
http://dotpups.de/tests/PB-Debian-installer.pup
Note you need this Dillo-Dotpup, too:
http://www.murga.org/~puppy/viewtopic.php?t=7473


1.) I think I could fix the errors Barry mentioned.

2.) I also found out the reason, why the dependency-check did not run correct for some people:
they had to run ldconfig first.
I added it to the dotpup now, and it is run automatically.

3.) I removed the automatic closing of Dillo-windows, it was too unstable. I might switch to a gtk-based widget in some weeks, then we also won't need the webserver any more.

4.) Bad news: "update-alternatives" was missing a file, added it. BUT: it requires Perl :?
You now get the option to install Perl-Mini (700 kb-Download) at start.

5.) fixed bug with menus not created.

6.) When you will be asked to uninstall a package with Pupget first, then you will be forced afterwards to reboot on Puppy 1xx.

---------------
Barry, I tested it on Puppy2 without pup_save.003. When I run pupget to remove packages, it does not remove symlinks.
I'm not shure if and how that could confuse the Deb-installer, at first sight it seems to be not critical.

------------
kuejoe, I did not test it yet on a full harddisk-install.
obviously, installdeb.pb crashes.
I have no quick solution at moment, sorry.

Please open
/root/ghttpd/wx.err with leafpad, and post the content here.

Mark

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#102 Post by BarryK »

Success!

Alpha09 works in Puppy2.
There was only one problem. When I first tested 'wmaker', checking dependencies
when I was offline, the 'wget' windows appeared momentarily, so that bug seemed
fixed. The one unsatisfied dependency is 'wraster', and when I tested that, while
checking dependencies, that also has an unsatisfied dependency, 'libtiff',
but in this case the 'wget' window did not go away and I had to close it.

One thing though, I have the devx_003.sfs development file mounted, so I
do need to test without it.

User avatar
kuejoe
Posts: 31
Joined: Fri 14 Apr 2006, 02:18

oh yesss... .DEB-installer (Beta)

#103 Post by kuejoe »

Conversion error: Can't convert string to number
val() in file "/root/ghttpd/assi1-scripts/checkconditions.pb", line 54:
> diskfree = val(diskfree) * 1000000
In file "/root/ghttpd/assi1-scripts/checkconditions.pb", line 54:
> diskfree = val(diskfree) * 1000000
startdir = "/root/ghttpd/assi1-scripts"
result = Nothing
choice = "/tmp/blast_1.1-13_i386.deb"
mytime = "04232006135208"
debfilename = Nothing
overwrite = 0
mylist = {0:" File: `/tmp/blast_1.1-13_i386.deb'", 1:" Size: 8128 Blocks: 16 IO Block: 4096 regular file", 2:"Device: 1604h/5636d Inode: 321516 Links: 1 ", 3:"Access: (0600/-rw-------) Uid: ( 0/ root) Gid: ( 0/ root)", 4:"Access: 2006-04-23 12:05:37.000000000 +0800", 5:"Modify: 2006-04-23 12:05:38.000000000 +0800", 6:"Change: 2006-04-23 12:05:38.000000000 +0800", 7:""}
theline = "8128"
filesize = 8128
diskfree = "MB"
descriptionlist = Nothing
debinfo = Nothing
debarchiveline = Nothing
debarchivelinefields = Nothing
debfilesize = Nothing
totalsize = Nothing

Sorry MU !!
I didn't notice that last line about posting what I had in wx.err until now. Hope it helps...
By the way, you wouldn't happen to have usr_dev.sfs? I can't seem to downloaded for some reason.
Thanx.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#104 Post by MU »

kuejoe, please type
df -m
in a consolewindow, and copy the result here.
Select it with the mouse, then middleclick to a forum-message to paste the text.
Mark

User avatar
kuejoe
Posts: 31
Joined: Fri 14 Apr 2006, 02:18

oh yesss... .DEB-installer (Beta)

#105 Post by kuejoe »

#df -m
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/hdc4 5433 306 4852 6% /
#
Hope this helps...

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#106 Post by MU »

Ah, you have a full harddisk-installation.
That tends to be problematic.

At moment I don't have time to add support for that, but you can try this:

edit
/root/ghttpd/assi1-scripts/freespace

In line 6, replace
"/root"
with
"hdc4"
Then it might work.

Or replace
pv=`head -n1 /etc/puppyversion |sed "s/^\(.\).*$/\\1/"`
with
pv=2

Mark

User avatar
kuejoe
Posts: 31
Joined: Fri 14 Apr 2006, 02:18

oh yesss... .DEB-installer (Beta)

#107 Post by kuejoe »

ok...
will try it now..(crossing fingers.
Keep you posted.

User avatar
kuejoe
Posts: 31
Joined: Fri 14 Apr 2006, 02:18

oh yesss... .DEB-installer (Beta)

#108 Post by kuejoe »

OK sir,
it worked.
I tried to install pacman (something simple)
it said I had all of the dependencies.
installed it
/dotpups/categories/various /i have the puppy paw print!
clicked on it -no joy.
tried it again
prompted me to uninstall first one did that.
asked me to reboot.
I did. It must have erased the dependencies as well.
now the installer won't work.(LOL)
will try to reinstall all of the dependencies to see if that works.
Thanks MU.
It looks great.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#109 Post by MU »

If a program won't start, try to run it from the comandline, to see possible errors.
Mark

User avatar
peppyy
Posts: 443
Joined: Mon 27 Jun 2005, 23:49
Location: VT USA
Contact:

#110 Post by peppyy »

I don't know how big a victory this is but I just installed oneko succesfully on 2.0a7 full hd install with correct menu items. A small bug on shutdown leaves the idle cursor as an x but it works fine. I attempted moon-buggy and it looped on me. Never knew gkrellm would read that many processes, 4.8m when I hit the power button.

I had no errors like kuejo reported with 09 but I also have not gotten anything else running yet. I will grab a few more debs and try them.
Puppy Linux...
It just works!

Post Reply