Hot answers tagged

8 votes

nginx 1.9.2 on raspbian

The jessie-backports contain a precompiled armhf binary of the latest nginx mainline (1.9.10). ### add jessie-backports to sources.list echo "deb [check-valid-until=no] http://archive.debian.org/...
Robin479's user avatar
  • 181
5 votes
Accepted

autoreconf: command not found

apt-cache search only searches for packages by name and description, not what they contain. For your intended use case you probably should use apt-file: $ sudo apt install -y apt-file ... $ sudo apt-...
jdonald's user avatar
  • 2,884
5 votes
Accepted

dpkg was interrupted

Remove all the files inside /var/lib/dpkg/updates directory with the following commands: cd /var/lib/dpkg/updates sudo rm * And then run this command to get the newer ones: sudo apt-get update
Niz.Dam's user avatar
  • 315
3 votes

hi i have problem in kali linys

I had a similar problem on Raspbian: dpkg: unrecoverable fatal error, aborting: files list file for package 'init-system-helpers' is missing final newline E: Sub-process /usr/bin/dpkg returned an ...
Jens's user avatar
  • 31
2 votes

Raspbian Jessie Lite apt-get problem

Mount the orginal image file sudo mount ./2016-09-23-raspbian-jessie-lite.img ../rasp/root -o offset=$((137216*512)) Copy /var/lib/dpkg again to the sdcard of the pi and everything worked.
Moggele's user avatar
  • 31
2 votes
Accepted

DPKG failing with fail2ban

I've finally got it working again. I downloaded the fail2ban package from the debian package repository using wget http://ftp.us.debian.org/debian/pool/main/f/fail2ban/fail2ban_0.8.13-1_all.deb. ...
Zachary Vincze's user avatar
2 votes

Upgrade or install using apt-get results in dpkg error

Seems you have really mixed up your packet manager. I suggest to reset its installation lists by editing sources.list and raspi.list. By default it looks like this: rpi ~$ cat /etc/apt/sources.list ...
Ingo's user avatar
  • 41.9k
2 votes

Anydesk not installing in Raspberry Pi 3b+ with Raspberry OS 64 bit

Either you don't have the armhf architecture set up in DPKG, or you don't have http://archive.raspbian.org/raspbian/dists/buster/main/binary-armhf/ in your APT sources. Or maybe you just didn't update ...
Dmitry Grigoryev's user avatar
1 vote

Segmentation faults after installing .deb packages

It is far from clear what you actually did, but if you downloaded from Debian they won't run on a Pi Zero as Debian has never supported ARM6. Raspberry Pi OS produces its own ARM6 binaries.
Milliways's user avatar
  • 58.6k
1 vote
Accepted

Anydesk not installing in Raspberry Pi 4 with Raspberry OS 64 bit

64bit Raspberry Pi OS not yet supported by AnyDesk. https://support.anydesk.com/knowledge/anydesk-for-linux-raspberry-pi-freebsd
Kym Farnik's user avatar
1 vote
Accepted

Issue with 'sudo dpkg --configure -a' and samba installation

After continuing to search on the issue, I think I have solved it. I ran the following: sudo apt-get autoclean dpkg –-remove samba dpkg –-purge samba apt-get clean && apt-get autoremove (not ...
Anta's user avatar
  • 21
1 vote

I've got same error while trying to install anything using `sudo apt-get`

The error message indicates that there is a problem with the files list. The files list is updated with: rpi ~$ sudo apt update so this is the first you should do. And afterwards it is always a good ...
Ingo's user avatar
  • 41.9k
1 vote

autoreconf: command not found

You should better use the more up to date installation manager apt. It is just a wrapper for the underlying tools apt-get, apt-search and others but with additional functions. You will find with: rpi ...
Ingo's user avatar
  • 41.9k
1 vote

Apt-get returns several errors

Solving the Loop warning in the beginning was the solution. I removed redis_6379 from /etc/init.d and everything started working without errors. My own lesson: Start trying to fix the errors from the ...
user3251724's user avatar
1 vote

'sudo dpkg --configure -a' crashing Pi 4

You should make sure, if there is any doubt, that the system is not actually rebooting due to brown-out as implied by other commentators (check uptime if you are unsure). I always use tmux when ...
goldilocks's user avatar
  • 58.5k
1 vote

How to install updates without internet on Raspberry?

You can download deb files on your laptop and move them to your Raspberry on a USB stick. Or connect your RPi to your laptop (with a cat5 cable) and use "internet connection sharing" on Windows to ...
Dougie's user avatar
  • 5,261
1 vote
Accepted

Errors while installing OpenSSL from source (.deb) files

With the first attempt you try to install openSSL from the deb packages. This is very painful because openssl depends on libssl1.1 and this depends on debconf and ... (assuming Raspbian Stretch). You ...
Ingo's user avatar
  • 41.9k
1 vote
Accepted

Updated apt-transport-https, now `sudo apt-get update` doesn't return any information

As @Jarmanda X commented, I had installed the https, unnecessarily. Then, from a different comment, I realized I had installed the debian packages, not the raspbian packages. To fix, I installed the ...
user3.1415927's user avatar
1 vote

Error with Packages, cannot update/install, cannot remove package

Based on this Ask Ubuntu answer, you could: mkdir ~/dpkg-info sudo mv /var/lib/dpkg/info/libcap2:armf.* ~/dpkg-info This keeps a copy of the corrupted file(s) in ~/dpkg-info for whatever reason; if ...
goldilocks's user avatar
  • 58.5k
1 vote

dpkg: unrecoverable fatal error when installing ImageTK

I don't know what version you are using. This answer is for Raspbian stretch. You should first upgrade: pi ~$ sudo apt update pi ~$ sudo apt full-upgrade Then install packets separate. No need to ...
Ingo's user avatar
  • 41.9k
1 vote
Accepted

Raspberry Pi 3 with Ubuntu 16.04.3 LTS sudo apt-get update exits with dpkg error code (1)

Originally, brcmfmac43430-sdio.bin was provided by linux-firmware-raspi2 package from ppa. But recent linux-firmware package from ubuntu also provides the same file. dpkg-divert solution is works for ...
pin_ptr's user avatar
  • 80
1 vote

Unable to install systemd on debian 7

The result you got is a symptom of a larger problem: systemd is designed to be a core part of an operating system, not something that is easily installed after the fact. Your time is likely better ...
Mark Stosberg's user avatar
1 vote

dpkg error on fresh install

Please check your raspberry pi configuration uname -a Follow the below steps copy the status file for future sudo cp /var/lib/dpkg/status /var/lib/dpkg/status-old empty the status file sudo echo "...
Varad A G's user avatar
  • 848
1 vote

What package is /home/pi/python_games coming from?

there seems to be no package, that installed it If it was a Raspbian package that installed it, either it was created post-installation or it comes from a repo which is not indexed properly. > ...
goldilocks's user avatar
  • 58.5k
1 vote

Sub-process /usr/bin/dpkg returned an error code (1) on apt-get upgrade

[SOLVED] the user @Milliways say it was a memory access violation. so i tried using a different sd card (i was using an 8gb class 6 and now i'm using an 16gb class 10) and everything went perfect now ...
Fabian W's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible