apt-get is a shell command on the Debian/Raspbian Linux distribution for installing and updating different software packages, including the system itself.

learn more… | top users | synonyms

7
votes
0answers
215 views

What is rpikernelhack?

When doing an apt-get upgrade on my RPi 3, many lines of output show up like this: Adding 'diversion of /boot/bcm2708-rpi-b-plus.dtb to /usr/share/rpikernelhack/bcm2708-rpi-b-plus.dtb by ...
0
votes
0answers
17 views

Apt not working

When I run sudo apt-get update or any other apt command I get this error: apt-get: error while loading shared libraries: libc.so.6ld-l)nux-armhf.so.3: cannot open shared object file: No such file or ...
1
vote
0answers
56 views

E: Package '<any package>' has no installation candidate

I am unable to apt-get install any packages because E: Package '<package name>' has no installation candidate. Unlike the other similarly named questions, I have not been able to get any ...
1
vote
1answer
16 views

Command to find source files for apt-get install locations - specifically libasound2-dev

Just downloaded and installed the libasound2-dev package using apt-get install My gcc compile command now references alsa/asound.h correctly But I just want to have a look at all the source files ...
2
votes
0answers
52 views

Raspberry does not start after apt-get upgrade

Bought myself a Raspberry PI 2 to use it as a simple web-server (lighttpd). Should have been simple. I have some years of experience with Debian so the light version of RaspBian was an obvious choice. ...
1
vote
1answer
30 views

ln: failed to create hard link ‘/boot/initrd.img-3.6-trunk-rpi.dpkg-bak’ => ‘/boot/initrd.img-3.6-trunk-rpi’: Operation not permitted

pi@igla:~ $ cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)" NAME="Raspbian GNU/Linux" VERSION_ID="8" VERSION="8 (jessie)" ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" ...
1
vote
0answers
36 views

Cannot install xpra: unmet dependancies

I'm trying to install Xpra, however it seems that there are missing packages I cannot install. Xpra fails with the following error: Some packages could not be installed. This may mean that you have ...
1
vote
2answers
31 views

Is it safe to purge nodejs when replacing “/usr/bin/nodejs” with “/usr/local/bin/node”?

System - Raspbian (Jessie): sudo apt-get install npm sudo npm install -g n sudo n stable Now I have two instances of node. /usr/bin/node -v returns v0.10.29 /usr/local/bin/node -v returns v6.2.1 ...
0
votes
2answers
110 views

E: Package has no installation candidate

I am unable to install any package using command "apt-get install". Whenever I execute above command to install any package, it shows me a common error saying E: Package <PackageName> has no ...
2
votes
2answers
63 views

raspbian + libavcodec + which source repository

I have a Raspberry Pi 2 which is running Raspbian (Noobs 1.9.2). I'm able to install the libavcodev-dev package with the following command: sudo apt-get install libavcodec-dev It seems libavcodec ...
1
vote
1answer
79 views

Bluez 5.40 not reconized when try to install modules

I have compiled(make ,make install ,etc) bluez 5.40 on Raspbian Jessie 8 successfuly but if i try : sudo apt-get install pulseaudio-module-bluetooth give mean output : extra packages need to be ...
0
votes
1answer
33 views

Package jetty is not available

I try to install jetty on a new Raspberry Pi 3 with Raspbian. sudo apt-get install jetty But i only get the following message: Package jetty is not available, but is referred to by another ...
3
votes
1answer
86 views

Cannot use apt-get, 404 not found on Pi 2, Model B

I am working with a Pi 2, Model B, with wheezy installed. It is connected to the Internet with an Ethernet cord and has a keyboard and Bluetooth dongle plugged into its USB ports, as well as a ...
0
votes
1answer
42 views

G++4.9 not found, Raspberry Pi Jessie

I am trying to install gcc4.9 and g++4.9 on my raspberry pi jessie. I am following this tutorial, however when it comes to running: sudo apt-get install gcc-4.9 g++4.9 I get: Reading Package Lists....
5
votes
2answers
394 views

Who controls what software is on raspbian & apt-get?

I just updated to the new version of Raspbian and the first thing I noticed was some new software. I'm wondering how these programs get to be on Raspbian & apt-get. Do you have to ask or are you ...
0
votes
1answer
115 views

I can't upgrade!

I was installing and removing packages recently and i noticed that it said: 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded. as soon as i ran the command. But, when i ran sudo apt-get ...
0
votes
0answers
82 views

