• "Can't install necessary packages. Cnchi can't continue."


    Hi everyone, I’m new to Antergos. I tried to install the latest ISO, I chose Deepin as the DE but at the end of the installation process I’m having an error.

    Error

    I’ve tried twice to install but I got the same error. Before the second attempt I restarted my notebook and run the command sudo pacman -Syy but the error persists.

    I’m attempting to do a dual boot with Windows 10 following the guide here. I also have a dual GPU system (nVidia GeForce MX150 + Intel HD)

    Any ideas? What can I try to complete the installaton?

    These are the last installation log lines:

    2018-05-16 01:21:24 [INFO] slides.py(276) manage_events_from_cb_queue(): Descargando lib32-libnl-3.4.0-1-x86_64…
    2018-05-16 01:21:24 [INFO] slides.py(276) manage_events_from_cb_queue(): Comprobando llaves en llavero…
    2018-05-16 01:21:24 [INFO] slides.py(276) manage_events_from_cb_queue(): Comprobando integridad…
    2018-05-16 01:21:31 [ERROR] pac.py(164) finalize_transaction(): No se puede finalizar transacción alpm: transaction failed, pm_errno 34 (paquete no válido o dañado), []
    2018-05-16 01:21:31 [DEBUG] pac.py(167) finalize_transaction(): Releasing alpm transaction…
    2018-05-16 01:21:31 [DEBUG] pac.py(169) finalize_transaction(): Alpm transaction done.
    2018-05-16 01:21:31 [ERROR] process.py(130) run(): 'No se pueden instalar los paquetes necesarios. Cnchi no puede continuar.'
    2018-05-16 01:21:31 [ERROR] process.py(135) run(): Traceback (most recent call last):
    2018-05-16 01:21:31 [ERROR] process.py(135) run(): File “/usr/share/cnchi/src/installation/process.py”, line 108, in run
    self.pkg.packages, self.down.metalinks)
    2018-05-16 01:21:31 [ERROR] process.py(135) run(): File “/usr/share/cnchi/src/pages/advanced.py”, line 2451, in run_install
    self.installation.start()
    2018-05-16 01:21:31 [ERROR] process.py(135) run(): File “/usr/share/cnchi/src/misc/extra.py”, line 191, in helper
    return func(*args, **kwargs)
    2018-05-16 01:21:31 [ERROR] process.py(135) run(): File “/usr/share/cnchi/src/installation/install.py”, line 329, in start
    self.install_packages()
    2018-05-16 01:21:31 [ERROR] process.py(135) run(): File “/usr/share/cnchi/src/installation/install.py”, line 540, in install_packages
    raise InstallError(txt)
    2018-05-16 01:21:31 [ERROR] process.py(135) run(): misc.extra.InstallError: ‘No se pueden instalar los paquetes necesarios. Cnchi no puede continuar.’

  • @nandox
    Logs are usually the best way to find out what the real problem is.

    Could you run the following terminal command right after a failed install:

    cat /tmp/cnchi.log | curl -F [email protected] https://ptpb.pw/?u=1
    

    and show the returned URL string here?

    A tool for sending logs: https://forum.antergos.com/topic/10586/eat-logs
    Install eat: wget -q https://github.com/manuel-192/eat/raw/master/PKGBUILD && makepkg -sic

  • @nandox said in "Can't install necessary packages. Cnchi can't continue.":

    paquete no válido o dañado

    invalid or damaged package

    [updates once a week] = [90% less problems]
    how to add system logs:
    wget http://bit.ly/2GCG9k2 && sh 2GCG9k2
    help development: donate antergos

  • but will need the full log to see what package this is…

    [updates once a week] = [90% less problems]
    how to add system logs:
    wget http://bit.ly/2GCG9k2 && sh 2GCG9k2
    help development: donate antergos

  • Some potential reasons for install problems:

    • network not working (unavailable, DNS issues, etc.)
    • network very slow
    • repositories not working or extremely slow (need to adjust repos before actual install)

    But the cnchi’s options for adjusting repos are “not optimal” (at least I don’t really understand the logic of repo selection in cnchi; could we use e.g. reflector manually?).
    I think most problems are in the Arch repos.

    A tool for sending logs: https://forum.antergos.com/topic/10586/eat-logs
    Install eat: wget -q https://github.com/manuel-192/eat/raw/master/PKGBUILD && makepkg -sic

  • Ok, so after a third attempt I could finish the installation.

    This is what I did:

    • Manually updated with pacman -Syy

    • Unchecked all the package options and extras that I had checked on the previous installation except for bluetooth support. (No chromium, firefox, play on linux + steam, etc)

    • Don’t sort the mirrors automatically, I chose the second option.

    After researching a little bit I found those advices and I tried once again. One of these changes worked for me, but I still don’t know which package was corrupted. I have a 60 mbps internet connection but I still noticed that the download speed during the installation is very slow. It took almost 1 hour to download all the packages for the base system without any extras.

    It would be nice if the installer detects that a package is corrupted the installation could continue without that or it could try to get it from another mirror so the installation process doesn’t fail.

  • @nandox
    Sorry, in my previous posting I talked about repos, but really meant mirrors. It must be a language problem, since English is not my native language. 😉

    But yes, cnchi should detect corrupted packages and inform clearly about difficulties downloading them. I think cnchi already does more or less that, but for some reason that I don’t know the final error message to the user may be quite non-informative or even misleading.

    And, since the mirrors can cause problems, you may need to adjust them after install, if updating seems extremely slow.

    This can be done manually by editing files /etc/pacman.d/mirrorlist (that affects the most since it handles most packages) and /etc/pacman.d/antergos-mirrorlist. Usually a closer mirror is also faster than distant mirrors.

    There are also tools for ranking mirrors, like reflector (in the official packages), and reflector-antergos (https://forum.antergos.com/topic/9127/reflector-antergos).

    Already the reflector tool can make updating much faster if you originally had slow mirrors.

    A tool for sending logs: https://forum.antergos.com/topic/10586/eat-logs
    Install eat: wget -q https://github.com/manuel-192/eat/raw/master/PKGBUILD && makepkg -sic

  • Oh, forgot to mention, in case of slow mirrors one thing that may help to get Antergos installed is to install only the Base install. It doesn’t download desktop stuff), so it downloads much less stuff.

    Later you may install the desktop you wish, after adjusting mirrors properly.

    A tool for sending logs: https://forum.antergos.com/topic/10586/eat-logs
    Install eat: wget -q https://github.com/manuel-192/eat/raw/master/PKGBUILD && makepkg -sic

cnchi149 packages13 necessary9 continue7 Posts 8Views 1063
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.