Questions tagged [apt]

APT is a package manager used on Raspbian and includes commands such as 'apt-get'.

APT ("advanced package tool") is the principle package management system used on Debian and derivatives (such as Raspbian).

https://en.wikipedia.org/wiki/APT_(Debian)

419 questions
244
votes
2 answers

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 rpikernelhack' Adding 'diversion of /boot/bcm2708-rpi-b.dtb to…
MD-7
  • 2,853
  • 2
  • 11
  • 12
26
votes
7 answers

apt-get installation doesn't work on Raspberry Pi

I tried to install python-pip by typing this command: sudo apt-get install python-pip And the result is below: Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main python2.6-minimal armhf 2.6.8-1.1 Temporary failure resolving…
SamuraiT
  • 369
  • 1
  • 3
  • 4
24
votes
5 answers

Installing docker on Raspberry pi

Trying to set up docker on my pi, getting errors I’m not sure what to do with. the generally recommended thing to do is to run the following: $ curl -sSL https://get.docker.com | sh But that script isn’t very informative error-wise; I’m getting…
cryptograthor
  • 383
  • 1
  • 2
  • 8
23
votes
7 answers

Cannot connect to mirrordirector.raspbian.org

I can't connect to mirrordirector.raspbian.org in Raspbian, but I don't know why. I've already re-installed Raspbian, but it looks like this is not the problem. How can I resolve this? After I connected to my Raspberry Pi over SSH from another…
William Bello
  • 333
  • 1
  • 2
  • 6
20
votes
2 answers

apt-get update and upgrade says "packages have been kept back"

I ran an update and an upgrade (apt-get update and apt-get upgrade) and I get the following message: The following packages have been kept back: alsa-base scratch What do I do to get these upgrades?
Cade Roux
  • 2,077
  • 5
  • 23
  • 27
14
votes
1 answer

Automatic updating recommended?

Is it recommended to configure something to automatically keep an RPi updated? And if so, which method (cron-apt or something else)?
Cade Roux
  • 2,077
  • 5
  • 23
  • 27
13
votes
2 answers

Raspberry Pi apt-get update/upgrade on Raspbian hangs?

Whenever I try to update my pi using sudo apt-get update && sudo apt-get upgrade it will often hang at some point during the installation. It's been different ones each time, but the last was pulse audio. Furthermore, I am able to ping the pi and an…
whotyjones
  • 131
  • 1
  • 1
  • 3
13
votes
3 answers

Installing Python 3.4 on Raspberry Pi

Is it possible to run python 3.4 on a Raspberry Pi? Currently I have python 3.2, but the odd thing is that running sudo apt-get update sudo apt-get install python3 results in my Raspberry Pi informing me that python3 is 'already the newest…
starbeamrainbowlabs
  • 324
  • 2
  • 5
  • 14
12
votes
2 answers

How to use Stretch/testing packages?

I want to install the last version of Deluge on my Raspbian. The current distribution, Jessie (stable), contains the 1.3.10 version but I want the last one 1.3.13. The next distribution, Stretch (testing), contains the 1.3.13 version. How can I…
Fedy2
  • 403
  • 1
  • 3
  • 10
12
votes
2 answers

How can I install PHP 5.6 (instead of 5.4)?

I'm actually stuck with a little problem. I want to use Laravel on my pi but it requires at least PHP 5.5.9. But actually, the latest version of PHP that I am able to install (via the official repository) is the 5.4 How can I upgrade to 5.6 (or…
Germain
  • 222
  • 1
  • 2
  • 7
12
votes
7 answers

apt-get update gives me errors with mirrordirector.raspbian.org

I am trying to install tightvncserver on my rPi model A running Raspbian. I am connecting to the rPi via SSH from my laptop. I can connect to the internet, but cant install the package. It seems to be a problem with mirrordirector.raspbian.org…
Awsumman
  • 149
  • 1
  • 1
  • 5
11
votes
1 answer

Why do I always have to run apt-get update twice? Or do I?

Every time I run apt-get update, I get the following message (the exact duplicate package is different depending on the last entry in sources.list): W: Duplicate sources.list entry http://ftp.uk.debian.org/debian/ squeeze/main armel Packages…
Tom Medley
  • 4,069
  • 8
  • 31
  • 45
11
votes
1 answer

What is the difference between rpi-update and sudo-apt upgrade?

I'm wondering what the difference is between running the git-hub obtained program rpi-update and using sudo apt-get update followed by sudo apt-get upgrade. I've checked around and cannot find the differences listed anywhere. Is one preferred over…
Huntrods
  • 213
  • 2
  • 6
11
votes
2 answers

Having trouble updating - how to fix problem with MergeList?

pi@raspberrypi:/$ sudo apt-get update Hit http://archive.raspberrypi.org wheezy InRelease Hit http://mirrordirector.raspbian.org wheezy InRelease Hit http://archive.raspberrypi.org wheezy/main armhf Packages Hit http://mirrordirector.raspbian.org…
Cade Roux
  • 2,077
  • 5
  • 23
  • 27
10
votes
1 answer

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 entry for guvcview. ppa:pj-assis/ppa
ssinfod
  • 586
  • 2
  • 10
  • 19
1
2 3
27 28