WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: tce-update does not seem to update  (Read 3875 times)

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
tce-update does not seem to update
« on: January 25, 2010, 04: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.

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: tce-update does not seem to update
« Reply #1 on: January 26, 2010, 07:22:32 PM »
Tested with 2 different tcl setups, one hard disk, one on usb stick. Both same result.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: tce-update does not seem to update
« Reply #2 on: January 26, 2010, 07: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.
10+ Years Contributing to Linux Open Source Projects.

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: tce-update does not seem to update
« Reply #3 on: January 26, 2010, 09:10:44 PM »
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.
« Last Edit: January 26, 2010, 09:25:07 PM by jur »

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: tce-update does not seem to update
« Reply #4 on: January 26, 2010, 09:31:07 PM »
Does appsaudit Check for updates and Selective update work?

Please post your showbootcodes so I can try to replicate.
10+ Years Contributing to Linux Open Source Projects.

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: tce-update does not seem to update
« Reply #5 on: January 27, 2010, 12: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.
« Last Edit: January 27, 2010, 12:36:59 PM by jur »

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: tce-update does not seem to update
« Reply #6 on: January 27, 2010, 02: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?
10+ Years Contributing to Linux Open Source Projects.

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: tce-update does not seem to update
« Reply #7 on: January 27, 2010, 03: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

10+ Years Contributing to Linux Open Source Projects.

Offline jur

  • Hero Member
  • *****
  • Posts: 863
    • cycling photo essays
Re: tce-update does not seem to update
« Reply #8 on: January 28, 2010, 12:00:11 AM »
Bulls-eye. :)