Woof Alpha2

Under development: PCMCIA, wireless, etc.
Message
Author
User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#31 Post by BarryK »

dinky wrote:Hi Barry, I love the woof script you're writing, however I want to be able to strip back the original packages further, not install some of the apps and install others in their place. Much like a build from unleashed. I'm assuming at some point you'll automate this more so it's similar, but until you do, can you tell me which scripts I need to hack to add/remove packages from the build? Thanks.

~dinky
For now, there's a file in Woof, DISTRO_PKGS_SPECS-ubuntu (or DISTRO_PKGS_SPECS-slackware, etc.), with a table that has the choice of packages -- see the "yes" in the first field.

That can be edited, however at some time in the future I do plan to add a package-chooser script, maybe with a GUI, and with dependency checking.
[url]https://bkhome.org/news/[/url]

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

#32 Post by BarryK »

gerry wrote:Comparison using top shows that /usr/sbin/cups_shell doesn't start, but I can't see why.
yeah, I haven't got around to looking at printing from a Woof-build. I had better get onto that soon. Maybe target that for alpha3.
[url]https://bkhome.org/news/[/url]

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#33 Post by big_bass »

only need a simple list of the packages then

then use wget
fast and easy


here's a quick demo
woof_pkgs_demo.tar.gz

1.)unzip it
2.)open the script with geany as text
3.)in geany click on Execute


you will download just 66MB just to get the point
the name is
/root/woof_pkgs_demo/download_woofpkgs
------------------------------------------------------------

I think we will need a new package option
called "Patch"

after installing an official lets say slackware package
and all its depends and if it still doesn't work
a patch package

is installed to finish
the job so when an update comes along it would be logical
to make a new patch and much easier to duplicate
the fix quickly

an on going problem on the forum with forum members
is someone does alot of work to patch a package
then it gets "included" in someones package?
now when its time to "fix" the next version
we have a mess to sort

this way the patch is just applied to the original official package
bad for the ego BUT good for a stable system
much better for reduced bandwidth too

*big_bass puts on his bullet proof jacket and awaits the gun fire :lol:

big_bass
Attachments
woof_pkgs_demo.tar.gz
(657 Bytes) Downloaded 401 times

Leon
Posts: 265
Joined: Wed 22 Jun 2005, 21:33

#34 Post by Leon »

Report for "Slack Puppy", spup_011.iso

Frugal install
Intel P4 1,7GHz, 1GB Ram, 80GB IBM ATA IC35L080AVVA07-0, NEC DVD_RW ND-2500A, TEAC CD-W552E, Ati Radeon 9200 SE graphic card, Sony SDM-M51 15" LCD monitor

Progress

Xorg
It display 1024x768 resolution for my monitor and graphic card but I had to manually modified the settings in /etc/X11/xorg.conf file.
In Puppy 4.1.2 it only worked at that resolution when I upgraded my pup_save file from one of the previous 4.x alpha installations.

USB modem
I use ADSL Internet connection by rp-pppoe.
I also have an option to use an analog line. A few months ago I purchased this 56k USB modem:
http://www.manhattan-products.com/en-US ... -usb-modem

It works perfectly and noticeably faster then in Vista.
It doesn't work in Puppy 4.1.2.

Problems

PupDial and Roaring Penguin PPPoE
/etc/resolv.conf - is symlink to /etc/ppp/resolv.conf
/etc/ppp/resolv.conf - is symlink to ../resolv.conf

I replaced symlink /etc/ppp/resolv.conf with resolv.conf file from my Puppy 4.1.2 pup_save file with my nameserver settings in it.

CUPS
When I try to add a printer the '404 Not Found error' message is shown.

Gxine
It starts to play a video file and then stops responding.

AbiWord
It doesn't start from the menu until pup_save file is created.
When it's started from rxvt this message is shown:

abiword: /usr/lib/libpopt.so.0: no version information available (required by abiword)
abiword: /usr/lib/libpng12.so.0: no version information available (required by abiword)
Last edited by Leon on Wed 04 Mar 2009, 23:28, edited 1 time in total.

User avatar
dinky
Posts: 699
Joined: Sat 19 Jan 2008, 23:39

#35 Post by dinky »

