Flatlinebb Posted November 11, 2019 Share Posted November 11, 2019 opkg update has an error, not being able to download anything at this custom update URL: root@shark:~# opkg update Downloading http://downloads.hak5.org/packages/shark/1907/Packages.gz *** Failed to download the package list from http://downloads.hak5.org/packages/shark/1907/Packages.gz I looked at that URL and I get a 404 error. What is supposed to be there? Quote Link to comment Share on other sites More sharing options...
Mark_Tyler Posted November 11, 2019 Share Posted November 11, 2019 Hi, Are you connected to the internet? The “failed to download” makes me think that there is no internet connection. Hopefully that helps!!! Quote Link to comment Share on other sites More sharing options...
Flatlinebb Posted November 11, 2019 Author Share Posted November 11, 2019 Yes, I am connected to the internet. The rest of the opkg update completes fine. Here is the full output, hope that helps: root@shark:~# opkg update Downloading http://downloads.hak5.org/packages/shark/1907/Packages.gz *** Failed to download the package list from http://downloads.hak5.org/packages/shark/1907/Packages.gz Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/targets/ramips/mt76x8/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_core Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/targets/ramips/mt76x8/packages/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/base/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_base Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/base/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/luci/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_luci Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/luci/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_packages Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/packages/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/routing/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_routing Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/routing/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/telephony/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_telephony Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/telephony/Packages.sig Signature check passed. Collected errors: * opkg_download: Failed to download http://downloads.hak5.org/packages/shark/1907/Packages.gz, wget returned 8. Quote Link to comment Share on other sites More sharing options...
Darren Kitchen Posted November 12, 2019 Share Posted November 12, 2019 Thanks for the report. We are looking into this now. This is related to Hak5 infrastructure as it pertains to adding packages not already in the mainline OpenWRT feeds end and will not impact your ability to install standard packages. 1 Quote Link to comment Share on other sites More sharing options...
Janez Posted December 5, 2019 Share Posted December 5, 2019 I have the same issue, but also can't install any packages. Shark Jack has internet access. I tried nano and curl with the same result: root@shark:/etc/opkg# opkg -V2 install curl opkg_conf_parse_file: Loading conf file /etc/opkg.conf. opkg_conf_parse_file: Loading conf file /etc/opkg/customfeeds.conf. opkg_conf_parse_file: Loading conf file /etc/opkg/distfeeds.conf. pkg_hash_load_feeds: pkg_hash_load_feeds: pkg_hash_load_status_files: pkg_info_preinstall_check: Updating file owner list. Unknown package 'curl'. opkg_configure_packages: Configuring unpacked packages. opkg_configure_packages: Reordering packages before configuring them... Collected errors: * opkg_install_cmd: Cannot install package curl Quote Link to comment Share on other sites More sharing options...
Flatlinebb Posted December 6, 2019 Author Share Posted December 6, 2019 Have you tried opkg update Quote Link to comment Share on other sites More sharing options...
Janez Posted December 6, 2019 Share Posted December 6, 2019 49 minutes ago, Flatlinebb said: Have you tried opkg update I did with the same results as you in your original post. On a whim I manually upgraded the firmware to the latest version again (was already on 1.1.0) and opkg upgrade produced the same error as before except installing other packages (nano, curl, ...) now works. I have no idea what changed, since I literally just repeated what I did before. Quote Link to comment Share on other sites More sharing options...
3merc Posted December 21, 2019 Share Posted December 21, 2019 I just wanted to point out that this is still an issue - the Hak5 Shark Jack package repository remains unavailable. Is this intended? root@shark:~# opkg update Downloading http://downloads.hak5.org/packages/shark/1907//Packages.gz *** Failed to download the package list from http://downloads.hak5.org/packages/shark/1907//Packages.gz Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/targets/ramips/mt76x8/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_core Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/targets/ramips/mt76x8/packages/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/base/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_base Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/base/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/luci/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_luci Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/luci/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_packages Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/packages/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/routing/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_routing Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/routing/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/telephony/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_telephony Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/telephony/Packages.sig Signature check passed. Collected errors: * opkg_download: Failed to download http://downloads.hak5.org/packages/shark/1907//Packages.gz, wget returned 8. root@shark:~# cat VERSION 1.1.0 root@shark:~# Quote Link to comment Share on other sites More sharing options...
InfoSecREDD Posted December 21, 2019 Share Posted December 21, 2019 1 hour ago, 3merc said: I just wanted to point out that this is still an issue - the Hak5 Shark Jack package repository remains unavailable. Is this intended? Yes. This is still the case, just ignore the error from Hak5's Repo for the moment. All other repo's sync fine. Quote Link to comment Share on other sites More sharing options...
UnshakeableSalt Posted January 21, 2020 Share Posted January 21, 2020 A few months later on - just in case any new Shark owners like myself are looking at this thread - it's still broken ( 21 Jan 2020) Signature check passed. Collected errors: * opkg_download: Failed to download http://downloads.hak5.org/packages/shark/1907//Packages.gz, wget returned 8. Quote Link to comment Share on other sites More sharing options...
flipchart Posted April 7, 2020 Share Posted April 7, 2020 and today, another few months later: root@shark:~# opkg update Downloading http://downloads.hak5.org/packages/shark/1907//Packages.gz *** Failed to download the package list from http://downloads.hak5.org/packages/shark/1907//Packages.gz Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/targets/ramips/mt76x8/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_core Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/targets/ramips/mt76x8/packages/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/base/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_base Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/base/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/luci/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_luci Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/luci/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/packages/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_packages Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/packages/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/routing/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_routing Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/routing/Packages.sig Signature check passed. Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/telephony/Packages.gz Updated list of available packages in /var/opkg-lists/openwrt_telephony Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/packages/mipsel_24kc/telephony/Packages.sig Signature check passed. Collected errors: * opkg_download: Failed to download http://downloads.hak5.org/packages/shark/1907//Packages.gz, wget returned 8. ... still broken, but I wonder why i see this double "//" at the end of the link. When opening with Firefox, I can download the package (with both "/" single and "//" double) but not with wget: root@shark:~# wget http://downloads.hak5.org/packages/shark/1907//Packages.gz Downloading 'http://downloads.hak5.org/packages/shark/1907//Packages.gz' Connecting to 172.217.168.83:80 Failed to redirect to /packages/shark/1907//Packages.gz on downloads.hak5.org root@shark:~# wget http://downloads.hak5.org/packages/shark/1907/Packages.gz Downloading 'http://downloads.hak5.org/packages/shark/1907/Packages.gz' Connecting to 172.217.168.83:80 Failed to redirect to /packages/shark/1907/Packages.gz on downloads.hak5.org The issue is probably the redirect from the original link to https and then to googleapis.com: http://downloads.hak5.org/packages/shark/1907/Packages.gz -> (307 Internal Redirect (HSTS)) or (302 with wget on ubuntu): https://downloads.hak5.org/packages/shark/1907/Packages.gz https://downloads.hak5.org/packages/shark/1907/Packages.gz -> 301: https://storage.googleapis.com/hak5-dl.appspot.com/packages/shark/1907/Packages.gz https://storage.googleapis.com/hak5-dl.appspot.com/packages/shark/1907/Packages.gz Quote Link to comment Share on other sites More sharing options...
chrizree Posted November 13, 2020 Share Posted November 13, 2020 When is this going to be solved? It's almost to the day one year ago that this thread was created (with a following promise to solve it), but I still get the Hak5 repo error when running opkg update on the Shark. Perhaps the Shark is out of development so that the Hak5 repo is of no relevance any longer. Quote Link to comment Share on other sites More sharing options...
3merc Posted November 13, 2020 Share Posted November 13, 2020 I love the SharkJack, but I ended up setting up a dev env for it and made a custom openwrt kernel + modules, which has extended the capabilities. I have often wondered if that bad repo is actually doing it's job as intended. It would be a low key way of collecting stats on Shark Jack usage... IP + DTS in the logs of that web server... of course geolocation could easily be extracted. Then the IPs could be paired with the user logs of this forum and/or the hak5 web store server logs to match a user. Then this data could be fed into marketing, etc. Quote Link to comment Share on other sites More sharing options...
StrangePanda Posted May 19, 2021 Share Posted May 19, 2021 (edited) Now I guess it's time; I'm a new user of the SharkJack and I have exactly the same problem. And that in May 2021! Are you serios @Hak5? 😅 Sad. EDIT: Really? The Packages-list only contains a Fake-Package? Package: fakepackage Version: 1.0 Depends: libc Section: libs Architecture: mips_24kc Installed-Size: 1 Filename: fakepackage.ipk Size: 1 SHA256sum: 136b28f8a6a0c99f579e9b1d0dab069000ee404bdcc832574a83180ba6973e92 Description: Fake Package. For anyone who has problems with this in the future: Just uncomment the second line in the file "/etc/opkg/customfeeds.conf" and you are good to go. Edited May 20, 2021 by StrangePanda Quote Link to comment Share on other sites More sharing options...
chill-dwsec Posted July 18, 2021 Share Posted July 18, 2021 The Shark Jack w/v1.1.0 firmaware is running OpenWRT 18.06-SNAPSHOT r0+7850-fb83a51832 according to /etc/openwrt_release, which is "Old Release". The package list is here, and the SJ should be able to handle anything there is a mipsel_24kc family package for. The Hak5 repository would be for the few Hak5 specific tools, like LED, BATTERY, etc. so we really aren't missing much. Just comment out the second line in /etc/opkg/customfeeds.conf like @StrangePanda said and fuggedaboutit. Quote Link to comment Share on other sites More sharing options...
smilydutch Posted August 23, 2021 Share Posted August 23, 2021 August 2021 and still no solution? Hak5 what is going on?? I enjoy the products released over the years, but lets be honest quality has never been super, all products are buggy since release and most bugs don't get patched, simple issues like this remain open, and general support is lacking. I am sorry to say but my fanboy feelings for Hak5 are at an all time low. 1 Quote Link to comment Share on other sites More sharing options...
revinant2121 Posted March 2, 2022 Share Posted March 2, 2022 I just found out that you can resolve this issue by removing the gz part of src/gz in /etc/opkg/distfeeds.conf so while hak5 wouldnt like to fix these problems and it took a while to get someone to answer the question to this issue there is one and it works yay Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.