You are not logged in.

#1 2016-05-28 17:40:13

GutoAndreollo
Member
Registered: 2015-03-07
Posts: 2

Botched pacman update and hooks

So, due to my total mishandling of free disk space while simultaneously building VMs and doing a (reasonably big) system update at the same time, I ran into the situation of pacman running out of space mid-upgrade.

I was updating some 120 80 packages or so (i've yet to grab the full list from pacman.log), and the process stopped dead in the middle, saying it ran out of space.

Trouble is, there ARE packages in there that I know would need a hook action in the end (chief being the dkms hook, that didn't rebuild my external monitor's drivers correctly. Also, the broken gtk frames are a dead giveaway that something didn't go as planned on that part.

Now, my options are:
- Rolling back a snapshot of my system. I can do this without touching /home or other important data filesystems, and I've basically set up my system with this recovery in mind from the get-go.
- Trying to figure out what hooks go where and how?
- Trying to rollback packages to previous versions and re-updating?
- Some other kind of sorcery that I'm not yet familiar with

So, what do you suggest? With the new hook system, is there a determinate course of action for this? (previously, every package mostly took care of themselves)

Now, I'm probably going to rollback the snapshot, I've snapper and my partitioning setup precisely so that I can do this, but I just keep wondering if I didn't have that recourse, what would be the best course of action.

Logs:

[2016-05-17 16:37] [PACMAN] Running 'pacman --color auto -Sy'
[2016-05-17 16:37] [PACMAN] synchronizing package lists
[2016-05-17 16:39] [PACMAN] Running 'pacman --color auto -S -uu'
[2016-05-17 16:40] [PACMAN] starting full system upgrade
[2016-05-17 16:51] [ALPM] running '70-dkms-remove.hook'...
[2016-05-17 16:51] [ALPM-SCRIPTLET] ==> dkms -q remove -q -m evdi -v 1.0.335 -k 4.5.2-1-ARCH
[2016-05-17 16:51] [ALPM] transaction started
[2016-05-17 16:51] [ALPM] upgraded glibc (2.23-2 -> 2.23-4)
[2016-05-17 16:51] [ALPM-SCRIPTLET] Generating locales...
[2016-05-17 16:51] [ALPM-SCRIPTLET]   en_GB.UTF-8... done
[2016-05-17 16:51] [ALPM-SCRIPTLET]   en_US.UTF-8... done
[2016-05-17 16:51] [ALPM-SCRIPTLET]   pt_BR.UTF-8... done
[2016-05-17 16:51] [ALPM-SCRIPTLET] Generation complete.
[2016-05-17 16:51] [ALPM] upgraded libseccomp (2.2.3-1 -> 2.3.1-1)
[2016-05-17 16:52] [ALPM] upgraded linux (4.5.2-1 -> 4.5.4-1)
[2016-05-17 16:52] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
[2016-05-17 16:52] [ALPM-SCRIPTLET] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
[2016-05-17 16:52] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2016-05-17 16:52] [ALPM-SCRIPTLET] ==> Starting build: 4.5.4-1-ARCH
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [consolefont]
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [encrypt]
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [btrfs]
[2016-05-17 16:52] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2016-05-17 16:52] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
[2016-05-17 16:52] [ALPM-SCRIPTLET] ==> Image generation successful
[2016-05-17 16:52] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'systemd'
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio-sd.conf -g /boot/initramfs-linux-sd.img
[2016-05-17 16:52] [ALPM-SCRIPTLET] ==> Starting build: 4.5.4-1-ARCH
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [systemd]
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [autodetect]
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [sd-vconsole]
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [consolefont]
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [sd-encrypt]
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [btrfs]
[2016-05-17 16:52] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2016-05-17 16:52] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-sd.img
[2016-05-17 16:52] [ALPM-SCRIPTLET] ==> Image generation successful
[2016-05-17 16:52] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2016-05-17 16:52] [ALPM-SCRIPTLET] ==> Starting build: 4.5.4-1-ARCH
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [base]
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [udev]
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [modconf]
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [block]
[2016-05-17 16:52] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2016-05-17 16:52] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [consolefont]
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [encrypt]
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [filesystems]
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [keyboard]
[2016-05-17 16:52] [ALPM-SCRIPTLET]   -> Running build hook: [btrfs]
[2016-05-17 16:52] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2016-05-17 16:52] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
[2016-05-17 16:52] [ALPM-SCRIPTLET] ==> Image generation successful
[2016-05-17 16:52] [ALPM] upgraded acpi_call (1.1.0-45 -> 1.1.0-46)
[2016-05-17 16:52] [ALPM] upgraded glib2 (2.48.0-2 -> 2.48.1-1)
[2016-05-17 16:52] [ALPM] upgraded xproto (7.0.28-1 -> 7.0.29-1)
[2016-05-17 16:52] [ALPM] upgraded gtk-update-icon-cache (3.20.3-4 -> 3.20.4-2)
[2016-05-17 16:53] [ALPM] upgraded llvm-libs (3.7.1-1 -> 3.8.0-1)
[2016-05-17 16:53] [ALPM] upgraded mesa (11.2.1-1 -> 11.2.2-1)
[2016-05-17 16:53] [ALPM] upgraded mesa-libgl (11.2.1-1 -> 11.2.2-1)
[2016-05-17 16:53] [ALPM] upgraded adwaita-icon-theme (3.20-1 -> 3.20-2)
[2016-05-17 16:53] [ALPM] upgraded ca-certificates-utils (20150402-1 -> 20160507-1)
[2016-05-17 16:53] [ALPM] upgraded ca-certificates-mozilla (3.23-3 -> 3.23-4)
[2016-05-17 16:53] [ALPM] upgraded ca-certificates-cacert (20140824-2 -> 20140824-3)
[2016-05-17 16:53] [ALPM] upgraded ca-certificates (20150402-1 -> 20160507-1)
[2016-05-17 16:53] [ALPM] upgraded aria2 (1.22.0-1 -> 1.23.0-1)
[2016-05-17 16:53] [ALPM] upgraded augeas (1.4.0-1 -> 1.5.0-1)
[2016-05-17 16:53] [ALPM] upgraded bc (1.06.95-1 -> 1.06.95-2)
[2016-05-17 16:53] [ALPM] upgraded boost-libs (1.60.0-4 -> 1.60.0-5)
[2016-05-17 16:53] [ALPM] upgraded cpio (2.12-2 -> 2.12-3)
[2016-05-17 16:53] [ALPM] upgraded dosfstools (3.0.28-1 -> 4.0-3)
[2016-05-17 16:53] [ALPM] upgraded popt (1.16-7 -> 1.16-8)
[2016-05-17 16:53] [ALPM] upgraded efivar (0.21-1 -> 0.23.30.gc5685d8-1)
[2016-05-17 16:53] [ALPM] upgraded efibootmgr (0.12-1 -> 0.12.25.g75d2580-1)
[2016-05-17 16:53] [ALPM] upgraded glib-networking (2.48.1-1 -> 2.48.2-1)
[2016-05-17 16:53] [ALPM] upgraded rest (0.7.93-1 -> 0.8.0-1)
[2016-05-17 16:53] [ALPM] upgraded gtk3 (3.20.3-4 -> 3.20.4-2)
[2016-05-17 16:53] [ALPM] upgraded gnome-desktop (1:3.20.1-1 -> 1:3.20.2-1)
[2016-05-17 16:53] [ALPM] upgraded evince (3.20.0-1 -> 3.20.0-2)
[2016-05-17 16:53] [ALPM] upgraded ffmpeg2.8 (2.8.6-1 -> 2.8.7-1)
[2016-05-17 16:53] [ALPM] upgraded fftw (3.3.4-1 -> 3.3.4-2)
[2016-05-17 16:53] [ALPM] upgraded file-roller (3.20.1-1 -> 3.20.2-1)
[2016-05-17 16:53] [ALPM] upgraded nss (3.23-3 -> 3.23-4)
[2016-05-17 16:53] [ALPM] upgraded flashplugin (11.2.202.616-2 -> 11.2.202.621-1)
[2016-05-17 16:53] [ALPM] upgraded geany (1.27-1 -> 1.27-2)
[2016-05-17 16:53] [ALPM] upgraded gnome-icon-theme-symbolic (3.12.0-3 -> 3.12.0-4)
[2016-05-17 16:53] [ALPM] upgraded gnome-icon-theme-extras (3.12.0-2 -> 3.12.0-3)
[2016-05-17 16:53] [ALPM] upgraded gnome-themes-standard (3.20-1 -> 3.20.2-1)
[2016-05-17 16:53] [ALPM] upgraded libksba (1.3.3-1 -> 1.3.4-1)
[2016-05-17 16:53] [ALPM] upgraded gnupg (2.1.12-1 -> 2.1.12-2)
[2016-05-17 16:53] [ALPM] upgraded libnm-glib (1.2.0-3 -> 1.2.2-1)
[2016-05-17 16:53] [ALPM] upgraded gufw (15.10.0-1 -> 15.10.0-2)
[2016-05-17 16:53] [ALPM] upgraded gvfs (1.28.1-1 -> 1.28.2-1)
[2016-05-17 16:53] [ALPM] upgraded gvfs-goa (1.28.1-1 -> 1.28.2-1)
[2016-05-17 16:53] [ALPM] upgraded gvfs-google (1.28.1-1 -> 1.28.2-1)
[2016-05-17 16:53] [ALPM] upgraded gvfs-gphoto2 (1.28.1-1 -> 1.28.2-1)
[2016-05-17 16:53] [ALPM] upgraded gvfs-mtp (1.28.1-1 -> 1.28.2-1)
[2016-05-17 16:53] [ALPM] upgraded gvfs-smb (1.28.1-1 -> 1.28.2-1)
[2016-05-17 16:53] [ALPM] upgraded imagemagick (6.9.3.10-1 -> 6.9.4.0-1)
[2016-05-17 16:53] [ALPM] warning: /etc/hp/hplip.conf installed as /etc/hp/hplip.conf.pacnew
[2016-05-17 16:53] [ALPM] upgraded hplip (3.16.5-1 -> 3.16.5-3)
[2016-05-17 16:53] [ALPM] upgraded lib32-glibc (2.23-2 -> 2.23-4)
[2016-05-17 16:53] [ALPM] upgraded lib32-llvm-libs (3.7.1-1 -> 3.8.0-1)
[2016-05-17 16:53] [ALPM] upgraded lib32-mesa (11.2.1-1 -> 11.2.2-1)
[2016-05-17 16:53] [ALPM] upgraded lib32-mesa-libgl (11.2.1-1 -> 11.2.2-1)
[2016-05-17 16:53] [ALPM] upgraded lib32-mesa-vdpau (11.2.1-1 -> 11.2.2-1)
[2016-05-17 16:53] [ALPM] upgraded libinput (1.2.4-1 -> 1.3.0-1)
[2016-05-17 16:54] [ALPM] upgraded libreoffice-fresh (5.1.2-1 -> 5.1.3-1)
[2016-05-17 16:54] [ALPM] upgraded linux-headers (4.5.2-1 -> 4.5.4-1)
[2016-05-17 16:54] [ALPM] upgraded man-pages (4.05-1 -> 4.06-1)
[2016-05-17 16:54] [ALPM] upgraded mesa-vdpau (11.2.1-1 -> 11.2.2-1)
[2016-05-17 16:54] [ALPM] upgraded nm-connection-editor (1.2.0-1 -> 1.2.2-1)
[2016-05-17 16:55] [ALPM] upgraded network-manager-applet (1.2.0-1 -> 1.2.2-1)
[2016-05-17 16:55] [ALPM] upgraded networkmanager (1.2.0-3 -> 1.2.2-1)
[2016-05-17 16:55] [ALPM] upgraded networkmanager-openvpn (1.2.0-1 -> 1.2.2-1)
[2016-05-17 16:55] [ALPM] upgraded networkmanager-pptp (1.2.0-1 -> 1.2.2-1)
[2016-05-17 16:55] [ALPM] upgraded obs-studio (0.14.1-2 -> 0.14.2-1)
[2016-05-17 16:55] [ALPM] upgraded owncloud-client (2.1.1-3 -> 2.2.0-1)
[2016-05-17 16:55] [ALPM] upgraded p7zip (9.38.1-4 -> 15.14.1-1)
[2016-05-17 16:55] [ALPM] warning: /etc/pacman.d/mirrorlist installed as /etc/pacman.d/mirrorlist.pacnew
[2016-05-17 16:55] [ALPM] upgraded pacman-mirrorlist (20160504-1 -> 20160516-1)
[2016-05-17 16:55] [ALPM] upgraded python-pyparsing (2.1.1-1 -> 2.1.4-1)
[2016-05-17 16:56] [ALPM] upgraded python-pip (8.1.1-1 -> 8.1.2-1)
[2016-05-17 16:56] [ALPM] upgraded python2-pyparsing (2.1.1-1 -> 2.1.4-1)
[2016-05-17 16:56] [ALPM] upgraded python2-pip (8.1.1-1 -> 8.1.2-1)
[2016-05-17 16:56] [ALPM] upgraded source-highlight (3.1.8-7 -> 3.1.8-8)
[2016-05-17 16:57] [ALPM] upgraded spice (0.12.6-2 -> 0.12.7-1)
[2016-05-17 16:57] [ALPM] upgraded vte-common (0.44.1-1 -> 0.44.2-1)
[2016-05-17 16:58] [ALPM] error: could not extract /usr/bin/vte-2.91 (Write failed)
[2016-05-17 16:58] [ALPM] error: could not extract /usr/share/glade/pixmaps/hicolor/22x22/actions/widget-vte-terminal.png (Can't create '/usr/share/glade/pixmaps/hicolor/22x22/actions/widget-vte-terminal.png')
[2016-05-17 16:58] [ALPM] error: could not extract /usr/share/locale/th/LC_MESSAGES/vte-2.91.mo (Can't create '/usr/share/locale/th/LC_MESSAGES/vte-2.91.mo')
[2016-05-17 16:58] [ALPM] error: could not extract /usr/share/locale/si/LC_MESSAGES/vte-2.91.mo (Can't create '/usr/share/locale/si/LC_MESSAGES/vte-2.91.mo')
[2016-05-17 16:58] [ALPM] error: problem occurred while upgrading vte3
[2016-05-17 16:59] [ALPM] upgraded vte3 (0.44.1-1 -> 0.44.2-1)
[2016-05-17 16:59] [ALPM] transaction failed

Last edited by GutoAndreollo (2016-05-28 17:50:02)

Offline

Board footer

Powered by FluxBB