Questions tagged [apt]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
303 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
2k 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
196 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
738 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
188 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
876 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
287 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
1answer
414 views

Could not open locked file when trying to install with apt-get

Now, here is my question: Who hates apt-get? Almost no one. Who gets problems with apt-get? I do. And I am. Sometimes, using sudo apt-get upgrade takes sooooo long you just close off terminal to ...
1
vote
0answers
834 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
1answer
678 views

How do you use Gnash?

So. Looking over the internet to find some kind of substitute to adobe flash, I landed on the raspberry pi forum or something (Forgot the link). I saw somebody talking about Gnash from GNU, and after ...
1
vote
0answers
37 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
306 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
194 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
393 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
159 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
780 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
286 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
988 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
288 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
794 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
2answers
195 views

Should I change the installation directory for apt?

I was recently attempting to update some files using apt-get and was given an out space error. I then realized everything was being installed to the boot partition which is only 40mb (on a 32gb card). ...
0
votes
2answers
2k views

Pre-built OpenCV on Raspbian Buster

The hassle of installing OpenCV on Raspbian is something many want to avoid, and the easiest way to do this is to use a prebuilt image. I decided to take this route, only to find most pre-built images ...
0
votes
3answers
2k views

How to run an installed program that is not in the main menu?

I opened a terminal window using the launch bar icon (next to the "Menu" button on Jessie) and typed in sudo apt-get install omxplayer. After doing its thing without errors, it said that I already had ...
0
votes
3answers
4k views

sudo apt-get update Not working

Pi connected via ssh remotely. This is the log running pi@raspberrypi:/etc $ sudo apt-get update Err http://mirrordirector.raspbian.org jessie InRelease Err ht**://raspbian....
0
votes
2answers
3k views

RPI2 raspban wheezy on can't install autoconf

I am using a raspberry pi 2 model b running raspbian wheezy. I am trying to install a package autoconf and it says: $sudo apt-get install autoconf E: no such package autoconf
0
votes
2answers
46 views

Unable to purge x11 common package group

I'm trying to remove all GUI elements off my raspberry pi 4 and run it headless only, but whenever I try to do sudo apt purge x11-common*, it gives this error: Building dependency tree ...
0
votes
1answer
341 views

Permission denied error when using apt and apt-get as root on raspbian

I keep getting an error when I use apt or apt-get as a root user or using sudo with the default pi account. Ign:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease Ign:2 http://archive....
0
votes
1answer
386 views

How to remove `raspi-copies-and-fills` from Raspbian

I did apt update && apt upgrade as root and now my Raspbian system is corrupt and won't boot anymore. After some debugging I noticed there's the package raspi-copies-and-fills. Fortunately, ...
0
votes
1answer
1k views

“apt-get remove python” removed a ton of other stuff, RPi messed up

So I was trying to install the Python library lzma, and somehow I got to the point of removing python2.x, and I don't know why I did that. I'm tired, that probably why. I think I learned my lesson. ...
0
votes
1answer
4k views

Installed kernel headers and $(uname -r) differ

Raspberry Pi 1 Model B. If I run: uname -a I get: 4.9.16+ Gcc version: 4.9.2 If I execute: sudo apt-get install raspberrypi-kernel-headers it installs me 4.4.50+ Why and how can I install the ...
0
votes
1answer
2k views

G++4.9 not found, Raspberry Pi Jessie

I am trying to install gcc4.9 and g++4.9 on my raspberry pi jessie. I am following this tutorial, however when it comes to running: sudo apt-get install gcc-4.9 g++4.9 I get: Reading Package Lists....
0
votes
1answer
1k views

I can't upgrade!

I was installing and removing packages recently and i noticed that it said: 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded. as soon as i ran the command. But, when i ran sudo apt-get ...
0
votes
2answers
5k views

Changed sources.list, but still updates from archive.raspberrypi.org

i am using a local apt-mirror to mirror raspbian and ubuntu and changed to /etc/apt/sources.list on my pi. But it still updates from archive.raspberrypi.org. From apt-mirror config: #Raspbian deb-...
0
votes
2answers
188 views

Why don't I get all available packets from apt?

I wanted recently to install profanity, a xmpp client, on my raspi. I ran a apt-get update, then a apt-get dist-upgrade, and tried to install the package. but it doesn't find it! But on this link: ...
0
votes
1answer
5k views

apt-get “cannot locate the package”

I was following a tutorial online so I can install a USB DisplayLink monitor, and it told me to type: sudo apt-get install git-core gcc-4.6-arm-linux-gnueabi I tried that, and it says it "cannot ...
0
votes
2answers
5k views

Hash sum mismatch error

Context: I have 8 Raspberry Pi Computers in my class. After flashing the most recent version of Raspbian onto 8GB SD cards which were originally sold with NOOBS on them (the cards are therefore ...
0
votes
1answer
37 views

Updating from such a repository can't be done securely (Raspberry pi)

I'm running a 3B+ with Raspbian and I have a problem updating my raspberry pi 3b+ pi@server:~ $ cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" NAME="Raspbian GNU/Linux&...
0
votes
1answer
94 views

unable to upgrade

Whenever I try to upgrade on raspbian it says, "E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? Nothing I have tried yet works. It also was like this when I used ...

1
4
5
6 7 8