archcraft-os / archcraft

// Source : ISO
https://archcraft.io
GNU General Public License v3.0
3.01k stars 103 forks source link

can't update archcraft #407

Open Thanatos0173 opened 2 months ago

Thanatos0173 commented 2 months ago

Prerequisites

Detailed Description

I can't update archcraft using the default mirror list

Expected Behavior

When typing sudo pacman -Syu, it should update

Current Behavior

it return this :

:: Synchronizing package databases...
 archcraft.db failed to download
 core.db failed to download
 extra.db failed to download
 community.db failed to download
 multilib.db failed to download
error: failed retrieving file 'core.db' from packages.archcraft.io : error setting certificate file: /etc/ssl/certs/ca-certificates.crt
error: failed retrieving file 'extra.db' from packages.archcraft.io : error setting certificate file: /etc/ssl/certs/ca-certificates.crt
error: failed retrieving file 'community.db' from packages.archcraft.io : error setting certificate file: /etc/ssl/certs/ca-certificates.crt
warning: too many errors from packages.archcraft.io, skipping for the remainder of this transaction
error: failed retrieving file 'archcraft.db' from packages.archcraft.io : error setting certificate file: /etc/ssl/certs/ca-certificates.crt
error: failed retrieving file 'multilib.db' from packages.archcraft.io : error setting certificate file: /etc/ssl/certs/ca-certificates.crt
error: failed to synchronize all databases (download library error)

Failure Information (for bugs)

pacman.conf :

pacman.conf.txt

archcraft-mirrorlist :

archcraft-mirrorlist.txt

Steps to Reproduce

  1. Put pacman.conf in /etc/ (need to remove the .txt extension)
  2. Put archcraft-mirrorlist in /etc/pacman.d (need to remove the .txt extension)
  3. run sudo pacman -Syu

Context

I tried to update my packages, it did not work. I also have cleared the cache (using sudo pacman -Scc).

output of hostnamectl :

       Icon name: computer-laptop
         Chassis: laptop 💻
Operating System: Archcraft
          Kernel: Linux 6.9.5-arch1-1
    Architecture: x86-64
 Hardware Vendor: Dell Inc.
  Hardware Model: Inspiron 15 5518
Firmware Version: 2.17.0
   Firmware Date: Tue 2023-02-14
    Firmware Age: 1y 4month 4d

output of cat /etc/*-release :

DISTRIB_ID=archcraft
DISTRIB_RELEASE=rolling
DISTRIB_DESCRIPTION="Archcraft"
NAME="Archcraft"
PRETTY_NAME="Archcraft"
ID=archcraft
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archcraft.io"
DOCUMENTATION_URL="https://wiki.archcraft.io"
SUPPORT_URL="https://www.reddit.com/r/archcraft"
BUG_REPORT_URL="https://github.com/archcraft-os/archcraft/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archcraft
Elyas2024 commented 1 week ago

same here, on laptop too

Thanatos0173 commented 1 week ago

Yeah, tbh nobody have answered me on archcraft github/reddit. A workaround is to use archlinux mirror packages (just google it for the links) but this method does not allow us to get a link for archcraft.db, so I gess it's only a half-solution. Anyway due to the lack of communication and answers in archcraft community, I've switched to archlinux, and advise anyone with this issue to do the same. PS: English is not my first language, sorry for any mistakes in this comment.