loadYOURSELF

loadYOURSELF

Browsing Posts tagged error

SIGPIPE signal is sent by kernel to programs whose remote end closes or shuts down the socket and your program still tries to send/write operations on closed connection. The default signal handler terminates your program at this situation because of default behavior.

Solution 1:

Ignore the signal using ‘signal(SIGPIPE, SIG_IGN)’

then catch the EPIPE error which will return from the send/write operation due to a broken pipe.

Solution 2:

Pass MSG_NOSIGNAL flag to send(). This is results as same as solution 1

if apt-get update command results with this error

you can fix this with apt-key update

or

with

gpg –keyserver wwwkeys.eu.pgp.net –recv-keys AB1233123423ada123131

# apt-key add /root/.gnupg/pubring.gpg

# apt-get update …

Buy me a beer

select start -> run

write “cmd” and press enter

write “cd \windows\microsoft.net\framework\v2.0.50727″ may be different in your system.

write “aspnet_regiis -ga [user name]” press enter

write “aspnet_regiis -i” press enter

Buy me a beer

public key not available for [package]

If this key is not installed, and you are running

Fedora Core, you may install it with:
# rpm –import /usr/share/rhn/RPM-GPG-KEY-fedora

Buy me a beer