Sometimes, when installing a pet package using the petget manager, a window warns that there is not enough space left on the disk. And often, there is enough space! I have noticed that Barry has addressed this problem, slightly improving the petget script in puppy linux version 3.01. However, the problem still arises sometimes.
I think that the reason is that the the units measuring the free space of the disk and the units of the estimated needed space are NOT the same. In fact, checking the output of the "stat" program, it can be seen that they are given in blocks of sizes 4096 and 512, respectively.
There is thus a factor 8 among them. Thus the required estimated space in petget is overestimated by this factor 8.
Hope it helps,
Ll.
petget and not enough disk space
petget's space calculation can be changed by going to /usr/sbin/petget and opening as text
search for the line
change it to
however, if you dont have enough space for the expand and install, then the package may not install completely.
search for the line
Code: Select all
EXPNEEDB=`expr $EXPFILEB \* 3` #bz2 can expand up to x3, need twice temp space. v3.01 changed 5 to 3.
Code: Select all
EXPNEEDB=`expr $EXPFILEB \* 0` #bz2 can expand up to x3, need twice temp space. v3.01 changed 5 to 3.
[img]http://img230.imageshack.us/img230/8595/ubd6467dp2.png[/img]
[url=http://www.tinyurl.com/54tu74]Visit The Repository[/url] - Helpful and hard-to-find treats for Puppy 3.
[url=http://www.tinyurl.com/c5a68f]Click Here for Puppy Support Chat, + Helpful Links.[/url]
[url=http://www.tinyurl.com/54tu74]Visit The Repository[/url] - Helpful and hard-to-find treats for Puppy 3.
[url=http://www.tinyurl.com/c5a68f]Click Here for Puppy Support Chat, + Helpful Links.[/url]
- Béèm
- Posts: 11763
- Joined: Wed 22 Nov 2006, 00:47
- Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
You could also increase your personal space, even temporarily and after the install come back to a smaller one.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]
Mozilla Firefox installation problem persists
Hi.
Still having problem. when adding Mozilla Firefox 2.0.0.4 with Petget to FAT FREE (based on Puppy Linux 3.00).
I edited the petget file as advised by CB88 earlier in this thread. It does not solve the problem.
My earlier block figures must have been wrong: sorry! The most recent trial says that there are 12923 blocks free but 59098 will be needed.
Being a newbie, I do not fully understand where the space for expansion and install is needed. Physical RAM (in my case 128 M)? There is ample space on the hard disk but the I cannot make it (or can I?) for the disposal of the the PETGET.
I repeat what I try to implement: I wish to have a very lean basic Linux but the browser must have rich multimedia functionality with flash and voice codecs, and optionally video codec for narrowband video (if 128 M RAM can handle it). I also need to have WLAN internet connection working with A-Link USB adapter that uses rt73 driver.
For some reason installing FOXPUP was not successful. I would anyway prefer a later platform (Puppy Linux 3.00 or 3.01).
Rgds
Timo
Still having problem. when adding Mozilla Firefox 2.0.0.4 with Petget to FAT FREE (based on Puppy Linux 3.00).
I edited the petget file as advised by CB88 earlier in this thread. It does not solve the problem.
My earlier block figures must have been wrong: sorry! The most recent trial says that there are 12923 blocks free but 59098 will be needed.
Being a newbie, I do not fully understand where the space for expansion and install is needed. Physical RAM (in my case 128 M)? There is ample space on the hard disk but the I cannot make it (or can I?) for the disposal of the the PETGET.
I repeat what I try to implement: I wish to have a very lean basic Linux but the browser must have rich multimedia functionality with flash and voice codecs, and optionally video codec for narrowband video (if 128 M RAM can handle it). I also need to have WLAN internet connection working with A-Link USB adapter that uses rt73 driver.
For some reason installing FOXPUP was not successful. I would anyway prefer a later platform (Puppy Linux 3.00 or 3.01).
Rgds
Timo
Re: Mozilla Firefox installation problem persists
zgp152 wrote:Hi.
Still having problem. when adding Mozilla Firefox 2.0.0.4 with Petget to FAT FREE (based on Puppy Linux 3.00).
I edited the petget file as advised by CB88 earlier in this thread. It does not solve the problem.
My earlier block figures must have been wrong: sorry! The most recent trial says that there are 12923 blocks free but 59098 will be needed.
Being a newbie, I do not fully understand where the space for expansion and install is needed. Physical RAM (in my case 128 M)? There is ample space on the hard disk but the I cannot make it (or can I?) for the disposal of the the PETGET.
I repeat what I try to implement: I wish to have a very lean basic Linux but the browser must have rich multimedia functionality with flash and voice codecs, and optionally video codec for narrowband video (if 128 M RAM can handle it). I also need to have WLAN internet connection working with A-Link USB adapter that uses rt73 driver.
For some reason installing FOXPUP was not successful. I would anyway prefer a later platform (Puppy Linux 3.00 or 3.01).
Rgds
Timo
if you posted in the fatfree thread I would have seen this and helped sooner
quite awhile back I took the above info and fixed the script then gziped it for the new comers and those who dont want to edit code or for those who want a fast fix
http://www.ttuuxxx.com/bigbass/petget.tar.gz
copy this over the file that is in /usr/sbin/petget
get there fast
open console paste this
rox -s /usr/sbin/petget
then copy over the old petget with the new one you downloaded
big_bass