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
20 views

E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied) | How to fix [duplicate]

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? it show on terminal ...
Tanat Pinkeaw's user avatar
0 votes
0 answers
19 views

Sub-process /usr/bin/dpkg returned an error code (1). Whilst using OAI 5G

So I have cloned the OpenAirInterface repository into my system and navigated to cmake_targets and run this command, ./build_oai -I --install-optional-packages -w USRP. It seems to be trying to ...
Dudley008's user avatar
-1 votes
0 answers
44 views

installing openvpn on ubuntu 22.04

I want to install openvpn from here: https://as-portal.openvpn.com/instructions/ubuntu/installation the first command produced an error I could not resolve: E: Could not open lock file /var/lib/dpkg/...
Prudence Clearwater's user avatar
-1 votes
0 answers
12 views

i tried to connect my canonLBP2900 to linux jammy but i couldnt find suitable driver

this is being shown in the terminal Reading package lists... Done Building dependency tree... Done Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. ...
MAY's user avatar
  • 1
-1 votes
0 answers
19 views

error: dpkg was interrupted [duplicate]

When I run any command in my terminal, I get the following response: E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. So I ran the command sudo dpkg --...
Keith Dsouza's user avatar
-1 votes
0 answers
64 views

Encountering Issues with PHP8.3 Upgrade via DPKG [duplicate]

I have a weird dependency issue with my php8.3-fpm installation from the ondrej/php repo Everytime I want to upgrade my php8.3 Installation on my Ubuntu Server22.04LTS over APT I get a configure error ...
AP2411's user avatar
  • 1
-3 votes
0 answers
30 views

I can not configure or uninstall python3.8 minimal , because of this i stacked here.please give solution asap

$ sudo apt-get install --reinstall python3 Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and ...
SURAJ SINGH's user avatar
0 votes
0 answers
32 views

Stuck creating Dpkg files with Dist::Zilla

Any Perl gurus out there? I'm trying to package up my CPAN module for Ubuntu/Debian and I'm just getting started with Dist::Zilla's plugin to create a .deb package, but I get errors in the build stage....
Boyd's user avatar
  • 1
0 votes
3 answers
120 views

how can I remove a dpkg installed repository?

This error shows up on my sudo apt update: W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages....
RogerParkinson's user avatar
-1 votes
1 answer
331 views

Error on kernel 6.5.0-26-generic, linux-header, anbox-module

Ever since I switched to version 6.5.0-26-generic, I can't boot anymore. I have to switch back to 6.5.0-25-generic every time, and I want to fix the problems there, but as you can see for yourselves, ...
Proximo's user avatar
  • 11
0 votes
0 answers
50 views

apt-get upgrade with broken libgl1:i386 libgl1 libglvnd0 ibglx0:i386 libglx0

SO: Ubuntu 22.04.4 LTS Everything was working! This week it broke some packages when running sudo apt-get upgrade. libgl1 : Depende: libglx0 (= 1.7.0-2101~22.04) mas 1.4.0-1 está instalado ...
Gustavo Kennedy Renkel's user avatar
0 votes
0 answers
23 views

Can't find a way to remove nrf-udev package [duplicate]

Edit: second answer fixed my problem The suggested duplicate doesn't fix my problem, as shown below I tried to do that exact same thing without success (output shown below) I have installed "nrf-...
Ernest Dujo's user avatar
-1 votes
0 answers
37 views

sudo dpkg --configure -a, seems to show no pop up lines [duplicate]

sudo dpkg --configure -a command doesn't show any update on configuration and just shifts to the next line. I don't know whether this command is even working or not. If it's not working what would be ...
Abhinaba Upadhyay's user avatar
1 vote
0 answers
72 views

Conflict between broken ubuntu-advantage-tools and ubuntu-pro-client breaks update, ubuntu-advantage-tools cannot be removed

I have a failed Ubuntu-pro installation on a 20.04 LTS (accidentally pressed the marketing button on the software updater), and now efforts to rectify this issue lead to dependency conflicts between ...
Toby B's user avatar
  • 11
0 votes
0 answers
200 views

Ubuntu 22.04 - Package upgrade dpkg was interrupted & snap-confine has elevated permissions and is not confined & firefox launch issue

During my last apt upgrade the system crashed. When I then rebooted and tried to upgrade again it said: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. I ...
Philipp M's user avatar
  • 165
1 vote
1 answer
141 views

VirtualBox 7 fails on installation process at Ubuntu Desktop 22.04

For Ubuntu Desktop 22.04 to install VirtualBox 7 was executed the following command: sudo apt install ./virtualbox-7.0_7.0.14-161095~Ubuntu~jammy_amd64.deb But it fails with the following error ...
Manuel Jordan's user avatar
1 vote
0 answers
26 views

How to generate dbgsym deb pkg for TSDuck

I'm building the TSDuck project that is on GitHub. To generate comprehensive debugging symbols in the binaries, I use gcc's -g flag: export ADDITIONAL_CXX_FLAGS='-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -...
ZeroDefect's user avatar
0 votes
0 answers
72 views

