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

Questions tagged [apt]

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

0
votes
0answers
46 views

Ubuntu, Firefox can access internet, but terminal can't

I'm connected to university router, and I know they have many restrictions, but firefox is accessing the repo links without any issue, but the terminal can't. How can I make the terminal use the same ...
0
votes
1answer
26 views

PXE booted Raspberry cluster curious update behavior during update

I am running a PXE booted Raspberry cluster: one pi is the PXE boot server with has an SSD attached and is updated to 4.14.82-v7+ #1165. The boot-image for the PXE clients is rsync'ed. Clients boot up ...
0
votes
1answer
49 views

Cannot use apt-get or ping. Internet is working

Raspbian stretch (NOOBS) I have just received a new Raspberry Pi to run scripts on at work, and while I was installing the dependencies for Python 3.7, I ran into a peculiar issue. The machine is ...
1
vote
1answer
42 views

How can I get a list of user installed packages

I want to get the list of installed packages to perform a fresh installation. There are many ways of getting these e.g. https://wiki.debian.org/ListInstalledPackages but all produce impractically ...
1
vote
0answers
23 views

Updating my application across thousands of nodes. What are the standard tools/procedures?

Are there any standard practice/procedures/tools to perform a software update (OTA) of my c++ application across thousands of battery powered IoT nodes. I don't want to reinvent something, and ...
1
vote
1answer
68 views

Is it possible to install a higher version of python-numpy than 1.8.2 on a Raspberry Pi Zero?

I successfully installed most of the python data science packages on my RPi Zero using Geoff Boing's excellent guide. However, the versions of some of the packages seem quite old. E.g. numpy....
0
votes
1answer
34 views

how to install libdb4.8 on jessie?

since jessie has libdb5.3 which is incompatible with libdb4.8 how to install the latter. I added oldstable main contrib ... to the mirrordirector but no chance in finding it. Where are the old ...
0
votes
1answer
39 views

“sudo apt-get install xstlproc” returns “E:Unable to locate package xstlproc”

I'm following https://www.raspberrypi.org/forums/viewtopic.php?t=196010#p1226096 to install a mosquitto server on Raspberry Pi 3 Model B sudo apt-get install libc-ares-dev uuid-dev libwebsockets-...
1
vote
1answer
68 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
27 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
85 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
54 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
73 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
30 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
101 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
35 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
107 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
99 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
73 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
119 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
171 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
2k 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
42 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
59 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
609 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
267 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
88 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
298 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
968 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
69 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
286 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
1k 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
490 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
1k 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
72 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
1k 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
947 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
103 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
137 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
93 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
123 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
1k 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
252 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
147 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
1k 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
2k 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
203 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 ...