petget and not enough disk space

Please post any bugs you have found
Post Reply
Message
Author
lluamco
Posts: 208
Joined: Fri 16 Mar 2007, 09:10
Location: Banyoles, Spain

petget and not enough disk space

#1 Post by lluamco »

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.

Wolf Pup
Posts: 637
Joined: Fri 28 Apr 2006, 01:37

#2 Post by Wolf Pup »

petget's space calculation can be changed by going to /usr/sbin/petget and opening as text

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.
change it to

Code: Select all

EXPNEEDB=`expr $EXPFILEB \* 0` #bz2 can expand up to x3, need twice temp space. v3.01 changed 5 to 3.
however, if you dont have enough space for the expand and install, then the package may not install completely.
[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]

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#3 Post by Béèm »

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]

User avatar
zgp152
Posts: 114
Joined: Thu 08 Nov 2007, 19:37

Mozilla Firefox installation problem persists

#4 Post by zgp152 »

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

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

Re: Mozilla Firefox installation problem persists

#5 Post by big_bass »

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

Post Reply