Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just botched the latest update for arch linux. Here's what I did:

pacman -Syu --ignore filesystem,bash

So I logged out before running:

pacman -S bash
pacman -Su

Now I see this:

sh: cannot set terminal process group (-1): Inappropriate ioctl for device
sh: no job control in this shell
sh-4.2# _

Usb/dongle keyboards are not working. My plan is to just backup my home folder and wipe the sd card and start from scratch. But I am curious if there is actually a way to restore from this state?

Since my install is on an SD card (running on raspberry pi) would it be possible to somehow sync bash and run an update through an SD card reader on my laptop?

share|improve this question
up vote 0 down vote accepted

Yes, you can boot ArchLinux from a USB or LiveCD or, in your case, SD card. Then get the internet up, mount the previously used system and run this:

pacman --root /opt/arch32 --cachedir /opt/arch32/var/cache/pacman/pkg --config /opt/arch32/etc/pacman.conf -S bash
pacman --root /opt/arch32 --cachedir /opt/arch32/var/cache/pacman/pkg --config /opt/arch32/etc/pacman.conf -Su

Here "/opt/arch32" is the mountpoint.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .