Technology Insights

Not enough random bytes available. Please do some other work to give the OS a chance to collect more entropy! (Need 283 more bytes)

When working to create a GPG key to sign some RPM packages I was building I ran into a message I had never seen before. I was building the RPM packages on an older server with not a lot of power which I am assuming contributed to my issue. The error is noted below but basically means you need to generate a lot of random bytes which are used to create a unique key. Within the error it states that the computer needs to collect more entropy so below I explain the error in more detail, what entropy means, why more entropy is needed, and how to generate as much as possible in a short amount of time to finish generating the GPG key.

Technology Errors

curl: option –libcurl: is unknown, curl: try curl –help for more information

I have been working on setting up some automated tasks at work that use curl to connect to FTPS on a remote server. On one of the development servers I was testing from I attempted to issue a curl command using the “–libcurl” switch which returned an error. This command was recommended by a coworker as a start to set up the automated tasks to connect to FTPS on the remote server using curl. Below I describe the error in detail, the cause of the error, and how to resolve the error.

Technology Errors

Yum Error: Package curl-7.20.0-1.i386.rpm is not signed, Install A Yum Package That Is Not Signed

Today I have been working on a project for work that involved accessing FTPS using curl. I needed the curl –libcurl switch which is not available in curl 7.15 so I needed to upgrade curl on the CentOS server I was working on. The problem is that there are not any repos with newer versions of curl available so then I set out to create my own curl RPM package. I was able to do this while learning many things along the way such as signing RPM packages. The first revision of my curl RPM package was not signed but I wanted to go ahead and install it anyway so below I explain installing unsigned RPM packages using yum.

Technology Errors

RPMBuild Error: error: Installed (but unpackaged) file(s) found

It has been a long time since I built an RPM using a packages source so I had to brush up on my knowledge there before attempting to build an RPM package for CentOS today from curl’s source. In the process of building the curl RPM package for CentOS I received an error from rpmbuild stating that there was a rather large list of files that were unpackaged. Below I describe the rpmbuild unpackaged error along with a way to resolve the problem. I would love to hear any feedback people have on RPM building since it is not something I do on a regular basis my knowledge is limited.

Technology Insights

Remove Documents Stuck In Windows Printer Queue, Printing Document Status Stuck At Deleting

The issue of documents being stuck in the Windows print queue has a similar solution as an article I wrote a couple days ago regarding deleting Windows Printer Ports. If you are an Information Technology administrator for Windows computers you have definitely seen at one time or another documents stuck in someones print queue. You can pause the document and then delete it most of the time however in certain scenarios the document will stay in queue until you reboot. Instead of rebooting I offer another solution below to remove documents stuck in the Windows printer queue.