Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Error] Package Not found. #1

Open
HarshalRathore opened this issue Dec 3, 2021 · 5 comments
Open

[Error] Package Not found. #1

HarshalRathore opened this issue Dec 3, 2021 · 5 comments

Comments

@HarshalRathore
Copy link
Contributor

Command executed

ALMA_USER="harshal" TIMEZONE="Asia/Kolkata" sudo -E alma create --presets ./arch-i3-usb/preset

Complete Output of the above command

Output
2021-12-03T13:39:11.962Z INFO  alma > Partitioning the block device
GPT data structures destroyed! You may now partition the disk using fdisk or
other utilities.
The operation has completed successfully.
 2021-12-03T13:39:15.309Z INFO  alma > Formatting filesystems
mkfs.fat 4.2 (2021-01-31)
mke2fs 1.46.4 (18-Aug-2021)
Creating filesystem with 3759867 4k blocks and 940240 inodes
Filesystem UUID: a4e095fd-cbf8-4d88-a08b-b0631406f2d6
Superblock backups stored on blocks:
	32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208

Allocating group tables: done
Writing inode tables: done
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done

2021-12-03T13:39:32.306Z INFO alma::tool::mount > Mounting filesystems to /tmp/.tmpilkFnV
2021-12-03T13:39:32.347Z INFO alma > Bootstrapping system
==> Creating install root at /tmp/.tmpilkFnV
==> Installing packages to /tmp/.tmpilkFnV
:: Synchronizing package databases...
core 137.3 KiB 439 KiB/s 00:00 [---------------------------------------------] 100%
extra 1585.2 KiB 1903 KiB/s 00:01 [---------------------------------------------] 100%
community 5.8 MiB 4.22 MiB/s 00:01 [---------------------------------------------] 100%
multilib 148.8 KiB 508 KiB/s 00:00 [---------------------------------------------] 100%
endeavouros 22.9 KiB 16.1 KiB/s 00:01 [---------------------------------------------] 100%
:: There are 48 members in group xorg:
:: Repository extra

  1. xf86-video-vesa 2) xorg-bdftopcf 3) xorg-docs 4) xorg-font-util 5) xorg-fonts-100dpi 6) xorg-fonts-75dpi
  2. xorg-fonts-encodings 8) xorg-iceauth 9) xorg-mkfontscale 10) xorg-server 11) xorg-server-common 12) xorg-server-devel
  3. xorg-server-xephyr 14) xorg-server-xnest 15) xorg-server-xvfb 16) xorg-sessreg 17) xorg-setxkbmap 18) xorg-smproxy
  4. xorg-x11perf 20) xorg-xauth 21) xorg-xbacklight 22) xorg-xcmsdb 23) xorg-xcursorgen 24) xorg-xdpyinfo
  5. xorg-xdriinfo 26) xorg-xev 27) xorg-xgamma 28) xorg-xhost 29) xorg-xinput 30) xorg-xkbcomp 31) xorg-xkbevd
  6. xorg-xkbutils 33) xorg-xkill 34) xorg-xlsatoms 35) xorg-xlsclients 36) xorg-xmodmap 37) xorg-xpr 38) xorg-xprop
  7. xorg-xrandr 40) xorg-xrdb 41) xorg-xrefresh 42) xorg-xset 43) xorg-xsetroot 44) xorg-xvinfo 45) xorg-xwayland
  8. xorg-xwd 47) xorg-xwininfo 48) xorg-xwud

Enter a selection (default=all):
error: target not found: pyrit
error: target not found: extundelete
==> ERROR: Failed to install packages to new root
Error: Pacstrap error

Caused by:
Bad exit code: exit status: 1

They are here
pyrit
image

@jamesmcm
Copy link
Owner

jamesmcm commented Dec 3, 2021

Seems they've been moved to the AUR now:

https://aur.archlinux.org/packages/pyrit/

https://aur.archlinux.org/packages/extundelete/

Just move them to the aur_packages array in the same TOML file and it should work.

Please make a PR if you can (and if you hit any other issues).

@HarshalRathore
Copy link
Contributor Author

HarshalRathore commented Dec 3, 2021

Please make a PR if you can (and if you hit any other issues).

Sure I'll do that. 😊

I again tried to do it now after installing some 764 packages it is trying to install yay but it failed to do so.

Error
Generation complete.
 2021-12-03T14:28:43.569Z INFO  alma              > Installing AUR packages
Cloning into '/home/aur/yay'...
remote: Enumerating objects: 352, done.
remote: Counting objects: 100% (352/352), done.
remote: Compressing objects: 100% (245/245), done.
remote: Total 352 (delta 105), reused 336 (delta 105), pack-reused 0
Receiving objects: 100% (352/352), 79.06 KiB | 268.00 KiB/s, done.
Resolving deltas: 100% (105/105), done.
==> Making package: yay-bin 11.0.2-1 (Fri Dec  3 14:28:49 2021)
==> Checking runtime dependencies...
error: config file /etc/pacman.d/endeavouros-mirrorlist could not be read: No such file or directory
==> ERROR: 'pacman' returned a fatal error (1):
Error: Failed to build AUR helper

Caused by:
Bad exit code: exit status: 8

I also checked for this /etc/pacman.d/endeavouros-mirrorlist file and I do have it in my system

I am stuck here I don't know what the problem is, if you can please look into it.
Thank you

@jamesmcm
Copy link
Owner

jamesmcm commented Dec 3, 2021

Are you using EndeavourOS?

This is an issue in ALMA - https://github.com/r-darwish/alma/blob/master/src/main.rs#L321-L333

The issue is pacstrap is using your EndeavourOS mirrorlist I guess? Which then isn't present on the vanilla Arch install in the image.

I'm not sure what the easiest solution is. Issues like this are why ALMA only supports vanilla Arch Linux, because the extra repos can interfere with pacstrap and arch-chroot, etc.

@HarshalRathore
Copy link
Contributor Author

Are you using EndeavourOS?

Yes.

The issue is pacstrap is using your EndeavourOS mirrorlist I guess? Which then isn't present on the vanilla Arch install in the image.

hmm..🤔 so what do you suggest should I temporarily remove that file and endeavourOS entry from pacman.conf and then try.

@HarshalRathore
Copy link
Contributor Author

Hii @jamesmcm
I again need a little bit of your help.
I tried using Alma again this time it throws an error while creating the boot partition, since I use EndevourOS, not vanilla arch.
Can you help me with a workaround for this problem? I know Arch Linux can be installed on a USB from the command line too just like how one would do for a non-removable but, If I was so familiar with installing Arch Linux I would be using vanilla arch myself not arch derivative-like EndevourOS. Please I would appreciate your help. thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants