Tags » Apt-get

Updating & Upgrading

There’s a few key commands needed to update & upgrade software, firmware and the OS running on the Raspberry Pi.

sudo apt-get update

First use apt-get update to update package lists and information about newest versions of software and their dependencies.

177 more words
Raspberry Pi

10 Most Dangerous Linux Commands You Should Never Run

The internet has long been inhabited by tricksters, no-good-doers, and what are now known colloquially as trolls. We’ve all seen the too common forum post asking for help where someone insists that deleting the “system23” file is the sure-fire way of remedying the problem. 938 more words

HackNews

Ubuntu APT-GET error : Could not get lock

I got following error when running apt-get on my Ubuntu 14.04 machine :

farhan@farhan-he:~/lms$ sudo apt-get update
password for farhan:
E: Could not get lock /var/lib/apt/lists/lock – open (11: Resource temporarily unavailable)

91 more words

Sublime install

To install the sublime open a Terminal

hopeless@ubuntu:~$ sudo add-apt-repository ppa:webupd8team/sublime-text-3
hopeless@ubuntu:~$  sudo apt-get update
hopeless@ubuntu:~$  sudo apt-get install sublime-text-installer

Then to start the sublime has a write terminal… 18 more words

Home

apt-get install error: Media change: please insert the disc labeled

Modify "/etc/apt/sources.list"

In this file comment out highlighted line

———————————

#

deb cdrom:/ wheezy main

deb http://ftp.us.debian.org/debian/ wheezy main
deb-src http://ftp.us.debian.org/debian/ wheezy main

deb http://security.debian.org/ 44 more words

Technical

Dependency issue - python2.7 - Ubuntu 14.04

While installing additional packages in Ubuntu using apt-get command, following error was thrown,

Setting up python2.7 (2.7.6-8ubuntu0.2) ...
Sorry: TypeError: compile() expected string without null    bytesdpkg: error processing package python2.7 (--configure)


Dependency issue - python2.7 - Ubuntu 14.04
Errors were encountered while processing:
 python-minimal
 python
 libapache2-mod-wsgi
 lsb-release
 python-pkg-resources
 python-setuptools
 python-pip
… 46 more words
Ubuntu