Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

1
vote
1answer
20 views

raspberrypi-bootloader error when apt installing/upgrading

I've never had this complex of an apt issue. I was trying to install nodejs when I came upon this unmet dependency. Updating, upgrading, and fix-broken install do not solve anything. I need to take a ...
1
vote
1answer
16 views

updating openSSL gives error “files list file for package 'vim-tiny' is missing final newline”

When ever i run apt-get install with openssl or libssl-dev i get the following error After this operation, 10.3 MB of additional disk space will be used. Do you want to continue? [Y/n] y Reading ...
0
votes
1answer
23 views

Is it safe to configure unattended-upgrades to use Debian security updates on Raspbian Lite?

When setting up Raspbian Lite and installing unattended-upgrades, the origins list defaults to this: "o=Debian,codename=${distro_codename},label=Debian-Security"; Is it safe (or wise) to use this, ...
0
votes
1answer
23 views

apt-get update Crashes

I have just successfully done sudo apt-get update sudo apt-get dist-upgrade Success meaning they finished and no errors which stopped the process - I did get a warning about something to do with ...
0
votes
1answer
46 views

Error while trying to do sudo apt-get upgrade

E: Syntax error /etc/apt/apt.conf.d/01autoremove:4: Extra junk after value
1
vote
0answers
20 views

wine on exagear fail on libc6_2.19-18

have installed exagear but when wine try to unpack this still block me: for solving i try this on /bin/bash in the guest image /opt/exagear/images/debian-8: sudo dpkg -i libc6_2.19-18+deb8u10_i386....
1
vote
0answers
45 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 ...
0
votes
0answers
30 views

apt upgrade fails on fresh image

I flashed the latest version of raspbian-lite to an SD card and booted my Model B from it. I changed the hostname and other config settings in raspi-config, then reboted and tried to run sudo apt ...
0
votes
0answers
62 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 ...
1
vote
1answer
80 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
54 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
75 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
101 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
1k 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 ...
0
votes
0answers
31 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
56 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
27 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 ...
-1
votes
1answer
330 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 ...
1
vote
0answers
215 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
82 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
227 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
682 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
49 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
204 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
781 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:...
0
votes
1answer
376 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
694 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
70 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 ...
0
votes
2answers
790 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
1answer
798 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 ...
0
votes
0answers
83 views

apt-get | Segmentation faultsts

please help me, after last apt-get upgrade RPI broken apt and aptitude.. when try do. root@dev-1:~# apt-get update Hit:1 http://mirrordirector.raspbian.org/raspbian stretch InRelease Hit:2 http://...
0
votes
0answers
103 views

How to find out the list of mirrors for apt-get and specify one?

My /etc/apt/sources.list contains: deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi However, the default mirror is always returning Hash Sum mistmatch. I tried ...
3
votes
0answers
86 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
117 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 ...
2
votes
1answer
159 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
2answers
774 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
204 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
120 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 ...
2
votes
2answers
899 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 ...
2
votes
1answer
1k 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
0answers
196 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
2k 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
1k 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
57 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
130 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
147 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
155 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
182 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::...
1
vote
2answers
3k 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
125 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 ...