Tiny Core Base > Raspberry Pi

tce-update bug

(1/2) > >>

bmarkus:
I have three extensions to update, Xprogs, flwm_topside and htop. Their total size is 216k, however tce-update reports there is no enough free disk space for easy mode. In fact, free space is 44M in the disk where /tce is located and 183M free RAM.

Same in 4.6.3 and 4.7

When system is up to date, tce-update still prints a full screen claiming disk space, advicing boot with base norestore text and so on and at the end says my system is up to date :)

In X, 'Your system is up to date' message is missing, only 'Scan for updates completed' printed (4.7)

roberts:
Appears to be a busybox bug that also affects x86 Core.

The default for df is stated to be in k. See df --help

Yet using df /dev/sda1 the result is in human readable form, as if the -h flag was used.

Now using the same command as:
sudo df /dev/sda1 the result is in the default k

tinypoodle:

--- Quote from: roberts on November 04, 2012, 12:25:36 AM ---Appears to be a busybox bug that also affects x86 Core.

The default for df is stated to be in k. See df --help

Yet using df /dev/sda1 the result is in human readable form, as if the -h flag was used.

--- End quote ---

I suspect that might be a shell alias rather than a busybox bug.


--- Code: ---'df'
--- End code ---
would tell

Note: Quotes are literally meant to be included in this very case (=unalias)!

curaga:
Yes, it's due to the default alias being "df -h".

roberts:
My bad. However the alias does not even come into play with the script's calculation.
Using tce-update on my pi, I forced an update to be required my editing md5s. It worked as expected. Calculation is fine.
But if you always see the "base norestore" message then that would suggest that there is no tce directive on the command line.
Use showbootcodes to check.

Navigation

[0] Message Index

[#] Next page

Go to full version