ÈÐ Wïgê† Ðð† ñåmê

ïñ£ð§ê¢, ïñ£ðrmå†ïðñ §ê¢µr, Ðïgï†ål £ðrêñ§ï¢§, hå¢kïñg, §¥§†êm åÐmïñ阮rå†ïðñ, lïñµx ßlðg

Arch Linux: Generating Entropy

, ,

When you upgrade pacman, you will get a message that says “run pacman –init” and when you do from a console (like on a remote server), you will then be presented with the following message:

[codesyntax lang=”bash” lines=”no” capitalize=”no” doclinks=”0″]

# 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)

[/codesyntax]

There are numerous ways to generate entropy in Linux.  Here are the ways I usually try in order because sometimes one will work right away and other times it won’t:

  1. Log in to the server in another console and leave the message on your screen.
  2. If you have the mlocate package installed, run the updatedb command…other wise go to step 3 (or install using ‘pacman -S mlocate’
  3. ls -R /
  4. find / -type f -exec ls -lta “{}” \;

Usually one of those three commands will get it done.


Leave a Reply