WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Dependent package missing  (Read 3011 times)

Offline FlyingDutchman

  • Newbie
  • *
  • Posts: 36
Dependent package missing
« on: March 01, 2020, 10:21:31 AM »
Hi,

The package expect.tcz is dependent on tcl.tcz, which seems to be missing in release 11. Or replaced by tcl8.6.tcz, in which case the expect.tcz.dep file is outdated.

As I stumbled upon this, I decided to write a small script to check all the dependency files. Basically it reads the .dep file of each package (if there is one) and then checks if all dependencies are present in the release 11 download directory. Below the output for the ones missing. For these either the dependent package is missing, or the .dep file is wrong.

Code: [Select]
dependency opencv.tcz not found for auto-multiple-choice.tcz
dependency python3.6-psutil.tcz not found for chamferwm.tcz
dependency python3.6-pulsectl.tcz not found for chamferwm.tcz
dependency gst-plugins-good-dev.tcz not found for cheese-dev.tcz
dependency python-setuptools.tcz not found for docutils.tcz
dependency opusfile.tcz not found for easytag.tcz
dependency emacs.tcz not found for emacs-el.tcz
dependency tcl-dev.tcz not found for expect-dev.tcz
dependency tcl.tcz not found for expect.tcz
dependency b43-fwcutter.tcz not found for firmware-getB43.tcz
dependency opencv-dev.tcz not found for frei0r-plugins-dev.tcz
dependency efitools.tcz not found for fwupd.tcz
dependency tpm2-tss.tcz not found for fwupd.tcz
dependency gcalculator.tcz not found for galculator-locale.tcz
dependency podofo.tcz not found for gimagereader.tcz
dependency poppler-dev.tcz not found for gimp2-dev.tcz
dependency tracker-dev.tcz not found for gnome-documents-dev.tcz
dependency goffice-gtk2-dev.tcz not found for gnucash-dev.tcz
dependency Xorg-7.7-libs-dev not found for graphicsmagick-dev.tcz
dependency libwebp-dev.tcz not found for gthumb-dev.tcz
dependency libwebp.tcz not found for gthumb.tcz
dependency dbus-python.tcz not found for hplip.tcz
dependency perl_xml_simple.tcz not found for icon-naming-utils.tcz
dependency libmicrohttpd.tcz not found for kodi.tcz
dependency librsync.tcz not found for librsync-dev.tcz
dependency libswscale3.tcz not found for mplayer-cli.tcz
dependency libavformat3.tcz not found for mplayer-cli.tcz
dependency libpostproc3.tcz not found for mplayer-cli.tcz
dependency libswscale3.tcz not found for mplayer.tcz
dependency libavformat3.tcz not found for mplayer.tcz
dependency libpostproc3.tcz not found for mplayer.tcz
dependency openpace-dev.tcz not found for opensc-dev.tcz
dependency openpace.tcz not found for opensc.tcz
dependency libopenshot.tcz not found for openshot.tcz
dependency py3.6qt5.tcz not found for openshot.tcz
dependency picolisp.tcz not found for picolisp-lib.tcz
dependency gstreamer-editing-services-gir.tcz not found for pitivi.tcz
dependency gst-transcoder-gir.tcz not found for pitivi.tcz
dependency gst-python3.6.tcz not found for pitivi.tcz
dependency podofo.tcz not found for podofo-bin.tcz
dependency py3cairo-dev.tcz not found for py3gobject-dev.tcz
dependency py3cairo.tcz not found for py3gobject.tcz
dependency python3.tcz not found for py3parsing.tcz
dependency python3.tcz not found for py3tz.tcz
dependency python3.tcz not found for py3xdg.tcz
dependency pygobject2-dev.tcz not found for pygtk-dev.tcz
dependency pygobject2.tcz not found for pygtk.tcz
dependency python3.6-olefile.tcz not found for python3.6-pillow.tcz
dependency librsync.tcz not found for python-duplicity.tcz
dependency gnupg1.tcz not found for python-duplicity.tcz
dependency pycryptopp.tcz not found for python-duplicity.tcz
dependency python-cryptography.tcz not found for python-paramiko.tcz
dependency rdesktop.tcz not found for rdesktop-doc.tcz
dependency rdesktop.tcz not found for rdesktop-keymaps.tcz
dependency gst-plugins-good-dev.tcz not found for rhythmbox-dev.tcz
dependency gst-plugins-ugly-dev.tcz not found for rhythmbox-dev.tcz
dependency opusfile-dev.tcz not found for sdl2_mixer-dev.tcz
dependency opusfile-dev.tcz not found for sdl_mixer-dev.tcz
dependency Xdialog.tcz not found for secure-erase.tcz
dependency libwebp.tcz not found for simple-scan.tcz
dependency gst-plugins-good-dev.tcz not found for spice-gtk-dev.tcz
dependency zsync.tcz not found for submitqc.tcz
dependency py3.6cups.tcz not found for system-config-printer.tcz
dependency gst-plugins-good-dev.tcz not found for totem-dev.tcz
dependency tpm2-tss.tcz not found for tpm2-tools.tcz
dependency dbus-python.tcz not found for wicd.tcz
dependency wvstreams.tcz not found for wvdial.tcz
dependency libvncserver.tcz not found for x11vnc.tcz
dependency xfwm4.tcz not found for xfwm4-extra-themes.tcz

Below the source code of the script. I wrote it for one time use, so don't expect any graceful fault handling etc.
Code: [Select]
#!/bin/sh
# small script to download the .dep file given a list of packages and check if all dependent packages exist

# constants
URL='http://tinycorelinux.net/11.x/x86_64/tcz/'
INPUT='./packages11.list'
OUTPUT='./output.log'

# initialize
echo "" > $OUTPUT

while read LINE; do
        wget $URL$LINE.dep
        if [ -f $LINE.dep ]; then
                while read LINE2; do
                        [ -z $LINE2 ] && continue
                        cat $INPUT | grep ${LINE2/KERNEL/5.4.3-tinycore64}
                        if [ $? -ne 0 ]; then
                                echo "dependency $LINE2 not found for $LINE" >> $OUTPUT
                        fi
                done < $LINE.dep
        else
                echo "$LINE has no dependencies"
        fi
done < $INPUT

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14849
Re: Dependent package missing
« Reply #1 on: March 02, 2020, 01:13:54 AM »
Thanks for that - I'll take a look.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14849
Re: Dependent package missing
« Reply #2 on: March 03, 2020, 06:15:53 AM »
Things should (hopefully) be fixed now.

Offline FlyingDutchman

  • Newbie
  • *
  • Posts: 36
Re: Dependent package missing
« Reply #3 on: March 03, 2020, 04:06:28 PM »
Super quick service again, thanks.