AnarchyLinux / installer

Anarchy Linux - A simple and intuitive Arch Linux installer. https://anarchyinstaller.org/
GNU General Public License v2.0
1.22k stars 157 forks source link

pacman fails on system installation begin #753

Closed mbalc closed 5 years ago

mbalc commented 6 years ago

After doing all the configurations in the anarchy installer on the newest v1.0.1 version of the CLI installer on a fresh Virtualbox instance (Windows 10 host, shouldn't matter) and on starting the main installation process - it fails immediately, telling to check /tmp/anarchy.log, which contains the following error for pacman command usage at its end:

==> Installing packages to /mnt
warning: option --force is deprecated; use --overwrite instead
error: invalid option '-f'
==> ERROR: Failed to install packages to new root
2018-11-04 18:15 : Install failed: please report to developer

image image image image

drzeeb commented 6 years ago

You have to execute pacman -S archlinux-keyring before installation

mbalc commented 6 years ago

Just checked, launching

pacman -Sy
pacman -S archlinux-keyring
anarchy

and going through the installation wizard still results in the same error

image

I believe that Anarchy installer uses the -f flag somewhere in its code and for it to start working again someone should release a version where it isn't used there anymore. Or sth like that idk

lzzP commented 6 years ago

i got the same error if i choose lts kernel. i think the problem is in install_base.sh line 46. ..maybe replace the sed 's/^linux//' with sed 's/^linux$/&-lts/' (can't try it today)

did u try installing without lts? :P

sundowndev commented 5 years ago

Having the same issue. It works well without LTS.

EDIT: The installation starts but fail again later because of a corrupted PGP signature.

Spheerys commented 5 years ago

I had the same behavior. I pass the install with :

I guess there is something wrong with LTS kernel or maybe the archlinux-keyring package ?

Mayurifag commented 5 years ago

Having similar problem. Trying GUI installer in Virtualbox to install Arch with Zen kernel. Downloaded anarchy-1.0.0-x86_64.iso at https://anarchy-linux.org/download/, made a fresh Virualbox.

Steps to reproduce: 1) Boot GUI, Fetchmirrors 2) Terminal: sudo pacman -Sy, sudo pacman -S archlinux-keyring, sudo anarchy -u 3) Launch GUI installer:

Got error:

2018-12-11 19:30 : Begin base install
==> Creating install root at /mnt
==> Installing packages to /mnt
pacman: unrecognized option '--overwrite'
==> ERROR: Failed to install packages to new root
2018-12-11 19:31 : Install failed: please report to developer

Probably because the iso build is old?

I got a successful install with Arch-Linux regular kernel (without any prepare before installing), but I want to have Zen or LTS.

noraj commented 5 years ago

Yeah, seems I got this error with LTS kernel. The code must be using -f but can't find it.

Spheerys commented 5 years ago

Finally I can't make another successfull install because this bug, even by following my own comment ! Did you get robust workaround to install Anarchy, even with minimal package ?

noraj commented 5 years ago

@Spheerys What it I deed was install a true archlinux, see my guides:

All those installer are so bugged and unmaintained.

erazemk commented 5 years ago

@noraj Love the first tutorial, thank you very much :)

TheNekromate commented 5 years ago

I have the same issue when i try instaling the System with KDE and Zen Kernel

erazemk commented 5 years ago

@mbalc Try the latest 1.0.2 iso, works great in VirtualBox for me.

demure commented 5 years ago

I got the same issue with anarchy-cli-1.0.2-x86_64.iso while attempting to install on bare metal. In this case the m.2 slot of a thinkpad x280, with full disk encryption selected.

Unfortunetly the log file doesn't really pin down the exact point at which the failure happens, which appears to be when a brief error comes up prior the UI for selecting the arch base.

marceloperini commented 5 years ago

This was fixed on anarchy-cli-1.0.3-x86_64 version.

jesusrp98 commented 5 years ago

Just tried installing Anarchy using the anarchy-cli-1.0.3-x86_64 version, and I'm getting the same error :/

PandaFoss commented 5 years ago

@jesusrp98 Be more detailed to help you.

jesusrp98 commented 5 years ago

Tried to install with non-lts Linux kernel & installer returns the Failed to install packages to new root message. Tried in a virtual machine, with same results.

PandaFoss commented 5 years ago

Tried to install with non-lts Linux kernel & installer returns the Failed to install packages to new root message.

That error is very comprehensive. I think the original issue was solved. If so, I suggest closing it (@mbalc ). @jesusrp98 - In your case, check the last lines of the file by executing tail /tmp/anarchy.log and open a new issue if you require it. I think that we can maintain order.

jesusrp98 commented 5 years ago

Of course, going to do a comprehensive test of this issue in a virtual envirioment, and then open, if neccesary, a new issue with the results. Thank you very much.

jesusrp98 commented 5 years ago

Already opened a new issue. Check #794 for more details.

erazemk commented 5 years ago

Just tested with the latest 1.0.4 release, without updating, using most of the same packages as you and the base kernel. Works great, so @condor2 this one can probably be closed as well.