Questions tagged [apt]

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

Filter by
Sorted by
Tagged with
4
votes
2answers
4k views

SSH session keeps exiting my terminal

I have set up my Raspberry PI though these instructions and was able to connect to it through SSH. I have installed RASPBIAN WHEEZY. However, when I run sudo apt-get update it keeps closing the whole ...
4
votes
3answers
6k views

Command apt-get upgrade crashes Raspbian

The image file I am using is quite old. How old exactly I am not sure, because this image I have inherited from previous developer. I have learnt that running: sudo apt-get update sudo apt-get ...
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 ...
4
votes
2answers
16k views

How to change mirror to a fast and near site for archive.raspbian.org

I am on Raspbian lite and have a slow internet connection. I am trying to pull lightdm using apt-get but looks like it's a big deal to pull 250 MB over a slow internet connection. So I am looking for ...
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 ...
4
votes
1answer
938 views

Why are the Raspbian repositories so out of date?

I'm trying to install Owncloud, which is currently at version 6.0.3. However, Raspbian's version is from about two years ago. $ apt-cache show owncloud Package: owncloud Version: 4.0.4debian2-3.3 ...
4
votes
0answers
655 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'...
4
votes
3answers
2k views

apt-get update error: 500 no space left on device

Fresh install of NOOBS 2_4_3 Stretch using http://goddess-gate.com for repository mirror. Here is what I'm getting: sudo apt-get upgrade Reading package lists... Done Building dependency tree ...
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 ...
3
votes
2answers
252 views

Julia not available in Raspbian?

I am trying to install Julia: $ sudo apt-get install julia Reading package lists... Done Building dependency tree Reading state information... Done Package julia is not available, but is referred to ...
3
votes
2answers
14k views

apt-get not installing software. Repositories are not updating

I am trying to use apt-get to install lynx. However I am having issues with the repositories. This is what my sources.list looks like: #deb http://mirrordirector.raspbian.org/raspbian/ wheezy main ...
3
votes
5answers
6k views

sudo apt-get not working

I was trying to install re2c but terminal replies the following: sudo apt-get install re2c Reading package lists... Done Building dependency tree Reading state information... Done The ...
3
votes
4answers
8k views

How to solve “Encountered a section with no Package: header” error?

I am running a bunch of class Raspberry Pi computers behind a school proxy. I'm using Raspbian off a very recent NOOBS image. The internet connection is supplied through the school WiFi and after ...
3
votes
1answer
5k views

add-apt-repository does not work

I am trying to install Atom text editor on my Raspberry Pi 3 B+ with Raspbian as OS. I would like to install it via a package manager using the following commands (instructions found here): sudo add-...
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 ...
3
votes
6answers
34k views

Can't apt-get install libssl-dev

Here is what I get when I try to apt-get install libssl-dev: root@raspi:/home/pi/cfengine-3.7.0a1.283240b# apt-get install libssl-dev Reading package lists... Done Building dependency tree ...
3
votes
1answer
3k views

Why does sudo apt-get build-dep not work for emacs24?

this is my first post on this SX Forum. After doing some searching myself (and failing), I wanted to ask why the command sudo apt-get build-dep emacs24 fail on a Pi running Raspbian Jessie? The output ...
3
votes
4answers
4k views

Unable to install mysql

I am trying to install mysql on my pi. I've installed mysql server successfully, but get the following error when I try to run $ sudo apt-get install php5-mysql Some packages could not be ...
3
votes
1answer
826 views

proper apt-get configuration for epiphany browser

I have been using the epiphany browser beta for a while, having installed it using these instructions. Now that the browser is part of the raspbian distribution, should I continue to include ...
3
votes
3answers
834 views

DrRacket seg fault

I'm trying to install racket on my RaspBerry Pi. I've installed racket via sudo apt-get install racket When I enter 'racket', it runs just fine. But when I run 'drracket' or 'sudo drracket', it ...
3
votes
2answers
1k views

how to create a restore point before an apt-get install to effectively remove the package

I discoverd aplay could not play a sound immediately after another aplay command. I reported the issue. It seems to be working in other systems. So I started from scratch and after each apt-get ...
3
votes
1answer
4k views

Install (or build) experimental Debian package for rpi (NetworkManager 1.0)

So I need NetworkManager 1.0 on my Rpi to be able to setup new wifi connections via nmcli. There is a package in experimental debian repo: https://packages.debian.org/network-manager I made $ sudo ...
3
votes
2answers
4k views

apt-get upgrade fails because of some dependency loop

If I update my Raspberry PI with: sudo apt-get upgrade I run into follwoing dependency errors: lighttpd (1.4.31-4+deb7u3) wird eingerichtet ... insserv: warning: script 'mathkernel' missing LSB ...
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 ...
3
votes
1answer
1k views

How do I get/compile a source package for version with “+”?

I have a version with a "+" in it - what does this mean? How do I figure out which source I want if I am compiling a patch? How do I go about finding it? Any links are much appreciated! Example $ ...
3
votes
1answer
957 views

Cannot install xpra: unmet dependancies

I'm trying to install Xpra, however it seems that there are missing packages I cannot install. Xpra fails with the following error: Some packages could not be installed. This may mean that you have ...
3
votes
1answer
3k views

Cannot use apt-get, 404 not found on Pi 2, Model B

I am working with a Pi 2, Model B, with wheezy installed. It is connected to the Internet with an Ethernet cord and has a keyboard and Bluetooth dongle plugged into its USB ports, as well as a ...
3
votes
1answer
148 views

sudo apt-get update does not connect to 10.10.5.18

I am having this prob since morning only and before that everything was normal. I can connect to my Pi through ssh using putty on my windows 7. The problem is when I run sudo apt-get update, it gets ...
3
votes
1answer
1k views

Why does apt-get dist-upgrade want to remove upstart again?

I usually do apt-get dist-upgrade instead of a mere apt-get upgrade for consistency reasons. However, for the first time on one of my RaspberryPis I got the following: # apt-get dist-upgrade Reading ...
3
votes
1answer
247 views

apt-get not working on raspberry pi zero w [Internal error: Oops: 17 [#1] ARM]

I bought a new raspberry pi zero w. I flashed the raspbian lite image on a sd-card, the pi booted normally. But when I try to update it with sudo apt-get update sudo apt-get upgrade I get the ...
3
votes
1answer
690 views

Automatic clean of unattended upgrades

Following the Debian wiki documentation and this answer I have successfully set up unattended upgrades. I have confirmed that upgrades are really run. However, I want to avoid eventually getting disk ...
3
votes
1answer
134 views

How can I install Mosquitto on a Raspberry Pi 3?

I have a Raspberry Pi 3 and I am struggling with installing Mosquitto. It seems to be caused by a bad mosquitto-jessie.list file: deb https://repo.mosquitto.org/debian jessie main It could not ...
3
votes
1answer
2k views

Apt-Get Remove Does Not Fully Remove

I have noticed that when I in Raspbian run the commands: sudo apt-get remove package and sudo apt-get purge package there are still files related to the package on my system such as folders with the ...
3
votes
1answer
149 views

Script Installation Problems RP 2 | iojs | node | npm

I am trying to install this Script on my RaspberryPi 2 with wheezy on it. I think I am having problems installing npm. Here is the script: if [[ "$USER" != 'root' ]]; then echo "Sorry, you need to ...
3
votes
1answer
1k views

How to install pre-compiled Ruby 2.0 on Raspbian?

I am usually recommend to people who want to install Ruby to use something like RVM or rbenv (my preference). However, I'm in the process of installing Ruby from source (using rbenv) and it has taken ...
3
votes
0answers
79 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-...
3
votes
4answers
408 views

apt-get update errors after copying Raspbian to new SD card

I copied a working raspbian buster installation from one SD card to another (raspberry pi 4). I did so by simply calling dd if=/dev/mmcblk0 of=raspbian bs=1M on my Notebook with the existing SD card ...
3
votes
2answers
619 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, ...
3
votes
1answer
1k views

Can't install iceweasel on RPi3 using apt-get or aptitude - Failed to fetch

I cant install Iceweasel on my Pi for some reason. I have tried the following options: sudo apt-get install iceweasel Error: Reading package lists... Done Building dependency tree Reading ...
2
votes
1answer
8k views

Raspberry Pi's apt-get cannot find repositories

After entering: apt-get install python3-pip on bash for my Raspberry Pi 2 (Model B) I get this output (linky). I've tried the usual dance of apt-get install -f, apt-get update and apt-get upgrade to ...
2
votes
2answers
6k views

Error on sudo apt-get update

I'm getting the below error when updating raspian. I connect via SSH via putty on the fixed wlan0 ip. Now when i run sudo apt-get update i get errors like below. Err http://raspberrypi.collabora.com ...
2
votes
1answer
3k views

how do I install the djpeg binary? [closed]

I have a suite of scripts which I require and which make extensive use of djpeg. but 'which djpeg' returns nothing. How do I get the djpeg binary installed on my raspberry?
2
votes
1answer
2k views

Failed to fetch https://dev2day.de/pms/dists/jessie/main/binary-armhf/Packages HttpError404

I'm trying to do a simple sudo apt-get update on my Raspberry Pi 2, but I keep getting 404 error: W: Failed to fetch https://dev2day.de/pms/dists/jessie/main/binary-armhf/Packages HttpError404 ...
2
votes
2answers
12k views

Raspberry Pi sudo apt-get update not working

I am getting the following message whenever I try to run: sudo apt-get update : pi@raspberrypi:~ $ sudo apt-get update Get:1 http://archive.raspberrypi.org/debian stretch InRelease [8,084 B] Err:1 ...
2
votes
1answer
645 views

I cannot install a very popular component, libmysqlclient-dev. What's wrong?

On an up to date stretch, I want to install libmysqlclient-dev libmysqld-dev, but apt tells me it was not available in my sources. /etc/opt/sources.list looks like this: deb http://raspbian....
2
votes
3answers
7k views

apt-get install/upgrade 403 Forbidden

I'm trying to install watchdog on a Pi running Raspbian v 3.12: 2014-09-09, it's currently connected to the internet fine. However if I try to install it sudo apt-get install watchdog I receive 403 ...
2
votes
1answer
183 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? ...
2
votes
2answers
4k views

raspbian + libavcodec + which source repository

I have a Raspberry Pi 2 which is running Raspbian (Noobs 1.9.2). I'm able to install the libavcodev-dev package with the following command: sudo apt-get install libavcodec-dev It seems libavcodec ...
2
votes
2answers
6k views

Raspberry Pi B+ can't install node-red

I read an article on the newest MagPi about node-red and I decided to install it. I used: sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade sudo apt-get install nodered The 4th ...
2
votes
1answer
752 views

apt-get install and resource temporarily unavailable

When I try and install a package with apt-get, I get the error message: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)

1
2
3 4 5
8