Questions tagged [dpkg]

A multi-purpose command associated with package management used on Debian derived systems such as Raspbian.

44 questions
5
votes
1 answer

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

I'm using Raspberry Pi 1 model B without GUI and when I try to upgrade software using sudo apt-get upgrade I get the following error: Segmentation fault dpkg: warning: subprocess old pre-removal script returned error exit status 139 dpkg: trying…
Fabian W
  • 61
  • 1
  • 5
4
votes
2 answers

nginx 1.9.2 on raspbian

Installing nginx using "apt-get install nginx" seems to install 1.2.1, however examining the repository, it looks like both 1.6.2 and 1.9.2 are available: http://mirrordirector.raspbian.org/raspbian/pool/main/n/nginx/ How do I tell apt to install…
Nick
  • 141
  • 1
  • 5
3
votes
2 answers

How to install updates without internet on Raspberry?

I want to calibrate my LCD screen, but i have no internet connection to my Raspberry Pi 2B. The terminal commands I would use with internet on the Raspberry Pi is cp LCD-show/xinput-calibrator_0.7.5-1_armhf.deb ~/ sudo dpkg -i -B…
user101360
  • 51
  • 3
3
votes
1 answer

dpkg was interrupted

I got an error while trying to install phpmyadmin on my Raspberry Pi 3, the error message is: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' I think it's a problem related to the /var/lib folder, something went wrong and…
Niz.Dam
  • 325
  • 3
  • 4
  • 11
2
votes
1 answer

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

I keep having an error installing / updating / basically doing anything that concerns packages. I am trying to get an I2C library going and I can't get sudo-apt-get install i2c-tools to work from a failing dpkg. The error code I am getting is: dpkg:…
2
votes
2 answers

Unable to install systemd on debian 7

I am following the link [ packages.elastic.co/beats/apt stable main ] to install systemd on my raspberry pi b+. When I try the command $ sudo apt-get -t wheezy-backports install systemd It gives the following, sudo apt-get -t wheezy-backports…
km_pawar
  • 41
  • 5
2
votes
0 answers

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 information... Done The following NEW packages will…
MA28
  • 21
  • 2
2
votes
1 answer

RaspberryPi keeps reporting error: dpkg: warning: files list file for package 'xxx' missing;

I have encountered a series of problems, after a week of searching and processing still have no clue. My Pi3B+ keeps reporting errors: "dpkg: warning: files list file for package 'xxx' missing; assuming package has no files currently installed",…
2
votes
1 answer

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

pi@raspberrypi:~ $ sudo dpkg -i anydesk_6.0.1-1_armhf.deb (Reading database ... 94130 files and directories currently installed.) Preparing to unpack anydesk_6.0.1-1_armhf.deb ... Failed to stop anydesk.service: Unit anydesk.service not…
Badjano
  • 189
  • 1
  • 7
2
votes
2 answers

autoreconf: command not found

autoreconf -fiv -bash: autoreconf: command not found I've tried everything listed in this link, but I still can't find any auto(re)conf. pi@no:~/motion $ apt-cache search autoreconf pi@no:~/motion $ apt-cache search autoconf pkg-config - manage…
Guillaume D
  • 139
  • 1
  • 1
  • 7
1
vote
1 answer

Errors while installing OpenSSL from source (.deb) files

I am fairly new to raspberry pi's and Linux so forgive me if my question is trivial. I have been trying to install openssl and libssl via ssh on a Raspberry Pi zero that does not have access to the internet. I tried everything mentioned here and…
Josh Zindler
  • 15
  • 1
  • 5
1
vote
1 answer

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

I attempted to run sudo apt-get update, but got the error E: The method driver /usr/lib/apt/methods/http could not be found. Following to this answer, I checked /etc/apt/sources.list.d/ and found no https sources. I tried sudo apt-get install…
user3.1415927
  • 303
  • 1
  • 3
  • 15
1
vote
2 answers

Running "sudo dpkg --configure -a" fails

I set up RaspBMC on my Pi. I had a broken repo, so I SSH'd into it and ran sudo apt-get update and sudo apt-get upgrade to fix it. From that, I get E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. So…
Thomas
  • 265
  • 1
  • 4
  • 11
1
vote
1 answer

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

I'm running a Raspberry Pi 3 with Ubuntu 16.04.3 LTS xenial. sudo apt-get update exits with: dpkg: error processing archive /var/cache/apt/archives/linux-firmware_1.157.11_all.deb (--unpack): trying to overwrite…
Joel-Brooks
  • 73
  • 1
  • 6
1
vote
0 answers

sudo apt-get install not working

when I try apt-get install upgrade this error shows up: pi@raspberrypi:~ $ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these. The…
Liam Giannini
  • 659
  • 2
  • 10
  • 21
1
2 3