Questions tagged [apt]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
446 views

I'm getting an error when installing any package

I updated apt-get and tried to install tightvncserver using "sudo apt-get install tightvncserver" i got the error below E:sub-process /usr/bin/apt-listchanges --apt || test $? -lt 10 returned an ...
3
votes
1answer
2k views

pi1, armv6, how to disable armhf packages?

I dusted off a Pi 1, which is armv6, then installed Raspbian on it. The base OS works, but many of the packages I install won't even start- they say illegal instruction. That's because the armhf ...
2
votes
2answers
234 views

Why does 'apt install node-body-parser' fail?

I have a small Node.js app of my own running on a Raspberry Pi 3 B. A recent apt full-upgrade bumped the nodejs packet from version 4.8.2 to version 8.11.1, and in the process it removed the package ...
1
vote
2answers
910 views

Downgrade libc6 to resolve breaks?

I was near the end of the process of upgrading my pi from Wheezy to Stretch (which worked according to cat /etc/os-release, I was trying to clean out old packages after reboot). The following ...
0
votes
2answers
709 views

Apt-get not working Raspberry Pi 2 B

On raspbian stretch: I set up the raspberry pi to have a static address, so I could use VNC/ssh to access the system rather than needing the separate monitor. Even though I can ssh/VNC into the pi, I ...
0
votes
2answers
14k views

Upgrade or install using apt-get results in dpkg error

Raspbian Stretch OS I tried sudo apt-get update and then upgrade There is no issue with update but upgrade or while installing any package for instance sudo apt-get install tightvncserver gives the ...
2
votes
1answer
176 views

What is ffmpeg “rpt1” version?

When I run apt-cache show ffmpeg, there are two versions available. One of them has "rpt1" on the end of the version number. I can't find any info about this; what is the difference between the two? ...
0
votes
2answers
188 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
0answers
64 views

Reload pi without NOOBS (e.g. via apt-get)

I had a pi running nicely until I rebooted it. Since then it won't mount cifs drives and I can't think of any other thing to do except start over. If you can't sleep read this descent into ...
0
votes
1answer
2k views

Unable to locate package nmap & sources.list error

Love to have nmap on my #raspberrypi, but: root@qwers:/home/pi# apt-get update Hit:1 http://archive.raspberrypi.org/debian stretch InRelease Hit:2 https://deb.nodesource.com/node_9.x stretch ...
2
votes
0answers
395 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 ...
4
votes
1answer
99 views

Are there any downsides to using “apt” on the raspberry pi?

I normally use apt-get on the raspberry pi to update/install/etc., but I like just plain apt better because of the better interface and text coloring, etc. I can't seem to find anything on google that ...
2
votes
1answer
797 views

Installing GitLab on Raspian Stretch

I am trying to install GitLab on my Pi according to the official instructions. Until this step everything seems to be working fine: seb@raspi:~ $ sudo curl -sS https://packages.gitlab.com/install/...
7
votes
4answers
2k views

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

I was recently trying to install Postgresql-10 on my raspberry pi running Stretch. When I run sudo apt-get install postgresql-10 I get E: Unable to locate package postgresql-10. However, when I go ...
0
votes
1answer
375 views

Package ctags is not available, but is referred to by another package

Tried to install ctags for vim to work with and was unable to locate it apt-cache search ctags Package ctags is not available, but is referred to by another package
1
vote
1answer
659 views

ssmtp fails to install

I tried to install ssmtp but it fails. I updated and upgraded everything before trying this command but it displays this error message. pi@raspberrypi:/etc $ sudo apt-get install ssmtp Reading ...
0
votes
1answer
4k views

xdotool for Raspbian Stretch

I am using Raspbian Stretch with desktop Version: March 2018 Release date: 2018-03-13. I wanted to install the xdotool package, unfortunately without success. sudo apt-get install xdotool returns: E:...
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 ...
3
votes
2answers
3k views

Difference between Raspbian repositories

When installing raspian via NOOBS the following repository can be found in /etc/apt/sources.list: deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi But there are a lot ...
0
votes
0answers
108 views

apt-get upgrade not working anymore

I'm trying to reinstall Raspbian Stretch Lite version to make a fresh install on my Rpi 2 B. I use to follow the every same steps everytime I do this; sudo raspi-config //to expand file system ...
1
vote
5answers
4k views

Raspbian Jessie apt-get update fails ERROR: Hash Sum mismatch

Please find the attached snip, for the complete error message. This is the second time I've faced this issue, last time it happened I tried couple of different things updating source list file or apt-...
1
vote
2answers
2k views

Raspberry pi : apt-get update failes

I was following a tutorial and as dumb as it sounds I was ended up with editing sources.list file and adding new gpg key. now when i'm updating the apt-get i'm getting this error. Any help to get me ...
2
votes
0answers
123 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/...
0
votes
0answers
218 views

Cannot fetch from mirror nus.edu.sg [duplicate]

I just start using rpi and quite a newbie i run sudo apt-get update sudo apt-get upgrade The update thing is successful, however , i cannot do the upgrade part, there are some package they fail to ...
2
votes
1answer
163 views

Why can you only have one root user terminal process running at a time? [closed]

This question was asked out of mostly curiosity. I've just flashed a new SD card with Rasbian Stretch Lite and when I did, little did I know that Stretch Lite is very similar to Arch Linux Arm. And ...
0
votes
3answers
3k views

