Hot answers tagged

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 ...
Peter Green's user avatar
  • 6,436
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 ...
Rebroad's user avatar
  • 665
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 ...
Ashley's user avatar
  • 581
26 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 ...
flakeshake's user avatar
  • 6,235
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 ...
Ingo's user avatar
  • 42k
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: ...
Fedy2's user avatar
  • 403
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....
Axel Beckert's user avatar
  • 1,162
14 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 ...
tswaehn's user avatar
  • 330
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 ...
Seamus's user avatar
  • 21.7k
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-...
Johnride's user avatar
  • 211
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 = { '...
CzBiX's user avatar
  • 116
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.
mafin's user avatar
  • 116
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/...
Robin479's user avatar
  • 181
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....
Gord Chen's user avatar
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::...
Aloha's user avatar
  • 7,126
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 ...
Patator's user avatar
  • 161
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
Dip's user avatar
  • 101
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 ...
Hendri Winarto's user avatar
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 (...
joan's user avatar
  • 70.9k
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....
joan's user avatar
  • 70.9k
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 ...
tlhIngan's user avatar
  • 3,372
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. ...
Max's user avatar
  • 397
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 ...
gray's user avatar
  • 163
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 (...
jodal's user avatar
  • 66
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/...
Alexey Vesnin's user avatar
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 ...
goldilocks's user avatar
  • 58.7k
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 ...
TechnicallyTroubled's user avatar
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/...
Varad A G's user avatar
  • 848
5 votes
Accepted

Why can't I install Postgresql-10? (how does the raspbian archive work)

A highly useful resource is packages.debian.org in cases like this. If you search up postgresql-10, a package is found, but the key bit to note is the distributions that the package is available in (...
Aurora0001's user avatar
  • 6,298
5 votes
Accepted

Apt-Get Update security failure

Your question states that your sources.list file is "default". If that's the case, I'm not sure why your errors are pointing to debian servers. You didn't show us what your /etc/apt/sources.list file ...
Seamus's user avatar
  • 21.7k

Only top scored, non community-wiki answers of a minimum length are eligible