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
20
views
Why don't I see amd64 packages in ports.ubuntu.com?
I'm learning debian packages and by inspecting the official Ubuntu repository at "http://it.ports.ubuntu.com/ubuntu-ports/ubuntu-ports/ubuntu-ports/pool/main/" I don't see .deb packages for ...
2
votes
1
answer
5k
views
apt-get install nfs-common specific version
Short question: I have reason to install a specific version of nfs-common on a new machine. I want to install 1:1.2.8-6ubuntu1.1. I believe that I need to sudo apt-get install nfs-common, but I'm not ...
0
votes
0
answers
11k
views
sudo apt install net-tools [duplicate]
I am very new to the Ubuntu.I was trying to run command (attached) and got an error.
Could you please help me getting this resolved.
-1
votes
1
answer
30
views
ubuntu secure boot error Lenovo p500 What is the problem with the bot?
ubuntu secure boot help me I'm pc Lenovo p500
When taking off, there is an error in the bot.
What is the problem with the bot?
0
votes
0
answers
10
views
installing DaVinci Resolve on Ubuntu Studio
tried installing missing packages in Ubuntu Studio but Resolve still says they are missing when I try and execute ???
0
votes
1
answer
57
views
Random MySQL Server 8 on Ubuntu 20.0.4 - 2 processes trying to run gets stuck on Loading Status
I have been running into this issue now for the last 2 weeks. Our Ubuntu 20.04 server was stable and running without issue until one day it pinged me a 500 error with UpTime Robot monitoring.
When I ...
9
votes
2
answers
4k
views
libMagickWand-6.Q16.so.2: cannot open shared object file
After upgrading Ubuntu 16.04 to 18.04, I can't run php commands.
php -v shows me this:
php: error while loading shared libraries: libMagickWand-6.Q16.so.2: cannot open shared object file: No such ...
1
vote
1
answer
901
views
/opt/mssql/bin/sqlservr: error while loading shared libraries: libssl.so.1.1: wrong ELF class: ELFCLASS32
I am trying to install mssql-server and when running the setup I get the following error at the end:
/opt/mssql/bin/sqlservr: error while loading shared libraries: libssl.so.1.1: wrong ELF class: ...
34
votes
3
answers
235k
views
How to install autoconf
I need to install Tesseract, that need to install autoconf automake libtool,
However I got the error as follows:
sahu@sahu-desktop:/$ sudo apt-get install autoconf
Reading package lists... Done
...
0
votes
0
answers
26
views
Steam games won't show in apps menu
So I initially installed Steam using App Center, but that was launching really slow and I read that it's because I installed it from there. So I decided to uninstall it so I could reinstall using sudo ...
3
votes
3
answers
2k
views
Missing Signed-By in the sources.list(5) entry after installing Ubuntu 24.04
Hope you are doing well. The problem started to show up after I upgraded Ubuntu 23.10 ---> Ubuntu 24.04 LTS (through the Gnome Software Updater).
Here is the output of the sudo apt update -y ...
0
votes
1
answer
14
views
How to install parabolic in Ubuntu 24.04 without snap or flatpak?
I am using Ubuntu 24.04 with a laptop with limited storage in its internal drive, and to save space, I want to avoid snaps and flatpaks.
I want to install the Parabolic YouTube downloader, which is a ...
4
votes
3
answers
2k
views
tinyproxy install via apt-get failing to create config file
I put together an ubuntu 12.04 server a couple of weeks ago and everything seemed fine until this morning.
Suddenly, I'm having trouble installing new packages - at first I thought there was ...
0
votes
1
answer
31
views
Can't login to finish do-release-upgrade process
I ran sudo do-release-upgrade -d inside byobu inside Gnome Terminal using Remote Desktop, to upgrade from Ubuntu 22.04 LTS to Ubuntu 24.04 LTS.
It ran for a while and started asking the usual ...
2
votes
4
answers
16k
views
Install AnyDesk in Ubuntu Server Raspberry PI 4 image via Terminal
I've been struggling to install AnyDesk in a flashed Ubuntu Server 20.04 image for Raspberry PI 4.
What I've done is the following:
delete and clear all other previous installations:
sudo apt-get ...
0
votes
0
answers
14
views
How to use SDKMAN Candidates like Maven or Gradle in linux [Kubuntu 24.04] terminal
How to use SDKMAN Candidates that come along with SDKMAN installation. Can it be used in the Linux Desktop for general build or compilation process like that Gradle, Groovy & Maven that come along ...
6
votes
1
answer
9k
views
apt error: repository doesn't support architecture 'i386'
When I run sudo apt update got this message:
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://apt.postgresql.org/pub/repos/apt hirsute-pgdg InRelease' doesn't ...
0
votes
1
answer
56
views
Mouse cursor weird after apt update. Wayland
Ubuntu Noble. All was fine until today, after apt update cursor starts lagging, but if you press the left mouse key on desktop, it fixes until you stop holding it. Also Mozilla got something weird ...
1
vote
1
answer
60
views
OEM deb package and ubuntu version mismatch
for my thinkpad e14gen5, lenovo provide this OEM hardware support package for ubuntu 22.04 only it seems.
I want to install ubuntu 24.04.
According to this search on packages.ubuntu
There is no ...
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
23
views
An Error during Update related to http://repository.spotify.com Ubuntu 24.04
Err:4 http://repository.spotify.com stable InRelease The following
signatures couldn't be verified because the public key is not
available: NO_PUBKEY 6224F9941A8AA6D1 Reading package lists... Done
W:...
179
votes
8
answers
139k
views
What commands (exactly) should replace the deprecated apt-key?
Setting up keys for a local repository on a new ubuntu 20.10 virtual machine, I got a message that apt-key add was deprecated and I should read the apt-key(8) man page. The apt-key(8) man page is a ...
331
votes
9
answers
373k
views
Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'xxx' doesn't support architecture 'i386'
Getting below error message while issuing :
sudo apt-get update
Get:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease [95.8 kB]
Ign:2 http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.2 ...
1
vote
2
answers
13k
views
How to install amd64 libc6 libraries on arm64?
I have a deb package from a vendor that's been compiled for amd64. I'm currently running Ubuntu server for ARM.
When I originally ran dpkg I was yelled at due to an architecture mismatch.
So I firt ...
0
votes
0
answers
245
views
How can i resolve Invalid value set for options Signed-By regarding source error?
I'm new to Ubuntu, and i think i messed up my repo.
Now i see the error
E: Invalid value set for option Signed-By regarding source https://repositories.intel.com/gpu/ubuntu/ jammy/production/2328 (not ...
4
votes
1
answer
12k
views
E: Type 'sudo' is not known on line 1 in source list /etc/apt/sources.list.d/mono-xamarin.list [duplicate]
I don't know what caused the following to happen:
The content of /etc/apt/sources-list.d/mono-xamarin.list is sudo apt-get update.
5
votes
1
answer
27k
views
Type 'sudo' is not known in source list
I'm a first time Linux user. My laptop wasn't connecting to the wifi so I followed the instructions from this link.
On typing sudo apt-get update after that, I got this error:
E: Type 'sudo' is not ...
-2
votes
0
answers
260
views
sudo apt update shows warnings [duplicate]
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://apt.postgresql.org/pub/repos/apt noble-pgdg ...
9
votes
1
answer
6k
views
Ubuntu 24.04 getting error You must put some 'deb-src' URIs in your sources.list when issuing apt-get build-dep
On freshly installed from scratch (not an upgrade) Ubuntu 24.04 I get this error when I run
$ sudo apt-get build-dep -y vlc
Reading package lists... Done
E: You must put some 'deb-src' URIs in your ...
8
votes
7
answers
9k
views
apt-get update for gitlab-runner for Ubuntu 20.04.6 LTS failing with invalid signature
I'm trying to run apt-get update and getting this error for gitlab-runner:
# apt-get update
.
.
.
Get:6 https://packages.gitlab.com/runner/gitlab-runner/ubuntu focal InRelease [23.5 kB]
Err:6 https://...
0
votes
2
answers
37
views
apt wants to remove important sounding packages
Apt suddenly said the packages libdaxctl1 libndctl6 libpmem1 are no longer needed and should be autoremoved.
these packages all sound really important. so I set them to manually installed.
can someone ...
-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... ...
4
votes
1
answer
1k
views
Installing nvidia drivers on 24.04 is an impossible task
My expectation is that installing drivers is a ten minute task, max.
My actual result is that it's taken two, three days of work to get no results.
sudo apt install nvidia-driver-535-open followed by ...
6
votes
1
answer
590
views
Where is the documentation for the new apt sources format used in 22.04?
Before 22.04, there was a file /etc/apt/sources.list. With 22.04 the default file structure has changed.
Is there documentation about this change?
Does the old format still work or is only the new ...
-1
votes
0
answers
25
views
Make WSL detect conda-python that I installed on Windows 11 [duplicate]
I have a Windows 11 machine and I install Ubuntu from microsoft store to run linux command.
Previously I also insalled Conda on Windows 11.
But when I open WSL and hit 'python' it gives the following ...
8
votes
2
answers
14k
views
Apt can't find packages on Ubuntu 20.04 arm64 (Raspberry Pi 4)
I began by trying to install xubuntu-desktop, and then tried xfce4, and other packages (like GIMP) on a freshly installed Ubuntu Server 20.04 on my Raspberry Pi 4 but apt reported that it couldn't ...
-1
votes
0
answers
53
views
Ubuntu 24.04 unable to enable dark theme
I can not enable dark theme on my newly installed ubuntu 24.04. I have tried bunch of techniques but nothing changes. Can I get some help?
-1
votes
0
answers
16
views
Err:10 https://repo.protonvpn.com/debian stable InRelease Cannot initiate the connection to repo.protonvpn.com:443 [closed]
Iam trying to sudo apt update in my Ubuntu 18.04.3 LTS.
Thank you in advanve for your great help!
Best,
Yue
jing@jing-Inspiron-3670:~$ sudo apt update
[sudo] password for jing:
Hit:1 http://dl.google....
1
vote
1
answer
86
views
Cannot install gnome-control-center upon upgrading Ubuntu (unmet dependencies with libpython3.10)
I upgraded last night from Ubuntu 20.04 to 22.04. When I booted up my PC, I found my settings app (gnome-control-center) was gone. I tried to install, but I get:
$ sudo apt install gnome-control-...
1
vote
0
answers
45
views
Is it possible to "remove" an apt-cache policy entry?
I'm having trouble installing a package, and I think it might be because apt wants to install the wrong version of it.
If I run apt-cache policy python3.10, I see:
$ sudo apt-cache policy python3.10
...
-1
votes
0
answers
17
views
sudo apt update failed with public key issue https://packages.microsoft.com/repos/azure-cli [duplicate]
when i use sudo apt update, i got below error
I already tried many posts from stackoverflow , does not work for me
(e.g How to solve GPG Error with packages.microsoft.com PUBKEY)
Any idea? thanks in ...
-1
votes
1
answer
35
views
Would an 'altered' package be replaced by an updated version when it comes out?
I'm currently experimenting with ksmbd. The current build of ksmbd tools in ubuntu 24.04 has broken packaging and install fails - I ended up downloading the deb-src and building a package with the ...
0
votes
0
answers
45
views
Can't install Nala
I'm trying to install nala and I am getting this error:
W: GPG error: https://deb.volian.org/volian scar InRelease: The following signatures couldn't be verified because the public key is not ...
0
votes
0
answers
48
views
how to install library dlib==19.16.0 on ubuntu 24.04 for the python version 2.7.18
I receive the below error while installing dlib, Kindly help me to install dlib==19.16.0 on ubuntu 24.04 for the python version 2.7.18.
pip install dlib
DEPRECATION: Python 2.7 reached the end of its ...
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 ...
48
votes
5
answers
48k
views
permission error when installing ttf-mscorefonts-installer/Can't drop privileges as file couldn't be accessed by user '_apt'
I wanted to install the Microsoft fonts on 16.04 and ran the command below, but there are many errors (or only warnings?) about that the user _apt has no permissions on the downloaded .exe files.
...
0
votes
0
answers
22
views
how to set up ssh tunnel for apt-get update on WSL2?
My local machine has Ubuntu 23.10 on Win 10 WSL2. The local machine has no direct access to public Internet. It has access to a portal machine which communicates with public Internet.
How can I run ...
2
votes
3
answers
14k
views
Unable to update my ubuntu server 14.04 using apt-get update
I am unable to update my ubuntu server 14.04 using apt-get update.
Outcome is:
W: failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty/inrelease
And another error is:
/usr/local/...
-2
votes
0
answers
21
views
apt signals broken package, but I cannot see which is broken [duplicate]
Ubuntu focal
5.15.0-92-generic 102~20-04.1-Ubuntu SMP
I have tried following
sudo apt update
sudo apt-cache policy build-essential
sudo apt install gcc=4:9.3.0-1ubuntu2 -f
always fails
So I installed ...
0
votes
0
answers
69
views
Every time I try to install apps on Ubuntu 22, I get certificate/ssl/update errors. Anyone know why? [duplicate]
I'm on a corporate laptop dual booted with Ubuntu and Windows. Whenever I try to install things like Caddy, Docker Desktop, or really any application it turns into a whole thing and I can't install ...