You are not logged in.
How can one proceed if installing pacman4 from [testing] via an ssh connection? This is on a headless box.
# pacman-key --init
gpg: Generating pacman keychain master key...
Not enough random bytes available. Please do some other work to give
the OS a chance to collect more entropy! (Need 282 more bytes)
Last edited by graysky (2011-11-12 19:01:37)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
http://mailman.archlinux.org/pipermail/ … 22269.html - maybe just playing with urandom will work if you're not inside a VM, otherwise try
http://mailman.archlinux.org/pipermail/ … 22273.html
Last edited by karol (2011-11-12 17:18:05)
Offline
Wow, what is pain in the balls, thank you!
http://mailman.archlinux.org/pipermail/ … 22273.html contained the solution.
1) https://aur.archlinux.org/packages.php?ID=14589 <--- build and install
2) rngd -f -r /dev/urandom in one ssh window
3) vim /etc/conf.d/rngd and change 0 to 10
4) pacman-key --init
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I edited the pacman page on the wiki adding this advice now that [core] contains pacman4. Thanks again, Karol for the links.
Can a mod move this thread to the pacman section of the bbs?
Last edited by graysky (2012-01-17 12:23:46)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
This is not the proper way to use rng-tools. You are feeding entropy from /dev/urandom back into the kernel - that makes no sense. You are better off just doing some nice IO.
Offline
@derloy - please provide an example that satisfies the need.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Open some applications, move some windows around, resizing etc. Then entropy goes up.
Last edited by Larsson (2012-01-17 15:09:27)
"If the person you are talking to doesn't appear to be listening, be patient. It may simply be that he has a small piece of fluff in his ear." - A.A. Milne (Winnie-the-Pooh)
Offline
Open some applications, move some windows around, resizing etc. Then entropy goes up.
Offline
Open some applications, move some windows around, resizing etc. Then entropy goes up.
Please read the first post ... he specifically states that this is a headless box.
#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.
Offline
In light of Pacman 4 moving from testing, this thread should follow.
Moving to Pacman and Package upgrades
edit: Thanks Graysky
Last edited by ewaller (2012-01-17 16:02:32)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Please read the first post ... he specifically states that this is a headless box.
Sorry for that, my english is not that good, so I missunderstood the post.
"If the person you are talking to doesn't appear to be listening, be patient. It may simply be that he has a small piece of fluff in his ear." - A.A. Milne (Winnie-the-Pooh)
Offline
IO worked for me (like derloy suggested) on my headless box. In another SSH session, I went into a directory with a lot of large video files, and:
cat * > /dev/null
Took a few minutes but did the trick.
Offline
IO worked for me (like derloy suggested) on my headless box. In another SSH session, I went into a directory with a lot of large video files, and:
cat * > /dev/null
Took a few minutes but did the trick.
I tried this... after catting 10 G of video files, the operation in the 2nd ssh window hasn't moved at all.
Window 1:
$ sudo pacman-key --init
gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created
gpg: no ultimately trusted keys found
gpg: Generating pacman keychain master key...
Not enough random bytes available. Please do some other work to give
the OS a chance to collect more entropy! (Need 277 more bytes)
Window 2:
$ for i in $(ls); do cat "$i" >/dev/null; done
Now, when I repeat using the the instructions I posted to the pacman wiki page, this happens nearly instantaneously:
$ sudo pacman-key --init
gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created
gpg: no ultimately trusted keys found
gpg: Generating pacman keychain master key...
Not enough random bytes available. Please do some other work to give
the OS a chance to collect more entropy! (Need 277 more bytes)
+++++
.+++++
gpg: key 4D863ABB marked as ultimately trusted
gpg: Done
==> Updating trust database...
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
Last edited by graysky (2012-01-17 20:38:17)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I found that starting the key generation process and then switching over to the browser and moderating the forums for a while generates more than enough entropy
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
I found that starting the key generation process and then switching over to the browser and moderating the forums for a while generates more than enough rage!!!
Offline
Hi,
Same problem here on an ARM box. I'd like to install rng-tools but pacman says no such target
I have no big files on this server, so I try to generate some IO but still no luck. Any other idea to solve this problem?
EDIT: I just haven't wait enough
Last edited by madko (2012-02-11 19:10:31)
Totally linuxed !!!
Offline
There is haveged in [community]. Simply start the daemon after installation.
Offline
I found that starting the key generation process and then switching over to the browser and moderating the forums for a while generates more than enough entropy
All that on a headless server huh .
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Graysky's post (#4) works without any other issues. Whether it's the accepted method or not, it's the one that works most quickly.
IM far less than humble opinion, that's what should go in the wiki. Keep in mind that many people come to Arch because they are tired of overly GUI oriented distributions.
Offline
Scrot - I added it to the pacman page a while ago.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
@graysky
I don't see anything about this on the pacman page
Last edited by alphaniner (2012-03-06 15:40:58)
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
Someone moved it to the pacman-key page.
Offline