Issue with Alt-F Package installation not working

600 views
Skip to first unread message

tiaderosa

unread,
May 5, 2023, 11:56:52 AM5/5/23
to Alt-F
Hi All,
I own a DNS-320 NAS with 2 3TBa Hdd (JOB configurtion) and I want to reinstall Alt-F packages because of a fail of the one Harddisk that had Alt-F and ffp folders on it.

I decided to go for a completly new installation and to flash "Alt-F-1.0-DNS-320-rev-Ax.bin" firmware after having saved my Alt-F configuation settings.

Unfortunatly I had issues to install the initial Alt-F packages from Alt-F Package Manager web inteface. When attempting to do that  I got the following error:

====================================================================
Installing Alt-F in /mnt/md0
Installing ipkg
Trying sourceforge.net... fail, no Packages file.
Trying sourceforge.net... fail, no Packages file.
You don't seem to have enabled feeds, a name server configured, or a working internet connection, and no /tmp/ipkg_*_arm.ipk file found. Exiting
====================================================================

Note that I do have "http://sourceforge.net/projects/alt-f/files/pkgs/stable" and "http://sourceforge.net/projects/alt-f/files/pkgs/unstable" package feed source set corrently and I have already executed the following command
wget --no-check-certificate https://curl.se/ca/cacert.pem -O /etc/ssl/ca-bundle.crt (compleded succesfully) before trying to install Alt_F packages.

I'm not a linux  and ssl expert but I believe the issue being still related with cerificates updates. In fact any "wget" command executed without --no-check-certificate flag always provide the same error.

For example the output of
wget http://sourceforge.net/projects/alt-f/files/pkgs/stable/ipkg_0.99.163-3_arm.ipk -O /tmp/ipkg_0.99.163-3_arm.ipk
provides the following:
====================================================================
--2023-05-05 17:19:06--  http://sourceforge.net/projects/alt-f/files/pkgs/stable/ipkg_0.99.163-3_arm.ipk
Resolving sourceforge.net... 2606:4700::6812:b80, 104.18.10.128, 104.18.11.128
Connecting to sourceforge.net|2606:4700::6812:b80|:80... failed: Address family not supported by protocol.
Connecting to sourceforge.net|104.18.10.128|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://sourceforge.net/projects/alt-f/files/pkgs/stable/ipkg_0.99.163-3_arm.ipk [following]
--2023-05-05 17:19:07--  https://sourceforge.net/projects/alt-f/files/pkgs/stable/ipkg_0.99.163-3_arm.ipk
Connecting to sourceforge.net|104.18.10.128|:443... connected.
ERROR: cannot verify sourceforge.net's certificate, issued by 'CN=Cloudflare Inc ECC CA-3,O=Cloudflare\\, Inc.,C=US':
  Unable to locally verify the issuer's authority.
To connect to sourceforge.net insecurely, use `--no-check-certificate'
====================================================================

Of course I can install ipkg package via Alt-F Package Manager web interface after executing:
wget --no-check-certificate http://sourceforge.net/projects/alt-f/files/pkgs/stable/ipkg_0.99.163-3_arm.ipk -O /tmp/ipkg_0.99.163-3_arm.ipk
as the installer looks in /tmp/ folder as well.

Still I got problem with installation of other packages as dependencies are not fetch automatically and I need to provide manually all depends packages in /tmp.
.
Any help to solve this big issue would be greatly appreciated.
Thanks

tiaderosa

unread,
May 5, 2023, 3:12:31 PM5/5/23
to Alt-F
Issue solved.

I deleted ca-bundle.crt file in  the  /etc/ssl/  before executing 

wget --no-check-certificate https://curl.se/ca/cacert.pem -O /etc/ssl/ca-bundle.crt

After that every thing works ok

tiaderosa

unread,
May 5, 2023, 5:26:23 PM5/5/23
to Alt-F
...but I do not understand why the  "ca-bundle.crt" file gets overwritten at each reboot with the one not working.
I need to execure "mv /etc/ssl/ca-bundle.crt" and then  "weget --no-check-certificate https://curl.se/ca/cacert.pem -O /etc/ssl/ca-bundle.crt" at each reboot
 why ?

Marcio Marchini

unread,
May 7, 2023, 8:37:26 PM5/7/23
to al...@googlegroups.com

For the record, this also allowed me to refresh the package list. Thank you so much!

Installing is not working, still. But that is another problem. 

Upgrading alt-f-utils on /Alt-F from 0.1.10 to 0.1.11...
Nothing to be done
An error ocurred, return value: 28.
Collected errors:
Only have -1458415580 available blocks on filesystem /Alt-F/, pkg alt-f-utils needs 1

I am running a Verify on the RAID1 right now. Maybe some filesystem inconsistencies?

marcio


-- 
You received this message because you are subscribed to the Google Groups "Alt-F" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/alt-f/a46fcf7b-fd0f-4099-9fe2-52de38528c27n%40googlegroups.com.

Fernando Durso

unread,
May 14, 2023, 3:48:22 PM5/14/23
to Alt-F
Hi! First post here!
Having same issues...

I am receiving this kind of message:
Connecting to curl.se|2a04:4e42:c00::347|:443... failed: Address family not supported by protocol.
I beleave the problem is the lack of ipv6 support... is there a way to enable it?

Marcio Marchini

unread,
May 15, 2023, 9:28:57 AM5/15/23
to al...@googlegroups.com
I had to remove the certificate and download a new one with wget first. This was discussed here. The relevant info:

—-

I deleted ca-bundle.crt file in  the  /etc/ssl/  before executing 



wget --no-check-certificate https://curl.se/ca/cacert.pem -O /etc/ssl/ca-bundle.crt


—-


Then I applied the patch “04” described in my recent msg.  Then I was able to Update the old packages on my 4TB RAID1 setup.


No issues with curl.


Marcio




On May 14, 2023, at 4:48 PM, Fernando Durso <frd...@gmail.com> wrote:


Reply all
Reply to author
Forward
0 new messages