Author Topic: Void Install Guide  (Read 14974 times)

MaBo

  • Newbie
  • *
  • Posts: 21
    • View Profile
Void Install Guide
« Reply #15 on: May 16, 2020, 11:38:46 am »
I thought it all was working well, but now I get an error with installing packages:
Certificate verification failed.

What is wrong? I thought it worked all right earlier...

Maarten

Varti

  • Administrator
  • Hero Member
  • *****
  • Posts: 1272
    • View Profile
Void Install Guide
« Reply #16 on: May 17, 2020, 12:40:13 am »
Quote from: MaBo
I thought it all was working well, but now I get an error with installing packages:
Certificate verification failed.

What is wrong? I thought it worked all right earlier...

Maarten
That error appears when either the date on your Zaurus is wrong, or the repository you're using has currently certification issues. The latter is solved by temporarily switching the repository's URL from https to http, or by changing repository:

The repositories can be changed from the default by copying the /usr/share/xbps.d/00-repository-main.conf file to /etc/xbps.d/ directory and editing the repository for example:
Code: [Select]
repository=http://alpha.us.repo.voidlinux.org/currenthttps://tutel.me/c/unix/questions/491888/vo...fication+failed

Varti
Planet Gemini PDA WiFi/LTE with Mediatek x27
SL-C1000 running Arch Linux ARM May2017, K30225 Wi-Fi CF Card, 64GB SDXC card
and many other Zauruses!

greguu

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 437
    • View Profile
    • http://github.com/greguu
Void Install Guide
« Reply #17 on: May 22, 2020, 03:24:27 am »
Quote from: Varti
Quote from: MaBo
I thought it all was working well, but now I get an error with installing packages:
Certificate verification failed.

What is wrong? I thought it worked all right earlier...

Maarten
That error appears when either the date on your Zaurus is wrong, or the repository you're using has currently certification issues. The latter is solved by temporarily switching the repository's URL from https to http, or by changing repository:

The repositories can be changed from the default by copying the /usr/share/xbps.d/00-repository-main.conf file to /etc/xbps.d/ directory and editing the repository for example:
Code: [Select]
repository=http://alpha.us.repo.voidlinux.org/currenthttps://tutel.me/c/unix/questions/491888/vo...fication+failed

Varti

Hi,

just to clarify, the official Void repos do not have ARMv5tel packages and are not of use for Zaurus users.

If you received a certificate error for the Voidz repo that is hosted on OESF, this should be resolved now.
To set back your repo to the default Voidz one use this command*

Code: [Select]
echo 'repository=https://www.oesf.org/repository/feeds/voidlinux/testing/build8' > /etc/xbps.d/00-repository-main.confIf there is some more demand, I may update the voidz repository again this year, but so far the voidz usage has been quite low unfortunately.

Cheers,
Greguu
Gemini-PDA (Sailfish X and Android) / LG Nexus 5 (Android 11) / Nokia N9 (MeeGo/Harmattan)
Sharp Zaurus C3100 (Borzoi) - Void Linux (voidz) Kernel 5.0.0 - Hardware (Buffalo CF LAN, DLink 660 CF WiFi, ASIX AX88772 USB Ethernet)

MaBo

  • Newbie
  • *
  • Posts: 21
    • View Profile
Void Install Guide
« Reply #18 on: May 24, 2020, 08:59:51 am »
It seems like it is working again. Thanks for the help!

Maarten

MaBo

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: Void Install Guide
« Reply #19 on: July 04, 2021, 02:17:24 pm »
Dear all,

Started my Zaurus today again. voidZ is installed. But I forgot how to get the wifi running. So, I simply entered the corresponding commands in the guide. However, turns out there are a few omissions now. Maybe due to the forum move?

I guess the correct statements should be:
Code: [Select]

ip link show
ip link set up wlan0
wpa_passphrase <ssid> <passphrase> >> /etc/wpa_supplicant/wpa_supplicant-wlan0.conf
iwconfig wlan0 mode managed
wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant-wlan0.conf -Dwext
udhcpc -i wlan0
ping google.com

Where the wpa_passphrase command can be omitted if wpa_supplicant-wlan0.conf already exists

Now find out what to do with the nice zaurus...

MaBo

Varti

  • Administrator
  • Hero Member
  • *****
  • Posts: 1272
    • View Profile
Re: Void Install Guide
« Reply #20 on: July 05, 2021, 04:40:50 am »
Hi MaBo and welcome back.

