Tiny Core Linux

Tiny Core Base => TCB Bugs => Topic started by: lhaley42 on May 02, 2020, 10:13:17 PM

Title: 11.1 tce-audit fails to find dependancy, if name is substring of another pkg
Post by: lhaley42 on May 02, 2020, 10:13:17 PM
So, I was (finally?) upgrading to 11.1 from 10.1 - and I was pruning my list of packages (after accidentally installing meld), and I noticed that 'dbus.tcz' was in my "to be deleted" folder.  A quick check of

    tce-audit builddb
    tce-audit auditall

and dbus wasn't caught ...  After digging, I found the issue.  Another package bore the exact text string  "dbuz.tcz" in its name;  wpa_supplicant-dbuz.tcz .  The correction was to modify the audit() grep search to use the ^ and $ start/end placeholders.

Patch is attached.  (( I accidentally submitted this to TCE-Bugs instead of TCB-Bugs ))
Title: Re: 11.1 tce-audit fails to find dependancy, if name is substring of another pkg
Post by: Greg Erskine on May 02, 2020, 11:18:49 PM
Good pickup.
Title: Re: 11.1 tce-audit fails to find dependancy, if name is substring of another pkg
Post by: Juanito on May 03, 2020, 12:47:56 AM
pushed to tc git - thanks