BarryK wrote:For now, there's a file in Woof, DISTRO_PKGS_SPECS-ubuntu (or DISTRO_PKGS_SPECS-slackware, etc.), with a table that has the choice of packages -- see the "yes" in the first field.

That can be edited, however at some time in the future I do plan to add a package-chooser script, maybe with a GUI, and with dependency checking.
Thanks Barry. That makes more sense to me now. I look forward seing what gui you come up with in the future, and for now will just have fun hacking it. Cheers.

~dinky

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#36 Post by 01micko »

big_bass wrote: *big_bass puts on his bullet proof jacket and awaits the gun fire :lol:

big_bass
*ouzi*--------- rattattattattatttattattatat..... ah shoot... blanks!

Makes some sense to me big_bass
Puppy Linux Blog - contact me for access

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#37 Post by big_bass »

Hello Barry K

just a quick progress report

first off I must say I was surprised for an early Alfa *great Job
I was very sceptical about package management with slackware
without using the official tools pkgtool

which I have been using for quite some time (old school)
http://www.murga-linux.com/puppy/viewtopic.php?t=39015

but I now see what your are trying to do with it
and you have come a long way for an alfa version
I know how fast you can resolve problems

I also would prefer an option to just download the package without


installing *I know you are aware some packages will break the OS
they can be filtered out for the normal user and a power user
understands the risks involved and can have a development option

It was a pleasant surprise that seamonkey was fast and responsive
for someone who always uses firefox


some small glitches which can be quickly fixed are listed here
mind you they all worked correctly for me that was just a test from console
--------------------------------------------------------------------------------
# abiword
abiword: /usr/lib/libpopt.so.0: no version information available (required by abiword)
abiword: /usr/lib/libpng12.so.0: no version information available (required by abiword)



mtpaint
mtpaint: /usr/lib/libpng12.so.0: no version information available (required by mtpaint)



# fotoxx
cp: cannot stat `/usr/share/fotoxx/parameters': No such file or directory
Operation not permitted, cp /usr/share/fotoxx/parameters /root/.fotoxx
----------------------------------------------------------------------------------

an ongoing problem about poweroff
I noticed when I dont have the folder /proc/acpi
my box wont power off completely which is not a new problem

so the problem lies in my machine defaulting to apm
when that happens it wont poweroff
I hope these observations can be of good use to you

thanks for all your hard work
Barry K comments from the Blog
I just looked at the link raffy posted about what big_bass has done. Great! The team may decide that Slackware compatibility for 4.3 is the way to go, and it is certainly do-able. It looks like big_bass would want in on that one, as would MU.

wow ,I am slow I just seen that a couple of days ago
it popped up while doing a search to my surprise

it did turn out that slackware was the way to go :D


big_bass

User avatar
Gorilla no baka
Posts: 234
Joined: Sun 26 Oct 2008, 05:27
Location: UK
Contact:

Woof alpha 2.1

#38 Post by Gorilla no baka »

Hi there...

I have been playing around with the new Woof alpha 2.1.It is a very nice one i must say..
Congrats on your work mate...

Listen..I have been meaning to ask you guys or whoever might know...

Is there any probelem with Gparted?? In the Woof i downloaded the Gparted with not work...Luckly the fsdisk and the other one are working as far as i could see tough i have not used the all the way..It was a lot easyer to pop in the other cd with Puppy215CE and firing up Gparted wiping the disk and making a new partition...

Also ,when i tried to install the Woof on the hard disk ,I was not able to...THe process goes trough the usually stages till the end but somnehow the Grub is not written....

I even tried the upgrade version way as well... Seems to be working fine except for the part where we have to upgrade the grub ,that part where it ask us to manually upgrade the grub by copying the text from the temp blah blah...

Well i was not able to access sda1 :It tells me that it can not be mounted.....

To make a long story short , I was not able to install the Woof on the harddisk...
I know this is a alpha version an all but the upgrade and install process have been already perfected long time ago so i was asking myself...

Is there anyway to install Woof on the harddisk??

Cheers!!!
[img]http://i44.tinypic.com/29zdifo.jpg[/img]
[b]
[color=red]I'M IN MY OWN WORLD[/color].[/b] [color=darkred]IT'S OK, THEY KNOW ME HERE..!!![/color]

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

Re: Woof alpha 2.1

#39 Post by BarryK »

Gorilla no baka wrote:To make a long story short , I was not able to install the Woof on the harddisk...
I know this is a alpha version an all but the upgrade and install process have been already perfected long time ago so i was asking myself...
No, The Woof build system is in alpha, but what gets built, that is, a Puppy, is still pre-alpha :)
Upgrade and install was "perfected" for Puppy4, but the Woof build has significant under-the-hood changes that may affect some of those scripts.
[url]https://bkhome.org/news/[/url]

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#40 Post by 01micko »

You could try a cheat frugal, copy the essentials from the CD to a linux partition and edit your grub lst manually...
Puppy Linux Blog - contact me for access

User avatar
dinky
Posts: 699
Joined: Sat 19 Jan 2008, 23:39

#41 Post by dinky »

Hey Barry, have been following your blog, and am really excited about the changes you've made to the package management system... do you have a development mirror going where we can download and test these as you make them, or do we need to wait until your woof alpha 3? Cheers.

~dinky

User avatar
Gorilla no baka
Posts: 234
Joined: Sun 26 Oct 2008, 05:27
Location: UK
Contact:

Re: Woof alpha 2.1

#42 Post by Gorilla no baka »

BarryK wrote:
Gorilla no baka wrote:To make a long story short , I was not able to install the Woof on the harddisk...
I know this is a alpha version an all but the upgrade and install process have been already perfected long time ago so i was asking myself...
No, The Woof build system is in alpha, but what gets built, that is, a Puppy, is still pre-alpha :)
Upgrade and install was "perfected" for Puppy4, but the Woof build has significant under-the-hood changes that may affect some of those scripts.
Awright..

I see..Thanks a lot Barry...I tought is me doing something wrong...

Anyway it is an amaizing one from what i could have seen...I will keep on eye on it...

You know this is what linux was supposed to be like...Small fast and devoid of all unnecesarry crap and stuff!

Having the ability to use other's distro repositories.... well, that's a bonus...


Unfortunately nowadays most of the devs went overboard having fonds and all that (Ubuntu)
[img]http://i44.tinypic.com/29zdifo.jpg[/img]
[b]
[color=red]I'M IN MY OWN WORLD[/color].[/b] [color=darkred]IT'S OK, THEY KNOW ME HERE..!!![/color]

User avatar
Gorilla no baka
Posts: 234
Joined: Sun 26 Oct 2008, 05:27
Location: UK
Contact:

#43 Post by Gorilla no baka »

01micko wrote:You could try a cheat frugal, copy the essentials from the CD to a linux partition and edit your grub lst manually...
I tried the frugal way as well...Even when i edit manually the grub ..Following the instructions there ,for some reason it won't work...
Nevermind....I can wait...Rome was not uilt in one day...
[img]http://i44.tinypic.com/29zdifo.jpg[/img]
[b]
[color=red]I'M IN MY OWN WORLD[/color].[/b] [color=darkred]IT'S OK, THEY KNOW ME HERE..!!![/color]

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#44 Post by big_bass »

Barry K

Thanks for your response in the Blog
and explaining how the error checks are set up
with your package management


what provoked my initial question was
I used your woof build script to down load the packages
then I made a wget downloader so I could have some control
of what I selected for a future build

but left everything default since we are in alpha no need to
complicate matters at this stage

so when I manually downloaded the woof packages from your official site
*all the links are in the demo wget down
loader I attached in an above post

I was surprised to see that the md5sums were different

which as long as they are not corrupt it would be difficult
to determine why they were different

1)quite possibly a package could have been modified
and not uploaded

or there's something buggy on my end I need to sort out
maybe with md5sum on the USB ?

anyway all the packages should have the same md5sums


out of all I downloaded only these below were different
I did a md5sum of the two folders then diffed them here are the results

----------------------------------------------------------------------------
< 66d186629dda5550c758fdfb7872c47d linux_kernel-2.6.27.4-woof1.pet
---
> 667c3e38c5ea7466f91e6bf900cbee3d linux_kernel-2.6.27.4-woof1.pet
20,22c19,21
< 18d1950707ae95cdd13d6ba701bc2527 rox_filer-2.6.1-pup11.pet
< bd1a1e681768398f6347f256580a21aa rxvt-unicode-9.05-1.pet
< cc54685b61b81db9c7d3023fc6d82699 seamonkey-1.1.14-no_mailnews-pup412.pet
---
> 51cb4397e2cadd8cab29400d3194d743 rox_filer-2.6.1-pup11.pet
> 3078bc3e55424513d874f8d6fa28ffc3 rxvt-unicode-9.05-1.pet
> fa5769661a814d15e8aeac9264d7710f seamonkey-1.1.14-no_mailnews-pup412.pet
26,27c25,26
< 6bd917e81864fd843e26e5f6ad1fe2fc sylpheed-2.6.0.pet
< 1745622fb8084931830e82e0442e41a8 udev-124-2.pet
---
> b9c8139974c14b45c5dca19cf4013e9f sylpheed-2.6.0.pet
> d74c91a50d804bbc6526874c3a38c992 udev-124-2.pet
--------------------------------------------------------------------------------
UPDATED I checked all your mirrors they are correct

http://distro.ibiblio.org/pub/linux/dis ... puppylinux

http://ftp.nluug.nl/ftp/pub/os/Linux/distr/puppylinux

ftp://ftp.linux.hr/puppylinux

ftp://ftp.vcu.edu/pub/gnu+linux/puppylinux

ftp://ftp.tu-chemnitz.de/.SAN0/pub/linu ... puppylinux

ftp://ftp.ussg.iu.edu/linux/puppylinux

ftp://ftp.lug.udel.edu/pub/puppylinux
ftp://ftp.sh.cvut.cz/storage/1/puppy


I found the problem :D it is caused when I copy from one folder from fat (the USB )
to ext2
(note the orginals are perfect only the copied gets a different md5sum )

the file md5sum is changed but the content is exactly the same byte #s I opened several pets and verified them to be correct

I dont know why that happens but the pet is unaffected internally
yippie I can start building

and one strange mystery solved
now I m back to work !

thanks

big_bass

dalderton
Posts: 177
Joined: Sun 22 Apr 2007, 08:33

#45 Post by dalderton »

Regarding the Grub problem,I had the same problem.I finished up loading Puppy 4.2 and the used Bootloader Config to the partition I was trying to install upup to,this gave me on sda5 mounted a boot folder with the pertinent info. Then I shut down 4.2 and rebooted Upup and used the installer to install to sda5 ,when it got to the grub stage everything went as you would expect in a Puppy version and Grub did its thing and I was able to shut down and reboot straight to the hard disc.
I do not pretend that I understand why this worked but it did.
Incidentally Gparted did not work on Upup for me either. I used my old Mandrake No1 disc to do the Partitions, It is still the best and easiest and intuitive tool for a dumbo like me. Its all good fun though.
Regards Dennis

User avatar
paulh177
Posts: 975
Joined: Tue 22 Aug 2006, 20:41

#46 Post by paulh177 »

I haven't been following developments since I first tried woof alpha1 and had a problem with the arch build.
Today I downloaded woof alpha2 from http://puppylinux.com/test/woof-alpha2/ and have just kicked off an arch build

Running 0setup I get

Code: Select all

A package information database file needs to be downloaded.
This will be downloaded from:
http://archlinux.unixheads.org/core/os/i686/core.abs.tar.gz
and will be processed and named Packages-arch-200903-core.
Press ENTER key to download, any other to abort: 
Processing core.abs.tar.gz please wait...
Downloading supplementary file core.abs.tar.gz ...
mv: cannot stat `core.abs.tar.gz': No such file or directory
tar: core.abs.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
...success.

