Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 12 Dec 2017, 23:52
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
petget and not enough disk space
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
lluamco

Joined: 16 Mar 2007
Posts: 207
Location: Banyoles, Spain

PostPosted: Fri 16 Nov 2007, 11:14    Post subject:  petget and not enough disk space  

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.
Back to top
View user's profile Send private message 
Wolf Pup

Joined: 27 Apr 2006
Posts: 637

PostPosted: Fri 16 Nov 2007, 13:57    Post subject:  

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

search for the line
Code:
EXPNEEDB=`expr $EXPFILEB \* 3` #bz2 can expand up to x3, need twice temp space. v3.01 changed 5 to 3.


change it to

Code:
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.

_________________

Visit The Repository - Helpful and hard-to-find treats for Puppy 3.
Click Here for Puppy Support Chat, + Helpful Links.
Back to top
View user's profile Send private message 
Béèm


Joined: 21 Nov 2006
Posts: 11775
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: Fri 16 Nov 2007, 14:16    Post subject:  

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).
Consult Wikka
Use peppyy's puppysearch
Back to top
View user's profile Send private message 
zgp152


Joined: 08 Nov 2007
Posts: 115

PostPosted: Mon 19 Nov 2007, 08:41    Post subject: 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
Back to top
View user's profile Send private message 
big_bass

Joined: 13 Aug 2007
Posts: 1742

PostPosted: Tue 24 Jun 2008, 13:08    Post subject: 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
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Bugs ( Submit bugs )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0369s ][ Queries: 12 (0.0050s) ][ GZIP on ]