Questions tagged [apt]
APT is short for Advanced Packaging Tool, the package manager for Debian-based distributions. It is also the most used tool for installing packages in Ubuntu. Questions about using any of the apt commands should use this tag.
17,543
questions
0
votes
0
answers
4
views
My Ubuntu system seems broken!
So whenever I try to update my system though software updater this is what I get:
enter image description here
and after I hit OK this comes up:
enter image description here
but then after trying to ...
0
votes
0
answers
13
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 ...
1
vote
1
answer
29
views
File removed from .deb package
I created a .deb file where I originally stored an F file. Then I installed this deb file and the F file is correctly in place under a D directory. Then I rebuilt the .deb file excluding the F file ...
0
votes
0
answers
12
views
Patching of openssl for ubuntu 20.04 LTS [duplicate]
I have this testing environment using ubuntu version 20.04 LTS and I wanted to patch all my packages to the latest but found out that there is openssl 1.1.1x but I only can patch my openssl to version ...
1
vote
0
answers
26
views
CUDA in Docker image breaks and require sudo apt upgrade
Question
Why sudo apt upgrade on the host OS is required to make CUDA work in Docker container? The problem does not occur without Docker, but occurs only when a Docker image is recreated.
Environment
...
0
votes
0
answers
18
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
31
views
Nvidia package dependencies often break [duplicate]
The general issue
I'm regularly having issues with previously installed Nvidia package dependencies. About once every two months when I try to upgrade my system or install something new (non-nvidia ...
-1
votes
1
answer
57
views
Unable to install NVIDIA drivers with apt-get
I am trying to install the recommended NVIDIA driver by the following command:
sudo apt-get install nvidia-driver-550
But I keep getting the following error message:
Get:1 file:/var/cuda-repo-...
-1
votes
0
answers
42
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
38
views
how to uninstall "AtomEditor"?
I want to sudo apt update my ubuntu 22.04 but I get this error:
Err:8 https://packagecloud.io/AtomEditor/atom/any any InRelease
402 Payment Required [IP: 2600:1f1c:2e5:6901:f199:7554:...
-1
votes
0
answers
8
views
apt update not working (DEPRECATION section) [duplicate]
When I run sudo apt update on ubuntu 22.04 i receive the following one:
Obj:1 http://es.archive.ubuntu.com/ubuntu jammy InRelease
Obj:2 https://packages.microsoft.com/repos/code stable InRelease ...
0
votes
0
answers
65
views
Error Upgrade Ubuntu 22.04.04 - jammy security
Problem
hei guys i have error on upgrade . on update list source is normal and not error
i have try sudo apt update and sudo apt update --fix-mixing but the response is normal like
Hit:2 http://...
0
votes
0
answers
13
views
Err:5 https://ppa.launchpadcontent.net/obsproject/obs-studio/ubuntu kali-rolling Release 404 Not Found [IP: 185.125.190.80 443] [duplicate]
i typed:
sudo add-apt-repository ppa:obsproject/obs-studio
it response:
Repository: 'deb https://ppa.launchpadcontent.net/obsproject/obs-studio/ubuntu/ kali-rolling main'
Description:
Latest stable ...
-2
votes
1
answer
33
views
How to accept EULA unattended for SteamCMD under debian-variants?
I am trying to auto accept in an unattended manner, the STEAMCMD package EULA
As per the following previous answer on this topic
https://stackoverflow.com/questions/59097393/non-interactive-steam-...
-1
votes
0
answers
23
views
apt update: invalid signature for Google Chrome [duplicate]
When running apt update today I had the following signature error:
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG ...
-2
votes
0
answers
27
views
ddeb Packages file has incorrect size? [duplicate]
I can no longer retrieve the ddeb packages:
# apt update
Hit:1 https://dl.google.com/linux/chrome/deb stable InRelease
Get:2 http://ddebs.ubuntu.com noble InRelease [41.3 kB] ...
-1
votes
0
answers
57
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 ...
0
votes
0
answers
12
views
apt update times out [duplicate]
Quite new to Linux, I've just spin up an instance of Ubuntu 22.04 Linux Server on IBM (using $200 free credit). And I'm pretty sure it used to work when I tried that earlier on other Linux machines, ...
-1
votes
0
answers
31
views
Ubuntu 20.04: MySQL 5.7 installed but not updating
I have an Ubuntu 20.04 instance on AWS set up and running well. For various reasons it needs to be running MySQL 5.7 instead of 8. It is, and has been running MySQL 5.7 well. However I just ...
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....
-1
votes
1
answer
36
views
How to display leaf packages [duplicate]
Ubuntu 22.04.4 LTS or later
I want to get all LEAF packages (top dependencies).
Purpose: cleaning system from packages I don't need.
It's hard to search through full list apt list --installed.
For me ...
0
votes
0
answers
25
views
How can I bypass a expired apt-key
How can I bypass a expired key to install MongoDB 4.0? I keep getting these errors saying the key is expired.
-1
votes
0
answers
50
views
Install kernel headers on 22.04
I'm new to Linux and still learning the ropes. My system is Ubuntu 22.04.4 with 6.8.1 Mainline kernel (I had to update the kernel because the default one didn't work well with my laptop).
To use some ...
1
vote
1
answer
97
views
How do I install mysql-dev for server?
I am working on a server plugin for MySQL v8.0 (as well as a legacy plugin for v5.7) and I need to install the correct header files. I've looked around the internet and all I can find is ...
-1
votes
0
answers
23
views
sudo apt update in ubuntu 22.04 [duplicate]
E: Could not get lock /var/lib/apt/lists/lock . it is held by process 1051 (packagekitd)
N: be aware that removing the lock file is not a solution and may break your system.
E: unable to lock ...
-1
votes
0
answers
15
views
Installing linux-modules only works until next reboot
I have a Raspberry Pi running Ubuntu 22.04. I think possibly the system was powered off at an inopportune moment during the installation of linux-modules-5.15.0-1050-raspi.
When I plug in an FTDI USB-...
1
vote
0
answers
50
views
Unmet dependencies prevent programs being installed or updated; removing the culprit package does not work
Out of curiosity (I don't remember why exactly, some program used in a guide I was reading wasn't installed, and I followed the CL instructions on what packages to download) I tried to install linux-...
0
votes
0
answers
29
views
Error when trying to use the `sudo apt update` command [duplicate]
I am trying to use the sudo apt update command, but I keep getting the following error:
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-...
0
votes
0
answers
31
views
How to solve errors (E/W/N) after apt-get apdate? [duplicate]
I am now running 22.04 LTS. After sudo apt update, I got these errors:
Hit:1 https://mirror.xeonbd.com/ubuntu-archive jammy InRelease
Hit:2 https://mirror.xeonbd.com/ubuntu-archive jammy-updates ...
0
votes
0
answers
17
views
New case of kept back packages without hold in Ubuntu 22.04 [duplicate]
(NB this is not just missed dist-upgrade. So the question is not a plain duplicate.)
After upgrade to Ubuntu 22.04, I've started getting a strange situation when a package is declared "kept back&...
0
votes
0
answers
17
views
Cant install kdeplasma-addons using apt [duplicate]
I use Ubuntu Mate 22.04 on my computer and I installed the KDE Plasma desktop environment, I tried adding the Menu 11 and Menu X Widgets but they popped up with an error when I tried to open them I ...
0
votes
3
answers
119
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
0
answers
87
views
How to completely remove the AtomEditor package from the apt-repository? [duplicate]
$ sudo apt update
...
Ign:6 https://packagecloud.io/AtomEditor/atom/any any InRelease
Err:8 https://packagecloud.io/AtomEditor/atom/any any Release
404 Not Found [IP: 52.8....
-1
votes
0
answers
50
views
linux kernel reinstall on older entry
I have linux kernel 6.5.0-26. From git I got source code for it, compiled and installed the compiled deb kernel linux image. After that ubuntu is not booting and stuck at message that waiting for ...
-2
votes
3
answers
46
views
libc6 dependency mismatch
I've created a Frankenstein's monster by adding Kali stuff to my source list like mentioned in this guide: https://medium.com/@sany4sec/how-to-install-kali-linux-tools-in-ubuntu-or-linux-mint-...
0
votes
0
answers
49
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
52
views
sudo apt --fix-broken install does not work, and I get an error about apport MaxReports
I've tried to install some drivers for my machine as there was an error in Minecraft I'm having that could be related to drivers.
I have tried to install a few things, however, I get the same error ...
0
votes
0
answers
30
views
apt list --upgradable and USN
Below command gives the list of security patches which are available to apply.
apt list --upgradable | grep security | awk '{print $1}'
My expectation is that this list should be a subset of USN ...
0
votes
0
answers
33
views
Ubuntu 22.04 boots into console instead of GUI
I have a Ubuntu 22.04.04
when booting he loads the console instead of the GUI
I tried to run sudo apt update sudo apt --fix-broken install and sudo systemctl set-default graphical.target i didnt get ...
1
vote
1
answer
54
views
How does the Ubuntu package manager determine which repository to search for when a user requests to install a package? [duplicate]
How does a package manager, such as APT on Ubuntu, determine the specific repository from which it should retrieve a package when a user requests to install it?
0
votes
0
answers
30
views
Installed nvidia through file runner, nvcc is on my system but not properly configured
I installed version 11.8 of CUDA on my system through the runfile:
https://developer.nvidia.com/cuda-11-8-0-download-archive?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&...
0
votes
0
answers
19
views
Ubuntu/Debian Repository Architecture [duplicate]
I'm deploying a local repository and I would like to know more about the architecture of Ubuntu and Debian package repositories.
I know that packages are stored in http://fr.archive.ubuntu.com/ubuntu/...
1
vote
1
answer
209
views
packages reinstall after xz-utils restore [closed]
how to fix my ubuntu from broken dependences issues everywhere after choas caused by xz-utils backdoor found few days ago. i am using noble development branch. After few updates days ago and lots of ...
0
votes
0
answers
47
views
Error: Conflicting values set for option Trusted regarding source [duplicate]
I have to install dbeaver in Ubuntu, so I'm trying to run this command:
sudo apt update && sudo apt install dbeaver-ce
but I am getting this error:
E: Conflicting values set for option ...
0
votes
0
answers
41
views
upgrade kernel and NVidia Tesla V100 driver on azure vm
I have an Azure VM with NVidia Tesla V100 and I need upgrade the kernel from 6.2.0-1011-azure to the newest version.
VM based on NVidia image and this is some details:
Operating system Linux
Image ...
0
votes
1
answer
50
views
I am not able to uninstall emacs from ubuntu using the terminal?
I am trying to uninstall emacs from my ubuntu system but I am not able to do so. I have run the command sudo apt-get remove --purge emacs. But still, I see emacs present in my system.
I also tried to ...
0
votes
0
answers
83
views
Can’t update system with “sudo apt update” on Ubuntu 22.04 [duplicate]
root@jizpi:/home/jizpi# sudo apt update
Ign:1 https://https//launchpad.net/ubuntu/trusty/+package/apt stable InRelease
Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
Get:3 http://repo.mysql....
0
votes
0
answers
22
views
apt command not installing latest version of apts [duplicate]
So i've been using ubuntu as my main os and I'm still trying to learn my way through it - and linux in general.
But I've noticed that (sudo) apt install is not installing the latest versions of apts ...
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-...
0
votes
0
answers
29
views
why doesnt the debian goodies command function despite it being reccommended [duplicate]
Despite debian-goodies being recommended by my console and even being brought up by the console, the error I keep receiving is as follows:
E: Unable to locate package debian-goodies
The command I am ...