You're right, the instructions in the first post were not correctly converted from the old forum: for some unknown reason all the <_> tags under the _code_ tag were not displayed at all, even if they were still present in the post when editing it. It was enough to edit and save again it to make them reappear, everything should be correct now, thanks for pointing this out. I'll keep in mind this issue when fixing the remaining bugs introduced by the forum migration.

Varti
Planet Gemini PDA WiFi/LTE with Mediatek x27
SL-C1000 running Arch Linux ARM May2017, K30225 Wi-Fi CF Card, 64GB SDXC card
and many other Zauruses!

illbay

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Void Install Guide
« Reply #21 on: March 18, 2022, 03:14:40 pm »
Hello again.

I know this is an old topic but the oesf repository (https://www.oesf.org/repository/feeds/voidlinux/testing/build8) appears to be down.

Is it possible to turn it back on please?

Thank you.

illbay

Varti

  • Administrator
  • Hero Member
  • *****
  • Posts: 1272
    • View Profile
Re: Void Install Guide
« Reply #22 on: March 20, 2022, 06:21:21 am »
Sorry for not answering earlier, I have been busy these last two days... I have checked on the server, all the files appear to be still there (there are repositories for build6, build7 and build8 under testing/). The directory contents cannot be listed under a browser, but direct files download work here, e.g. https://www.oesf.org/repository/feeds/voidlinux/testing/build8/acl-2.2.53_1.armv5tel-musl.xbps

Is your voidz installation complaining that it cannot find the repository?

Varti
Planet Gemini PDA WiFi/LTE with Mediatek x27
SL-C1000 running Arch Linux ARM May2017, K30225 Wi-Fi CF Card, 64GB SDXC card
and many other Zauruses!

illbay

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Void Install Guide
« Reply #23 on: March 20, 2022, 06:37:12 am »
No problem. Thanks for getting back as quickly as you did.

When I do a xbps-install -Su I get this:

Code: [Select]
[*] Updating `https://www.oesf.org/repository/feeds/voidlinux/testing/build8/armv5tel-musl-repodata' ...
Certificate verification failed for /O=Digital Signature Trust Co./CN=DST Root CA X3
Certificate verification failed for /O=Digital Signature Trust Co./CN=DST Root CA X3
Certificate verification failed for /O=Digital Signature Trust Co./CN=DST Root CA X3
SSL_connect returned 1
ERROR: [reposync] failed to fetch file `https://www.oesf.org/repository/feeds/voidlinux/testing/build8/armv5tel-musl-repodata': Operation not permitted

I assumed that the server was down but now I look more closely it looks more like an SSL Certificate error.

My voidz linux install is unmodified.

Any ideas?

Thank you for your help.

illbay

PS: I have since worked out how to cross compile packages on an x86_64 install of void linux on a virtual machine. I am happy to post my steps here if that is something you think may be useful?
« Last Edit: March 20, 2022, 06:46:21 am by illbay »

Varti

  • Administrator
  • Hero Member
  • *****
  • Posts: 1272
    • View Profile
Re: Void Install Guide
« Reply #24 on: March 20, 2022, 06:59:58 am »
When I do a xbps-install -Su I get this:

Code: [Select]
[*] Updating `https://www.oesf.org/repository/feeds/voidlinux/testing/build8/armv5tel-musl-repodata' ...
Certificate verification failed for /O=Digital Signature Trust Co./CN=DST Root CA X3
Certificate verification failed for /O=Digital Signature Trust Co./CN=DST Root CA X3
Certificate verification failed for /O=Digital Signature Trust Co./CN=DST Root CA X3
SSL_connect returned 1
ERROR: [reposync] failed to fetch file `https://www.oesf.org/repository/feeds/voidlinux/testing/build8/armv5tel-musl-repodata': Operation not permitted

I assumed that the server was down but now I look more closely it looks more like an SSL Certificate error.
This certificate issue seems to be from voidz itself, as it probably requires an older certificate since the rootfs itself is 2 years old. You could try to force it to ignore the certificate with

Code: [Select]
sudo SSL_NO_VERIFY_PEER=true xbps-install -S xbps

as explained here:

https://www.reddit.com/r/voidlinux/comments/q31vim/certificate_verification_failed_for_odigital/

Quote
PS: I have since worked out how to cross compile packages on an x86_64 install of void linux on a virtual machine. I am happy to post my steps here if that is something you think may be useful?
Yes, any information about this will be more than welcome, for reference :)

Varti
Planet Gemini PDA WiFi/LTE with Mediatek x27
SL-C1000 running Arch Linux ARM May2017, K30225 Wi-Fi CF Card, 64GB SDXC card
and many other Zauruses!