There it is. So that’s my mistake. The proper find command would be find /tmp -iname parted* . The ‘start’ is important; it tells the find command to find anything with parted beginning in the file name.
cd ..; find /tmp -iname parted* & try it for yourself. Let’s make sure I’ve not gone completely crazy.
Search for files and perform actions on them.
First failed action stops processing of current file.
Defaults: PATH is current directory, action is ‘-print’
-L,-follow Follow symlinks
-H ...on command line only
-xdev Don't descend directories on other filesystems
-maxdepth N Descend at most N levels. -maxdepth 0 applies
actions to command line arguments only
-mindepth N Don't act on first N levels
-depth Act on directory *after* traversing it
Actions:
( ACTIONS ) Group actions for -o / -a
! ACT Invert ACT’s success/failure
ACT1 [-a] ACT2 If ACT1 fails, stop, else do ACT2
ACT1 -o ACT2 If ACT1 succeeds, stop, else do ACT2
Note: -a has higher priority than -o
-name PATTERN Match file name (w/o directory name) to PATTERN
-iname PATTERN Case insensitive -name
-path PATTERN Match path to PATTERN
-ipath PATTERN Case insensitive -path
-regex PATTERN Match path to regex PATTERN
-type X File type is X (one of: f,d,l,b,c,s,p)
-perm MASK At least one mask bit (+MASK), all bits (-MASK),
or exactly MASK bits are set in file’s mode
-mtime DAYS mtime is greater than (+N), less than (-N),
or exactly N days in the past
-mmin MINS mtime is greater than (+N), less than (-N),
or exactly N minutes in the past
-newer FILE mtime is more recent than FILE’s
-user NAME/ID File is owned by given user
-group NAME/ID File is owned by given group
-size N[bck] File size is N (c:bytes,k:kbytes,b:512 bytes(def.))
+/-N: file size is bigger/smaller than N
-prune If current file is directory, don’t descend into it
If none of the following actions is specified, -print is assumed
-print Print file name
-print0 Print file name, NUL terminated
-exec CMD ARG ; Run CMD with all instances of {} replaced by
file name. Fails if CMD exits with nonzero
root@GL-MT6000:~#
Okay, so we know all the dependances require for the parted package are there but not installed. Updated script incoming. You’ll just need to upload it to the Flint-v2 /tmp dir & chmod, then install. Standby…
oot@GL-MT6000:/tmp# ./owrt_-_flint-v2_-_get_usb.sh install
Package openssh-sftp-server (9.6p1-1) installed in root is up to date.
Package block-mount (2024-01-22-08cd7083-1) installed in root is up to date.
Unknown package 'cgdisk'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency libstdcpp6 for cgdisk
* pkg_hash_check_unresolved: cannot find dependency libncursesw6 for cgdisk
* pkg_hash_fetch_best_installation_candidate: Packages for cgdisk found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package cgdisk.
Package libc (1.2.4-4) installed in root is up to date.
Package libcap-bin (2.69-1) installed in root is up to date.
Package libcap-ng-bin (0.8.3-2) installed in root is up to date.
Package libcap-ng (0.8.3-2) installed in root is up to date.
Package libcap (2.69-1) installed in root is up to date.
Package libcares (1.19.1-1) installed in root is up to date.
Package libcbor0 (0.8.0-1) installed in root is up to date.
Package libcharset1 (1.17-1) installed in root is up to date.
Package libcli (2022-07-06-V1.10.7) installed in root is up to date.
Package libcoap3 (4.3.0-2) installed in root is up to date.
Package libcomerr0 (1.47.0-2) installed in root is up to date.
Package libconfig11 (1.7.3-1) installed in root is up to date.
Unknown package 'libctf'.
Unknown package 'libcurl-gnutls4'.
Unknown package 'libcurl4'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency libbfd for libctf
* pkg_hash_fetch_best_installation_candidate: Packages for libctf found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package libctf.
* pkg_hash_check_unresolved: cannot find dependency libgnutls for libcurl-gnutls4
* pkg_hash_check_unresolved: cannot find dependency libidn2 for libcurl-gnutls4
* pkg_hash_check_unresolved: cannot find dependency zlib for libcurl-gnutls4
* pkg_hash_fetch_best_installation_candidate: Packages for libcurl-gnutls4 found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package libcurl-gnutls4.
* pkg_hash_check_unresolved: cannot find dependency libnghttp2-14 for libcurl4
* pkg_hash_fetch_best_installation_candidate: Packages for libcurl4 found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package libcurl4.
Unknown package 'libncursesw6*'.
Collected errors:
* opkg_install_cmd: Cannot install package libncursesw6*.
Installing libstdcpp6 (12.3.0-4) to root...
Configuring libstdcpp6.
Package libuuid1 (2.39.3-1) installed in root is up to date.
Package e2fsprogs (1.47.0-2) installed in root is up to date.
Package f2fs-tools (1.16.0-2) installed in root is up to date.
Package f2fsck (1.16.0-2) installed in root is up to date.
Package mkf2fs (1.16.0-2) installed in root is up to date.
Unknown package 'parted'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency libreadline8 for parted
* pkg_hash_check_unresolved: cannot find dependency libncurses6 for parted
* pkg_hash_fetch_best_installation_candidate: Packages for parted found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package parted.
Unknown package 'libncurses6'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency terminfo for libncurses6
* pkg_hash_fetch_best_installation_candidate: Packages for libncurses6 found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package libncurses6.
Package libparted (3.6-1) installed in root is up to date.
Unknown package 'libreadline8'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency libncursesw6 for libreadline8
* pkg_hash_fetch_best_installation_candidate: Packages for libreadline8 found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package libreadline8.
Package libblkid1 (2.39.3-1) installed in root is up to date.
Unknown package 'usbutils'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency libusb-1.0-0 for usbutils
* pkg_hash_check_unresolved: cannot find dependency libudev for usbutils
* pkg_hash_fetch_best_installation_candidate: Packages for usbutils found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package usbutils.
Package libpthread (1.2.4-4) installed in root is up to date.
Package librt (1.2.4-4) installed in root is up to date.
Unknown package 'librtlsdr'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency libusb-1.0-0 for librtlsdr
* pkg_hash_fetch_best_installation_candidate: Packages for librtlsdr found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package librtlsdr.
Unknown package 'libudev-zero'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency libevdev for libudev-zero
* pkg_hash_fetch_best_installation_candidate: Packages for libudev-zero found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package libudev-zero.
Unknown package 'libusb-1.0-0'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency libatomic1 for libusb-1.0-0
* pkg_hash_fetch_best_installation_candidate: Packages for libusb-1.0-0 found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package libusb-1.0-0.
Package kmod-crypto-crc32 (5.15.147-1) installed in root is up to date.
Package kmod-crypto-crc32c (5.15.147-1) installed in root is up to date.
Package kmod-crypto-crc32c (5.15.147-1) installed in root is up to date.
Package kmod-fs-exfat (5.15.147-1) installed in root is up to date.
Package kmod-fs-ext4 (5.15.147-1) installed in root is up to date.
Package kmod-fs-f2fs (5.15.147-1) installed in root is up to date.
Package kmod-lib-crc16 (5.15.147-1) installed in root is up to date.
Package kmod-scsi-core (5.15.147-1) installed in root is up to date.
Package kmod-usb-storage-extras (5.15.147-1) installed in root is up to date.
Package kmod-usb-storage-uas (5.15.147-1) installed in root is up to date.
Package kmod-usb-storage (5.15.147-1) installed in root is up to date.
Package kmod-usb-storage-extras (5.15.147-1) installed in root is up to date.
Package kmod-usb-storage-uas (5.15.147-1) installed in root is up to date.
Unknown package 'libbfd'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency zlib for libbfd
* pkg_hash_fetch_best_installation_candidate: Packages for libbfd found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package libbfd.
Package libblkid1 (2.39.3-1) installed in root is up to date.
Package libblobmsg-json20240126 (2024-01-26-c1be5057-1) installed in root is up to date.
Package libcap-bin (2.69-1) installed in root is up to date.
Package libcap-ng-bin (0.8.3-2) installed in root is up to date.
Package libcap-ng (0.8.3-2) installed in root is up to date.
Package libcap (2.69-1) installed in root is up to date.
Package libcap-bin (2.69-1) installed in root is up to date.
Package libcap-ng-bin (0.8.3-2) installed in root is up to date.
Package libcap-ng (0.8.3-2) installed in root is up to date.
Package libcap-ng-bin (0.8.3-2) installed in root is up to date.
Package libcares (1.19.1-1) installed in root is up to date.
Package libcbor0 (0.8.0-1) installed in root is up to date.
Package libcharset1 (1.17-1) installed in root is up to date.
Package libcli (2022-07-06-V1.10.7) installed in root is up to date.
Package libcoap3 (4.3.0-2) installed in root is up to date.
Package libcomerr0 (1.47.0-2) installed in root is up to date.
Package libconfig11 (1.7.3-1) installed in root is up to date.
Package libf2fs6 (1.16.0-2) installed in root is up to date.
Unknown package 'libgnutls-dane'.
Installing libgnutls (3.8.3-1) to root...
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency libnettle8 for libgnutls
* pkg_hash_check_unresolved: cannot find dependency libgmp10 for libgnutls
* pkg_hash_check_unresolved: cannot find dependency libatomic1 for libgnutls
* pkg_hash_fetch_best_installation_candidate: Packages for libgnutls found, but incompatible with the architectures configured
* pkg_hash_check_unresolved: cannot find dependency libunbound for libgnutls-dane
* pkg_hash_fetch_best_installation_candidate: Packages for libgnutls-dane found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package libgnutls-dane.
* satisfy_dependencies_for: Cannot satisfy the following dependencies for libgnutls:
* libnettle8
* libgmp10
* libatomic1
* opkg_install_cmd: Cannot install package libgnutls.
Installing libatomic1 (12.3.0-4) to root...
Configuring libatomic1.
Installing libgmp10 (6.3.0-1) to root...
Configuring libgmp10.
Installing libnettle8 (3.9.1-1) to root...
Configuring libnettle8.
Unknown package 'libgnutls-dane'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency libgnutls for libgnutls-dane
* pkg_hash_check_unresolved: cannot find dependency libunbound for libgnutls-dane
* pkg_hash_fetch_best_installation_candidate: Packages for libgnutls-dane found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package libgnutls-dane.
Unknown package 'libunbound'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency libopenssl3 for libunbound
* pkg_hash_check_unresolved: cannot find dependency libevent2-7 for libunbound
* pkg_hash_fetch_best_installation_candidate: Packages for libunbound found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package libunbound.
Installing libevdev (1.13.0-1) to root...
Configuring libevdev.
Unknown package 'libevdev-zero*'.
Collected errors:
* opkg_install_cmd: Cannot install package libevdev-zero*.
Unknown package 'libidn2'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency libunistring for libidn2
* pkg_hash_fetch_best_installation_candidate: Packages for libidn2 found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package libidn2.
Installing libunistring (1.1-1) to root...
Configuring libunistring.
Installing terminfo (6.4-2) to root...
Configuring terminfo.
Installing libnghttp2-14 (1.57.0-1) to root...
Configuring libnghttp2-14.
Installing libpopt0 (1.19-1) to root...
Configuring libpopt0.
Package libubox20240126 (2024-01-26-c1be5057-1) installed in root is up to date.
Installing zlib-dev (1.3-1) to root...
Installing zlib (1.3-1) to root...
Package zlib (1.3-1) installed in root is up to date.
Configuring zlib.
Configuring zlib-dev.
root@GL-MT6000:/tmp#
root@GL-MT6000:/tmp# ./owrt_-_flint-v2_-_get_usb.sh install
Package openssh-sftp-server (9.6p1-1) installed in root is up to date.
Package block-mount (2024-01-22-08cd7083-1) installed in root is up to date.
Unknown package 'cgdisk'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency libncursesw6 for cgdisk
* pkg_hash_fetch_best_installation_candidate: Packages for cgdisk found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package cgdisk.
Package libc (1.2.4-4) installed in root is up to date.
Package libcap-bin (2.69-1) installed in root is up to date.
Package libcap-ng-bin (0.8.3-2) installed in root is up to date.
Package libcap-ng (0.8.3-2) installed in root is up to date.
Package libcap (2.69-1) installed in root is up to date.
Package libcares (1.19.1-1) installed in root is up to date.
Package libcbor0 (0.8.0-1) installed in root is up to date.
Package libcharset1 (1.17-1) installed in root is up to date.
Package libcli (2022-07-06-V1.10.7) installed in root is up to date.
Package libcoap3 (4.3.0-2) installed in root is up to date.
Package libcomerr0 (1.47.0-2) installed in root is up to date.
Package libconfig11 (1.7.3-1) installed in root is up to date.
Unknown package 'libctf'.
Unknown package 'libcurl-gnutls4'.
Installing libcurl4 (8.5.0-1) to root...
Configuring libcurl4.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency libbfd for libctf
* pkg_hash_fetch_best_installation_candidate: Packages for libctf found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package libctf.
* pkg_hash_check_unresolved: cannot find dependency libgnutls for libcurl-gnutls4
* pkg_hash_check_unresolved: cannot find dependency libidn2 for libcurl-gnutls4
* pkg_hash_fetch_best_installation_candidate: Packages for libcurl-gnutls4 found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package libcurl-gnutls4.
Unknown package 'libncursesw6*'.
Collected errors:
* opkg_install_cmd: Cannot install package libncursesw6*.
Package libstdcpp6 (12.3.0-4) installed in root is up to date.
Package libuuid1 (2.39.3-1) installed in root is up to date.
Package e2fsprogs (1.47.0-2) installed in root is up to date.
Package f2fs-tools (1.16.0-2) installed in root is up to date.
Package f2fsck (1.16.0-2) installed in root is up to date.
Package mkf2fs (1.16.0-2) installed in root is up to date.
Unknown package 'parted'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency libreadline8 for parted
* pkg_hash_check_unresolved: cannot find dependency libncurses6 for parted
* pkg_hash_fetch_best_installation_candidate: Packages for parted found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package parted.
Installing libncurses6 (6.4-2) to root...
Configuring libncurses6.
Package libparted (3.6-1) installed in root is up to date.
Installing libreadline8 (8.2-1) to root...
Configuring libreadline8.
Unknown package 'libncursesw6*'.
Collected errors:
* opkg_install_cmd: Cannot install package libncursesw6*.
Package libblkid1 (2.39.3-1) installed in root is up to date.
Unknown package 'usbutils'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency libusb-1.0-0 for usbutils
* pkg_hash_check_unresolved: cannot find dependency libudev for usbutils
* pkg_hash_fetch_best_installation_candidate: Packages for usbutils found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package usbutils.
Package libpthread (1.2.4-4) installed in root is up to date.
Package libgcc1 (12.3.0-4) installed in root is up to date.
Package librt (1.2.4-4) installed in root is up to date.
Unknown package 'librtlsdr'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency libusb-1.0-0 for librtlsdr
* pkg_hash_fetch_best_installation_candidate: Packages for librtlsdr found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package librtlsdr.
Installing libudev-zero (1.0.3-1) to root...
Configuring libudev-zero.
Installing libusb-1.0-0 (1.0.26-3) to root...
Configuring libusb-1.0-0.
Package kmod-crypto-crc32 (5.15.147-1) installed in root is up to date.
Package kmod-crypto-crc32c (5.15.147-1) installed in root is up to date.
Package kmod-crypto-crc32c (5.15.147-1) installed in root is up to date.
Package kmod-fs-exfat (5.15.147-1) installed in root is up to date.
Package kmod-fs-ext4 (5.15.147-1) installed in root is up to date.
Package kmod-fs-f2fs (5.15.147-1) installed in root is up to date.
Package kmod-lib-crc16 (5.15.147-1) installed in root is up to date.
Package kmod-scsi-core (5.15.147-1) installed in root is up to date.
Package kmod-usb-storage-extras (5.15.147-1) installed in root is up to date.
Package kmod-usb-storage-uas (5.15.147-1) installed in root is up to date.
Package kmod-usb-storage (5.15.147-1) installed in root is up to date.
Package kmod-usb-storage-extras (5.15.147-1) installed in root is up to date.
Package kmod-usb-storage-uas (5.15.147-1) installed in root is up to date.
Installing libbfd (2.41-1) to root...
Configuring libbfd.
Package libblkid1 (2.39.3-1) installed in root is up to date.
Package libblobmsg-json20240126 (2024-01-26-c1be5057-1) installed in root is up to date.
Package libcap-bin (2.69-1) installed in root is up to date.
Package libcap-ng-bin (0.8.3-2) installed in root is up to date.
Package libcap-ng (0.8.3-2) installed in root is up to date.
Package libcap (2.69-1) installed in root is up to date.
Package libcap-bin (2.69-1) installed in root is up to date.
Package libcap-ng-bin (0.8.3-2) installed in root is up to date.
Package libcap-ng (0.8.3-2) installed in root is up to date.
Package libcap-ng-bin (0.8.3-2) installed in root is up to date.
Package libcares (1.19.1-1) installed in root is up to date.
Package libcbor0 (0.8.0-1) installed in root is up to date.
Package libcharset1 (1.17-1) installed in root is up to date.
Package libcli (2022-07-06-V1.10.7) installed in root is up to date.
Package libcoap3 (4.3.0-2) installed in root is up to date.
Package libcomerr0 (1.47.0-2) installed in root is up to date.
Package libconfig11 (1.7.3-1) installed in root is up to date.
Package libf2fs6 (1.16.0-2) installed in root is up to date.
Unknown package 'libgnutls-dane'.
Installing libgnutls (3.8.3-1) to root...
Configuring libgnutls.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency libunbound for libgnutls-dane
* pkg_hash_fetch_best_installation_candidate: Packages for libgnutls-dane found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package libgnutls-dane.
Package libatomic1 (12.3.0-4) installed in root is up to date.
Package libgmp10 (6.3.0-1) installed in root is up to date.
Package libnettle8 (3.9.1-1) installed in root is up to date.
Unknown package 'libgnutls-dane'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency libunbound for libgnutls-dane
* pkg_hash_fetch_best_installation_candidate: Packages for libgnutls-dane found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package libgnutls-dane.
Unknown package 'libunbound'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency libopenssl3 for libunbound
* pkg_hash_check_unresolved: cannot find dependency libevent2-7 for libunbound
* pkg_hash_fetch_best_installation_candidate: Packages for libunbound found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package libunbound.
Package libevdev (1.13.0-1) installed in root is up to date.
Unknown package 'libevdev-zero*'.
Collected errors:
* opkg_install_cmd: Cannot install package libevdev-zero*.
Installing libidn2 (2.3.4-1) to root...
Configuring libidn2.
Package libunistring (1.1-1) installed in root is up to date.
Package terminfo (6.4-2) installed in root is up to date.
Package libnghttp2-14 (1.57.0-1) installed in root is up to date.
Package libpopt0 (1.19-1) installed in root is up to date.
Package libubox20240126 (2024-01-26-c1be5057-1) installed in root is up to date.
Package zlib-dev (1.3-1) installed in root is up to date.
Package zlib (1.3-1) installed in root is up to date.
root@GL-MT6000:/tmp#