Questions tagged [apt]

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

77 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
1answer
320 views

Kernel/Firmware as Debian package

It says on the official site that "the kernel and firmware are installed as a Debian package, and so will also get updates when using [apt-get upgrade]" I run apt-get update / apt-get dist-upgrade ...
3
votes
0answers
622 views

Apt-get upgrade broken

I've got an error while trying to upgrade my pi. I can't even reboot it. My SD Card wasn't full. pi@raspberrypi ~ $ sudo apt-get dist-upgrade Lecture des listes de paquets... Fait Construction de l'...
2
votes
0answers
50 views

Is any mirror of archive.raspberrypi.org available?

Notice: it's not about mirrors of archive.raspbian.org but archive.raspberrypi.org. Earlier one has so many mirrors all over the world. Background I'm building a customized Raspbian image with RPi-...
2
votes
0answers
388 views

Unable to install php7.2-intl Depends php7.2-common 7.2.4-1 but 7.2.4-1+b1 is to be installed

While trying to install a NGINX server on a Raspberry Pi 3 Model B Rev 1.2 I was following this tutorial, also tried this answer but both return the error The following packages have unmet ...
2
votes
0answers
122 views

Wrong sources.list entry after adding resilio sync repository

I followed this Guide to install resilio sync on my RPI1. Installation works but I get an Error if I run sudo apt-get update. W: Failed to fetch http://mirrordirector.raspbian.org/raspbian/dists/...
2
votes
0answers
349 views

Why aren't the current kernel headers available via apt-get

I am trying to compile some usb drivers for the pi and therefore, I need to get the headers that correspond to my present kernel uname -r produces 4.1.7+ Based on my experiences with Debian and ...
2
votes
0answers
3k views

How do the Raspbian and OSMC repositories differ?

My stock Raspbian system has libswscale2 available in the repositories, but OSMC does not. How do the repositories differ? In Raspbian: $ cat /etc/apt/sources.list deb http://mirror.internode.on.net/...
1
vote
0answers
25 views

changed its 'Origin' value from 'Raspbian' to 'Raspberry Pi Foundation'

I have just run apt update on a system that has been working for a long time, and got the following error. Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Get:2 http://...
1
vote
0answers
41 views

Install Tiled on Raspberry Pi 4?

I am programming using love but I would like to make my levels on a map/tile editor and I found Tiled map editor but can't find out how to download it. I think it doesn't have a repository. I only ...
1
vote
0answers
32 views

Campus Network wi-fi issue

I have a raspberry pi which is connected to University network via wi-fi. I usually just ssh to it through my PC if i want to do anything. The internet is working as I can ping google and even fetch ...
1
vote
0answers
173 views

Raspbian problem after upgrade from stretch to buster

I tried upgrading raspbian from Stretch to Buster using this tutorial: https://pimylifeup.com/upgrade-raspbian-stretch-to-raspbian-buster/ At the end of step 6 (maybe at 99% of the upgrade), I had ...
1
vote
0answers
271 views

cannot update after adding new source

I am running a raspberry Pi 2B (with GUI disabled) and I added deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi to my sources.list. After this, I ran sudo apt-get update ...
1
vote
0answers
27 views

Floating point exception while upgrading via apt

When I attempt an apt upgrade on my Raspberry Pi Zero W I get the following output: Fetched 5,864 kB in 10s (580 kB/s) Floating point exception E: Sub-process /usr/bin/apt-listchanges --apt || test $?...
1
vote
0answers
108 views

sudo apt-get update isn't working / networking problem

I am getting following errors repeatedly upon using apt-get update command : pi@raspberrypi:~ $ sudo apt-get update Err:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease Cannot ...
1
vote
0answers
206 views

Update Transmission to 2.94

I have found an answer given in 2014, here, which suggests a method for updating the Transmission version available on the Raspberry Pi's default repositories to the latest version. This appears to be ...
1
vote
0answers
293 views

Segmentation fault apt-get

I have Debian Jessie installed and needed to reinstall Apache. When I typed sudo apt-get remove apache2 I managed to remove this package. However, any subsequent commands to apt-get produce a ...
1
vote
1answer
1k views

Docker install failed on raspbian with “BUILD_EXCLUSIVE directive which does not match this kernel/arch.”

I have tried to install docker on the latest rasbian: Uname -a Linux mypi 4.9.80-v7+ #1098 SMP Fri Mar 9 19:11:42 GMT 2018 armv7l GNU/Linux but I get the following error: sudo apt-get install ...
1
vote
0answers
3k views

Apt-get update stays on 0% [Working] for ever and i cannot install anything anymore

on my Raspberry with Strecth all of a sudden i cannot run apt-get anymore It hangs on 0% working for ever. I'm connected to the internet because i can CURL, ping and everything... if i try to ...
1
vote
0answers
84 views

Data socket timed out with apt-get, stretch, and ssh

Trying to utilize ssh with apt-get over ssh on a stretch RPi. When doing so, however, I receive a data socket timeout error. It works fine using jessie. It might be a bug as similarly described by ...
1
vote
0answers
193 views

HOW TO FIX: “The valid stable is invalid for APT::Default-Release as such a release is not available in the sources”

So as I'm working on a project I type in "sudo apt-get install feh" but after I pressed enter it gave me a "The valid stable isinvalid for APT::Default-Release as such a release is not available in ...
1
vote
0answers
728 views

Problems with PyQt5

Quoting: I developed a similar application using PyQt4 and Qt4-designer. You have to install pyqt4 all modules: sudo apt-get install qt4-default qt4-designer qt4-doc qt4-dev-tools python-...
1
vote
0answers
187 views

Errors retrieving packages from raspbian.org

Trying to install hostapd with apt-get fails with a 404 error "Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/w/wpa/hostapd_2.3-1+deb8u4_armhf.deb When I go to the link and look,...
1
vote
0answers
817 views

Remove repository from sources.list.d

I have a repo in my sources.list.d/raspi.list that I can't seem to remove. I'm able to remove the repo from the list (sudo vi) and save it, but when I reboot the old file is restored. How can I ...
1
vote
0answers
284 views

Trying to install mysql-server and it throws a mariadb error

While trying to install mysql-server, I get this error: root@raspberrypi:~# sudo apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done ...
1
vote
0answers
818 views

I'm unable to install samba

I'm having trouble with samba that won't install. I did try several time with purge uninstalling and reinstalling but i'm always ending with an error related with a shared library, it seems that the ...
1
vote
0answers
35 views

Pi rebooting on 1 specific apt-get installation

I am experiencing a very peculiar problem with my Raspberry Pi 3 (model B V1.2), running the latest version of Raspbian (the June 2017 version). Whenever I try to install nginx using apt-get, my Pi ...
1
vote
0answers
302 views

sudo apt-get install not working

when I try apt-get install upgrade this error shows up: pi@raspberrypi:~ $ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want ...
1
vote
0answers
192 views

Unable to install vnc server as unable to update

I have just installed Raspbian on my Raspberry Pi. Now I want to install the GUI. So for that, I tried to install VNC server by runing sudo apt-get update Which gave me the error: temporary failure ...
1
vote
0answers
637 views

Help with Raspbian apt-get update - mirrordirector.raspbian.org not resolving

I just ran a sudo apt-get update and received error messages saying Err http://mirrordirector,raspbian.org jessie InRelease --Etc-- W: Failed to resolve.... and it said that some index files ...
1
vote
0answers
392 views

Dpkg error when make apt-get install

When I try to install a package, I get this error every time: Setting up ntp (1:4.2.6.p5+dfsg-7+deb8u2) ... update-rc.d: warning: start and stop actions are no longer supported; falling back to ...
1
vote
0answers
155 views

cron-apt is always unable to connect to network

I am using cron-apt to keep my Pi up to date. However, since a few weeks, I always get these error messages in the mail, when cron-apt runs: CRON-APT RUN [/etc/cron-apt/config]: Sat Feb 25 04:00:01 ...
1
vote
0answers
1k views

Correct sources.list when upgrading from stable to testing

Last night I followed this guide to upgrade my headless pi server from Jessie to Stretch. Everything worked as expected and the version output is now Stretch: cat /etc/os-release PRETTY_NAME="...
1
vote
0answers
1k views

apt-get install fails to install OpenMediaVault - php5-pam dependency not available

While installing Open Media Vault following instructions on https://forum.htpcguides.com/Thread-Installing-OpenMediaVault-on-Pi3 or http://forum.openmediavault.org/index.php/Thread/5302-Howto-install-...
1
vote
3answers
2k views

Missing dpkg after sudo apt-get update

I've tried to update my raspberry, received 503 Service Unavailable message and now I can't install anything, because of missing dpkg directory.. root@raspberrypi:/sys/bus/w1/devices# sudo apt-get ...
1
vote
1answer
3k views

Unable to install dialog package

I'm using wheezy on my raspi and wanted to install dialog. sudo apt-get install dialog E: Package 'dialog' has no installation candidate So I look up the source Package: dialog Versions: 1.1-...
1
vote
0answers
59 views

apt-get stopped working

I randomly started having trouble using apt-get on a Raspberry Pi 3 running Raspian. I can remove packages just fine, but when I try to install one, I always get the message E: Unable to locate ...
1
vote
1answer
774 views

Failing to install Jenkins on Raspberry Pi 3 Model B

I have been following some excellent tutorials on How to Install Jenkins onto a Raspberry Pi. After changing the Raspberry Pi 3 Model B's default Java version to 1.8.0_101 and completing the steps to ...
1
vote
1answer
281 views

Can't install rails3 - unmet dependencies

I just got a Raspberry Pi 3 (I already have a fair amount of UNIX experience) and installed Raspbian. I'm trying to install Rails 3 with apt-get. When I try, I get a message about unmet dependencies. ...
1
vote
0answers
968 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
2k 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
1k 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 ...
1
vote
0answers
287 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 ...
1
vote
0answers
114 views

Random Perl error occurs when trying apt-get upgrade

As of today, suddenly following error occurred while I tried to execute apt-get upgrade Unrecognized character \xA8; marked by <-- HERE after sys_stat_h<-- HERE near column 15Compilation failed ...
1
vote
1answer
3k views

Installing MySQL server in latest (NOOBS) Raspbian

Here I was, following this tutorial (http://www.penguintutor.com/linux/raspberrypi-webserver), because I wanted to host a pretty simple PHP site on my Raspberry Pi. But once again, as it usually ...
1
vote
0answers
782 views

Problem with debconf when trying to upgrade

I have problem with upgrade my system. When i used command: sudo apt-get upgrade I get an error: Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File....
0
votes
1answer
31 views

When I type sudo apt-get update I get:

When I type sudo apt-get update I get: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'testing' to 'stable' N: This must be accepted explicitly ...
0
votes
0answers
26 views

Unable to update RPi 4 after installing Plex

I'm unsure as to what happened, but I am unable to run sudo apt update on my rpi 4. I believe this problem came into play after I installed plex via this tutorial. I have looked in /etc/resolv.conf ...
0
votes
1answer
251 views

Raspbian: dpkg hangs during raspberrypi-kernel package upgrade

while doing an apt upgrade on my Raspberry Pi 4 (Raspbian 10 - Buster), dpkg was interrupted during setup of the raspberrypi-kernel package: raspberrypi-kernel (1.20190819-1) wird eingerichtet ... »...
0
votes
0answers
239 views

Raspberry PI apt update files failed to download

I am trying to issue the following command on my Rpi sudo apt-get update but I've the following error message pi@raspberrypi:~ $ sudo apt-get update Hit:1 http://archive.raspberrypi.org/debian ...
0
votes
2answers
138 views

'sudo dpkg --configure -a' crashing Pi 4

Trying various ways to install Docker on Buster I have now run into this. I get the message that E: dpkg was interrupted and to run the sudo dpkg --configure -a command. When I do I get this: ...