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
1 answer
43 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 ...
0 votes
0 answers
17 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 ...
-1 votes
0 answers
37 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/...
-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. ...
16 votes
7 answers
11k views

Pregenerating ConTeXt MarkIV format. This may take some time... takes forever

Hey there I tried to install latex using the follwing commands in ubuntu 16.04: sudo apt-get install texlive-full texstudio Then I finally came to the point with the following output: Setting up ...
3 votes
1 answer
7k views

dpkg: error processing package shim-signed (--configure): Errors were encountered while processing: grub-efi-amd64-signed shim-signed

I get the below errors when I hit sudo apt upgrade. I am unable to fix the error. Any help, please? root@Ubuntu-2204-jammy-amd64-base ~ # sudo apt upgrade -y Reading package lists... Done Building ...
-1 votes
0 answers
46 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 ...
-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 --...
-3 votes
0 answers
28 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 ...
1 vote
1 answer
7k views

How to download a package with dependency manually?

I am going to install following package: gcc-4.9-aarch64-linux-gnu But apt is unable to find it. I downloaded the .deb manually and installed it using dpkg. but there is some missing dependency. When ...
0 votes
1 answer
291 views

Nvidia drivers: Errors were encountered while processing: libglx-mesa0:i386 [duplicate]

I am trying to install nvidia driver 460 on my Ubuntu 20.04 laptop, but I am getting the error below. Could anybody help me with troubleshooting it? I purged the drivers and tried different versions ...
0 votes
1 answer
639 views

deborphan packages unconfigured [duplicate]

I ran this command to install deborphan: apt-get install deborphan Everything was downloaded, but now it can't be installed. There are a lot of packages giving errors: Se encontraron errores al ...
0 votes
0 answers
31 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....
0 votes
0 answers
206 views

mono-run prevents reconfiguration of packages on Ubuntu 22.04 [duplicate]

Recently I had to reinstall Ubuntu. After returning to Ubuntu 22.04 I restored my /usr/local/ and var folders which caused huge mess in terms of packages being written as installed although when one ...
-2 votes
1 answer
291 views

Error processing package while installing pycharm [duplicate]

I am trying to install pycharm on ubuntu 14.04 using terminal sudo apt-get install pycharm but i get the error bellow : dpkg: error processing package libopencv-contrib2.4:amd64 (--configure): ...
0 votes
0 answers
379 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 ...
0 votes
0 answers
409 views

error with nvidia 460-470 drivers when upgrading system [duplicate]

I tried to upgrade my system, but I got this error messages: Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done # # News about ...
0 votes
0 answers
415 views

Various errors while installing java 8 on Ubuntu 16.04 (64 bit) in VM [duplicate]

I am using Oracle VM Virtual Box (Version 5.1.18) to run Ubuntu 16.04. I am using proxy server . I have configured proxy settings in apt.conf and apt.config.In both these files my http proxy is set ...
0 votes
1 answer
451 views

copy all the package and dependecies from one pc to other pc [duplicate]

I have Downloaded and installed all the dependencies and .deb packages required to run my software( Custom made GUI software). Now while On the other system I have Installed the same ubuntu version, ...
0 votes
1 answer
560 views

sudo apt-get upgrade "encouters error while processing" in basically everything [duplicate]

04.1 as a dual boot with GRUB. I was installing openFOAM and then I tried to upgrade packages using the usual sudo apt-get upgrade but I keep getting errors for standard packages. This is the output ...
3 votes
1 answer
715 views

Can't install software-properties-common on Ubuntu 20.04 docker image

Trying to do a docker build using Dockerfile to install software-properties-common package on hashicorp/tfc-agent:latest docker image which is based on Ubuntu 20.04. When I attempt to run docker build,...
0 votes
0 answers
131 views

APT rendered unusable after Wine update

New Linux user running Kubuntu (22.04.02 LTS), and I have no idea how to progress on this issue. Wine recently released an update to their stable branch, and upon trying to update Wine using Discover, ...
0 votes
3 answers
117 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....
1 vote
3 answers
5k views

Unable to apt install (Failed to reload daemon: Access denied)

root@ubuntu-c:/home/tsadmin# apt install docker Reading package lists... Done Building dependency tree Reading state information... Done docker is already the newest version (1.5-2). Suggested ...
6 votes
1 answer
6k views

how to fix Snapd dpkg error?

when i make sudo apt-get update && sudo apt-get upgrade this early morning for my new kernel 4.4.0-131-generic. i get my snapd error. Setting up snapd (2.34.2~14.04) ... Failed to enable ...
-1 votes
1 answer
308 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, ...
1 vote
1 answer
6k views

How to fix dpkg error [Errors were encountered while processing console-cmoon/console-data]

I am having problem installing packages in my Ubuntu system. The problem says: Errors were encountered while processing console-data Errors were encountered while processing console-common E: Sub-...
2 votes
1 answer
5k views

update-initramfs: Generating /boot/initrd.img-5.4.0-28-generic hangs

I upgraded from 18.04 LTS to 20.04.LTS and the system ran fine until a new kernel update showed. Now it hangs on creating the initrd image. Some details: Calling hook btrfs Adding binary /bin/btrfs ...
10 votes
2 answers
4k views

E: Sub-process /usr/bin/dpkg returned an error code (1) - but how do I find the meaningful error messages in APT's output?

I have encountered various package management problems that cause APT commands to fail with output that ends with this line: E: Sub-process /usr/bin/dpkg returned an error code (1) Occasionally ...
0 votes
0 answers
44 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 ...
1 vote
1 answer
136 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 ...
0 votes
3 answers
7k views

Tuxcut installed But not running

I have installed "TuxCut" application in my ubuntu. It has been installed but not running.It shows icon but not running. what should i do?
1 vote
1 answer
5k views

Best way to install a service as part of a debian package

I am creating a Debian package for a software application which gets executed from a service script and could like to know the best way to do this. My current thoughts are for the package to copy the ...
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-...
-1 votes
0 answers
36 views

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

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 ...
-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 ...
1 vote
0 answers
66 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 ...
0 votes
0 answers
194 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 ...
1 vote
0 answers
24 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 -...
0 votes
0 answers
71 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 ...
0 votes
0 answers
124 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 ...
4 votes
1 answer
4k views

Unity 3d installation error

I am using Ubuntu 17.04 and I am trying to install unity 3d on it but after finishing the process it's not in Applicatons. I search for it but I can't find it. I also tried with GDEBI Package ...
275 votes
5 answers
742k views

E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)

I'm trying to run this command in the terminal: sudo apt install software-properties-common This is the error message I get: E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource ...
0 votes
0 answers
647 views

i have a problem installing anything in ubuntu [duplicate]

3 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up python3-apt (1.1.0~beta1ubuntu0.16.04.2) ... /var/lib/dpkg/info/python3-apt.postinst: 6: /...
1 vote
2 answers
675 views

Upgrade to Disco Dingo Fails [duplicate]

I've tried a whole lot of stuff that I found on the Interwebs and I may have made things worse. Here is my current situation: $ sudo dpkg --configure -a Setting up keyboard-configuration (1....
1 vote
0 answers
710 views

insserv: warning: script is corrupt or invalid [duplicate]

I'm not a server guy but I think I have serious problem using my ubuntu server... When I do something with apt-get, I get similar errors, Below is one example I got this day installing something. Can ...
0 votes
1 answer
760 views

<URGENT!!> Can't upgrade or install new packages [duplicate]

System was working fine before I removed git using sudo apt --purge autoremove git Now, every time I try to install some package or even run sudo apt upgrade I get the following error sudo apt ...
0 votes
1 answer
927 views

Delete .deb files of Removed packages from apt-cache

apt-get autoclean deletes outdated .deb files from /var/cache/apt/archives directory which are no longer available or cannot be downloaded anymore. whereas apt-get clean deletes each and every .deb ...
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 ...
1 vote
0 answers
1k views

WSL Ubuntu 20.04 is giving errors when installing zathura and other programs [duplicate]

I am trying to install zathura, and this operation has worked fine for me on the Windows WSL2 Ubuntu-18.04. However, when I installed Ubuntu-20.04 in its stead, I keep getting errors like these which ...

1
2 3 4 5
84