Tiny Core Linux

Tiny Core Base => TCB Bugs => Topic started by: jur on January 25, 2010, 07:27:05 PM

Title: tce-update does not seem to update
Post by: jur on January 25, 2010, 07:27:05 PM
I select tce-update, it comes up with the usual messages but does not actually update and check anything, it reaches the end immediately.
Title: Re: tce-update does not seem to update
Post by: jur on January 26, 2010, 10:22:32 PM
Tested with 2 different tcl setups, one hard disk, one on usb stick. Both same result.
Title: Re: tce-update does not seem to update
Post by: roberts on January 26, 2010, 10:28:40 PM
NMI.

I have used it since last three releases over 4 machines!

Perhaps start by checking your permissions of /tce and /tce/optional
should be tc.staff

Program should be run as user tc not root.
Check your calling menu item?

If that is correct run it from a shell and post any errors.
Title: Re: tce-update does not seem to update
Post by: jur on January 27, 2010, 12:10:44 AM
I have also used it fine with the release candidates. Just now with the final release version I seem to be having a problem.

I am invoking it both from a terminal and from the cp, both give the same result.

The usb /tce is on a vfat partition and everything is reported as root.root. I was going to change the whole thing over to ext3 but when you announced that fat support would not be dropped I kept it as is, and everything is working fine; I don't think I have actually invoked tce-update on the usb stick before.

The hard drive installation is on ext3. I can't check permissions as I am at work now, but I sure didn't change anything from before. But tce-update certainly worked with the release candidates when you introduced the newer method.

Has it anything to do with the issue of having moved all extensions into /optional, so it finds an empty directory? Do I need to point it to /optional?

EDIT: Just added info, it does create the extra directory /ugrade next to /optional but it remains empty.
Title: Re: tce-update does not seem to update
Post by: roberts on January 27, 2010, 12:31:07 AM
Does appsaudit Check for updates and Selective update work?

Please post your showbootcodes so I can try to replicate.
Title: Re: tce-update does not seem to update
Post by: jur on January 27, 2010, 03:30:25 PM
OK I have checked the hard drive, /tce permissions are tc.staff.

AppsAudit's check for updates works, a long list of update candidates are generated. Clicking on those candidates reports updating OK.

Invoking tce update from the cp still does nothing after the above. There are no error messages when called from a terminal.

bootcodes:
Code: [Select]
tc@box:~$ showbootcodes
quiet tce=sda7 opt=sda7 home=sda7 max_loop=255 tz=EST,M10.1.0/2,M4.1.0/2 noicons

My customisations are openbox wm, tint2 panel, and using my pre-scripted wbar for the ondemand apps.

My onboot extensions:

Xorg-7.4.tcz
openbox.tcz
tint2.tcz
wicd.tcz
acpid.tcz
conky.tcz
wpa_supplicant.tcz
graphics-2.6.29.1-tinycore.tcz
alsa.tcz

Please note I only copy the new tinycore.gz from the distribution files; I keep everything else. This has worked so far. I follow your instructions with every release, in this case the mirror file in /opt. The extensions I copied across to /optional with the pre-release.
Title: Re: tce-update does not seem to update
Post by: roberts on January 27, 2010, 05:41:54 PM
Are your md5.txt files together with the .tcz files in optional?
What happens when yoy boot base norestore and then try to run it?
Title: Re: tce-update does not seem to update
Post by: roberts on January 27, 2010, 06:18:01 PM
jur, I have found the bug. I broke it when I added selective updates via appsaudit.
A simple work around to do an easy mode batch update:

$ cp /usr/bin/tce-update /home/tc/tce-update

Using a text editor, replace lines 203-204 with
UPGRADE_DIR="$TCEDIR"

save and then execute it:
./tce-update

Title: Re: tce-update does not seem to update
Post by: jur on January 28, 2010, 03:00:11 AM
Bulls-eye. :)