[SOLVED] 'sh: nano: command not found' on installation in arch-chroot

Hello,
I'm trying to install Arch Linux on a new laptop with a UEFI motherboard, however while following the beginners' guide on the step which requires you to arch-chroot into the /mnt base system to modify the locale.gen file using nano, I receive the following error:
'sh: nano: command not found'
I have mounted the partitions, installed the base system and have tried searching online for a solution but nothing seems to work. Also, nano works while outside of arch-root so I believe it is installed on my system.
I'm almost completely out of ideas on how to fix this, so any help or a point in the right direction would be greatly appreciated.
- Thanks.
Last edited by tyor (2013-01-20 12:01:54)

I had the same problem during my first attempts to install Arch. When you use the command as stated:
# pacstrap -i /mnt base base-devel
it seems not all packages were downloaded/installed. Now I know it was my own fault by not selecting the packages properly.
In the beginnersguide right above the pacstrap command is stated:
The -i switch can be omitted if you wish to install every package from the base and base-devel groups without prompting.
So I did, and installed without a problem

Similar Messages

  • [SOLVED] sudo and "command not found" problems

    Ok, the problem I've got is this: sudo has suddenly started acting real strange. It can't find any programs. For example, if i type
    sudo echo
    It just goes
    sudo: echo: command not found
    And another problem I've got, is that as a regular user, it can't find programs in /sbin, or other "exotic" places. For example it can't find firefox, because it's not in /usr/bin or /bin, but in /opt/mozilla/bin.
    Please, help me!
    Last edited by mrpedroxx (2008-06-14 13:23:49)

    sudo -V outputs this
    Sudo version 1.6.9p15
    $PATH outputs
    bash: /usr/gnu/bin:/usr/local/bin:/bin:/usr/bin:.: No such file or directory
    pacman -Q firefox outputs
    firefox 2.0.0.7-1
    Yeah, maybe I should update it anyway
    And /var/log/errors.log does contain stuff about hard disks, but it's just me mounting my iPod and the Windows partition on my hd

  • [solved]-bash: open: command not found

    Hello, I'm following the tutorial here to set up pure-ftpd https://wiki.archlinux.org/index.php/SFTP
    When I get to the step to create a self signed certificate, this happens
    [root@(none) private]# open ssl req -x509 -nodes -newkey rsa:1024 -keyout \
    > /etc/ssl/private/pure-ftpd.pem \
    > -out /etc/ssl/private/pure-ftpd.pem
    -bash: open: command not found
    Which package do I have to install to get the "open" command?
    Last edited by learnerofskills (2012-01-26 06:39:11)

    skunktrader wrote:take out the space between open and ssl
    That worked. I feel really dumb and embarrassed now. Thank you.

  • [SOLVED] rc.d: command not found

    I am in the process of installing xfce. One of the steps is to run:
    rc.d start dbus
    However, when I run this it returns:
    bash: rc.d: command not found
    Am I missing something?
    Last edited by george55 (2011-08-11 04:03:16)

    Inxsible wrote:
    rc.d is not a command. its a location under /etc. your command should be
    sudo /etc/rc.d/dbus start
    $ which rc.d
    /sbin/rc.d
    $pacman -Qo /sbin/rc.d
    /sbin/rc.d is owned by initscripts 2011.07.3-1
    $ rc.d --help
    usage: rc.d <action> <daemon> [daemon] ...
    rc.d list [started|stopped]
    rc.d help
    <daemon> is the name of a script in /etc/rc.d
    <action> can be a start, stop, restart, reload, status, ...
    WARNING: initscripts are free to implement or not the above actions.
    e.g: rc.d list
    rc.d list started
    rc.d help
    rc.d start sshd gpm
    Initscripts update, part 1
    Initscripts update, part 2
    @george55
    If rc.d command doesn't work, check your initscripts version, and check your $PATH.

  • [solved] tuxguitar - java: command not found

    Hi,
    I installed tuxguitar via pacman. When I start it I get this error
    /usr/share/TuxGuitar-0.9.1-linux-gtk-x86/tuxguitar: line 27: java: command not found
    this is the content of that file, line 27 is the last one
    #!/bin/bash
    ##SCRIPT DIR
    DIR_NAME=`dirname "$0"`
    DIR_NAME=`cd "$DIR_NAME"; pwd`
    cd "${DIR_NAME}"
    ##JAVA
    if [ "${JAVA}" == "" ]; then
    if [ "${JAVA_HOME}" != "" ]; then
    JAVA=${JAVA_HOME}/bin/java
    else
    JAVA=java
    fi
    fi
    ##CLASSPATH
    CLASSPATH=$CLASSPATH:./TuxGuitar.jar:lib/swt.jar:lib/itext-1.4.5.jar:./share/
    ##LIBRARY_PATH
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:lib/
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/lib
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib/jni
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib
    ##MAINCLASS
    MAINCLASS=org.herac.tuxguitar.gui.TuxGuitar
    ##JVM ARGUMENTS
    VM_ARGS="-Xms128m -Xmx128m"
    ##LAUNCH
    ${JAVA} ${VM_ARGS} -cp :${CLASSPATH} -Djava.library.path="${LD_LIBRARY_PATH}" ${MAINCLASS} "$1" "$2"
    the dependencies jre and swt are installed...
    Last edited by SiD (2007-02-23 13:23:49)

    If jre got installed as a dep together with tuxguitar you first have to source /etc/profile as Java resides in /opt and the PATH variable needs to be refreshed.

  • [SOLVED] bash: strip: command not found

    In which package is the strip command supposed to be? I must have deleted it unadvertedly...
    Thanks in advance.
    Last edited by iosonofabio (2011-06-15 10:28:23)

    [Archer][~]
    pkgfile strip
    core/binutils

  • [SOLVED] startxfce4 command not found?

    Greetings,
    today I finally got some courage and decided to give archlinux a try on my laptop since I grew tired of ubuntu. Instalation was going fine until I decided to install xfce4. Like the wiki says, I took care of installing all of the necessary X packages, and even tried it successfully with the basic twm  interface thing. However, after installing the xfce4 package through pacman, when I try to run execute startxfce4 it just gives me a "command not found" error. I've went to /usr/bin and in fact startxfce4 is not there. Any ideas what might be wrong?
    EDIT: Reason for all the problems was that I forgot to actually update the system running the "pacman -Syu". I updated on the second install and when I executed xfce4 all the conflicts dissapeared.
    Last edited by apokaliptik (2012-01-09 21:34:02)

    https://wiki.archlinux.org/index.php/Xfce4#Installation
    wiki wrote:Pacman will ask you to select the packages to install, but you probably want to get them all by simply pressing Enter.
    [karol@black ~]$ pacman -S xfce4
    :: There are 16 members in group xfce4:
    :: Repository extra
    1) exo 2) garcon 3) gtk-xfce-engine 4) terminal 5) thunar 6) tumbler
    7) xfce-utils 8) xfce4-appfinder 9) xfce4-mixer 10) xfce4-panel
    11) xfce4-session 12) xfce4-settings 13) xfconf 14) xfdesktop 15) xfwm4
    16) xfwm4-themes
    Enter a selection (default=all):
    xfce-utils is the 7th member of xfce4 group; it should be downloaded and installed. Don't know why it wasn't installed in your case.
    Please remember to mark the thread as solved as per our forum rules https://bbs.archlinux.org/viewtopic.php?id=130309 :-)

  • [SOLVED]pacstrab: command not found

    Hey,
    I'm trying to install Arch together with Windows 8.1... No problems with UEFI, since I already had Arch installed one time but had to remove it and my notebook doesn't came with preinstalled windows.
    I made an ext4 partition, mounted root, established an internet connection and so on. But every time I try to run "pacstrap /mnt base base-devel" or just only "pacstrab" I receive the message:
    command not found: pacstrab
    What is this!? I don't know how to solve this problem... This is just weird because that is not my first Arch installation. Checksum of my .iso is correct.
    Greets
    Last edited by Arche (2013-11-03 09:17:53)

    'pacstrab' only was just a test in sheer desperation.
    OH MY GOD. I can't be so dumb... Will test it if I really wrote pacstrab in my installtion, too.
    EDIT: Please delete this... I'm so disgusting... Trying everything for a hour and I'm just too dumb to type...
    Last edited by Arche (2013-11-03 09:12:34)

  • [solved] gconfpkg: command not found

    From my pacman output:
    (11/14) upgrading fusion-icon
    ==> Updating icon-cache.....
    /tmp/alpm_Napi2c/.INSTALL: line 32: gconfpkg: command not found
    error: command failed to execute correctly
    I reinstalled gconf and re-updated fusion-icon, the installation completed succesfully.
    This has happened before, should I be worried?
    p.s. these errors are not logged in pacman.log!
    Last edited by stefanwilkens (2009-12-03 13:35:44)

    problem solved, the location of gconfpkg wasn't in PATH
    locate gconfpkg
    /usr/sbin/gconfpkg
    I added /usr/sbin to the PATH definition in /etc/profile. Rebooted and all was working as it should

  • Virtualbox problem: modprobed_db: command not found[SOLVED]

    I'm running arch in virtualbox.
    and when I run # virtualbox, error:
    "VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: libQtCore.so.4: cannot open shared object file: No such file or directory"
    wiki write: "Note: You may need to update the kernel modules db in order to avoid 'no such file or directory' error when loading vboxdrv. Run: modprobed_db."
    but result:
    "# modprobed_db
    bash: modprobed_db: command not found
    Last edited by lqs (2012-07-27 09:00:44)

    modprobed_db can be found in the AUR. It collects all modules which have ever been loaded on your system. It's very practical if you compile a custom kernel and only want to include the modules you need.
    I think this doesn't solve your problem. Your system is missing the file /usr/lib/libQtCore.so.4 Do you have [testing] enabled? If so, do you also have [community-testing] enabled? I'll need more input to be able to help properly.

  • [solved] yaourt messed up pacman - "pacman: command not found"

    Hi,
    i got some "xxxxxx not found on AUR" messages after doing a "yaourt -Syu --aur" so I began to remove them with "yaourt -Rs xxxxxxx".
    When there was only one left "aqpm2" this is what happened:
    [studio@myhost ~]$ yaourt -Rs aqpm2
    verificando dependências...
    Remover (2): aqpm2-20100615-2  qjson-0.7.1-2
    Tamanho total dos pacotes a serem removidos:   2,93 MB
    Deseja remover estes pacotes? [S/n] s
    (1/2) removendo aqpm2                                                                                                     [##########################################################################] 100%
    (2/2) removendo qjson                                                                                                     [##########################################################################] 100%
    /usr/lib/yaourt/basicfunctions.sh: line 10: pacman: comando não encontrado
    /usr/lib/yaourt/basicfunctions.sh: line 10: pacman: comando não encontrado
    /usr/bin/yaourt: line 201: testdb: comando não encontrado
    now pacman is broken:
    [studio@myhost ~]$ pacman
    bash: pacman: comando não encontrado
    [studio@myhost ~]$ yaourt -Syu --aur
    /usr/lib/yaourt/basicfunctions.sh: line 10: pacman: comando não encontrado
    You are not allowed to launch /usr/bin/pacman with sudo
    Please enter root password
    Senha:
    bash: /usr/bin/pacman: Arquivo ou diretório não encontrado
    ==> WARNING: problem in pkgbuild.sh library
    /usr/lib/yaourt/basicfunctions.sh: line 10: pacman: comando não encontrado
    /usr/lib/yaourt/basicfunctions.sh: line 10: pacman: comando não encontrado
    /usr/lib/yaourt/basicfunctions.sh: line 10: pacman: comando não encontrado
    ==> Searching for new version on AUR
    /usr/lib/yaourt/basicfunctions.sh: line 10: pacman: comando não encontrado
    Unable to open file: /etc/pacman.conf
    /usr/lib/yaourt/basicfunctions.sh: line 10: pacman: comando não encontrado
    /usr/lib/yaourt/basicfunctions.sh: line 10: pacman: comando não encontrado
    /usr/bin/yaourt: line 201: testdb: comando não encontrado
    [studio@myhost ~]$ sudo pacman -Syu
    sudo: pacman: command not found
    please help
    Last edited by capoeira (2010-10-16 14:33:39)

    capoeira wrote:
    can I use pacman-static from this repro?
    I'm afraid to break system even more
    http://repo.archmobile.org/x86_64/archmobile/
    OK, that gave me a segfault, so
    I downloaded the package and copied the folders to root.
    no pacman works but gaves me this errors afterwards:
    pacman-3.4.1-1: description file is missing
    pacman-3.4.1-1: dependency file is missing
    pacman-3.4.1-1: file list is missing
    how do I solve this?
    BTW: should I make a bug-report??
    EDIT: any package I try to instal I get this error:
    erro: não foi possível abrir o arquivo /var/lib/pacman/local/pacman-3.4.1-1/depends: Arquivo ou diretório não encontrado
    (it's in portuguese but i think its understandable)
    Last edited by capoeira (2010-10-15 22:08:36)

  • [SOLVED]mkinitcpio command not found!??

    Hello all,
    I receive the following when trying to rebuild the stock kernel:
    [taylor-unix@Legion Desktop]$ sudo mkinitcpio -p kernel26
    sudo: mkinitcpio: command not found
    [taylor-unix@Legion Desktop]$
    The same error occurs even after the re-installation of 'mkinitcpio'.
    I've had the same problem with 'hwdetect', regardless of whether I've reinstalled it.
    I seem to have commands that do not work on this system, like 'shutdown' for example.. 'shutdown: command not found'. Perhaps I've missed installing a crucial package?
    I need help..
    My sincerest thanks in advance.
    Last edited by edward.taylor89 (2010-11-10 17:39:46)

    Here as follows:
    mkinitcpio /etc/
    mkinitcpio /etc/mkinitcpio.conf
    mkinitcpio /etc/mkinitcpio.d/
    mkinitcpio /etc/mkinitcpio.d/example.preset
    mkinitcpio /lib/
    mkinitcpio /lib/initcpio/
    mkinitcpio /lib/initcpio/functions
    mkinitcpio /lib/initcpio/hooks/
    mkinitcpio /lib/initcpio/hooks/btrfs
    mkinitcpio /lib/initcpio/hooks/consolefont
    mkinitcpio /lib/initcpio/hooks/dmesg
    mkinitcpio /lib/initcpio/hooks/keymap
    mkinitcpio /lib/initcpio/hooks/memdisk
    mkinitcpio /lib/initcpio/hooks/net
    mkinitcpio /lib/initcpio/hooks/resume
    mkinitcpio /lib/initcpio/hooks/sleep
    mkinitcpio /lib/initcpio/hooks/udev
    mkinitcpio /lib/initcpio/init
    mkinitcpio /lib/initcpio/init_functions
    mkinitcpio /lib/initcpio/install/
    mkinitcpio /lib/initcpio/install/autodetect
    mkinitcpio /lib/initcpio/install/base
    mkinitcpio /lib/initcpio/install/btrfs
    mkinitcpio /lib/initcpio/install/consolefont
    mkinitcpio /lib/initcpio/install/dmesg
    mkinitcpio /lib/initcpio/install/dsdt
    mkinitcpio /lib/initcpio/install/filesystems
    mkinitcpio /lib/initcpio/install/fw
    mkinitcpio /lib/initcpio/install/ide
    mkinitcpio /lib/initcpio/install/keymap
    mkinitcpio /lib/initcpio/install/memdisk
    mkinitcpio /lib/initcpio/install/net
    mkinitcpio /lib/initcpio/install/pata
    mkinitcpio /lib/initcpio/install/pcmcia
    mkinitcpio /lib/initcpio/install/resume
    mkinitcpio /lib/initcpio/install/sata
    mkinitcpio /lib/initcpio/install/scsi
    mkinitcpio /lib/initcpio/install/sleep
    mkinitcpio /lib/initcpio/install/udev
    mkinitcpio /lib/initcpio/install/usb
    mkinitcpio /lib/initcpio/install/usbinput
    mkinitcpio /lib/initcpio/udev/
    mkinitcpio /lib/initcpio/udev/01-memdisk.rules
    mkinitcpio /lib/initcpio/udev/load-modules.sh
    mkinitcpio /sbin/
    mkinitcpio /sbin/mkinitcpio
    mkinitcpio /usr/
    mkinitcpio /usr/share/
    mkinitcpio /usr/share/man/
    mkinitcpio /usr/share/man/man5/
    mkinitcpio /usr/share/man/man5/mkinitcpio.5.gz

  • [SOLVED] "ip: command not found" after power failure

    Hello,
    After a power failure my Arch box has no network connection available. An 'ip addr' command showed me the outrageous error message :
    bash: ip: command not found
    How could this ever happen ? How do I recover from such an error ?
    Last edited by singleton (2014-12-19 17:34:58)

    I wasn't doing any system maintenance when the power failed, just some regular browsing.
    Here's the output of each command :
    pacman -Qk
    https://bpaste.net/show/e06fb962c42c
    echo $PATH
    /usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
    ls -l /usr/bin/ip
    ls: cannot access /usr/bin/ip: No such file or directory
    pacman -Qi iproute2
    error: package 'iproute2' was not found
    I 'm suspecting I will need to use a fresh installation CD to get over this. Any guidance will be greatly appreciated though!

  • [solved] qdbus: command not found = Netbeans can't connect to KWallet

    I had a problem with Netbeans using its fallback keyring instead of KWallet.
    My research showed that this happened because Netbeans wasn't able to use qdbus
    exception thrown while invoking the command "[qdbus, org.kde.kwalletd, /modules/kwalletd, org.kde.KWallet.isEnabled]"
    I tried to run qdbus with
    qdbus org.kde.kwin /KWin supportInformation
    Same outcome; qdbus: command not found.
    Searching for qdbus, I found it in /usr/lib/qt4/bin which obviously isn't part of $PATH.
    I "solved" the issue by creating a softlink in /usr/bin/
    cd /usr/bin && sudo ln -s /usr/lib/qt4/bin/qdbus qdbus
    It works, both the KWin command as well as Netbean's KWallet integration, but is that how it should be done?
    Haven't I rather a package missing, like qt5 or something?
    Or is my standard "throw softlinks at the problem"-procedure alright here?
    Last edited by Caldazar (2014-01-25 20:55:02)

    Thanks! That's better although it doesn't work out of the box either.
    qtchooser apparently sends the applications to '/usr/lib/qt/bin/qdbus' which doesn't exist, Arch uses /usr/lib/qt4' instead
    qdbus: could not exec '/usr/lib/qt/bin/qdbus': No such file or directory
    So I had to link those too.
    sudo ln -s /usr/lib/qt4 /usr/lib/qt
    I don't know whether that's a problem with qtchooser or rather with some of my environment variables being wrong.
    But anyways, linking the directories 'qt' to 'qt4' makes a whole lot more sense to me than micromanaging the paths of single binaries or libraries.
    P.S. @ChemBro
    Yes, using qdbus-qt4 seems to work with commands I have control over but telling applications like Netbeans to use that is a different beast, at least from a user-perspective.
    Maybe the packagers can do something about that, but I don't know.
    Last edited by Caldazar (2014-01-21 15:03:39)

  • [solved] hostname command not found

    Some months ago i've got this problem:
    startx: line 127 hostname command not found
    that i solved with
    pacman -S net-tools
    Today the problem is here again O.o
    I've reinstalled net-tools and coreutils but nothing
    Last edited by polslinux (2011-08-26 11:31:26)

    http://mailman.archlinux.org/pipermail/ … 21397.html
    Edit: inetutils from [testing] http://www.archlinux.org/packages/testi … inetutils/ have the hostname binary and it was removed from the [testing] net-tools http://www.archlinux.org/packages/testi … net-tools/
    Packages in [core] still work the old way: net-tools provides hostname.
    Last edited by karol (2011-08-26 10:29:33)

Maybe you are looking for

  • How can I get iMovie '09 to recognize videos in my iPhoto Library (on an external HD)?

    Because of the amount of material I have, I use iPhoto Library Manager to manage three iPhoto libraries - one on my mac and two on separate external hard drives.  I can import videos/pictures directly from my camera to any of the libraries, but when

  • How to export the data from an excel file to Oracle database by using macro

    Hi, I want to export data from an excel file into Oracle database.There is one method that by creating the macros through excel we are able to do this. can anybody please send me the code to create macros? Thanks in advance. Regards, Surendra.V

  • Can't see the podcast picture and episodes on iTunes

    Hi, My podcast feed was added to iTunes store about a week ago. It was working well for a couple of days, and now, I can't see my episodes and my podcast picture on iTunes catalogue. I was wondering what might be the problem? Here's the XML file crea

  • Virtual Directory Server

    Hi, Is the Virtual Directory Server a necessary piece of an IDM installation? Many Thanks, Edited by: Chris@Kerr on Oct 14, 2009 2:26 PM

  • Cannot close apps

    It has been many a times that i cannot close all the apps. Even if i close e.g an app say calendar then too it will show the circle which means it is opened. If at all the calendar is closed then some other app will get opened say gallery or so. When