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
1 answer
47 views

Can't log in after apt upgrade

I ran a sudo apt upgrade, rebooted, and now I can't log in. The odd thing is this... when I provide known invalid credentials the login dialog reports 'Incorrect password' in a red block, like so: ......
  • 125
2 votes
2 answers
173 views

Raspberry Pi 3b+ - Turning off power LED from /boot/config.txt no longer works with kernal 5.15.56-v7+

I successfully turned off all my LEDs on my Raspberry Pi 3B+ according to this guide, by adding these lines in the /boot/config.txt: [all] # Turn off Power LED dtparam=pwr_led_trigger=none dtparam=...
2 votes
0 answers
87 views

apt is broken and the fix is too because of too-long line or missing newline in '/var/lib/dpkg/diversions'

I installed the RPi os lite using the imager and it boots up and all but I can't install packages: $ sudo apt install sl Reading package lists... Done Building dependency tree... Done Reading state ...
  • 21
2 votes
2 answers
41 views

trying to install multiple php versions on rasbian 8 / raspberry pi 2

I have two Raspberry Pi's: a Raspberry Pi 2 with Raspbian GNU/Linux 8 (jessie) a Raspberry Pi 4 with Raspbian GNU/Linux 10 (buster). I was able to get multiple versions of PHP running on the ...
  • 133
0 votes
0 answers
21 views

What's causing background apt network usage?

I have a Pi Zero 2 W that's set up with a cellular modem as its only internet-connected network interface. To reduce data costs, I want to restrict Raspbian's network usage to only my app. Letting it ...
0 votes
1 answer
211 views

How to increase timeout for apt update

I live in the boondocks, where internet connection can be...well...let's just say "not so good." While trying to keep my system (Buster) up to date, using 'apt update,' the reported ...
0 votes
1 answer
419 views

Cannot install libc6: Depends: libgcc-s1 but it is not installable

I got my rPi in a major mess, after setting a newer apt source and upgrading. I can no longer install libc6, e.g. This is my /etc/apt/sources.list.d/raspi.list contents: deb http://archive.raspberrypi....
  • 153
0 votes
0 answers
163 views

Unable to update packages due errors of corrupted cache files

When I my trying to update packages by "sudo apt update" I have got the errors: Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease Hit:2 http://archive.raspberrypi.org/debian ...
  • 1
1 vote
2 answers
77 views

No wpa_supplicant executable

I'm running Rasbpian 10 (buster) on raspberry pi 3 b+. Where can I find the wpa_supplicant binary? $ sudo apt install wpa_supplicant E: Unable to locate package wpa_supplicant # Same for wpa and ...
0 votes
2 answers
70 views

I have accidentally destroyed my apt binaries. How can I reinstall without re-imaging?

I was trying to install docker and accidentally ran a script I wasn't meant to (yeah I know) and now I have lost all my apt-get binaries. I have tried looking through http://raspbian.raspberrypi.org/...
0 votes
0 answers
65 views

MySQL service is missing

In my raspberry pi 400, I'm trying to install phpMyAdmin. I don't know why but I think mysql service is missing. If I try to run sudo apt-get dist-upgrade I get the following error: pi@raspberrypi:~ $ ...
-1 votes
1 answer
64 views

apt install stuck on mirrordirector

pi@raspberrypi:~ $ apt show rsync Package: rsync Version: 3.1.1-3 Maintainer: Paul Slootman <paul@debian.org> Installed-Size: 645 kB Depends: libacl1 (>= 2.2.51-8), libattr1 (>= 1:2.4.46-8)...
0 votes
2 answers
252 views

apt-get timing out

So I've been smashing my face against this for the last few hours. I'm not terribly familiar/comfortable with linux yet, so I'm sure I missed some obvious fix. When I attempt sudo apt-get update, I ...
0 votes
0 answers
83 views

apt update stuck at 0%

My Raspbian installation is only a few months old because my old SD card was broken. I started with a fresh install and everything was working smoothly until a few days. I loged, started to ...
0 votes
0 answers
31 views

How to resolve stalled data transfer during 'sudo apt-get upgrade'?

My board is a Raspberry Pi Zero W. I have freshly installed Raspberry Pi OS Lite. Release date: October 30th 2021, Kernel version: 5.10 I have connected USB hub, mouse, keyboard, and monitor. The PSU ...
1 vote
2 answers
536 views

OBS doesn't work

I am a user of obs, Open Broadcaster Software. I am using raspbian bullseye 32 bits OS. I have installed OBS with this command: sudo apt-get install obs-studio && sudo apt-get install obs-...
1 vote
1 answer
741 views

apt issue, unmet libc6/libc-bin dependencies

I was in the middle of upgrading to Bullseye from Buster when my SSH session failed, and I couldn't ssh into the machine anymore. I rebooted it, and now am presented with this problem. I have ...
1 vote
0 answers
380 views

What exactly is "libarmmem-${PLATFORM}.so" and how to update it?

I recently got a problem involving /usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so: VLC was crashing when calling this library (which overrides memory related functions from libc6), and ...
0 votes
0 answers
20 views

How can I prevent apt from using a mirror? aka Cannot install software [duplicate]

When I try to install software via apt install ... I get the error cannot connect to ftp.jaist.ac.jp. This mirror is not listed in /etc/apt/sources.list nor in /etc/apt/sources.list.d/. Where does ...
  • 141
0 votes
0 answers
61 views

Can Not Install crossbuild-essential-arm64 On RaspberryPi 4 Model B: Held Broken Packages

I am attempting to install crossbuild-essential-arm64 on my Raspberry Pi 4 Model B, running Raspbian. However, I am getting an error saying "you have held broken packages", along with a list ...
-2 votes
1 answer
152 views

Libreoffice version not up to date

The current Libreoffice version seems to be 7.2.2, but on my Raspberry Pi it's 6.1.5.2. I understand that maybe the ARM version of Libreoffice is a bit behind, but this can't be right. I used sudo apt ...
-1 votes
1 answer
633 views

sudo apt update doesn't work

Hi if i try sudo apt update, I get the following errors: Err:1 http://apt.adafruit.com/raspbian wheezy InRelease Something wicked happened resolving 'apt.adafruit.com:http' (-5 - No address ...
  • 3
1 vote
1 answer
848 views

Unable to use 'apt-get update' because of suite value changes at repository on 64-bit raspbian [duplicate]

Thanks, I upgraded and it works now.
1 vote
1 answer
514 views

Ca-certificates won't allow complete RP Update

I'm trying to install 'Syncthing' on Raspberry Pi, which I have done several times in the past, the install requires that I run apt-get update. This is using Rpi OS "stretch". The update ...
  • 11
0 votes
1 answer
444 views

Can't install packages anymore because of raspberrypi-kernel failure: bad dkms conf file

I somehow messed something up with my Raspbian; it's a fairly new install on a RPi 3B+. When I run sudo apt update and the sudo apt upgrade I get this error: Reading package lists... Done Building ...
  • 111
0 votes
1 answer
632 views

Can't install software with the "Add/Remove Software" graphical interface, nothing happens

Running a freshly installed Raspberry Pi OS Desktop on a Raspberry Pi 4, I'm trying to install software using the graphical Add/Remove Software tool. For example, Visual Studio Code. After checking ...
  • 157
5 votes
5 answers
11k views

update problem with apt-get after new install of OS

When ever I try to go to recommended updates I get the following error and I don't know how to fix it. I had a boot problem before I reinstalled the operating system. Thank you ahead of time for your ...
  • 59
1 vote
3 answers
3k views

apt update problem - 404

I've got a Raspberry Pi 3B running Jessie. "Sudo apt update" is throwing many 404 errors. Here's an example: Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB Ign http:...
  • 21
0 votes
1 answer
469 views

RPi 3b+; updating bluez to 5.50-1.2~deb10u2 fails/hangs/

As topic says, after running apt update the OS (running Raspbian GNU/Linux 10 (buster) on kernel 5.10.52-v7+) wants me to update bluez and its dependencies. The version it's trying to update to is 5....
0 votes
1 answer
401 views

Kernel panic when using apt on RPi Zero, RPi OS Buster

I’m getting ’kernel panic’ when I try to use apt (or apt-get) to install a package or update/upgrade; I’m using a Raspberry Zero W with the latest version of Raspberry Pi OS available on their website ...
1 vote
1 answer
497 views

How do I use NumPy and Pandas in my virtual environment?

I'm using Raspberry 4 to host a web service with FastAPI. In my code, there's a dependency on Pandas. When I ran the web service, it gives me the error message below: File "/home/pi/Projects/...
3 votes
2 answers
2k views

Up-to-date Syncthing on Raspberry Pi

How can I get the current latest version of Synchthing on Raspberry Pi without building from source? I'm running Raspberry OS on a Raspberry Pi 4 and everything is recently updated. Running: $ apt ...
  • 123
0 votes
0 answers
391 views

Package gcc-arm-linux-gnueabi is not available, but is referred to by another package

I try to compile a piece of software with a pre-defined Docker-enviroment, where following packages are getting installed: gcc-arm-linux-gnueabi, g++-arm-linux-gnueabi, gcc-arm-linux-gnueabihf and g++-...
  • 111
0 votes
1 answer
384 views

Can't run `apt --fix-broken install` as normal user

`apt --fix-broken install E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?...
0 votes
3 answers
345 views

apt and apt-get cause pi to crash

I'm running into quite a frustrating problem with my Raspberry Pi Zero W. When I try to run apt or apt-get, having done nothing on the installation aside from modifying wpa_supplicant and changing the ...
1 vote
1 answer
191 views

What is the difference between apt and apt-get

What is the difference between 'apt' and 'apt-get'? I have seen both used in various places and they appear to do the same thing, is there any difference between the two?
  • 599
0 votes
1 answer
107 views

How to install a newer version of a package using apt on Raspberry Pi OS?

I would like to avoid compiling zbar from source. Latest version available on Raspberry Pi OS (found using apt-cache madison zbar-tools) is 0.22 while latest release on GitHub is 0.23.90.
-1 votes
1 answer
77 views

How to full-upgrade without interactive prompt for config file merge (e.g., /etc/ssh/sshd_config)?

I am performing a full upgrade on the Raspberry Pi 4 B+ on the 2020-08-20-raspios-buster-arm64-lite.zip image after I have modified the /etc/ssh/sshd_config file to my liking. I have tried setting the ...
0 votes
0 answers
572 views

Pi Zero W with Raspbian Lite apt-get upgrade issues

I have a new Raspberry Pi Zero W and I downloaded the latest Raspbian Buster Lite installing it on a brand new 32 GB microSD card using Rufus. I created a wpa_supplicant.conf file so that it would ...
4 votes
0 answers
681 views

raspi ubuntu 20 - apt-get update problem - linux firmware / linux-raspi / linux-image-raspi

Hy my raspi has this fstab: UUID=7d298733-8450-4adb-b654-6de49954db5c / btrfs defaults 0 0 UUID=AD5E-0725 /boot/firmware vfat defaults 0 1 Then the ...
0 votes
1 answer
639 views

running apt-get update/upgrade through a proxy

I'm having issues keeping a Pi up-to-date in a customers network. The pi is there for controlling a piece of equipment, and it needs to be updated once in a while, among other things to keep backward ...
  • 153
1 vote
0 answers
199 views

apt upgrade breaks python-rpi.gpio

There seems to be an issue in the Raspbian repository since around the start of March. My Pi running motion stopped working around then - probably due to an apt update I did around that time. Not able ...
0 votes
1 answer
847 views

`No module named 'numpy'` after `apt install python3-numpy`

I want to use the python package 'numpy'. After a bit of research, I found that using apt install python3-numpy seems to be the recommended way of installing it on the raspberry pi 3 (within a docker ...
  • 111
0 votes
0 answers
75 views

Cannot do apt-get upgrade

I am getting below error when running apt-get update, how to fix? dpkg: warning: files list file for package 'linux-base' missing; assuming package has no files currently installed dpkg: warning: ...
  • 1
2 votes
2 answers
386 views

How do I get Python 3 to work again on my Raspberry Pi?

I am running Raspbian on a Pi 3 that has one job: it runs a clock on a Sense Hat, from Python 3 source code. Recently I found I was unable to run my clock program, which generated an error stack that ...
0 votes
3 answers
245 views

Mathematica on raspberry

I’m kinda of a new user here. I bought a raspberry pi 2 a couple of years ago and used as media server. As a physics student I’d like to use Wolfram Mathematica. I would like to do something like this:...
  • 3
1 vote
1 answer
1k views

Cannot apt-get install, can't authenticate package [closed]

I'm at my wit's end trying to figure this out all night... searched google, stack, ubuntu, and raspberrypi forum a whole bunch, but just can't fix it. What I'm really trying to do is sudo apt-get ...
  • 121
-1 votes
1 answer
3k views

Kernel version does not update when using apt update, apt full-upgrade

I want my Rpis to automatically update to the latest kernel pushed out by the Rpi Foundation, so I set up unattended-upgrades. I assume that's been working - but the kernel version hasn't updated ...
1 vote
1 answer
61 views

Apt seems to be corrupt?

If I do 'apt update' or any other apt command, the terminal screen is cleared and ist9DepRemovEEN8pkgCache11DepIteratorE, version APTPKG_5.0 is printed. I've tried to reinstall apt using wget wget ...
  • 61
3 votes
1 answer
3k views

`npm` and `nodejs` incompatibilities

I installed npm and nodejs today because I wanted to try tldr-pages. After the obligatory sudo apt-get update && sudo apt-get upgrade: $ sudo apt-get install nodejs npm Following a huge ...
  • 18.9k

1
2 3 4 5
9