3

So I just booted up my raspberry pi running Linux Arch. I read several posts that instructed my to update the system using pacman -Syu so I did so and then attempted to reboot my pi.

However it wouldn't restart (the green light blinks once then nothing). I reimaged the SD card and it works fine again until I run pacman -Syu.

I also tried pacman -Syu --ignore filesystem and then forced filesystem, with the same result.

The output is what I'd expect, it updates around 50 packages, a few are saved as .pacnews so I went and manually merged them according to the advice I found online, I tried several different possible ways on merging them as well, nothing seemed to work.

Does anyone have any ideas what would be causing this?

user3797
  • 103
  • 2

3 Answers3

4

Unfortunately, when packages with config files are upgraded, the files can change. To deal with these files pacman appends them with the suffix .pacnew.

Merging of .pacnew files can be a tricky process. You can find more information about them on the Arch Wiki.

You can find your pacnew files with the following command:

find /etc -regextype posix-extended -regex ".+\.pacnew" 2> /dev/null

An easy way to merge the files is to use Yaourt if you have it. The following command will take you step by step through the process:

yaourt -C
Jivings
  • 22,208
  • 11
  • 88
  • 138
2

I am also using the Arch Linux ARM image from the raspberrypi.org and I did update the packages with the pacman -Syu command a couple of times, just did it now, without any problem.

Do you try to update the packages just after reimaging the SD card ? Do you get an error message when running that command ?

You could try to skip the kernel and firmware packages by adding the following line in /etc/pacman.conf and see how it goes:

IgnorePkg   = linux-raspberrypi,linux-headers-raspberrypi,raspberrypi-firmware
tjoe
  • 126
  • 2
0

The Pi being what it is (brittle), and an upgrade changing many files, it is quite possible that you actually ran into a problem with the SD card. See Filesystem corruption on the SD card for an example.

May be trying with another card? Or trying to underclock the Pi?

bortzmeyer
  • 472
  • 2
  • 4
  • 12