WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Discrepancy between Apps and tce-update  (Read 93 times)

Offline zrudyt

  • Newbie
  • *
  • Posts: 5
Discrepancy between Apps and tce-update
« on: April 17, 2025, 03:54:57 PM »
Today, I ran Apps and did a Maintenance --> Check for Updates. It found one, `libxml2`, and when I told it to go ahead, it updated a long list of packages. I rebooted and checked for updates again (just to be sure) and predictably got the following output from Apps:
Quote
Please Standby... Now checking your extensions.
Scan for updates completed.
Looks good!  Then for good measure, I tried to run `tce-update` from the shell prompt and surprisingly got a different result:
Quote
Checking Tiny Core Applications in /mnt/sdb1/tce/optional
Fetching required dependency: libinput.tcz md5sum: can't open 'xf86-input-libinput.tcz': No such file or directory
Failed
Errors occurred during upgrade. Press Enter to see /tmp/upgrade_errors.lst
When I hit Enter, I got:
Quote
Error occurred while fetching dependency: libinput.tcz
And when I hit [q], the message was inconsistent with the above error:
Quote
Your system is up-to-date.
Press [Enter] key.
Shouldn't an Apps update give the same results as `tce-update`, and why does `tce-update` complain about an error, then say all is good?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12034
Re: Discrepancy between Apps and tce-update
« Reply #1 on: April 17, 2025, 10:04:25 PM »
Hi zrudyt
... Shouldn't an Apps update give the same results as `tce-update` ...

Apps update executes this command:
Code: [Select]
tce-update list /etc/sysconfig/tcedir/optional/
What command did you execute?

Offline zrudyt

  • Newbie
  • *
  • Posts: 5
Re: Discrepancy between Apps and tce-update
« Reply #2 on: April 17, 2025, 10:19:14 PM »
Hey, thanks for the quick reply!

I just ran the basic `tce-update` with no flags, which from reading the source of the script, launches 'easy mode'.

When I run your exact command, everything works perfectly. Shouldn't 'easy mode' assume a standard config (which I have) and behave the same? I'm not trying to be confrontational - I'm just trying to understand since I'm primarily a console guy.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12034
Re: Discrepancy between Apps and tce-update
« Reply #3 on: April 17, 2025, 10:32:31 PM »
Hi zrudyt
... I'm not trying to be confrontational - I'm just trying to understand since I'm primarily a console guy.
No need to explain. I've always used the Apps update, so I'm not familiar
with how 'easy mode' works.