All Questions
2,528
questions
-1
votes
1
answer
79
views
Cannot install any packages or using dpkg configure
I did an upgrade to my machine lubuntu 22.04 and it failed, Now i cannot upgrade or install anything.
user@host:~$ sudo apt remove cmatrix
Reading package lists... Done
Building dependency tree... ...
2
votes
1
answer
145
views
Unable to update kernel on Ubuntu 22.04 due to cpio write error, but /boot is not full
NEW INFO 6/13/24 16:18 MT: after main post
Having problems with apt upgrade on my main workstation, been troubleshooting for months and I can't figure this out. Kernel will not update. Need the ...
3
votes
1
answer
153
views
apt-cache policy <package name> shows /var/lib/dpkg/status instead of the repository name
I am using Ubuntu 22.04. I know I can get the information about where a package comes from via apt-cache policy <package name> (related question). I want to find out how I installed a specific ...
-3
votes
1
answer
277
views
rtl8812au-dkms Error during upgrade Ubuntu 24.04
How to solve this problem?
When I wright this command "sudo apt-get upgrade" to upgrade the app. the following error is shown up in the end of the result:
Setting up rtl8812au-dkms (4.3.8....
0
votes
2
answers
52
views
copy some apt packages so that they can be installed offline [duplicate]
Often I have to use a live cd installation of Ubuntu like the 20.04 lts.
I found that there are lot of tools and packages that are missing like brasero and wodim
However I'm unable to always access ...
0
votes
1
answer
54
views
apt install with specific version cannot find prior version
I am trying to install specific package versions to maintain my production server in sync with my staging system. When I specify the version I get this:
root@ip-172-19-69-40:~/installs# apt install ...
0
votes
1
answer
62
views
"ModuleNotFoundError: No Module named apt_pkg" Occuring For All apt Related Commands; Ubuntu [Xubuntu] 22.04, No Solutions Working
Just today I was attempting to install something through the terminal and noticed that running 'sudo apt update' gave me a strange error I don't normally see. In an attempt to fix this, I ended up ...
-1
votes
0
answers
81
views
NVIDIA Driver Issues, Sub-process /usr/bin/dpkg returned an error code (1)
I am trying to get steam and dota 2 to work on my machine, it's using Ubuntu (game worked on the same machine running windows).
I think maybe there might be a driver issue
Errors ...
0
votes
1
answer
63
views
libeccodes-data update error while upgrading from 23.10 to 24.04
While upgrading my Ubuntu version from 23.1 to 24.04, the installation of the package libeccodes-data failed - while unpacking (2.34.1-1build2) on (2.31.1-1). dpkg could not open
/usr/share/eccodes/...
0
votes
0
answers
81
views
Unmet dependency on libodbc2 blocks apt from functioning, including attempts to reinstall libodbc2
Currently running Ubuntu 23.10, I can't install or update any packages using apt or upgrade Ubuntu to 24.04. When I try to run sudo apt upgrade, or install any packages through apt, it gives me the ...
0
votes
0
answers
48
views
SDL2 unmet dependencies on Lubuntu 22.04 [duplicate]
guys im getting this error when trying to install sdl2 or libsdl2-dev on lubuntu 22.04
Reading package lists... Done
Building dependency tree... Done ...
-1
votes
1
answer
51
views
How to make a package become the "deinstall" status in Ubuntu [duplicate]
I'm trying to check if a package is installed or not.
Here is a link for finding all packages with "deinstall" status:
dpkg --get-selections shows packages marked "deinstall"
But I ...
0
votes
0
answers
3k
views
Sub-process /usr/bin/dpkg returned an error code (1)
I want to say that I am unable to install or remove any package through sudo apt. Whenever I tried to install or remove any package just like this sudo apt install perl-base it shows an error:
Reading ...
0
votes
0
answers
42
views
Sub-process /usr/bin/dpkg returned an error code (1) while i install pip3
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
binutils binutils-common binutils-x86-64-linux-...
0
votes
0
answers
108
views
Upgrading Ubuntu install hung
Running Ubuntu 24.04 in WSL2. I ran sudo apt-get update followed by sudo apt-get upgrade. The upgrade hung on libc:amd64. It would not respond to Ctrl+C, so I rebooted the entire computer.
After ...
2
votes
1
answer
359
views
Unable to install any packages with apt in a brand new 24.04 installation because of libreoffice-help-zh-tw
I've never used Linux before and just installed Ubuntu 24.04.
Edit: I used the ZFS file system when I installed.
At the end of the installation, I got an error popup unable to securely remove '/usr/...
0
votes
1
answer
203
views
Unable to install strongswan in Ubuntu 22.04
I am trying to re-install strongswan in ubuntu 22.
Ran the following commands
$ sudo apt update
Hit:1 https://download.docker.com/linux/ubuntu focal InRelease
Hit:2 http://archive.ubuntu.com/ubuntu ...
0
votes
0
answers
83
views
Error on updating
When i run sudo apt upgrade, i receive this error
dpkg: error processing package linux-image-6.5.0-28-generic (--configure):
installed linux-image-6.5.0-28-generic package post-installation script ...
0
votes
1
answer
91
views
Not able to install ubuntu kernal linux-image-6.5.0-1020-oem giving error Operation not permitted
When I am updating my ubuntu I am stuck on a kernal install and due to it no software in updating and installing on my system. When, I am running sudo apt upgrade error
When I am running apt --fix-...
0
votes
0
answers
25
views
apt full-upgrade gets stuck on a broken pipe
Had to fix dpkg due to an upgrade interruption, now I am just stuck with a different error every time I try to run an upgrade, "Paste process signal was killed by a broken pipe.
Error came when ...
0
votes
0
answers
112
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 ...
0
votes
1
answer
142
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 ...
0
votes
0
answers
37
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
3
answers
227
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....
0
votes
0
answers
147
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
...
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
vote
0
answers
300
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
546
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
1
answer
243
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
0
answers
281
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
1
answer
66
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 ...
0
votes
1
answer
97
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 ...
2
votes
1
answer
365
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 ...
0
votes
0
answers
234
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 ...
0
votes
0
answers
349
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: ...
0
votes
0
answers
143
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-...
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 ...
0
votes
0
answers
38
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 ...
0
votes
1
answer
802
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 ...
0
votes
0
answers
40
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
&...
0
votes
1
answer
862
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; ...
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 ...
-1
votes
1
answer
90
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~...
0
votes
0
answers
44
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 ...
0
votes
1
answer
653
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 ...
0
votes
1
answer
582
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/...
2
votes
1
answer
331
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.&...
0
votes
1
answer
923
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-...
1
vote
1
answer
139
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
...
0
votes
1
answer
551
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 ...