Tiny Core Linux
Tiny Core Base => TCB Talk => Topic started by: jur on October 14, 2010, 10:05:14 AM
-
Today was another one of those days where on rebooting, my setup was broken. Reason was, many of my extensions would not run, having a new missing dependency (pixbuf2).
I have to add here that I have a script that runs on every boot to check for extension updates and auto-downloads such updates. This saves me from checking this manually, since updates are frequent and many.
Only, gtk2 has now this new dependency of pixbuf2. Which meant all my apps which depend on gtk2 would not load (chromium, openbox, tint2 etc.)
So this brings me again to the same request for auto feature: Could tce-load please have the ability to automatically fetch any missing dependencies when asked to load an extension? It seems to me the most logical and straightforward way to fix this issue of updates breaking previously working setups. I can't see any disadvantage...
-
That would explain things.
I can't remember where I found the error message, but something tipped me off that pixbuf2 was the issue, so I used AppBrowser to download it and then everything worked.
I guess at a high-level the updater would need to handle missing dependencies. Exactly how it's implemented is something else. I'm not in favour of "magical black boxes" - I like to know what's going on and why. But I'd rather not have to waste a lot of time hunting stuff down.
-
AppsAudit
Dependencies->
Update .dep files-> (Note this step is optional, but will ensure that your .dep files are up to date.)
Build Reporting Database->
Display All with Missing Dependencies.
Suggest to run this after any system update and reboot.
-
FAQ updated:
http://www.tinycorelinux.com/faq.html#update
-
How about microcore, is it possible to do the same with tce-audit?
I tried, but didn't succeed, also searched for documentation, didn't find any.
I ended up installing the missing dependencies with my own looping cat.
-
Yes. Anything that can be done with AppsAudit is available from CLI via tce-audit
as AppsAudit merely calls tce-audit with proper syntax.
tce-audit {updatedeps|builddb|auditall|nodepends|notrequired|marked|clearlst} /path/to/tcedir/
tce-audit {dependson|requiredby|audit}delete} /path/to/tcedir/extension.tcz
I will add niceties of default pathing and default ext in next release.
Note: audit means "display missing dependencies"
-
What I understand is that I have to builddb as a first step. But then what do I have to do to find all missing packages?
-
tce-audit auditall /path/to/tcedir/
-
I will add niceties of default pathing and default ext (.tcz) in next release.
Done. Starting with v3.3 you will be able to use
tce-audit builddb
tce-audit auditall
tce-audit dependson gtk2
Of course does not really apply to AppsAudit only to better support Micro Core / CLI users.
-
thanks