You are not logged in.
I ran pacman -Syu for the first time in a few weeks. Now it seems to hang when upgrading the kernel.
I kill the process and pacman tells me it is already updated now, but no scripts were run and pacman doesn't finish itself.
What should I do from here? I am not sure I want to reboot...
Last edited by b9anders (2014-04-21 22:08:50)
Offline
Our redoubtable administrator @Inxsible had a similar problem in this thread...
No ideas myself, sorry
Offline
Run pacman with debug...
Offline
I would not reboot. I would delete the package from the cache and then try installing it again
I'm sure I've seen another thread like this but can't remember the deatils. From your description I would guess that the initrd hasn't been generated correctly, so rebooting could be an issue.
If all else fails reinstall the previous kernel.
edit: link to the other thread now posted.
Last edited by loafer (2014-04-21 20:18:17)
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Unmounting my disconnected NFS shares and rerunning the upgrade did the trick. Needed the -fl flags to make it work though.
Offline
I am still trying to figure out how to tell pacman to ignore the NFS shares while upgrading the linux kernel. No luck yet.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
I am still trying to figure out how to tell pacman to ignore the NFS shares while upgrading the linux kernel. No luck yet.
pacman should only be touching mountpoints (including NFS) if they're needed for the transaction. Do you have some network-shared CacheDir?
Offline
Inxsible wrote:I am still trying to figure out how to tell pacman to ignore the NFS shares while upgrading the linux kernel. No luck yet.
pacman should only be touching mountpoints (including NFS) if they're needed for the transaction. Do you have some network-shared CacheDir?
I am not using a network-shared CacheDir. Even if I were, would it only happen for the kernel upgrade? I have no issues at all upgrading any other package. Its only the linux package that fails if the NFS server is not available.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
debug output of a hang would be rather interesting, then...
aaargh... this time it runs fine even though my NFS server is switched off and I haven't changed any configuration. I tried re-installing the same version (3.14-1) and I even tried downgrading to an older version and then updating.
I guess I will have to get back to you on this one later falconindy
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
ok sorry to bump this "fixed" thread. but I got the same issue again
I started upgrading linux at 19:52
pacman.log
[2014-05-13 19:52] [PACMAN] Running 'pacman -S --debug linux'
This was when my nfs server (toshiba) was suspended
journalctl
May 13 19:55:13 wolfdale sudo[26023]: pam_unix(sudo:session): session closed for user root
May 13 19:56:07 wolfdale kernel: nfs: server toshiba not responding, timed out
May 13 19:59:23 wolfdale kernel: nfs: server toshiba not responding, still trying
May 13 20:00:13 wolfdale sudo[26159]: inxsible : TTY=unknown ; PWD=/home/inxsible ; USER=root ; COMMAND=/usr/bin/hddtemp /dev/sda
At 20:23 I got bored waiting and started up my nfs server (toshiba)
journalctl
May 13 20:20:15 wolfdale sudo[26455]: pam_unix(sudo:session): session opened for user root by (uid=0)
May 13 20:20:15 wolfdale sudo[26455]: pam_unix(sudo:session): session closed for user root
May 13 20:23:39 wolfdale kernel: nfs: server toshiba OK
May 13 20:23:48 wolfdale sudo[25937]: pam_unix(sudo:session): session closed for user root
and it immediately started generating the ramdisk
journalctl
[2014-05-13 20:23] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
[2014-05-13 20:23] [ALPM-SCRIPTLET] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
[2014-05-13 20:23] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2014-05-13 20:23] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2014-05-13 20:23] [ALPM-SCRIPTLET] ==> Starting build: 3.14.3-2-ARCH
[2014-05-13 20:23] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2014-05-13 20:23] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2014-05-13 20:23] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
[2014-05-13 20:23] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2014-05-13 20:23] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2014-05-13 20:23] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2014-05-13 20:23] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2014-05-13 20:23] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2014-05-13 20:23] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2014-05-13 20:23] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
[2014-05-13 20:23] [ALPM-SCRIPTLET] ==> Image generation successful
[2014-05-13 20:23] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2014-05-13 20:23] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2014-05-13 20:23] [ALPM-SCRIPTLET] ==> Starting build: 3.14.3-2-ARCH
[2014-05-13 20:23] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2014-05-13 20:23] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2014-05-13 20:23] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2014-05-13 20:23] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2014-05-13 20:23] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2014-05-13 20:23] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: smsmdtv
[2014-05-13 20:23] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2014-05-13 20:23] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2014-05-13 20:23] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2014-05-13 20:23] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2014-05-13 20:23] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
[2014-05-13 20:23] [ALPM-SCRIPTLET] ==> Image generation successful
[2014-05-13 20:23] [PACMAN] reinstalled linux (3.14.3-2)
Here's the --debug output of pacman. It's stuck at "extracting /". The only way is to kill it or to switch on the nfs server upon which it completes.
http://pastebin.com/q4UCNtJJ
http://pastebin.com/beP9Jwpu
Had to break up the log in 2 since it was too long for pastebin
Last edited by Inxsible (2014-05-14 04:35:53)
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline