Tiny Core Base > Final Releases

Tiny Core v16.0

<< < (8/9) > >>

rhermsen:
On TCL-16.0 (32-bit) I get the following error when searching for an extension providing an executable:


--- Quote ---$ tce-ab
tce-ab - Tiny Core Extension: Application Browser

S)earch P)rovides K)eywords or Q)uit:
Enter search term, e.g. iwconfig: diff
awk: cmd. line:1: fatal: cannot open file `/etc/sysconfig/tcedir/provides.db' for reading: No such file or directory
S)earch P)rovides K)eywords or Q)uit:

--- End quote ---

Can someone verify if you have the same behavior?
(still need to try on 64-bit)


--- Quote ---$ uname -a
Linux testapps 6.12.11-tinycore #1 SMP Sun Jan 26 18:37:07 UTC 2025 i686 GNU/Linux

--- End quote ---


--- Quote ---$ version
16.0

--- End quote ---



Edit
For CorePure64 I see a bit similar issue:

--- Quote ---S)earch P)rovides K)eywords or Q)uit:
Enter search term, e.g. iwconfig: diff
awk: /etc/sysconfig/tcedir/provides.db: No such file or directory
S)earch P)rovides K)eywords or Q)uit:

--- End quote ---


--- Quote ---$ uname -a
Linux testapps 6.12.11-tinycore64 #1 SMP Sun Jan 26 16:50:13 UTC 2025 x86_64 GNU/Linux

--- End quote ---


--- Quote ---$ version
16.0

--- End quote ---

Rich:
Hi rhermsen
Both x86 and x86_64 versions of TC16 tce-ab work.

I was able to recreate your results. I think your error is
due to tce-ab not being able to download provides.db.

Maybe your network is not up?
Maybe your /opt/tcemirror file is messed up?

I unplugged my network cable and got the same result as you.

rhermsen:
I have not seen any other issues except with the 'P' option with tce-ab.

With CL-15.0 it is working.
(below is all from CL-15.0)
Scrolling up from the clear screen I do see some messages, but only the first time I try tce-ab:

--- Code: ---$ tce-ab
tce-ab - Tiny Core Extension: Application Browser

S)earch P)rovides K)eywords or Q)uit:
Enter search term, e.g. iwconfig: diff
open: No such file or directory
not using seed file /etc/sysconfig/tcedir/provides.db
tce - Tiny Core Extension browser
         1. atom-apm.tcz
         2. atom.tcz
         3. bash-completion.tcz
         4. bind-dev.tcz

--- End code ---


--- Code: ---$ ls -la /etc/sysconfig/tcedir/provides.db
-rw-rw----    1 tc       staff     29189148 May 25 10:18 /etc/sysconfig/tcedir/provides.db

--- End code ---

Trying a second time is without additional messages:

--- Code: ---$ tce-ab
tce-ab - Tiny Core Extension: Application Browser

S)earch P)rovides K)eywords or Q)uit:
Enter search term, e.g. iwconfig: diff
tce - Tiny Core Extension browser
         1. atom-apm.tcz
         2. atom.tcz
         3. bash-completion.tcz

--- End code ---


--- Code: ---$ uname -a
Linux testapps 6.6.8-tinycore64 #666 SMP Sat Dec 23 16:41:21 UTC 2023 x86_64 GNU/Linux

--- End code ---


--- Code: ---$ version
15.0

--- End code ---

Edit
Same behavior with CP64-15.0.

Rich:
Hi rhermsen

--- Quote from: rhermsen on May 25, 2025, 05:20:18 PM --- ... Scrolling up from the clear screen I do see some messages, but only the first time I try tce-ab: ...
--- End quote ---
That's normal if provides.db is not present. tce-ab calls provides.sh
which then runs zsync to see if provides.db is current.

When I run the command the first time, it prints that message
and downloads provides.db because it's not present. The second
time I run it it's quiet:

--- Code: ---tc@E310:~$ zsync -i provides.db -q http://repo.tinycorelinux.net/10.x/x86/tcz/provides.db.zsync
open: No such file or directory
not using seed file provides.db
tc@E310:~$ zsync -i provides.db -q http://repo.tinycorelinux.net/10.x/x86/tcz/provides.db.zsync
tc@E310:~$
--- End code ---

rhermsen:
@Rich

I found the reason for download of 'provides.db' to fail.

On my Windows host I have Zscaler running. This is causing the following step in '/usr/bin/provides.sh' to fail:

--- Code: ---/bin/ping -A -W 1 -c 2 8.8.8.8 2>&1 > /dev/null || return
--- End code ---

Running this in terminal with Zscaler enabled:

--- Code: ---$ /bin/ping -A -W 1 -c 2 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes

--- 8.8.8.8 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss

--- End code ---
Disabling 'Internet Security' in Zscaler:

--- Code: ---$ /bin/ping -A -W 1 -c 2 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=128 time=15.380 ms
64 bytes from 8.8.8.8: seq=1 ttl=128 time=15.613 ms

--- 8.8.8.8 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 15.380/15.496/15.613 ms

--- End code ---

Annoying because Internet Security of Zscaler is enabled automatically.
But now I know how to get it working...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version