A package information database file needs to be downloaded.
This will be downloaded from:
http://archlinux.unixheads.org/extra/os/i686/extra.abs.tar.gz
and will be processed and named Packages-arch-200903-extra.
Press ENTER key to download, any other to abort: 
Processing extra.abs.tar.gz please wait...
Downloading supplementary file extra.abs.tar.gz ...
mv: cannot stat `extra.abs.tar.gz': No such file or directory
tar: extra.abs.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
...success.

A package information database file needs to be downloaded.
This will be downloaded from:
http://archlinux.unixheads.org/community/os/i686/community.abs.tar.gz
and will be processed and named Packages-arch-200903-community.
Press ENTER key to download, any other to abort: 
Processing community.abs.tar.gz please wait...
Downloading supplementary file community.abs.tar.gz ...
mv: cannot stat `community.abs.tar.gz': No such file or directory
tar: community.abs.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
...success.
So it's not clear to me whether i've got unrecoverable tar errors which will cause a downstream problem in the build, or whether I should disregard these in favour of the "success" messages!
1download currently running so we'll see

paul

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#47 Post by 01micko »

Go Paul!

I did the Arch build with alpha 1 and succeeded, but with hacks, but thanks to your list.

Let us know how it goes.
Puppy Linux Blog - contact me for access

