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,684
questions
0
votes
1
answer
124
views
What is the /etc/apt/sources.list.d/ubuntu.sources.curtin file in Ubuntu 22.04? Can you please explain its purpose, meaning and how to use it?
I just installed Ubuntu 24.04 Server and am noticing a new file in /etc/apt/sources.list.d/. The name of the file is ubuntu.sources.curtin. What exactly is this file for, what does it do, how do I use ...
0
votes
1
answer
74
views
Apt focal-update versus focal-security [duplicate]
What is the difference between the "updates" and "security" repos?
I'm asking because I want to set up and use unattended-upgrades, which only allow updates from "focal" ...
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 ...
0
votes
1
answer
61
views
Running multiple bash scripts at once
I've like 10 repos running in the same machine, I some times change machines and want to deploy them automatically and fast so I made this script to execute each repo installation file at the same ...
0
votes
0
answers
24
views
ModuleNotFoundError: apt_pkg
I am trying to install Python in my EC2 instance
using these commands:
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.12
However, upon running the first ...
-1
votes
1
answer
61
views
target is configured multiple time's
When I type
mbr@MBR:~$ sudo add-apt-repository 'deb
https://dl.winehq.org/wine-builds/ubuntu/ jammy main'
I get
Repository: 'deb https://dl.winehq.org/wine-builds/ubuntu/ jammy main'
Description: ...
0
votes
1
answer
483
views
How to install nginx and passenger on ubuntu 24.04 noble release
I need some assistance. I am currently deploying a Ruby on Rails application to a DigitalOcean droplet using Capistrano and Ubuntu 24.04 (Noble Numbat). I'm following Chris Oliver's guide from GoRails ...
0
votes
0
answers
68
views
Using Synaptic in Kubuntu 24.04 - "E: The value 'mantic' is invalid for APT::Default-Release as such [duplicate]
Upgraded to Kubuntu 24.04 from 23.10 using shell commands.
Upgrade seemed to go to completion.
SOLVED - Synaptic now unusable and displays (when invoked):
E: The value 'mantic' is invalid for APT::...
0
votes
0
answers
345
views
Rebuilding the .deb for 6.5 linux kernel and Ubuntu 22.04.4 LTS using kernel sources (git clone)
I have installed 6.5 linux kernel on Ubuntu 22.04.4 LTS using sudo apt install linux-generic-hwe-22.04.
I need to rebuild the kernel to enable CMA option but:
when getting the sources via apt source ...
0
votes
0
answers
37
views
Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages
While upgrading my Ubuntu 22.04 something went wrong on the screen while booting the machine.
I tried to update the packages, but I'm still unable to install all the dependencies.
0
votes
0
answers
32
views
how to turn off fps counter libvulkan
trying fix problem with vulkan shaders processing on steam i found this command:
sudo add-apt-repository ppa:graphics-drivers/ppa && sudo dpkg --add-architecture i386 && sudo apt ...
1
vote
0
answers
101
views
Trying to install mailman 3 to Ubuntu 24.04 via apt but installation fails
I tried to install mailman3-full package to fresh install of Ubuntu 24.04 but the installation fails.
The command I used was plain
apt install mailman3-full
Any ideas how to circumvent the problem?
...
3
votes
0
answers
55
views
apt: How to properly `autoremove` redundant, auto-installed dependencies?
I have a Apt configuration file at /etc/apt/apt.conf.d/99recommends-and-suggests, containing:
APT::Install-Recommends "true";
APT::Install-Suggests "false";
APT::AutoRemove::...
-1
votes
1
answer
38
views
Shrink, regenerate, replace kernel initrd size [duplicate]
Summary: is there a way to get apt to build the kernel on a different partition and then copy it over the existing one?
My /boot partition is very small (88MB) and has only a single version of the ...
4
votes
2
answers
4k
views
Ubuntu 24.04 APT - Specify Architecture Using .sources Files [duplicate]
I have a strange thing I cannot figure out. Have checked manpages, etc. So hoping someone else had same issue.
To convert from a normal .list file to a .sources file, as is now used in Ubuntu 24.04 ...
1
vote
0
answers
25
views
Can I reallocate space on /boot and / remotely? [closed]
I have a very old, dedicated coloc server 1500 miles away. My /boot partition is far too small.
$ df -h /boot /
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 88M 56M 26M 69% /...
2
votes
1
answer
294
views
APT not working as I deleted libstdc++
I just now deleted libstdc++ (/lib/x86_64-linux-gnu/libstdc++.so.6) following some tutorial online to fix another issue.
Now, I can't get it back because trying to run apt-get errors out with:
apt-get:...
0
votes
0
answers
19
views
How to show reverse dependencies between snaps [duplicate]
To know which packages depend on a specific package, I can run:
$ apt rdepends <package>
example:
$ apt rdepends netcat-openbsd
netcat-openbsd
Reverse Depends:
Recommends: libvirt-daemon
...
0
votes
1
answer
155
views
Installing llvm-7 on Ubuntu 22.04
I am trying to install llvm-7 on Ubuntu 22.04 Jammy, but cant locate the package with apt-get. The website apt.llvm.org says it itself is deprecated and now I am wondering how I am supposed to install ...
0
votes
1
answer
87
views
After Installing Python from Source, can I Uninstall the Building Dependencies?
I am working with very constrained embedded hardware where I cannot afford to have many packages installed; however, I need Python3.10, which I built from source (my apt only offers Python3.7).
In ...
0
votes
0
answers
234
views
Multiple Errors: while using sudo apt update [duplicate]
When I use sudo apt update these what I get as an output, multiple error tried to find answer but couldn't get any as working. Really new in the Linux field if you could help me out it will truly ...
0
votes
1
answer
69
views
GUI option to remove snaps? [duplicate]
I would like to use normal apt packages, and not be redirected to snap when I do sudo apt install chromium-browser. How do I toggle this off? I can't find it in the settings.
-1
votes
1
answer
100
views
Firefox won't work even after reinstalling [duplicate]
I tried to uninstall and reinstall firefox thinking it would fix some bug I had with my microsoft 365 login. Now eventhough firefox seems to be propely installed, I can't open it with the icon, ...
1
vote
1
answer
119
views
How to uninstall application installed without package manager
Look as a preface, I'm new to Linux OS. I've been using ubuntu for a few months and when I first started out I installed vscode. I did this with the windows installer. Wrong but I didn't know at the ...
0
votes
0
answers
24
views
Cannot install new programs on system with linux image created with clonezilla [duplicate]
Please help me.
I have created an image with the of a system with Clonezilla and I have restore it on two new systems. Everything was fine until I wanted to install a new program on them from terminal ...
-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 ...
2
votes
1
answer
223
views
Unable to locate package python3-cepces
I'm trying to enroll Ubuntu 22.04.4 Pro Desktop for certificates from a Windows domain (ADCS).
Using this approach with certmonger and its cepces plugin.
I have a virtual machine installed from the ...
1
vote
0
answers
60
views
How Can I install Packages Into a Test Directory?
I want to install a list of packages under a certain directory. I have seen this answer but It doesn't fulfill my needs.
What I want to do is the following:
Select a folder to include all files ...
0
votes
1
answer
835
views
Certificate verification failed: The certificate is NOT trusted [duplicate]
Recently, I have been getting this warning each time I try running a system update on my machine:
Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not ...
-2
votes
1
answer
100
views
Brave web browser: How to remove the 'doesn't support architecture 'i386'' message? [duplicate]
For Ubuntu Desktop 22.04 was installed Brave web browser according with the official instructions indicated at Release Channel Installation - Debian, Ubuntu, Mint. Therefore as follows:
sudo apt ...
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
1
answer
58
views
The "sudo add-apt-repository ppa:nemh/systemback" command does not work
I'm trying to create a Live ISO of my linux distribution using a tutorial and to do so it tells me to enter this command:
sudo add-apt-repository ppa:nemh/systemback
problem it returns me this error:
...
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
120
views
Cannot --fix-broken install, upgrade, or update
for several years I have had an issue where I cannot update packages or upgrade my system. I thought I had found an answer with (How to easily remove old kernels in Ubuntu 20.04 LTS?), but I am even ...
-1
votes
1
answer
39
views
Apt suggesting auto remove of important packages
This comes up when i try to sudo apt upgrade.
The following packages were automatically installed and are no longer required:
atop bmon cabextract ccze dctrl-tools deltarpm dnf-data gir1.2-clutter-1....
1
vote
1
answer
344
views
What happened to openresolv on Ubuntu 24.04? "Package 'openresolv' has no installation candidate" What is it's replacement, or how do I get it?
It seems Ubuntu 24.04 Server no longer has the Openresolv package. I need it, or an alternative that does the same thing. I get a "E: Package 'openresolv' has no installation candidate" when ...
2
votes
1
answer
1k
views
How to install latest version of Thunderbird as a traditional deb package without snap in Ubuntu 24.04 and later versions?
In Ubuntu 24.04, Thunderbird is installed as a snap app.
How to install thunderbird without snap, e.g. from the Mozilla Team PPA?
2
votes
1
answer
155
views
How do I apply only security updates in terminal? [duplicate]
My server uses the ubuntu operating system. After a while, I saw a lot of update notifications. But I only want to update the security part, so how do I use the command?
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 ...
1
vote
0
answers
172
views
Can't install Tensorflow in Ubuntu 20.04 LTS
I'm trying to install TensorFlow on my Ubuntu system, but I'm encountering some issues. Here's what I've done and the issues I'm facing:
1. sudo apt install python3-tensorflow:
This command returns ...
0
votes
0
answers
71
views
Install Gromacs/ gmx not found
I isntall gromacs with gpu cuda accelaration and after finished all process it worked and show but when i close the terminal and open new terminal and command any gmx work it show gmx not found / ...
0
votes
1
answer
137
views
Release notes for Firefox-esr 115.11.0 is still not released by Mozilla. But Apt suggests an upgrade. Is it normal?
I have Ubuntu 22.04 installed along with XFCE. And I have installed firefox-esr via their ppa, in it.
Running apt-upgrade today suggested an update for firefox-esr from version 115.10.0 to 115.11.0. ...
0
votes
0
answers
71
views
"E:The package code needs to be reinstalled, but I can't find an archive for it."
Every time I try to install a new application or software(for eg: git,gcc to run c ,..), the above error is being thrown.
Here it is:
(base) devi@devi-s200164:~$ sudo apt install gcc
[sudo] password ...
2
votes
0
answers
97
views
How can I avoid apt search results that contain snap packages?
I have removed snapd and friends after reading a bit here, here and here.
Still, when I run apt search with i.e. thunderbird it returns results which are snapd-related:
$: apt search thunderbird
...
0
votes
1
answer
411
views
PPAs do not have release files [duplicate]
I have noticed, that when I try to sudo apt update, the terminal keeps showing me errors that I had when I was trying to install something else time ago.
Hit:1 https://dl.winehq.org/wine-builds/ubuntu ...
0
votes
0
answers
26
views
Managing applications with different installers sources and automatic updates: solving the problem
At the same time different versions of the app are installed from different sources one version of the app is installed from flatpak, another from snap and the third from a third party ubuntu repo, i....
0
votes
0
answers
11
views
Installing a package [duplicate]
I wanted to install fastqc using linux. I used a command "sudo apt-get -y install fastqc"
I got "E: Unable to locate package fastqc". Do I need to download the package first?
Thank ...
-1
votes
1
answer
1k
views
Install dotnet-sdk-8.0 on Ubuntu 24.04
Has anyone been able to install the dotnet-sdk-8.0 package on Noble Numbat?
$ sudo apt install dotnet-sdk-8.0
Reading package lists... Done
Building dependency tree... Done
Reading state information......
0
votes
1
answer
46
views
Unable to remove a PPA I installed when I had an older version of Ubuntu
I recently upgraded to Ubuntu 22.04 from an older version (16? 18? I forget)
I have a tablet, and apparently I acquired the tablet drivers from a third party PPA
ppa:doctormo/wacom-plus
Well, now that ...
-1
votes
1
answer
659
views
Receiving an error after running sudo apt update in Ubuntu Server 24.04
Umm I'm very new to this, just a nerd teen so it would be appreciated if things were explained a bit... comprehensively maybe? I downloaded Ubuntu Server LTS 24.04, everything went smoothly. When i ...