WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: List of broken packages  (Read 1578 times)

Offline CardealRusso

  • Full Member
  • ***
  • Posts: 181
List of broken packages
« on: August 20, 2023, 11:15:46 AM »
After today's fltk-dev incident, I decided to do a bulk check, here's the result.

Code: [Select]
fltk-1.3-dev.tcz corrupt
python3.6-colorama.tcz corrupt
python3.6-evdev.tcz corrupt
simplesceenrecorder-doc.tcz corrupt
simplesceenrecorder.tcz corrupt

Code: [Select]
#!/bin/bash

base_url="http://distro.ibiblio.org/tinycorelinux/14.x/x86_64/tcz/"

md5_db_url="${base_url}md5.db.gz"
zcat <(wget -qO- "$md5_db_url") | while IFS= read -r line; do
    md5=$(echo "$line" | awk '{print $1}')
    filename=$(echo "$line" | awk '{print $2}')

    remote_file_url="${base_url}${filename}"
    local_md5=$(wget -qO- "$remote_file_url" | md5sum | awk '{print $1}')

    if [ "$md5" != "$local_md5" ]; then
        echo "$filename corrupt"
    fi
done

Offline CardealRusso

  • Full Member
  • ***
  • Posts: 181
Re: List of broken packages
« Reply #1 on: August 20, 2023, 11:31:33 AM »
simplesceenrecorder.tcz corrupt
Heh...I remember as soon as I started using TinyCore I tried to install it and it failed without i being able to understand why, now I understand.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11694
Re: List of broken packages
« Reply #2 on: August 20, 2023, 12:31:16 PM »
Hi CardealRusso
The md5 files have been updated.

Next time redirect the results into a file so you can copy/paste
instead of introducing typos into the results.

Code: [Select]
----- Snip -----
simplesceenrecorder-doc.tcz corrupt
simplesceenrecorder.tcz corrupt
Should be:
Code: [Select]
simplescreenrecorder-doc.tcz corrupt
simplescreenrecorder.tcz corrupt