winehq-stable : Depende: wine-stable (= 9.0.0.0~bullseye-1) E: No se pudieron corregir los problemas, usted ha retenido paquetes rotos [duplicate]

spreen@juanamanso:~$ sudo apt install --install-recommends winehq-stable Leyendo lista de paquetes... Hecho Creando árbol de dependencias Leyendo la información de estado... Hecho No se pudieron ...
MainCharacter's user avatar
-1 votes
0 answers
64 views

Grub error when updating after removal of Grub Customizer

After updating to Ubuntu 23.10 the Grub Customizer stopped working and since I have heard bad things about it I decided to just remove it. I tried removing it and cleaning up duplicated menu items on ...
LastBucsfan's user avatar
0 votes
1 answer
54 views

apt-get install -f [duplicate]

Sehr geehrte Damen und Herren, Dear Madams and Sirs, I use Ubuntu 20.04.6. LTS. After an actualisatien i get an information that somthing was wrong and i should fix it it in the terminal. There i get ...
jens's user avatar
  • 1
0 votes
1 answer
46 views

Can't install anything with apt install in ubuntu

Any request like sudo apt-get install *** starts the installation process, but when unpacking it throws an error, after which some packages are installed and work fine, some do not work fine, and some ...
Mark's user avatar
  • 11
2 votes
1 answer
325 views

I encounter this after running sudo apt upgrade [duplicate]

I encounter the following error after running sudo apt upgrade in Ubuntu 22.04: dpkg: error processing package linux-hwe-6.5-headers-6.5.0-26 (--configure): package is in a very bad inconsistent ...
valdo ndimbiarisoa's user avatar
0 votes
0 answers
128 views

error: paste subprocess was killed by signal (Broken pipe)

could someone help me please? I am trying to free some space on the Boot, but it gives me that: :~$ sudo apt autoremove ... E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or ...
loulou's user avatar
  • 1
0 votes
0 answers
230 views

Got a dpkg warning during update

After doing a standard update-upgrade I got 2 warning messages highlighted in orange color: dpkg: warning: unable to delete the old directory '/var/lib/ubuntu-advantage': Directory not empty dpkg: ...
goemon's user avatar
  • 13
0 votes
0 answers
62 views

Failed to install initramfs-tools

Im running Ubuntu server 20.04LTS. I had an error of apt install, please tell me what I should do to solve this problem. image: img-5.15.0-1023-azure Command: sudo apt-get install -reinstall initramfs-...
Akito's user avatar
  • 1
0 votes
0 answers
12 views

Problems installing packages using apt in Wubuntu [duplicate]

I have problems installing most packages, after installing the Wubuntu distribution, what should I do? bin4ry@bin4ry-desktop:~$ sudo apt install libsdl2-dev Reading package lists... Done Building ...
bin4ry's user avatar
  • 1
0 votes
0 answers
26 views

Issues with apt upgrade [duplicate]

I'm running the following command: sudo apt upgrade And the following error pops up: Building dependency tree... Done Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly ...
lidistat67's user avatar
0 votes
1 answer
170 views

How to solve errors while installing PHP 8.x on Ubuntu 20

I am trying to install PHP 8.x but I am getting stuck at one point again and again So in order to install PHP, I assume I need to have ppa:ondrej/php repository present. I was having errors while ...
Rohan's user avatar
  • 101
0 votes
0 answers
37 views

Unable to Perform Upgrade [duplicate]

I am running into a strange error that is circular in nature. I just went to run a routine sudo apt upgrade and encountered the following error: > Reading package lists... Done Building dependency &...
minorsatellite's user avatar
1 vote
0 answers
182 views

sudo upgrade evdi.ko.zst freeze at install

I did run sudo apt update, and afterwards sudo apt upgrade. Normally, this is all fine but it got stuck for ages. I cancelled the process. I tried to do it again but the terminal tells me to run sudo ...
Epper202's user avatar
0 votes
1 answer
442 views

Intel ARC intel-i915-dkms dpkg error upgrading to HWE kernel 6.5

Whenever I try to install something, it returns this error: dpkg: dependency problems prevent configuration of linux-headers-generic: linux-headers-generic depends on linux-headers-6.5.0-17-generic; ...
Blueglasses's user avatar
0 votes
0 answers
31 views

How to solve dpkg error based on geany-plugin-addons

Error that I got from the upgrading step: dpkg: unrecoverable fatal error, aborting: loading files list file for package 'geany-plugin-addons': cannot read /var/lib/dpkg/info/geany-plugin-addons.list ...
LEENET JOSEPH's user avatar
0 votes
1 answer
79 views

APCI error, Ubuntu can't boot

As the title says, I can't enter to Ubuntu. It gets stuck after grub bootloader. After some minutes the following message appears related with APCI: In order to try to solve it, I have check some of ...
Alberto Madrigal's user avatar
0 votes
0 answers
45 views

Tesla k40c Driver install on Ubuntu [duplicate]

i have a server running Ubuntu with two Xeon x5680s and just install a NVIDIA Tesla k40c HPC / GPU for running PyTorch and tensorflow-gpu models but cant get the drivers running. i used "sudo ...
Mixo Max's user avatar
-1 votes
1 answer
61 views

