327
votes
Accepted
What is rpikernelhack?
"rpikernelhack" is a fake package name and a directory name used as part of a hack (in the sense of a dirty but expedient solution to a problem) to work around the fact that the Raspberry Pi ...
53
votes
What is rpikernelhack?
It's just the directory name given by the developers who have created a Raspberry Pi specific set of patches to the Linux kernel.
It is a fix by the Raspbian developers to fix a FAT file-system ...
45
votes
Installing docker on Raspberry pi
In my case this problem was solved by rebooting after installing updates, and before trying to install Docker.
This will likely occur if you suddenly bring an older version of Raspbian up-to-date, and ...
25
votes
Accepted
pi1, armv6, how to disable armhf packages?
Both Raspbian and Debian pride themselves in suppporting the "armhf" architecture. Of course, they mean two different things !
Raspbian "armhf": ARMv6 + VFPv2
Debian "armhf": ARMv7
Your scenario is ...
23
votes
Raspberry Pi sudo apt-get update not working
I assume you are using Raspbian. It could be that your installation lists are broken. I suggest to reinitialize them by editing sources.list and raspi.list. By default they look like this:
rpi ~$ cat ...
16
votes
How to use Stretch/testing packages?
I've adapted the instructions here to our case.
First, create the following files in /etc/apt/preferences.d:
jessie.pref:
Package: *
Pin: release a=jessie
Pin-Priority: 900
stretch.pref:
Package: ...
14
votes
Accepted
How to add ppa entries manually on Raspberry Pi
There are two ways:
Go to the PPA's web page, click on "Technical details about this PPA" and copy paste those lines into your /etc/apt/sources.list or create a new file at e.g. /etc/apt/sources.list....
13
votes
Accepted
add-apt-repository does not work
install software-properties-common [add-apt-repository]
sudo apt-get install software-properties-common
Then you can start to run the standard procedure
sudo add-apt-repository ppa:webupd8team/atom
...
13
votes
update problem with apt-get after new install of OS
You've asked a good question - one that's a potential concern to all RPi users. I'm still working through this - I may not have a complete answer now, but I'll post what I've learned now, and update ...
11
votes
Raspbian Stretch: Getting Error: missing `server' JVM at `/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/arm/server/libjvm.so'
I actually fixed this error going step by step, apt seems to have a bug in the way it handles ca-certificates-java and openjdk-8-jre-headless on raspbian.
So I did :
sudo apt-get remove openjdk-8-...
10
votes
Accepted
update-command-not-found gives « KeyError: 'rpi' » after upgrading to Rapsbian Buster (testing)
Dirty Fix:
Add a line of 'rpi': 10, to the end of list component_priorities in /usr/share/command-not-found/CommandNotFound/db/creator.py.
Result should like this:
component_priorities = {
'...
10
votes
Accepted
How do I fix this broken upgrade?
I had the same issue and the fix was just to:
mount -o remount, rw /boot
then update/upgrade works.
8
votes
Cannot connect to mirrordirector.raspbian.org
I suffered similar issue, and use this way to sovle it. First, comment out this in /etc/apt/sources.list:
#deb http://mirrordirector.raspbian.org/raspbian jessie main contrib non-free
deb http://apt....
8
votes
nginx 1.9.2 on raspbian
The jessie-backports contain a precompiled armhf binary of the latest nginx mainline (1.9.10).
### add jessie-backports to sources.list
echo "deb [check-valid-until=no] http://archive.debian.org/...
6
votes
Accepted
How to add a package to official raspbian repositories?
It depends.
If the program has no dependencies on Pi specific libraries then getting it into Debian is the way to go. It should then be pulled in from there and built by our autobuilders.
If it does ...
6
votes
sudo apt-get update Not working
Looks like it's trying to use IPv6. I bet your connection doesn't have IPv6 (yet).
Make a config file that disables IPv6.
Run the command sudoedit /etc/apt/apt.conf.d/99force-ipv4, put Acquire::...
6
votes
raspbian - sudo apt-get update not working
There is DNS related issues with mirorrdirector. See answer here : cannot connect to mirrordirector.raspbian
You can remove
deb http://mirrordirector.raspbian.org/raspbian wheezy main firmware
...
6
votes
Linux headers in Raspbian Jessie
You can try sudo apt-get install raspberrypi-kernel-headers if you're running raspbian.
As suggested here
https://www.raspberrypi.org/forums/viewtopic.php?f=91&t=154749
6
votes
Accepted
Changed sources.list, but still updates from archive.raspberrypi.org
I'm having the same exact same problem right now, 8 months after this question is asked. But I have found a solution for this, and I manage to successfully install PIXEL desktop environment on my ...
6
votes
Who controls what software is on raspbian & apt-get?
You need to make a distinction between Raspbian (nothing to do with the Raspberry Pi Foundation) and the image based on Raspbian which may be downloaded from the Raspberry Pi Foundation site (...
6
votes
Accepted
How do I restore the default repositories?
/etc/apt/sources.list
deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive....
6
votes
Accepted
Unable to install mongodb 3.4 on Pi 3
From the tutorial you linked to:
MongoDB only provides packages for 64-bit builds of Debian 7 and 8.
Although the Pi3 has a 64-bit processor, Raspbian is only a 32-bit OS.
Also, see this related ...
6
votes
Accepted
Difference between Raspbian repositories
The raspbian.org repository is the Debian archive for the Raspberry Pi architecture. The URL http://mirrordirector.raspbian.org directs you to a suitable (local) mirror of the raspbian.org repository. ...
6
votes
Accepted
Up-to-date Syncthing on Raspberry Pi
Ok, so I tried the instructions for debian/ubuntu apt install at https://apt.syncthing.net and that worked. There is support for armhf architecture.
Just follow the instruction to install the gpg key ...
5
votes
How can I install PHP 5.6 (instead of 5.4)?
At the time of this writing (november 2015), raspbian is built on Debian Jessie. The installable PHP version is in the 5.6 branch.
However, for Laravel projects you will need a number of PHP ...
5
votes
isc-dhcp-server install and run problem
You need to have INTERFACES="" in defaults as it shipped! Even more - automatic update can overwrite it btw. This issue is DHCPD-dependent, not an OS-dependent. All you need is to define ALL the /etc/...
5
votes
Accepted
The following packages have been kept back: mopidy
I'm one of the Mopidy core developers and the one packaging Mopidy for Debian.
It looks like you're trying to install the Mopidy Debian package as built for Debian jessie (stable) on a wheezy system (...
5
votes
Accepted
Who controls what software is on raspbian & apt-get?
According to the Raspbian homepage, "Raspbian is not affiliated with the Raspberry Pi Foundation. Raspbian was created by a small, dedicated team of developers that are fans of the Raspberry Pi ...
5
votes
Unable to apt-get update but connected to internet?
You could also try and ping 8.8.8.8 to see if you are actually able to get packets out to the internet. If you are then check your DNS settings as per
cat /etc/resolv.conf
You would expect to see ...
5
votes
Accepted
Why does sudo apt-get build-dep not work for emacs24?
My system config is
Linux raspberrypi 4.4.13+ #894 Mon Jun 13 12:43:26 BST 2016 armv6l
GNU/Linux
Please follow the below steps and it should get things ready for you.
1. sudo vi /etc/apt/...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
apt × 419raspbian × 152
update × 71
software-installation × 41
packages × 40
raspbian-jessie × 30
pi-3 × 27
raspbian-stretch × 25
dpkg × 21
raspbian-buster × 19
debian × 15
python × 13
kernel × 13
linux × 12
pi-2 × 11
networking × 10
ubuntu × 9
raspbian-wheezy × 9
sudo × 9
source.list × 9
pi-4 × 7
php × 7
wifi × 6
ssh × 6
pi-zero-w × 6