hewol / aerOS

Work-in-progress Arch-based Linux distro built with `archiso`
GNU General Public License v3.0
10 stars 4 forks source link

cannot build the iso #1

Closed Preetam-Das closed 1 year ago

Preetam-Das commented 1 year ago

mkarchiso fails with the following errors:

error: config file /etc/pacman.d/chaotic-mirrorlist could not be read: No such file or directory
error parsing '/home/pree/Repos/aerOS/archlive/pacman.conf'
error: config file /etc/pacman.d/chaotic-mirrorlist could not be read: No such file or directory
error parsing '/home/pree/Repos/aerOS/archlive/pacman.conf'
error: no usable package repositories configured.
==> ERROR: Failed to install packages to new root
XanuduBuster commented 1 year ago

It looks like those files are missing, Try to clone https://github.com/hewol/aerOS.git then try to build again and see if it works or not, It looks like the pacman.conf aka the pacman config file is missing...

XanuduBuster commented 1 year ago

Also I forgot to mention you need to copy the chaotic-mirrorlist file to /etc/pacman.d/ Note: Only you need to copy the file, you don't need to do much after copying that file and cloning the latest git it should build just fine. If this worked let me know!

Preetam-Das commented 1 year ago

@XanuduBuster I cloned the latest git, although chaotic-mirrorlist was already there in /etc/pacman.d/ but i still copied it. But no good it fails with the same errors.

XanuduBuster commented 1 year ago

Is it in your system root?

XanuduBuster commented 1 year ago

@Preetam-Das I dont have any issues, i just copied the chaotic-mirrorlist to my system root drive /etc/pacman.d/ and it starts building.

Preetam-Das commented 1 year ago

@XanuduBuster at first i did not then i thought might as well put it there, but it does not work. Maybe i should put it in my pacman.conf too?

XanuduBuster commented 1 year ago

@Preetam-Das Maybe you need to put chaotic-aur config in pacman.conf... also send me logs as well so that I can investigate this.

Preetam-Das commented 1 year ago

@XanuduBuster tried that too added chaotic-aur. Ran pacman -Sy it recognises chaotic-aur but build still fails. here logs

[mkarchiso] INFO: Done!
[mkarchiso] INFO: mkarchiso configuration settings
[mkarchiso] INFO:              Architecture:   x86_64
[mkarchiso] INFO:         Working directory:   /tmp/aerOs
[mkarchiso] INFO:    Installation directory:   arch
[mkarchiso] INFO:                Build date:   2023-05-30T16:56+0530
[mkarchiso] INFO:          Output directory:   /home/pree/Repos/aerOS/out
[mkarchiso] INFO:        Current build mode:   iso
[mkarchiso] INFO:               Build modes:   iso
[mkarchiso] INFO:                   GPG key:   None
[mkarchiso] INFO:                GPG signer:   None
[mkarchiso] INFO: Code signing certificates:   None
[mkarchiso] INFO:                   Profile:   /home/pree/Repos/aerOS/archlive
[mkarchiso] INFO: Pacman configuration file:   /home/pree/Repos/aerOS/archlive/pacman.conf
[mkarchiso] INFO:           Image file name:   aerOS-2023.05.30-x86_64.iso
[mkarchiso] INFO:          ISO volume label:   ARCH_202305
[mkarchiso] INFO:             ISO publisher:   Hewol <https://hewol.github.io>
[mkarchiso] INFO:           ISO application:   aerOS Live/Rescue CD
[mkarchiso] INFO:                Boot modes:   bios.syslinux.mbr bios.syslinux.eltorito uefi-ia32.grub.esp uefi-x64.grub.esp uefi-ia32.grub.eltorito uefi-x64.grub.eltorito
[mkarchiso] INFO:             Packages File:   /home/pree/Repos/aerOS/archlive/packages.x86_64
[mkarchiso] INFO:                  Packages:   alsa-utils amd-ucode arch-install-scripts archinstall b43-fwcutter base bind brltty broadcom-wl btrfs-progs clonezilla cloud-init cryptsetup darkhttpd ddrescue dhclient dhcpcd diffutils dmidecode dmraid dnsmasq dosfstools e2fsprogs edk2-shell efibootmgr espeakup ethtool exfatprogs f2fs-tools fatresize fsarchiver gnu-netcat gpart gpm gptfdisk grml-zsh-config grub hdparm hyperv intel-ucode irssi iw iwd jfsutils kitty-terminfo less lftp libfido2 libusb-compat linux linux-atm linux-firmware linux-firmware-marvell livecd-sounds lsscsi lvm2 lynx man-db man-pages mc mdadm memtest86+ memtest86+-efi mkinitcpio mkinitcpio-archiso mkinitcpio-nfs-utils modemmanager mtools nano nbd ndisc6 nfs-utils nilfs-utils nmap ntfs-3g nvme-cli open-iscsi open-vm-tools openconnect openssh openvpn partclone parted partimage pcsclite ppp pptpclient pv qemu-guest-agent refind reflector reiserfsprogs rp-pppoe rsync rxvt-unicode-terminfo screen sdparm sg3_utils smartmontools sof-firmware squashfs-tools sudo syslinux systemd-resolvconf tcpdump terminus-font testdisk tmux tpm2-tss udftools usb_modeswitch usbmuxd usbutils vim virtualbox-guest-utils-nox vpnc wireless-regdb wireless_tools wpa_supplicant wvdial xfsprogs xl2tpd zsh yay firefox libreoffice-fresh nano gnome gnome-extra calamares-git xorg-xinit neofetch
[mkarchiso] INFO: Installing packages to '/tmp/aerOs/x86_64/airootfs/'...
==> Creating install root at /tmp/aerOs/x86_64/airootfs
==> Installing packages to /tmp/aerOs/x86_64/airootfs
error: no usable package repositories configured.
==> ERROR: Failed to install packages to new root
XanuduBuster commented 1 year ago

@Preetam-Das this time it says no usable repositories is configured... I will have to ask @Debarka-Kundu to fix these issue...

debarkak commented 1 year ago

@Preetam-Das @XanuduBuster there is some errors, its also not working for me

==> Creating install root at /tmp/aerOS/x86_64/airootfs
==> Installing packages to /tmp/aerOS/x86_64/airootfs
error: no usable package repositories configured.
==> ERROR: Failed to install packages to new root
debarkak commented 1 year ago

@Preetam-Das Now I fixed some errors, now delete all previous project files (except the chaotic-mirrorlist) in the root pacman.d and again clone by running this git clone https://github.com/hewol/aerOS.git and see if it works or not, or just download our latest release https://github.com/hewol/aerOS/releases/tag/v1-early-beta.

Preetam-Das commented 1 year ago

@Debarka-Kundu no worky :(

debarkak commented 1 year ago

@Preetam-Das It's working for me

debarkak commented 1 year ago

@Preetam-Das send logs please

debarkak commented 1 year ago

image

@Preetam-Das its working for me, so what's wrong?

XanuduBuster commented 1 year ago

@Preetam-Das It could be permission issues... That's why its not working...

XanuduBuster commented 1 year ago

@Preetam-Das This issue will be closed as its inactive for 2 weeks now... You can open this issue again at any time...