Changed sources.list, but still updates from archive.raspberrypi.org

i am using a local apt-mirror to mirror raspbian and ubuntu and changed to /etc/apt/sources.list on my pi. But it still updates from archive.raspberrypi.org. From apt-mirror config: #Raspbian deb-...
0
votes
2answers
205 views

Issue with apt-get update, Jessie repeats

Newbie to the Pi so this may be a dumb question. Hardware: Raspberry Pi 3 In following the suggestions to use "sudo apt-get update" the update system seems to be stuck. I keep getting updates ...
1
vote
3answers
115 views

Download Problems

I bought an Raspberry Pi 3 Model B, and I cannot, in anyway, install the Pi Store or Chromium. I have only been able to somehow install the Google App, which wasn't what I was exactly looking for. I'...
0
votes
2answers
81 views

Removing Chromium B.S.U

I was trying to download chromium by using sudo apt-get install chromium, and I ended up getting chromium B.S.U. It won't open and I want to get rid of it, but I can' even find where it is. How do I ...
1
vote
0answers
98 views

Unable to run upgrade on Raspbian

I'm running Raspbian inside QEMU, and I'm getting an error when I try to run sudo apt-get upgrade: dpkg: error: fgets gave an empty string from `/var/lib/dpkg/triggers/File' Google finds almost no ...
0
votes
0answers
54 views

Install NFS server

On my Raspberry I try to install NFS like following: $ sudo apt-get update $ sudo apt-get upgrade $ sudo apt-get install nfs-common nfs-kernel-server The last command returns: Reading package ...
1
vote
0answers
94 views

How to upgrade bluez to 5.37

I've got a Raspberry Pi 3 with Raspbian Jessie installed. I am trying to get flic buttons working with my pi (based on this github project). To get this to work I need Bluez 5.37. When I update I ...
3
votes
2answers
2k views

Linux headers in Raspbian Jessie

I have problem to install linux-headers in Raspbian on my RPi2. My kernel version is 4.1.17-v7+. I can't find the linux-headers package with apt-get.
0
votes
1answer
830 views

Raspbian - problem installing mplayer-gui

I am starting with Raspberry pi 2 (Raspbian). I am trying to install mplayer with mplayer-gui. I did: sudo apt-get install mplayer mplayer-gui alsa-base alsa-utils pulseaudio mpg123 All packages ...
2
votes
1answer
195 views

Can't install iceweasel on RPi3 using apt-get or aptitude - Failed to fetch

I cant install Iceweasel on my Pi for some reason. I have tried the following options: sudo apt-get install iceweasel Error: Reading package lists... Done Building dependency tree Reading ...
0
votes
3answers
138 views

How to run an installed program that is not in the main menu?

I opened a terminal window using the launch bar icon (next to the "Menu" button on Jessie) and typed in sudo apt-get install omxplayer. After doing its thing without errors, it said that I already had ...
1
vote
1answer
116 views

How to add ppa entries manually on Raspberry Pi

I would like to know how I can add a "ppa" entry manually on the Raspberry Pi for the "apt" program. Where should I add my "ppa" entry (in which file) ? For example, I want to add the following ppa ...
0
votes
0answers
20 views

apt-get update stuck? [duplicate]

Since this morning, I get: 100% [Waiting for headers] 100% [Connecting to mirrordirector.raspbian.org (5.153.225.207)] And after a while: Err http://mirrordirector.raspbian.org jessie InRelease ...
1
vote
1answer
333 views

raspbian - sudo apt-get update not working

I have problems when trying to update the apt repositories. pi@raspberrypi:~ $ sudo apt-get update Err http://mirrordirector.raspbian.org jessie InRelease Err http://mirrordirector.raspbian.org ...
0
votes
0answers
136 views

libtiff4-dev - The following packages have unmet dependencies

I am trying to install opencv on my raspberry pi. One of the dependent packages is: libtiff4-dev When I try to install it I get the following: sudo apt-get install libtiff4-dev Reading package ...
0
votes
0answers
69 views

sudo apt-get update error

I am getting following errors repeatedly upon using apt-get update command : Ign http://mirrordirector.raspbian.org jessie InRelease Err http://mirrordirector.raspbian.org jessie Release.gpg ...
-2
votes
3answers
406 views

sudo apt-get update Not working

Pi connected via ssh remotely. This is the log running pi@raspberrypi:/etc $ sudo apt-get update Err http://mirrordirector.raspbian.org jessie InRelease Err ht**://raspbian....
0
votes
1answer
80 views

Local apt mirror just for a single release

With the instructions at https://www.raspbian.org/RaspbianMirrors one can create an apt mirror of raspbian. This clones the whole repo of packages belonging to all the releases of Raspbian i.e. ...
3
votes
1answer
314 views

Sub-process /usr/bin/dpkg returned an error code (1) on apt-get upgrade

I'm using Raspberry Pi 1 model B without GUI and when I try to upgrade software using sudo apt-get upgrade I get the following error: Segmentation fault dpkg: warning: subprocess old pre-removal ...
3
votes
1answer
89 views

Apt-Get Remove Does Not Fully Remove

I have noticed that when I in Raspbian run the commands: sudo apt-get remove package and sudo apt-get purge package there are still files related to the package on my system such as folders with the ...
0
votes
1answer
33 views

Bad mirror when installing package

According to this post unable to fetch some archives 404 not found, running sudo apt-get install apache2 php5 libapache2-mod-php5 -y won't work because of a bad mirror. I get the same errors. How can ...
0
votes
3answers
346 views

sudo apt-get not working

I was trying to install re2c but terminal replies the following: sudo apt-get install re2c Reading package lists... Done Building dependency tree Reading state information... Done The ...
1
vote
2answers
810 views

Why does apt-get upgrade cause blank screen after reboot on Raspbian?

I have Raspberry 2 B, installed the Raspbian image . Everything was good. However, when I ran sudo apt-get upgrade it took about 50minues, and after reboot, i have blank screen with blinking ...
4
votes
1answer
238 views

The following packages have been kept back: mopidy

After performing sudo apt-get update && sudo apt-get upgrade, I got the message The following packages have been kept back: mopidy What I usually do in this case, is sudo apt-get install ...
-1
votes
1answer
48 views

Xbian update apt-get

I cannot update my Xbian from the config file, From sudo xbian-config : Apt-get update : w: GPG error: http:/http.debian.net stable release: The follwing I have this error Check deb upgrades > ...
1
vote
1answer
103 views

SSH session keeps exiting my terminal

I have set up my Raspberry PI though these instructions and was able to connect to it through SSH. I have installed RASPBIAN WHEEZY. However, when I run sudo apt-get update it keeps closing the whole ...
1
vote
1answer
315 views

Error when trying to install mysql-server

I'm trying to install mysql-server package using sudo apt-get install mysql-server on my Raspberry Pi (Raspbian Jessie), but I encounter the following error : dpkg: error processing archive /var/...
2
votes
2answers
1k views

Raspberry Pi B+ can't install node-red

I read an article on the newest MagPi about node-red and I decided to install it. I used: sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade sudo apt-get install nodered The 4th ...
4
votes
3answers
562 views

Installing gitlab messed things up, how to get it out?

Yesterday I started setting up my RasPi2 (with raspbian jessie) to start running my own server for some things. Amongst others I want to run gitlab on my raspi2. I connect to my raspi through ssh (...
7
votes
3answers
477 views

Why there is a collabora.list on my raspbian wheezy source repo?

Why there are more sources repos on my raspbian wheezy? They are /etc/apt/sources.list.d/raspi.list and /etc/apt/sources.list.d/collabora.list. For what are they needed?
3
votes
1answer
101 views

how to create a restore point before an apt-get install to effectively remove the package

I discoverd aplay could not play a sound immediately after another aplay command. I reported the issue. It seems to be working in other systems. So I started from scratch and after each apt-get ...
2
votes
1answer
54 views

sudo apt-get update does not connect to 10.10.5.18

I am having this prob since morning only and before that everything was normal. I can connect to my Pi through ssh using putty on my windows 7. The problem is when I run sudo apt-get update, it gets ...
1
vote
1answer
599 views

Unable to locate package python-gpiozero

I've just run apt-get update and apt-get upgrade on Raspbian, but when I try apt-get install python3-gpiozero python-gpiozero it can't find either package. Can't find any evidence of ...
2
votes
1answer
854 views

apt-get connections time out when updating

i am currently a newbie fro rp2. I am currently facing the problem when i am using putty and vnc server. When i am going to press sudo apt-get update. It shows this: pi@raspberrypi ~ $ sudo apt-...