Error during apt upgrade for NodeJS

I encounter this problem while trying to sudo apt upgrade my system: Preparing to unpack .../nodejs_18.17.1-deb-1nodesource1_amd64.deb ... Unpacking nodejs (18.17.1-deb-1nodesource1) over (12.22.9~...
stealz's user avatar
  • 97
0 votes
0 answers
672 views

How to install Google Chrome on Ubuntu server 22.04

I have a problem installing Google Chrome on Ubuntu 22.04 (VPS) with an AMD processor. I also tried just in case on Ubuntu 22.04 with an Intel processor). I have rigorously followed the procedure of ...
Jaime Diaz's user avatar
0 votes
1 answer
81 views

How to uninstall MS Edge with dpkg

I downloaded the microsoft-edge-stable_121.0.2277.98-1_amd64.deb from internet, then installed it manually with: dpkg -i microsoft-edge-stable_121.0.2277.98-1_amd64.deb I can't figure out how to ...
titler's user avatar
  • 1
0 votes
0 answers
42 views

dpkg took too long [duplicate]

i was running "sudo apt upgrade" but it was failed cus the vm turn off, so i tried to run upgrade again and it says i should run "sudo dpkg --configure -a", so i tried it didnt ...
deeeeeeeeeee's user avatar
0 votes
1 answer
406 views

removing dkms r8168 from dkms three

my problem was my network adapter doesn't come up when running on newer kernel : 6.5.0-15-generic. the problem was solved using this answer. my next problem is, every time i run an update, it keep ...
dontknowanything's user avatar
0 votes
1 answer
346 views

QGIS not installing in Ubuntu 22.04 [duplicate]

When I install QGIS-ltr version in ubuntu 22.04, the following error pops out and I have tried every solution previously given but of no use. Setting up qgis-providers (1:3.34.3+36jammy) ... /usr/lib/...
Maukthik Srivathsan J's user avatar
0 votes
0 answers
87 views

E: Sub-process /usr/bin/dpkg returned an error code (1) 22.04 when installing ROS 2 Humble

I have just upgraded Ubuntu from 18.04 to 20.04 and then 22.04, now I am trying to install ROS2 Humble Desktop and then I get the following error. I am not very familiar with linux in general so I am ...
Balen's user avatar
  • 1
2 votes
1 answer
282 views

How to unlock a package that was locked with Muon

I used the Muon package manager to lock a package to a specific version, but when I try to release the lock, I get the message "The package code could not be locked. Failed to write lock file.&...
Mike's user avatar
  • 693
0 votes
0 answers
133 views

I encountered an error while executing "sudo apt upgrade" on the Ubuntu command line

Recently, when I was performing system updates on Ubuntu, I found that the terminal always reported errors, but it did not affect the normal installation of other software. However, I still want to ...
user17233227's user avatar
4 votes
1 answer
9k views

Why does "dpkg --instdir=dir/ -i xxx.deb" also set the administrative directory to "dir", like the "--root=ddd" option does?

I was using Ubuntu 22.04.3 LTS. I have made a file called helloworld.deb, Its source file structure is as follows: helloworld ├── DEBIAN │ └── control └── usr └── games └── mygame.sh I ...
cosmos's user avatar
  • 43
0 votes
1 answer
464 views

Unable to correct problems, you have held broken packages Ubuntu 22.04

Getting this error sudo pro enable fips-updates: Failed running command 'apt-get install --assume-yes --allow-downgrades -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-...
Adarsh S's user avatar
1 vote
1 answer
91 views

Installing logwatch but getting postfix and dependencies error

Having a trouble trying to install logwatch on Ubuntu 22.04 LTS. Here is the output when trying to install: # apt install logwatch Reading package lists... Done Building dependency tree... Done ...
Moasson's user avatar
  • 21
0 votes
1 answer
340 views

gcc not installing correctly when using apt on ubuntu 22.04 [duplicate]

I tried installing nvidia drivers through an install script but got the error ERROR: Unable to find the development tool `cc` in your path; please make sure that you have the package ...
Xamotex 1000's user avatar
0 votes
0 answers
66 views

dpkg-query: error: unknown option --status-fd Use --help for help about querying packages. E: Sub-process /usr/bin/dpkg returned an error code (2)

OS: Ubuntu 22.04 I am not able to install any package or not able to execute "sudo apt upgrade" successfully. Everytime i am getting following error: dpkg-query: error: unknown option --...
Sanket Salvi's user avatar
2 votes
1 answer
581 views

Debian package version comparing explanation

I'm a bit confused about the Debian package version orders. Take a look at the following two Debian package versions, how come the first is <= than the second? 0-emacs-29.1.90~202401142128~...
xpt's user avatar
  • 1,045
0 votes
1 answer
319 views

Ubuntu 22.04 Software Updater Error: E: Sub-process /usr/bin/dpkg returned an error code (1)

I recently installed Ubuntu 22.04 , at some point when using the software updater I got a software index error message. After trying "continue" using sudo ap-get install -f in terminal to ...
GeorgeJ's user avatar
  • 13

1
2 3 4 5
84