Questions tagged [dpkg]

Dpkg is the Debian package management utility that performs lower-level tasks in software installation and removal. This tag should be used for questions about using and troubleshooting the dpkg utility.

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

How to find out the installed packages which have unmet dependencies?

I'm frequently getting this error in notification on top right corner. Though I have tried to run sudo apt-get check but no installed packages found which have unmet dependencies. An error occurred, ...
Dharmendra vadher's user avatar
0 votes
0 answers
19 views

installing mod_pagespeed on ubuntu22

I am trying to install mod_pagespeed on my AWS EC2 ubuntu-22 machine. I am trying the following way Download the stable release sudo wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-...
urfusion's user avatar
  • 241
0 votes
0 answers
19 views

Installing mysql 5.7 on Ubuntu 20.04. Hopelessly mired in dependency deadlocks

I have a dead machine (really dead) and have its legacy in the form of data backups. I have a new machine and struggle beyond description (going into the third week full time!) trying to transfer ...
magpie's user avatar
  • 1
-3 votes
0 answers
33 views

Already have latest package version, still showing error

I was trying to install CUDA and Paraview. In both cases i am getting this error message- In Paraview- '''The following packages have unmet dependencies: python3-distutils : Depends: python3-lib2to3 (=...
AMRISHA KHANDELWAL's user avatar
0 votes
0 answers
21 views

unable to execute package control information extraction (dpkg-deb): Permission denied

I am facing error if I do any installation with sudo apt install for any package. The error is irrespective of the package. And I am doing the installation with sudo su (root) user. Please advise. OS ...
Shreyas Murali's user avatar
-1 votes
0 answers
11 views

error when install packages in dpkg

i am using ubuntu 20.04 and i get error when i run sudo dpkg --configure -a, and this is the error i got, Setting up php7.4-common (7.4.3-4ubuntu2.18) ... dpkg: error processing package php7.4-common (...
Gautam Joshi's user avatar
-1 votes
2 answers
27 views

Ubuntu 22.04 apt-upgrade fail (libperl5.34, perl5, perl-base_5.34.0 dpkg error)

I'm using Ubuntu Desktop 22.04 and I can't upgrade now. Here is the error: **$ sudo apt upgrade** Reading package lists... Done Building dependency tree... Done Reading state information... Done ...
user62294's user avatar
0 votes
0 answers
46 views

apt upgrade error: cannot remove '/lib/modules/5.15.0-71-generic/kernel/drivers/rtc/rtc-ds1511.ko': Input/output error

Trying to run sudo apt upgrade on Ubuntu server 22.04.1 LTS and get the following error (copying the whole output) Reading package lists... Done Building dependency tree... Done Reading state ...
user696987's user avatar
0 votes
0 answers
39 views

dpkg: error processing package shim-signed

I'm getting this error after running sudo apt-get upgrade in ubuntu 22.04: Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done ...
Amir's user avatar
  • 3
0 votes
0 answers
33 views

My ubuntu server broke after following a tutorial to upgrade python frm 3.6 to 3.8 [duplicate]

I followed this tutorial to upgrade python: https://tech.serhatteker.com/post/2019-12/upgrade-python38-on-ubuntu/ Then I ran sudo apt update && sudo apt upgrade but the system refused with the ...
Mohammed Baashar's user avatar
0 votes
0 answers
30 views

dpkg: error processing package git-lfs (--configure)

getting a dpkg error with git-lfs - dpkg: error processing package git-lfs (--configure): installed git-lfs package post-installation script subprocess returned error exit status 2 Earlier it shows -...
basswaves's user avatar
0 votes
0 answers
83 views

Update-grub hangs

Ubuntu updating hangs at update-grub after few hours, then I cancelled the updating windows. My current kernel is Linux family 5.15.0-71-generic #78~20.04.1-Ubuntu SMP Then I run sudo dpkg --configure ...
maplgebra's user avatar
  • 101
0 votes
0 answers
28 views

After I fixed a kernel panic I keep getting "E: Sub-process /usr/bin/dpkg returned an error code (1)"

So I have been getting this error after I had a kernel panic and decided to follow this article: https://www.geekswarrior.com/2019/07/solved-how-to-fix-kernel-panic-on-linux.html From what I have ...
Alexander's user avatar
0 votes
1 answer
38 views

How to remove kernel updates from upgrade stream?

I have built and installed a more recent kernel (6.1.7), and no longer wish to update with the older version (5.*). Is there a way to tell the package management system to skip these updates? For ...
Terry Jones's user avatar
1 vote
0 answers
45 views

ERROR apt: symbol lookup error: /lib/x86_64-linux-gnu/libapt-private.so.0.0: undefined symbol: _ZN11pkgDepCache24IncreaseActionGroupLevelEv

At first I had this error: dpkg: error processing package apt (--configure): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libapt-pkg5.0:amd64: dpkg (...
Lucas Arroyo's user avatar
0 votes
2 answers
35 views

Dependency problems prevent configuration of epson-printer-utility:i386 ubuntu 20.04

i am trying to install the epson printer utilities with the hope i could use the Power Ink Flushing functionality since my printer L3151 will only print black and magenta this is the error i get when ...
alex's user avatar
  • 103
0 votes
0 answers
38 views

Syntax error in /etc/default/console-setup when running "sudo update-initramfs -u -k 5.19.0-31-generic"

When executing the command sudo update-initramfs -u -k 5.19.0-31-generic, I encountered a syntax error related to the /etc/default/console-setup file. The specific error message states: /etc/default/...
Subhadeep Banerjee's user avatar
0 votes
0 answers
35 views

fail to remove broken install

I'm struggling to remove libssl3 with apt --fix-broken install. I've also tried sudo apt install -f but it returns the same error. sudo apt --fix-broken install Reading package lists... Done Building ...
blennmarvin19's user avatar
0 votes
1 answer
43 views

Release upgrade 22.10 to 23.04 dpkg error opera.timestamp

Some time ago i installed Opera via snap. I uninstalled it later, but since then I have problem installing new packages. I reinstalled Opera and also installed a stable deb version. This did not help, ...
totuk's user avatar
  • 1
0 votes
0 answers
34 views

Getting error while configuring dpkg

While trying to execute the command to install mysql, getting below error while executing sudo dpkg --configure -a. Setting up mysql-community-server (5.7.42-1ubuntu18.04) ... AppArmor parser error ...
Vipul's user avatar
  • 1
0 votes
1 answer
51 views

apt issue - not able to run any apt command

Whenever I execute apt update or any other apt command, the process appears to be running in the background, but no output is displayed in the terminal. After some time, the system runs out of ...
Zaheer Abbas's user avatar
0 votes
0 answers
67 views

How to resolve E: Sub-process /usr/bin/dpkg returned an error code (1), began throwing errors spontateously

I understand this question is commonly asked, but my case is different and the solutions to other similar situations do not work for me. Whenever I try to do just about anything in apt (install, ...
bread's user avatar
  • 11
0 votes
2 answers
116 views

How to fix Python3.10 error on Ubuntu 22.04 [duplicate]

Im having some issue after updating ubuntu from v20 to v22, and i really need your help. I surely messed up some python files, and now the vast majority of 'apt' command wont work at all. Since i ...
laptel's user avatar
  • 1
0 votes
0 answers
13 views

gcc-12.2 dpkg-buildpackage need 32bit libs why?

Can someone please explain why gcc-12 src requires 32-bit packages? I need to apply a patch to GCC-12.2 to upgrade it to 12.3, I don't want to build from src, so I just put a patch file to Debian/...
Johnny Bonelli's user avatar
0 votes
1 answer
47 views

where is the actual index file apt uses to update the package list?

I was trying to install yelp-tools. I ran sudo apt-get update && sudo apt-get upgrade then sudo apt-get install yelp-tools it fails with this: E: Failed to fetch http://security.ubuntu.com/...
j0h's user avatar
  • 14.4k
-1 votes
1 answer
69 views

Unable to launch any app installed using `dpkg -i`

I am unable to launch any app installed using dpkg -i. I'm using Firefox to download the .deb file. When I install it using: sudo dpkg -i app_name.deb I can't run it normally. I need to use: app_name ...
zeshanahmed nabin's user avatar
2 votes
0 answers
50 views

Package distributor has shipped an updated version - how to say yes after no [duplicate]

After sudo apt update and sudo apt upgrade I stepped into the: "Package distributor has shipped an updated version." Initially, I said no thinking this was the safest option. Unfortunately, ...
PeaceEverybody's user avatar
0 votes
0 answers
257 views

Package System is Borken

I'm currently running Ubuntu 22.04.2 LTS with livepatch and Pro on and my package manager is broken. I've had an issue with my package system for a few weeks now. I think it may have started when I ...
user138056's user avatar
0 votes
1 answer
135 views

Failing to install Google Chrome stable using a docker script

Im using a Dockerfile to run an Ubuntu container with Chrome and some other apps, this is how it looks: FROM ubuntu:23.04 ENV USER=root ENV PASSWORD=password1 ENV DEBIAN_FRONTEND=noninteractive ENV ...
DomingoSL's user avatar
  • 113
0 votes
1 answer
241 views

Cannot intall any software on Ubuntu 22.04 [duplicate]

I'm new to ubuntu and installed Ubuntu 22.04.2 LTS 64-bit and Gnome version 42.5. I installed linux alongside windows. The ubuntu version is required by my instructor in college. But when I tried to ...
Hyle33ies's user avatar
0 votes
0 answers
204 views

After upgrade to 23.04 I see the same kernel problem as others with linux-image-generic, but mine comes from ethernet-realtek-r8152. How can I fix it?

I rebooted with an older kernel, tried dpkg --configure -a, got this: Setting up linux-image-6.2.0-20-generic (6.2.0-20.20) ... Setting up linux-headers-6.2.0-20-generic (6.2.0-20.20) ... /etc/kernel/...
Eugenio Perea's user avatar
1 vote
1 answer
657 views

23.04 upgrade interrupted. Kernel 6.2 not fully installed. Bad exit status: 2

My upgrade was interrupted and now when running upgrades via CLI, getting "bad exit status: 2" and "package post-installation script subprocess returned error exit status 1". Can ...
David Schult's user avatar
0 votes
1 answer
451 views

I just upgrade to Lunar Lobster and I have been encountering kernel errors?

Errors were encoun tered while processing: linux-headers-6.2.12-060212-generic linux-headers-6.2.0-20-generic linux-headers-generic linux-generic linux-image-6.2.0-20-generic linux-image-unsigned-6.2....
heavyonion's user avatar
0 votes
0 answers
7 views

Messed up my ubuntu package manager when trying to tinker with python installs [duplicate]

I was trying to get ubuntu (22.04) to point to an install of python 3.11 instead of the default 3.10(stupid, didnt know about virtual envs). Unfortunately this lead me to run the following commands. ...
spaceman's user avatar
9 votes
7 answers
3k views

Upgrade to 23.04 from 22.10 failed with error for linux-headers-6.2.0-20-generic. How do I fix?

I have 22.10 running on a Dell laptop, received a popup to upgrade to 23.04. During the installation I got an error message stating that the installation of linux-headers-6.2.0-20-generic has failed ...
NikhilWanpal's user avatar
0 votes
0 answers
10 views

python3-ldb problem on ubuntu 22.04.2 [duplicate]

I have done an 'apt update' followed by an 'apt upgrade'. during the long process a " python3-ldb report" was generated by the system. I made a copy which is attached (i couldnt find a way ...
Evan Winsløw's user avatar
0 votes
2 answers
813 views

After 23.04 Upgrade, I have a half-configured kernel [duplicate]

So, I upgraded to 23.04 and I have an issue with apt upgrade where it will say that 4 packages will be "not fully installed or removed". It then proceeds to attempt to configure the kernel I'...
Homura Akemi's user avatar
2 votes
1 answer
272 views

dpkg error from /etc/default/grub when upgrading

I have a 22.04.2 version of Jammy Jellyfish installed on my machine. When I attempt to do an update and upgrade, I am getting the following error. Do any of you, by any chance, know what might have ...
hefteng's user avatar
  • 23
0 votes
0 answers
14 views

Automatize using bash downloading deb files and dependencies and later extracting them to a unique folder and compress it to use in a live filesystem

I am developing a live filesystem and need to be able to download deb files with their dependencies which I manually do using this command: apt download $(apt-cache depends --recurse --no-recommends --...
Roberto Gonzalez's user avatar
1 vote
0 answers
328 views

Cannot install any package on ubuntu 22.04 [duplicate]

Whenever I try to install any package, I get the following error: sudo apt-get install apache2: Reading package lists... Done Building dependency tree... Done Reading state information... Done You ...
Developers CEXE's user avatar
0 votes
0 answers
56 views

How to Manually Installing and Checking the Version of Libksba8 in a Docker Ubuntu Image

I pull the UBUNTU docker image, run the downloaded ubuntu image and I run the following command dpkg -s libksba8 to check the current version of libksba8 inside the docker ubuntu system. When I run ...
AungMyoOo's user avatar
0 votes
0 answers
60 views

Python 3 Code Error

I am new to this. Could someone guide me in the right direction to take care of the error exit status? dpkg: warning: old python3-pip package pre-removal script subprocess returned er ror exit status ...
Nathan's user avatar
  • 1
0 votes
0 answers
86 views

How to setup a hp deskjet 2320 printer & scanner on ubuntu 22.04.2

I had the hp deskjet 2320 printer & scanner running on Ubuntu 20.04 but i am having problems now with 22.04.2. I can make a simple print but wanted the scanner to work below is a copy of what ...
Evan Winsløw's user avatar
0 votes
0 answers
33 views

updated 20.04 to 22.04 network not showing up sayis it unclaimed

*-network UNCLAIMED description: Ethernet controller product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@...
fragelius's user avatar
0 votes
0 answers
69 views

Errors were encountered while processing: rtl8822ce-dkms rtl88x2ce-dkms Sub-process /usr/bin/dpkg returned an error code

After typing the following command: sudo apt install mainline -y I'm getting the following error: After this operation, 0 B of additional disk space will be used. Setting up rtl8822ce-dkms (5.7.3~...
zeshanahmed nabin's user avatar
0 votes
1 answer
36 views

Apt upgrade failure due to "python3-samba": Sub-process /usr/bin/dpkg returned an error code (1)

Something is going wrong with the package "python3-samba". As a result, I cannot proceed with any upgrade due to this package. I have tried removing the aforementioned package but in vain. I ...
Panagiotis Chavariotis's user avatar
1 vote
1 answer
65 views

Non interactive configuration of a package

I'm trying automatically answer yes to Activate sysstat's cron job? in the sysstat package. I tried this but it does not work : $ debconf-show sysstat 2>/dev/null | grep sysstat/enable * sysstat/...
SebMa's user avatar
  • 1,983
1 vote
1 answer
100 views

Whenever i'm Trying to install any package I'm getting "E: Sub-process /usr/bin/dpkg returned an error code (1)"

➜ ChessV sudo apt-get -f install install-info Reading package lists... Done Building dependency tree... Done Reading state information... Done install-info is already the newest version (6....
Aakash Chouksey's user avatar
0 votes
1 answer
69 views

How to install wildcard architecture packages on Ubuntu. Trying to add gives dpkg: error: architecture 'any', "all" is reserved and cannot be added

I expect to install packages created for different architecture onto my ubuntu server - and since those packages being architecture agnostic - they use a wild card I want to add the wild-card such as &...
Yogesh Devi's user avatar
7 votes
1 answer
520 views

Creating a deb package for both ARM and AMD64 returns error: "Skipping acquire of configured file"

We have a product that we want to install on both AMD64/x86 based Ubuntu servers and ARM-based Ubuntu servers. We package our product as deb packages. So I need to create a deb package that can be ...
Yogesh Devi's user avatar

1
2 3 4 5
82