User avatar
paulh177
Posts: 975
Joined: Tue 22 Aug 2006, 20:41

#48 Post by paulh177 »

well thanks Micko but lets remember that Barry came back in the alpha1 thread and said my hack was not to be recommended!

also noted: that the 1download "manager" dialogue box doesn't close automatically when 1download completes

running 2createpackages now ...

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#49 Post by 01micko »

Paul

I didn't exactly use your hack.. my apup ended up 102MB.. but i did refer to your list, just to clarify things.. irrelevant now with woof advancing.

Cheers
Puppy Linux Blog - contact me for access

User avatar
paulh177
Posts: 975
Joined: Tue 22 Aug 2006, 20:41

#50 Post by paulh177 »

blimey Micko you're up late ...

anyhoo, here's a lengthy post about what happened buidlng an arch-puppy:
0setup

Code: Select all

Checking that compat-distro pkgs specified in PKGS_SPECS_TABLE actually exist...
FAIL: man-1
Finished, but some failures. You need to fix the above entries in
PKGS_SPECS_TABLE in file DISTRO_PKGS_SPECS-arch.
--snip--
I ignored this and carried on regardless (thinking I can live without man pages)

Later I got this error:
2createpackages

Code: Select all

find: Symbolic link `./usr/share/gtk-doc/html/glib/glib' is part of a loop in the directory hierarchy; we have already visited the directory to which it points.
find: Symbolic link `./usr/share/gtk-doc/html/glib/glib' is part of a loop in the directory hierarchy; we have already visited the directory to which it points.
Unsurprisingly I also got
2createpackages

Code: Select all

ERROR: packages-tar-gz/man-1* does not exist.
Please find a package that matches, place it in packages-tar-gz,
then press ENTER key to try again: 
I couldn't find a suitable package in the arch repos (there seem to be lots of man-something but nothing beginning man-1) so ended up copying over the smallest pkg.tar.gz in the directory to man-1.pkg.tar.gz just to get things moving again

Next:
2createpackages

Code: Select all

ERROR: packages-tar-gz/libldap-* does not exist.
Please find a package that matches, place it in packages-tar-gz,
then press ENTER key to try again: 
I was able to find something in the arch "current" repo so that was fine but dunno how it got missed in the first place

3builddistro

Code: Select all

# ./3builddistro 
1  packages-pet/linux_kernel-2.6.25.16-pup412.pet
2  packages-pet/linux_kernel-2.6.27.4-woof1.pet
Type number for kernel you want to use [1]: 2
You have chosen linux_kernel-2.6.27.4-woof1.pet, which is version 2.6.27.4.
Now building sandbox3/rootfs-complete, with the complete filesystem...
Executing sandbox3/pinstall.sh post-install script...

--snip--

Constructing configuration files for JWM, Fvwm95, IceWM, openbox...
Generating /root/.icewm/menu...
Generating /root/.jwmrc...
cut: /root/.packages/user-installed-packages: No such file or directory
Now building the main f.s., apup-011.sfs...

--snip--

...done
# 
I then burned the iso to cd and from that rebooted the machine on which i built it (an old Compaq D31D desktop with a 2.4GHz processor and 256MB of RAM).

The boot was quicker than any other cd boot ever! But while Arch Puppy came up, it did so with a completely black desktop. Menus worked and I could run apps, but no wallpaper, no icons. I then reboooted and did no more than run through the "Test X" dialogue, and then the desktop appeared OK.

Then rebooted, saving to a pup_save.

Attempting to use the package manager to install x11vnc from arch-200903-extra wget seemed to be fetching ok but then the package manager says "failed to download" . The same happened with any others I tried. I can't catch what's happening and I can't work out which script i need to put a "pause" in to do so.

ayttm won't work as it can't find libldtl.so.3 . And Pnethood won't open the windows share on my laptop that other versions of puppy will.

But the desktop looks great (very cool), the whole thing is fast and "feels" nice.

paul

Post Reply