You are not logged in.

#1 2016-02-10 15:02:14

codencrazy
Member
Registered: 2016-02-09
Posts: 8

[Solved] pacman can't find id_rsa

I've noticed this several days ago, at first it would only happen once every 3 or 4 usages of pacman, now it's happening every time, sometimes, two or three times in the same pacman after a package.

The output from a pacman that does it, looks like this:

~ % pacman -Syyu akregator
:: Synchronizing package databases...
 xorg117                                                           25.0 KiB   129K/s 00:00 [#####################################################] 100%
 xorg117.sig                                                      287.0   B  0.00B/s 00:00 [#####################################################] 100%
 pkgbuilder                                                       849.0   B  0.00B/s 00:00 [#####################################################] 100%
 pkgbuilder.sig                                                   287.0   B  0.00B/s 00:00 [#####################################################] 100%
 core                                                             122.8 KiB  1228K/s 00:00 [#####################################################] 100%
 extra                                                           1769.1 KiB  2.11M/s 00:01 [#####################################################] 100%
 community                                                          3.3 MiB  2.10M/s 00:02 [#####################################################] 100%
 multilib                                                         159.5 KiB  2.60M/s 00:00 [#####################################################] 100%
 alucryd-multilib                                                   9.2 KiB  0.00B/s 00:00 [#####################################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (2) kontactinterface-15.12.1-1  akregator-15.12.1-1

Total Download Size:   1.48 MiB
Total Installed Size:  3.33 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages ...
 kontactinterface-15.12.1-1-x86_64                                 38.8 KiB  9.48M/s 00:00 [#####################################################] 100%
 akregator-15.12.1-1-x86_64                                      1474.9 KiB  2.13M/s 00:01 [#####################################################] 100%
(2/2) checking keys in keyring                                                             [#####################################################] 100%
(2/2) checking package integrity                                                           [#####################################################] 100%
(2/2) loading package files                                                                [#####################################################] 100%
(2/2) checking for file conflicts                                                          [#####################################################] 100%
(2/2) checking available disk space                                                        [#####################################################] 100%
:: Processing package changes...
(1/2) installing kontactinterface                                                          [#####################################################] 100%
(2/2) installing akregator                                                                 [#####################################################] 100%
 * Warning: can't find id_rsa; skipping

However, I definitely have one, in the right folder, with the right permissions:

~ % ls -al ~/.ssh
total 16
drwx------  2 brian brian 4096 Feb  9 15:53 .
drwx------ 22 brian brian 4096 Feb 10 09:46 ..
-rw-------  1 brian brian 1675 Feb  9 15:53 id_rsa
-rw-r--r--  1 brian brian  408 Feb  9 15:53 id_rsa.pub

And it's currently loaded in keychain, but just to be absolutely sure my ssh key was loaded; I ran the following command before I ran the pacman -Syyu akgregator above:

~ % eval `keychain --eval id_rsa`

 * keychain 2.8.2 ~ http://www.funtoo.org
 * Found existing ssh-agent: 20872
 * Known ssh key: /home/brian/.ssh/id_rsa

Any ideas on where pacman is looking for id_rsa that it can't find it?

Log file for pacman doesn't seem to be any help:

[2016-02-10 09:31] [PACMAN] Running 'pacman -Syyu rekonq kdebase-konq-plugins kdebase-konqueror blogilo'
[2016-02-10 09:31] [PACMAN] synchronizing package lists
[2016-02-10 09:31] [PACMAN] starting full system upgrade
[2016-02-10 09:31] [ALPM] transaction started
[2016-02-10 09:31] [ALPM] installed kdebase-keditbookmarks (15.12.1-2)
[2016-02-10 09:31] [ALPM] installed qoauth (1.0.1-6)
[2016-02-10 09:31] [ALPM] installed rekonq (2.4.2-5)
[2016-02-10 09:31] [ALPM-SCRIPTLET]  * Warning: can't find id_rsa; skipping
[2016-02-10 09:31] [ALPM] installed dolphinpart4 (15.12.1-2)
[2016-02-10 09:31] [ALPM] installed kdebase-konqueror (15.12.1-2)
[2016-02-10 09:31] [ALPM-SCRIPTLET]  * Warning: can't find id_rsa; skipping
[2016-02-10 09:31] [ALPM] installed tidy (5.0.0-2)
[2016-02-10 09:31] [ALPM] installed kdebase-konq-plugins (15.12.1-2)
[2016-02-10 09:31] [ALPM-SCRIPTLET]  * Warning: can't find id_rsa; skipping
[2016-02-10 09:31] [ALPM] installed kcalcore (15.12.1-2)
[2016-02-10 09:31] [ALPM] installed kcontacts (15.12.1-1)
[2016-02-10 09:31] [ALPM] installed libkgapi (5.1.0-2)
[2016-02-10 09:31] [ALPM] installed xerces-c (3.1.2-2)
[2016-02-10 09:31] [ALPM] installed libkolabxml (1.1.2-3)
[2016-02-10 09:31] [ALPM] installed kmime (15.12.1-1)
[2016-02-10 09:31] [ALPM] installed akonadi-notes (15.12.1-1)
[2016-02-10 09:31] [ALPM] installed akonadi (15.12.1-1)
[2016-02-10 09:31] [ALPM-SCRIPTLET]  * Warning: can't find id_rsa; skipping
[2016-02-10 09:31] [ALPM] installed akonadi-client (15.12.1-1)
[2016-02-10 09:31] [ALPM] installed grantlee-qt5 (5.0.0-3)
[2016-02-10 09:31] [ALPM] installed kpimtextedit (15.12.1-1)
[2016-02-10 09:31] [ALPM] installed kidentitymanagement (15.12.1-1)
[2016-02-10 09:31] [ALPM] installed kcalutils (15.12.1-1)
[2016-02-10 09:31] [ALPM] installed libkolab (1.0.2-2)
[2016-02-10 09:31] [ALPM] installed akonadi-socialutils (15.12.1-1)
[2016-02-10 09:31] [ALPM-SCRIPTLET]  * Warning: can't find id_rsa; skipping
[2016-02-10 09:31] [ALPM] installed akonadi-mime (15.12.1-1)
[2016-02-10 09:31] [ALPM-SCRIPTLET]  * Warning: can't find id_rsa; skipping
[2016-02-10 09:31] [ALPM] installed kmailtransport (15.12.1-1)
[2016-02-10 09:31] [ALPM] installed akonadi-contact (15.12.1-1)
[2016-02-10 09:31] [ALPM] installed akonadi-calendar (15.12.1-1)
[2016-02-10 09:31] [ALPM] installed kross (5.18.0-1)
[2016-02-10 09:31] [ALPM] installed kholidays (15.12.1-1)
[2016-02-10 09:31] [ALPM] installed kalarmcal (15.12.1-1)
[2016-02-10 09:31] [ALPM] installed kmbox (15.12.1-1)
[2016-02-10 09:31] [ALPM] installed kimap (15.12.1-1)
[2016-02-10 09:31] [ALPM] installed kde-syndication (15.12.1-1)
[2016-02-10 09:31] [ALPM] installed kdepim-runtime (15.12.1-1)
[2016-02-10 09:31] [ALPM-SCRIPTLET]  * Warning: can't find id_rsa; skipping
[2016-02-10 09:31] [ALPM] installed akonadi-search (15.12.1-1)
[2016-02-10 09:31] [ALPM] installed kldap (15.12.1-1)
[2016-02-10 09:31] [ALPM] installed libktnef (15.12.1-1)
[2016-02-10 09:31] [ALPM] installed libkdepim (15.12.1-1)
[2016-02-10 09:31] [ALPM-SCRIPTLET]  * Warning: can't find id_rsa; skipping
[2016-02-10 09:31] [ALPM] installed kblog (15.12.1-1)
[2016-02-10 09:31] [ALPM] installed blogilo (15.12.1-1)
[2016-02-10 09:31] [ALPM-SCRIPTLET]  * Warning: can't find id_rsa; skipping
[2016-02-10 09:31] [ALPM] transaction completed
[2016-02-10 09:32] [PACMAN] Running '/usr/bin/pacman -S --asdeps subversion automoc4'
[2016-02-10 09:32] [ALPM] transaction started
[2016-02-10 09:32] [ALPM] installed apr (1.5.2-1)
[2016-02-10 09:32] [ALPM] installed apr-util (1.5.4-1)
[2016-02-10 09:32] [ALPM] installed serf (1.3.8-1)
[2016-02-10 09:32] [ALPM] installed subversion (1.9.3-2)
[2016-02-10 09:32] [ALPM-SCRIPTLET]  * Warning: can't find id_rsa; skipping
[2016-02-10 09:32] [ALPM] installed automoc4 (0.9.88-8)
[2016-02-10 09:32] [ALPM] transaction completed
[2016-02-10 09:34] [PACMAN] Running '/usr/bin/pacman -S --asdeps grantlee-qt4'
[2016-02-10 09:34] [ALPM] transaction started
[2016-02-10 09:34] [ALPM] installed grantlee-qt4 (0.5.1-3)
[2016-02-10 09:34] [ALPM] transaction completed
[2016-02-10 09:34] [PACMAN] Running '/usr/bin/pacman -S --asdeps libbaloo4'
[2016-02-10 09:34] [ALPM] transaction started
[2016-02-10 09:34] [ALPM] installed kdegraphics-mobipocket (15.12.1-1)
[2016-02-10 09:34] [ALPM-SCRIPTLET]  * Warning: can't find id_rsa; skipping
[2016-02-10 09:34] [ALPM] installed kfilemetadata4 (4.14.3-3)
[2016-02-10 09:34] [ALPM] installed libbaloo4 (4.14.3-4)
[2016-02-10 09:34] [ALPM] transaction completed
[2016-02-10 09:34] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/kftpgrabber-svn-r1452436-1-x86_64.pkg.tar.xz'
[2016-02-10 09:34] [ALPM] transaction started
[2016-02-10 09:34] [ALPM] installed kftpgrabber-svn (r1452436-1)
[2016-02-10 09:34] [ALPM] transaction completed
[2016-02-10 09:35] [PACMAN] Running 'pacman -Syyu akregator'
[2016-02-10 09:35] [PACMAN] synchronizing package lists
[2016-02-10 09:35] [PACMAN] starting full system upgrade
[2016-02-10 09:35] [ALPM] transaction started
[2016-02-10 09:35] [ALPM] installed kontactinterface (15.12.1-1)
[2016-02-10 09:35] [ALPM] installed akregator (15.12.1-1)
[2016-02-10 09:35] [ALPM-SCRIPTLET]  * Warning: can't find id_rsa; skipping
[2016-02-10 09:35] [ALPM] transaction completed

Last edited by codencrazy (2016-02-10 15:48:45)

Offline

#2 2016-02-10 15:46:35

codencrazy
Member
Registered: 2016-02-09
Posts: 8

Re: [Solved] pacman can't find id_rsa

Never mind, just in case anyone else finds this thread and is also suffering from insufficient number of thought processes available...I was missing the id_rsa in root, and pacman happens to run as root.

Offline

#3 2016-02-10 15:47:39

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] pacman can't find id_rsa

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB