[SOLVED] gnupg-2.1.0-4 breaks encryption via Emacs

I use GnuPG and Emacs to encrypt password lists.  After the recent upgrade of gnupg to 2.1.0-4, decryption of files works in Emacs, but encryption does not work if any changes were to be saved in these files.  I keep getting this error:
Opening output file: [pub u 1024 17 3B6F8AF143C21F3B 1320594077 1509822256 nil u nil ...], 15
Is anyone experiencing this?
Last edited by tsh (2014-12-23 09:12:21)

The error is in epg--list-keys-1, which the patch upstream fixes.
As a temporary workaround you can just eval the following, which is the function with the patch applied.
(defun epg--list-keys-1 (context name mode)
(let ((args (append (if (epg-context-home-directory context)
(list "--homedir"
(epg-context-home-directory context)))
'("--with-colons" "--no-greeting" "--batch"
"--with-fingerprint" "--with-fingerprint")
(unless (eq (epg-context-protocol context) 'CMS)
'("--fixed-list-mode"))))
(list-keys-option (if (memq mode '(t secret))
"--list-secret-keys"
(if (memq mode '(nil public))
"--list-keys"
"--list-sigs")))
(coding-system-for-read 'binary)
keys string field index)
(if name
(progn
(unless (listp name)
(setq name (list name)))
(while name
(setq args (append args (list list-keys-option (car name)))
name (cdr name))))
(setq args (append args (list list-keys-option))))
(with-temp-buffer
(apply #'call-process
(epg-context-program context)
nil (list t nil) nil args)
(goto-char (point-min))
(while (re-search-forward "^[a-z][a-z][a-z]:.*" nil t)
(setq keys (cons (make-vector 15 nil) keys)
string (match-string 0)
index 0
field 0)
(while (and (< field (length (car keys)))
(eq index
(string-match "\\([^:]+\\)?:" string index)))
(setq index (match-end 0))
(aset (car keys) field (match-string 1 string))
(setq field (1+ field))))
(nreverse keys))))

Similar Messages

  • I want a solution to my problem and i hope to see any number to contact you for information i'm from saudi arabia and the problem has not been solved so far and i sent my problem via a Email twice before

    I want a solution to my problem and i hope to see any number to contact you for information i'm from saudi arabia and the problem has not been solved so far and i sent my problem via a Email twice before

    Most of the people on these forums, including myself, are fellow users - you aren't talking to iTunes Support here.
    Have you contacted iTunes Support as was suggested on your duplicate posts :
    https://discussions.apple.com/message/22178793#22178793
    https://discussions.apple.com/message/22178411#22178411

  • [SOLVED] gnupg 2.1.0-4 upgrade breaks passphrase via STDIN

    I'm not exactly sure what's going wrong -- the upgrade of gnupg from 2.0.26-1 to 2.1.0-4 (which also deprecates dirmngr package) today breaks my duply/duplicity passphrase pipe via STDIN. I ran duply in preview mode and grabbed the basic command from it's initial test+encrypt:
    -- Run cmd -- Test - Encrypt to '15DE5E40' & Sign with '15DE5E40' --
    echo XXXXXX | /usr/bin/gpg --sign --default-key 15DE5E40 --passphrase-fd 0 --batch -r 15DE5E40 --status-fd 1 -o /tmp/duply.5459.1416887390_ENC -e /usr/bin/duply 2>&1
    If I run that by hand, I unexpectedly get a gpg-agent/pinentry GTK dialog popup on my desktop instead of the passphrase being accepted from STDIN; if I downgrade the gnupg package (after killing gpg-agent) + dirmngr then everything works as expected (the passphrase is accepted from STDIN). The /usr/bin/pinentry symlink points to pinentry-gtk-2 in both packages, and I don't use and fancy gnupg configs:
    $ egrep -v "^(#|$)" .gnupg/gpg*.conf
    .gnupg/gpg-agent.conf:default-cache-ttl 300
    .gnupg/gpg-agent.conf:max-cache-ttl 999999
    .gnupg/gpg.conf:require-cross-certification
    .gnupg/gpg.conf:keyserver hkp://keys.gnupg.net
    I tried adding 'pinentry-program /usr/bin/pinentry-curses' as a test and recycled gpg-agent, it "worked" but just hung on an input screen - took a look upstream and see a bunch of 2.1.0 issues but nothing that seems applicable:
    http://git.gnupg.org/cgi-bin/gitweb.cgi … ads/master
    https://bugs.g10code.com/gnupg/issue?@s … ,3,4,5,6,7
    Anyone have an idea what else to try? Nothing in the gpg-agent man page looked applicable, I'm sure it's something to do with 2.1.0 upstream...
    Last edited by TE (2014-11-28 16:39:21)

    starfry wrote:I don't know if it's related to your problem but GPG2.1 doesn't allow pass phrases to be specified in a file or on the command-line. See the page on unattended operation, look at "%ask-passphrase" and "%no-protection" https://www.gnupg.org/documentation/man … ation.html
    Thanks for the link - that's only for gen-key, however. But I do confirm the "--passphrase-fd 0" is supposed to still be working as described in the current docs:
    https://www.gnupg.org/documentation/man … ic-Options
    --passphrase-fd n
        Read the passphrase from file descriptor n. Only the first line will be read from file descriptor n. If you use 0 for n, the passphrase will be read from STDIN. This can only be used if only one passphrase is supplied.
    So in theory the functionality hasn't changed. :-/

  • [SOLVED] GnuPG can't find keyserver

    I'm trying to import the key from the Tor Browser, following the instructions from https://www.torproject.org/docs/verifyi … es.html.en. When I run
    gpg --keyserver x-hkp://pool.sks-keyservers.net --recv-keys 0x4E2C6E8793298290
    I get as output
    gpg: keyserver receive failed: No keyserver available
    I have no idea what's going wrong. When I run the same command under Linux Mint on the same computer, it works fine. I also tried deleting ~/.gnupg but that doesn't help as well.
    Last edited by Clint_arch (2015-05-05 11:12:31)

    Clint_arch wrote:Thanks, that indeed worked. Though I am curious now why it does work on Linux Mint with the leading x-.
    I don't know why it works under Mint (have you tried it recently?). All I can say is that the leading x- usually indicates a non-standatd and/or extended version of the protocol [1].
    PS: remember to mark the thread as [SOLVED] by editing you first post and prepending it to the title: https://bbs.archlinux.org/viewtopic.php?id=130309

  • [SOLVED] gnupg and gnupg2 in conflict after trying to upgrade

    Hey there!
    I just tried to update my system with the regular
    sudo pacman -Syu
    and ran into the following:
    :: The following packages should be upgraded first :
    pacman
    :: Do you want to cancel the current operation
    :: and upgrade these packages now? [Y/n] y
    resolving dependencies...
    warning: dependency cycle detected:
    warning: udev will be installed before its util-linux dependency
    looking for inter-conflicts...
    :: gnupg and gnupg2 are in conflict. Remove gnupg2? [y/N] y
    error: failed to prepare transaction (could not satisfy dependencies)
    :: gcc: requires gcc-libs=4.6.2-6
    if i try to upgrade my system or install any new packages i am asked to upgrade pacman which results in the error above.. hitting "y" will result in the message above, hitting "n" will just abort the update..
    i found one thread with a similar issue ( https://bbs.archlinux.org/viewtopic.php?id=139229 ), but i didn't really get any further with it.. besides that i found a pastebin ( http://pastebin.com/WBgXmSqJ ) with the exact same issue, but i couldn't find any other links or references to the said pastebin on the web..
    i would be happy to supply further information but i am not sure about what kind of information is useful here..
    tougle
    edit: after finding this thread https://bbs.archlinux.org/viewtopic.php?id=139412 (dealing with gcc-libs and not gnupg which i was searching for) i upgraded pacman by itself as Dav suggested.. another pacman -Syu outputs the following:
    :: Starting full system upgrade...
    :: Replace gnupg2 with core/gnupg? [Y/n]
    since i am not using gnupg anyway and the replacement should be due to the implementation of the keyring functionality in the latest pacman version, i am assuming i cant do any harm with that replacement? i will just postpone the update, wait for possible replies and do the update tomorrow if no warnings popped up here.. after i upgraded i will mark the thread as solved.. sorry for the thread.. it appears i have been searching in the wrong places..
    edit2: as suggested by Gcool and karol i just agreed to replace gnupg2 after updating pacman by itself and, as expected, it fixed the issue nicely. thanks!
    Last edited by tougle (2012-04-12 19:10:06)

    Packages sometimes get merged or split, renamed, moved from one repo to another or dropped to the AUR.
    Different issues may require different approaches to solve / make sure you're doing it right. Usually it's OK to just agree to what pacman suggests.
    If you're curious what happened, check one of the recent commits to the gnupg package [1] that talks about fixing a bug [2]
    [1] https://projects.archlinux.org/svntogit … c1448fe0eb
    [2] https://bugs.archlinux.org/task/28931

  • [solved] kernel 2.6.27 - open LUKS encrypted root partition fails

    Hi,
    after updating to kernel 2.6.27 the passphrase for my LUKS encrypted root partition does not work anymore.
    I get this error messages:
    Enter LUKS passphrase:
    device-mapper: table: 254:0 crypt: Error allocating crypto tfm
    device-mapper: ioctl: error adding target to table
    device-mapper: ioctl: device doesn't appear to be in the dev hash table.
    Command failed: No key available with this passphrase.
    Enter LUKS passphrase:
    With a old (2.6.25) vanilla kernel it works.
    any ideas?
    EDIT
    Solved.
    The Problem was that I had this line in my mkinitcpio.conf to get rid of the padlock-error-message at boot.
    #CRYPTO_MODULES="aes_i586 aes_generic sha256_generic"
    With kernel 2.6.27 there are new / more modules needed to open the LUKS encryptet root partition.
    So I removed the line from mkinitcpio.conf and deletet the padlock modules in /lib/modules/2.6.27-ARCH before regenarating the initrd image.
    Thanks to GerBra for the tip.
    Last edited by SiD (2008-10-22 11:41:56)

    I'm not shure, but think ... yes.

  • [SOLVED] No keyboard on booting fresh install (encrypted LVM)

    I've just installed Arch (x86_64) on my desktop again, and used LVM on top of a single encrypted partition (with boot separate and unencrypted). Everything seemed to go okay, but when I boot and am prompted for a passphrase to unlock the hard drive, my keyboard ceases to work.
    The NumLock key is lit until just before, so I think something messes it up, rather than it never working to start with. I thought maybe it was something keymap-related (as this is loaded just before) so I removed "keymap" from HOOKS in mkinitcpio.conf and deleted my choice in rc.conf but this had no effect.
    Other than that I'm not sure where to go from here, I've tried the very obvious of unplugging and replugging the keyboard, but that was no help.
    Any help appreciated!
    EDIT: Just noticed the wiki article on encryption, which mentions adding "usbinput" to HOOKS. Didn't help.
    EDIT: Solved. I forgot to append the ".img" to the end of the mkinitcpio args.
    Last edited by tsv (2010-08-19 14:05:54)

    What exactly do you mean? I have the same problem fresh off encrypted install. Thanks

  • [Solved] WPA connection problems - network was WEP encrypted.

    Hi all, and thanks in advance for reading.
    Tl;dr for the below: My card seems to work, but won't associate with the router using either netcfg or wpa_supplicant and I have no idea why. I have no graphical system to work from as yet.
    Basically, I've just installed my Arch system, and I'm trying to get the wireless working. I have two wireless cards, one internal (Atheros) and one USB (preferred - it's a Belkin F5D9050, v3). My router - a BT HomeHub - uses WPA-PSK encryption.
    For the moment, I'm trying to get the Belkin card - wlan1 - working as it gives better reception at home, so I'll use that in the examples, but I've had the same results with both so far.
    Running
    iwlist wlan1 scan
    shows my network, so I think the card itself is working ok.
    My netcfg profile reads:
    CONNECTION='wireless'
    INTERFACE='wlan1'
    SECURITY='wpa'
    ESSID='BTHomeHub2-2J6S'
    KEY='...'
    IP='dhcp'
    TIMEOUT=120 // Large timeout I know, but apparently it can make a difference.
    When attempting to connect with netcfg, I get the message 'WPA Authentication/Association failed'.
    Trying with wpa_supplicant.conf as below:
    network={
    ssid="BTHomeHub2-2J6S"
    proto=RSN // I've also tried WPA2
    key_mgmt=WPA-PSK
    pairwise=CCMP TKIP
    group=CCMP TKIP
    psk=[my passphrase as converted to hex by wpa_passphrase]
    Running
    wpa_supplicant -dd -B -Dwext -iwlan1 -c/etc/wpa_supplicant.conf
    produces output similar to this.
    I'm stuck. Any thoughts? Any and all help is appreciated!
    Thanks in advance!
    (Edited for stupid title)
    Last edited by Owen Tuz (2010-09-19 23:17:16)

    If you inspect
    iwlist $interface scan
    output you can see which ones are WEP or WPA(2):
    WEP:
    Cell 04 - Address: xx:xx:xx:xx:xx:xx
    Channel:6
    Frequency:2.437 GHz (Channel 6)
    Quality=21/70 Signal level=-89 dBm
    Encryption key:on
    ESSID:"WiFi 13"
    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
    9 Mb/s; 12 Mb/s; 18 Mb/s
    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
    Mode:Master
    Extra:tsf=0000013713e511a8
    Extra: Last beacon: 2493ms ago
    WPA2 Personal:
    Cell 03 - Address: xx:xx:xx:xx:xx:xx
    Channel:48
    Frequency:5.24 GHz (Channel 48)
    Quality=65/70 Signal level=-45 dBm
    Encryption key:on
    ESSID:"Zeus 802.11n"
    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
    36 Mb/s; 48 Mb/s; 54 Mb/s
    Mode:Master
    Extra:tsf=0000011fcd6018a8
    Extra: Last beacon: 60ms ago
    IE: Unknown: 000C5A657573203830322E31316E
    IE: Unknown: 01088C129824B048606C
    IE: Unknown: 030130
    IE: IEEE 802.11i/WPA2 Version 1
    Group Cipher : CCMP
    Pairwise Ciphers (1) : CCMP
    Authentication Suites (1) : PSK

  • [SOLVED] Chrome OS + Arch w/ full system encryption: Is it possible?

    I want to dual boot Chrome OS and Arch on a Chromebook. More importantly, I want to run Arch with full system encryption, such as with dm-crypt.
    As I understand it, in order to use full disk encryption, /boot must be a non-encrypted partition. If I didn't want to dual boot CrOS, this wouldn't be a problem. If I change the partitioning, it's unlikely that CrOS will boot.
    Has anyone successfully dual booted Chrome OS and Arch with full-disk encryption? And, if so, I'd appreciate your guidance. Thanks!!
    [edit] yes. Very straightforward, just read the Wiki
    Last edited by Watney (2015-05-26 03:21:50)

    What is your threat model?
    Owe, and no you can not have hidden-volume with dm-crypt.
    If you really want to have a secure OS to boot to.
    You should make a small partition on your drive.
    Put the tails linux OS .iso on it
    https://tails.boum.org/
    Then configure GRUB2 to boot the .iso file.
    https://tails.boum.org/forum/LiveUSB__4 … __feature/
    Now get a micro SD card and encrypt that for keeping data on.
    Then if you have to destroy the data, you just snap the micro SD card in a few pieces, but if you don't have time to destroy it then it is at least encrypted.
    If you are really worried about like the NSA or FBI getting your data... You probaly should not even have the data in the USA at all.
    Instead, rent a VPS in like Malaysia, Russia, Hong Kong, bla, bla bla...
    Pay for the VPS with BitCoin, Bitcoin you bought on #bitcoin-otc freenode IRC channel, that you connected to though the freenode TOR-HIdden Service IRC server. You will also want to do some bitcoin Tumbling before you use it. To tumble the bitcoin. You could simply transfer the bitcoin to an account on silkroadvb5piz3r.onion  then transfer the bitcoin back to you.
    .... OWE, and configure your bitcoin client to connect to the bitcoin network through TOR.
    Only connect to the VPS through TOR.
    Create a TOR-Hidden service to host SSH on the VPS
    Then use like sshfs to mount a remote directory on that VPS.
    Then create a TrueCrypt volume on that sshfs mounted directory, and keep your data in that.
    ===========
    How far down the rabbit hole do you want to go?
    Last edited by hunterthomson (2012-11-13 01:48:12)

  • [SOLVED] Root partition wrongly assumed to be encrypted.

    Hi,
    I'm trying to install arch using newest iso image (2012.10.06) in a following manner:
    gpt partition on /dev/sda1
    root on btrfs on /dev/sda2
    var on btrfs on /dev/sda3
    home on btrfs on /dev/mapper/crypt (LUKS) on /dev/sda4,
    but I have a problem after booting into freshly installed system. There's a message stating that:
    ERROR: Failed to open encryption mapping: The device /dev/sda2 is not a LUKS volume and the crypto= parameter was not specified.
    (actually there's uuid instead of /dev/sda2 but I've changed it for brevity)
    Then after some time I get an error:
    [ TIME ] Timed out waiting for device dev-mapper-crypt.device
    then some "dependency failed" messages and I get welcomed to the emergency mode prompt.
    I've added encrypt before filesystems to mkinitcpio hooks, and rebuild the image.
    My /etc/fstab is generated by genfstab at installation and looks like this (comments ommited):
    /dev/sda2 / btrfs rw,noatime,compress=lzo,space_cache,subvol=/__active 0 0
    /dev/mapper/crypt /home btrfs rw,noatime,compress=lzo,space_cache,subvol=/__active 0 0
    /dev/sda3 /var btrfs rw,noatime,compress=lzo,space_cache,subvol=/__active 0 0
    Problem is that my / is NOT encrypted, only my home partition. But when I remove my home partition entry from fstab system boots to normal login prompt (but the error saying / is not a LUKS partition still shows up).
    What am I doing wrong? I didn't alter my grub.cfg after running grub-mkconfig, and there are no entries in it stating that root is encrypted (only flags are: subvol=__active). How can I prompt the user (me) for passphrase on boot? As far as I read it should be done automatically by "encrypt" hook.
    Any suggestions?
    cheers,
    kajman
    Last edited by kajman (2012-10-18 08:45:05)

    What are the boot parameters in grub?
    You need a cryptdevice= entry if you want to unlock it from the initramfs.
    For the syntax read the help of the encrypt hook:
    mkinitcpio -H encrypt
    If it's only for the home partition, I would unlock it from /etc/crypttab instead of the initramfs.

  • [Solved] Persistent Device Naming for Full Disk Encryption & USB Boot

    Using the following boot option does not work while using FDE (dm-crypt plain) due to the filesystem being unreachable until decryption.
    cryptdevuce=UUID=xxxx-xxxx:root
    sda
    └   root   /
    sdb
    └  sdb1   /boot
    This forces the use of /dev/sda for booting, but occasionally a USB device is mapped to sda instead.
    Is there a way to use Persistent Block Device Naming for this type of FDE?
    Last edited by easton741 (2015-02-05 01:42:57)

    MSC wrote:What exactly is not working? It shouldn't matter if the USB device maps to /dev/sda because the partition with that UUID still resides on the same disk.
    I guess I should be more clear. The entire sda device is encrypted. This meas that during the initialization there is no UUID is read from the disk because the filesystem cannot be read until it is unencrypted.
    This leaves me in a catch 22 where I cannot use UUID until the device is unencrypted, but I need UUID to boot & decrypt the device properly. Here is an example of what the computer sees in the Arch Install.
    NAME            FSTYPE   LABEL                UUID                                 MOUNTPOINT
    sda                                                                       
    sdb                iso9660     ARCH_201501    2015-01-01-09-54-22-00               
    ├─sdb1          iso9660    ARCH_201501     2015-01-01-09-54-22-00       /run/archiso/bootmnt
    └─sdb2          vfat           ARCHISO_EFI    9051-9287                           
    sdc                                                                       
    └─sdc1          vfat                                     4EC5-5B7D                        (normally /boot)
    As you can see, sda has no uuid.
    So I guess what I'm asking is if there is any alternative method because it does not look like I can use anything in the wiki.

  • [solved...sortof]kernel upgrade breaks system

    Hi, I am unable to log in to arch in any way after doing a system upgrade.
    The kernel was upgraded along with a couple of other things and I now cant start X, nor get to a tty.
    My target was graphical at first, then I used an install disc to disable graphical and enable multi-user.target.
    multi-user.target presents me with a blank black screen
    graphical.target presents me with a blank blue screen (the blue from LXDM) which flashes some boots.
    Im using the xf86-video-ati driver, Will try and downgrade kernel now.
    Last edited by jrussell (2012-12-21 20:36:22)

    ok lts kernel works
    Here is my pacman log:
    [2012-12-15 11:32] Running 'pacman -Syu'
    [2012-12-15 11:32] synchronizing package lists
    [2012-12-15 11:33] starting full system upgrade
    [2012-12-15 11:52] upgraded chromium (23.0.1271.95-1 -> 23.0.1271.97-1)
    [2012-12-15 11:52] upgraded cpupower (3.6-1 -> 3.7-2)
    [2012-12-15 11:52] upgraded gnupg (2.0.19-2 -> 2.0.19-3)
    [2012-12-15 11:52] upgraded htop (1.0.2-1 -> 1.0.2-2)
    [2012-12-15 11:52] ==> The "block" hook has replaced several hooks:
    [2012-12-15 11:52] fw, sata, pata, scsi, virtio, mmc, usb
    [2012-12-15 11:52] Replace any and all of these in /etc/mkinitcpio.conf with a single
    [2012-12-15 11:52] instance of the "block" hook
    [2012-12-15 11:52] upgraded mkinitcpio (0.11.2-1 -> 0.12.0-2)
    [2012-12-15 11:53] >>> Updating module dependencies. Please wait ...
    [2012-12-15 11:53] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    [2012-12-15 11:53] ==> Building image from preset: 'default'
    [2012-12-15 11:53] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    [2012-12-15 11:53] ==> Starting build: 3.6.10-1-ARCH
    [2012-12-15 11:53] -> Running build hook: [base]
    [2012-12-15 11:53] -> Running build hook: [udev]
    [2012-12-15 11:53] -> Running build hook: [autodetect]
    [2012-12-15 11:53] -> Running build hook: [modconf]
    [2012-12-15 11:53] -> Running build hook: [block]
    [2012-12-15 11:53] -> Running build hook: [filesystems]
    [2012-12-15 11:53] -> Running build hook: [usbinput]
    [2012-12-15 11:53] -> Running build hook: [fsck]
    [2012-12-15 11:53] ==> Generating module dependencies
    [2012-12-15 11:53] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
    [2012-12-15 11:53] ==> Image generation successful
    [2012-12-15 11:53] ==> Building image from preset: 'fallback'
    [2012-12-15 11:53] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    [2012-12-15 11:53] ==> Starting build: 3.6.10-1-ARCH
    [2012-12-15 11:53] -> Running build hook: [base]
    [2012-12-15 11:53] -> Running build hook: [udev]
    [2012-12-15 11:53] -> Running build hook: [modconf]
    [2012-12-15 11:53] -> Running build hook: [block]
    [2012-12-15 11:53] -> Running build hook: [filesystems]
    [2012-12-15 11:53] -> Running build hook: [usbinput]
    [2012-12-15 11:53] -> Running build hook: [fsck]
    [2012-12-15 11:53] ==> Generating module dependencies
    [2012-12-15 11:53] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
    [2012-12-15 11:53] ==> Image generation successful
    [2012-12-15 11:53] upgraded linux (3.6.9-1 -> 3.6.10-1)
    [2012-12-15 11:53] upgraded pcmciautils (018-4 -> 018-5)
    [2012-12-15 11:53] upgraded perl (5.16.2-1 -> 5.16.2-2)
    [2012-12-15 11:53] upgraded python2 (2.7.3-2 -> 2.7.3-3)
    [2012-12-15 11:53] upgraded vim-runtime (7.3.712-1 -> 7.3.754-1)
    [2012-12-15 11:53] upgraded vim (7.3.712-1 -> 7.3.754-1)
    [2012-12-15 11:53] Exited with code 0
    [2012-12-15 12:17] Running 'pacman -S linux-lts'
    [2012-12-15 12:17] Exited with code 130
    [2012-12-15 12:18] Running 'pacman -S linux-lts'
    [2012-12-15 12:18] Exited with code 130
    [2012-12-15 12:18] Running 'pacman -S linux-lts'
    [2012-12-15 12:18] Exited with code 130
    [2012-12-15 12:19] Running 'pacman -S linux-lts'
    [2012-12-15 12:25] >>> Updating module dependencies. Please wait ...
    [2012-12-15 12:25] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    [2012-12-15 12:25] ==> Building image from preset: 'default'
    [2012-12-15 12:25] -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts.img
    [2012-12-15 12:25] ==> Starting build: 3.0.54-1-lts
    [2012-12-15 12:25] -> Running build hook: [base]
    [2012-12-15 12:25] -> Running build hook: [udev]
    [2012-12-15 12:25] -> Running build hook: [autodetect]
    [2012-12-15 12:25] -> Running build hook: [modconf]
    [2012-12-15 12:25] -> Running build hook: [block]
    [2012-12-15 12:25] -> Running build hook: [filesystems]
    [2012-12-15 12:25] -> Running build hook: [usbinput]
    [2012-12-15 12:25] -> Running build hook: [fsck]
    [2012-12-15 12:25] ==> Generating module dependencies
    [2012-12-15 12:25] ==> Creating gzip initcpio image: /boot/initramfs-linux-lts.img
    [2012-12-15 12:25] ==> Image generation successful
    [2012-12-15 12:25] ==> Building image from preset: 'fallback'
    [2012-12-15 12:25] -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect
    [2012-12-15 12:25] ==> Starting build: 3.0.54-1-lts
    [2012-12-15 12:25] -> Running build hook: [base]
    [2012-12-15 12:25] -> Running build hook: [udev]
    [2012-12-15 12:25] -> Running build hook: [modconf]
    [2012-12-15 12:25] -> Running build hook: [block]
    [2012-12-15 12:25] -> Running build hook: [filesystems]
    [2012-12-15 12:25] -> Running build hook: [usbinput]
    [2012-12-15 12:25] -> Running build hook: [fsck]
    [2012-12-15 12:25] ==> Generating module dependencies
    [2012-12-15 12:25] ==> Creating gzip initcpio image: /boot/initramfs-linux-lts-fallback.img
    [2012-12-15 12:25] ==> Image generation successful
    [2012-12-15 12:25] installed linux-lts (3.0.54-1)
    [2012-12-15 12:25] Exited with code 0
    *EDIT
    downgrading kernel:
    [2012-12-15 12:34] Running 'pacman -U /var/cache/pacman/pkg/linux-3.6.9-1-x86_64.pkg.tar.xz'
    [2012-12-15 12:34] >>> Updating module dependencies. Please wait ...
    [2012-12-15 12:34] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
    [2012-12-15 12:34] ==> Building image from preset: 'default'
    [2012-12-15 12:34] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    [2012-12-15 12:34] ==> Starting build: 3.6.9-1-ARCH
    [2012-12-15 12:34] -> Running build hook: [base]
    [2012-12-15 12:34] -> Running build hook: [udev]
    [2012-12-15 12:34] -> Running build hook: [autodetect]
    [2012-12-15 12:34] -> Running build hook: [modconf]
    [2012-12-15 12:34] -> Running build hook: [block]
    [2012-12-15 12:34] -> Running build hook: [filesystems]
    [2012-12-15 12:34] -> Running build hook: [usbinput]
    [2012-12-15 12:34] -> Running build hook: [fsck]
    [2012-12-15 12:34] ==> Generating module dependencies
    [2012-12-15 12:34] ==> Creating gzip initcpio image: /boot/initramfs-linux.img
    [2012-12-15 12:34] ==> Image generation successful
    [2012-12-15 12:34] ==> Building image from preset: 'fallback'
    [2012-12-15 12:34] -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    [2012-12-15 12:34] ==> Starting build: 3.6.9-1-ARCH
    [2012-12-15 12:34] -> Running build hook: [base]
    [2012-12-15 12:34] -> Running build hook: [udev]
    [2012-12-15 12:34] -> Running build hook: [modconf]
    [2012-12-15 12:34] -> Running build hook: [block]
    [2012-12-15 12:34] -> Running build hook: [filesystems]
    [2012-12-15 12:34] -> Running build hook: [usbinput]
    [2012-12-15 12:34] -> Running build hook: [fsck]
    [2012-12-15 12:34] ==> Generating module dependencies
    [2012-12-15 12:34] ==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
    [2012-12-15 12:34] ==> Image generation successful
    [2012-12-15 12:34] installed linux (3.6.9-1)
    [2012-12-15 12:34] Exited with code 0
    kernel 3.6.9-1 works, 3.6.10-1 does not work, I dont know which other logs I should post?
    Last edited by jrussell (2012-12-15 10:38:32)

  • [SOLVED] mkinitcpio-0.7-1 update breaks plymouth

    Today's update of mkinitcpio-0.7-1 fixes an issue I and others were having with some module errors at the beginning of boot, but has broken plymouth. It only becomes apparent when I first attempt to use mkinitcpio to rebuild my images, which calls the plymouth hook in. It barks about an install function being deprecated in '/lib/initcpio/install/plymouth', that the function should be renamed to 'build' and also complains about the command 'add_device' not being found. If I change the 'install' function name to 'build' that error disappears, but the other error is still present. I tried replacing 'add_device' with 'mknod', as suggested in another post, but this does not work either. Long and short of it, there is currently no way with mkinitcpio to have plymouth get built into the image, at least AFAIK. Here is the top stanza of the '/lib/initcpio/install/plymouth' file which is giving the issue:
    # vim: set ft=sh:
    install() {
    add_device /dev/fb0 c 29 0
    add_dir /dev/pts
    add_dir /usr/share/plymouth/themes
    Last edited by sidneyk (2011-07-07 05:43:19)

    sidneyk wrote:
    karol wrote:http://mailman.archlinux.org/pipermail/ … 20824.html
    I wouldn't call it a workaround - it's the new way.
    I was calling it a 'workaround' in the sense that the fix hasn't been incorporated yet into the plymouth-git maintainer's package in the AUR.
    Ah, OK.
    Thank you for  posting the info on the package's page in the AUR.
    I think you can mark this thread as solved.

  • [Solved] GnuPG not working

    Hello.
    I installed GnuPG with
    sudo pacman -S gnupg
    However, when I tried to run gpg, I got the following message:
    gpg: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory
    When I installed libusb and created a symbolic link to the shared library with
    sudo ln /usr/lib/libusb-1.0.so /usr/lib/libusb-0.1.so.4
    it worked fine.
    Is there some kind of error with the gnupg package? Can it be fixed?
    P.S.: I'm not sure that gpg is working absolutely correct. From what I see, it simply starts up without any errors. But it looks like it depends on libusb 0.1, not 1.0, so there is no guarantee that it won't crash unexpectedly because the addresses of some procedures in the shared library were changed.
    Last edited by 10098 (2011-02-19 10:59:17)

    Symlinking libraries is very, very bad...
    > pacman -Si gnupg
    Repository : extra
    Name : gnupg
    Version : 1.4.11-2
    URL : http://www.gnupg.org/
    Licenses : GPL3
    Groups : None
    Provides : None
    Depends On : zlib bzip2 libldap>=2.4.18 libusb-compat curl>=7.16.2
    readline>=6.0.00
    So you should have libusb-compat installed that provides that library.   Update your system.

  • [solved]Update of x264 and ffmpeg breaks MPD

    Updating to x264-20100107-1  and ffmpeg-20100108-2 had a bad effect on MPD today
    error while loading shared libraries: libx264.so.67 
    error while loading shared libraries libavutil.so.49
    Were the error I got after update when trying to start mpd. 
    Rather than do the ugly ls -s fix I'll wait for a rebuild/fix.
    Anyone else??
    Last edited by jwbirdsong (2010-01-10 23:26:56)

    I've not pulled in my msg from arch-dev-public in last 24 hrs or so... my bad. 
    I at least did ask in #archlinux and got no response before posting here. 
    wonder wrote:P.S mpd rebuilt has landed testing.
    good... I somehow knew if I posted this to begin w/  MPD would be rebuilt/uploaded soon  soon after I posted.
    Last edited by jwbirdsong (2010-01-10 23:28:33)

Maybe you are looking for