Cmake broken after update

Before running an apt-get update, my cmake worked. Now I get the error Setting up cmake (3.7.2-1) ... pi@rpi:~ $ cmake Segmentation fault pi@rpi:~ $ And I can't compile any cmake files I'm ...
0
votes
1answer
590 views

sudo apt-get update Archives directory is missing

I have no idea what this means. Was just doing a routine update on my Raspberry Pi: pi@raspberrypi ~ $ sudo apt-get update E: Archives directory /var/cache/apt/archives/partial is missing. - Acquire ...
0
votes
3answers
464 views

How to install packages via “apt-get” while ssh connected to MacBook via ethernet cable?

I'm very new in Rpi community and sure enough had to spent the last 24 hours to figure out how to ssh connect from my MacBook to my Pi3 via an ethernet cable. I'm following the steps in the second ...
4
votes
2answers
8k views

Raspberry Pi Zero Stretch /etc/resolv.conf DNS problem

I cannot use apt update as every reboot my sudo vim /etc/resolv.conf file resets to the below # Generated by resolvconf search home nameserver 127.0.0.1 I have tried to change the nameserver to a ...
3
votes
1answer
6k views

What repository to add for apt to find raspberrypi-kernel?

In the default Raspbian image I find *raspberrypi* kernel, bootloader, firmware etc. Using a bootstraped Installation I don't find them but using the same entries in /etc/apt/sources.list. In ...
0
votes
1answer
413 views

/boot/upgrade not found on Ubuntu 16.10 with Berryboot

Hi! I am using Berryboot on my Raspberry PI 3 to boot between Raspbian, OPENElec, RetroPie & Ubuntu Server 16.10, Everything works smoothly except for one thing; When using the Apt-get command ...
0
votes
2answers
3k views

Sub-process /usr/bin/dpkg returned an error code (1)

Can anyone help a n00b out? I should have enough space on my SD. df -h results are below. sda1 is for NAS storage. I'd appriciate any input whatsoever, and thanks in advance. sudo apt-get upgrade ...
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 ...
0
votes
0answers
240 views

Failure on apt-get

I have a remote site where I have a brand new raspberry pi that I would like to setup as a web server. I want to use nginx, and so I ran sudo apt-get install nginx. This should be something incredibly ...
0
votes
1answer
451 views

Cannot update my raspberry pi

I try an update on my new raspberry pi 3. I did sudo apt-get update and I've got "0% mirrordirector.raspbian.org" Internet is ok but when I ping mirrordirector I've got 13 packets transmitted but 0 ...
2
votes
1answer
298 views

sudo apt-get installation doesn't work

Whenever I try to use sudo apt-get install, or sudo apt-get update, for that matter, I will result in an error like this: Reading package lists... Error! E: Encountered a section with no Package: ...
0
votes
2answers
372 views

Why do I constantly have missing package dependencies?

Many tries. Many half-fails. All of the package managers that I'm using (apt-get, synaptic) always cannot really finish installations or removals. Just minutes ago I was trying to purge the code::...
2
votes
2answers
8k views

MongoDB 3.2 or higher on Raspberry Pi 3

I'm trying to update my mongodb version on my raspberry pi. I've runned following commands $ sudo apt-get install mongodb So far so good. I can access the mongo shell by typing mongo in the console. ...
1
vote
0answers
195 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 ...
6
votes
5answers
11k views

Raspbian Stretch: Getting Error: missing `server' JVM at `/usr/lib/jvm/java-8-openjdk-armhf/jre/lib/arm/server/libjvm.so'

I am trying to get the arduino utilite installed to my Pi Zero, so I did sudo apt-get install arduino And it chugs away for a moment, then barfs this: pi@raspberrypi:~ $ sudo apt-get install ...
1
vote
0answers
734 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
1answer
11k views

Stretch apt-get update error: 'http://archive.raspberrypi.org/debian stretch Release' does no longer have a Release file

Cannot do first update for a straight from raspberrypi.org download of 2017-09-07-raspian-stretch image due to errors: pi@RWPi:~ $ sudo apt-get update Ign:1 http://mirrordirector.raspbian.org/...
2
votes
1answer
617 views

What repositories to add for apt-get to find python-opencv

I've been trying to install the packages necessary to play with shape recognition with a camera. Virtually all sites recommend using opencv, and tell, like here, here and here, to install it with apt‐...
0
votes
1answer
130 views

Error installing wpasupplicant

I received the following error whilst installing wpasupplicant $ sudo apt-get install wpasupplicant Reading package lists... Done Building dependency tree Reading state information... Done The ...
0
votes
1answer
771 views

Cannot Connect to Wifi

So to begin, I have a brand new Raspberry Pi 3 B with Raspbian installed from NOOBS. I am trying to connect it to Wi-Fi however the GUI says No Wireless Interfaces. When I hop into Terminal, I can see ...
1
vote
0answers
854 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 ...
0
votes
1answer
50 views

Did dumb thing and removed GTK3.0 folder

So I removed the folder. OK...dumb move Now, when I try to install again.... sudo apt-get install libgtk-3-dev It responds: "libgtk-3-dev is already newest version" So how can I re-install ...
1
vote
0answers
286 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 2
3
4 5
7