Posts

Showing posts from August, 2016

R server error: --with-readline=yes (default) and headers/libs are not available

Image
yum install readline - devel

How To Solve Error: “E: Could not get lock /var/cache/apt/archives/lock – open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/” On Debian 7 or Ubuntu

Today I have keep getting an annoying error when I try to install some libraries. "E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/" This is the first time i got this error and i don't have any clue how to solve this. I googled a bit and found the solution after spending almost an hour. I wanted to share. Problem: Here what i did to install to python libraries. # apt-get install python-twisted Sample output: Reading package lists... Done Building dependency tree        Reading state information... Done The following extra packages will be installed:   python-crypto python-openssl python-pam python-pkg-resources python-pyasn1   python-serial python-twisted-bin python-twisted-conch python-twisted-core   python-twisted-lore python-twisted-mail python-twisted-names   python-twisted-news python-twisted-runner python-twisted-web   python-twisted-words python-zope.interf...