Hot answers tagged

323 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,022
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
23 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,195
22 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
  • 41.7k
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,132
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 ...
tswaehn's user avatar
  • 320
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
  • 20.6k
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

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
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
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 ...
Peter Green's user avatar
  • 6,022
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,116
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

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.3k
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.3k
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,362
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
  • 153
5 votes

Can't apt-get install libssl-dev

On "Raspbian GNU/Linux 7 (wheezy)" you need to first do an "upgrade". So the following should work. sudo apt-get update sudo apt-get upgrade sudo apt-get install libssl-dev
Langley's user avatar
  • 159
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 ...
derjoachim's user avatar
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

How to solve "Encountered a section with no Package: header" error?

The error saying "Problem with MergeList /var/lib/..." indicates that the status file got corrupted for some reason, and so cannot be parsed. This status file contains information about installed deb ...
user 451's user avatar
  • 176
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
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
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.3k

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