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.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
108 views

How to convert a Linux binary from AMD64 to AARCH64 architecture?

I'm trying to convert a Linux binary from AMD64 to AARCH64 architecture, but I'm not sure how to proceed. I've searched online and found that typically, the source code is required for such ...
Adikesh's user avatar
0 votes
1 answer
324 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; ...
Blueglasses's user avatar
0 votes
1 answer
127 views

how to create a local repo in ubuntu with specific packages that will serve update and installation request from client machines of all the distros

I can only create a local repo by downloading the whole mirror repository. i want to make the repo only for specific packages not all the packages. i would also want this centos machine to have repo ...
Nahid Fuad's user avatar
0 votes
1 answer
41 views

Install package into live environment

Suppose one is running Ubuntu's live CD/DVD installer ISO. Now also suppose for whatever purpose, they need to install a package into that live environment (the in-RAM environment, not the ISO image). ...
Melab's user avatar
  • 1,676
0 votes
0 answers
40 views

help showing apps with error "lacks Mime Type key"

I am 82 years young but not gend up too much on linux. When i could not show my apps installed or software app I tried"update-desktop-database -v" in terminal and had error "/usr/local/...
jfb's user avatar
  • 1
-1 votes
2 answers
106 views

Ubuntu 23.10 - Unable to enable proposed

I am unable to enable proposed for in ubuntu 23.10. I followed https://wiki.ubuntu.com/Testing/EnableProposed and enabled pre-released updates (mantic-proposed) in Software & Updates When I run ...
bas's user avatar
  • 153
0 votes
0 answers
74 views

How can I safely rollback specific upgrades?

I am currently dealing with gpu crashes which I believe have been caused by a bunch of packages that were upgraded this morning on my machine. Here's the history.log entries for this morning. I am new ...
Charles Randall's user avatar
2 votes
1 answer
229 views

How to know which apt repository is slow?

I run sudo apt update and it took like 30 minutes and not even done, how to know which repository that are slow? Get:88 https://apt.releases.hashicorp.com jammy/main amd64 Packages [119 kB] Get:89 ...
Kokizzu's user avatar
  • 499
0 votes
0 answers
28 views

How to package and deploy a DEB without any assumptions about dependencies installed on the target machine

I am creating a DEB package for installation by external systems. At this early stage of development the DEB package consists of custom-developed Python wheels. These wheels depend on: System binary ...
Olumide's user avatar
  • 569
0 votes
1 answer
232 views

I accidentally installed phased update for gjs. How to revert?

~ ❯ apt-cache policy gjs gjs: Installed: 1.72.4-0ubuntu0.22.04.1 Candidate: 1.72.4-0ubuntu0.22.04.1 Version table: *** 1.72.4-0ubuntu0.22....
Player8276's user avatar
0 votes
1 answer
178 views

Dependency is not satisfiable: libgtk2-perl

I am trying to install gmusicbrowser in ubuntu 22.04 but sadly I am getting the below errors. I have sudo apt install libglib2.0-dev in a blind hope it might install perl, but no such luck. sudo gdebi ...
Jamie Hutber's user avatar
0 votes
1 answer
225 views

can anyone help me with this apt update issue in ubuntu 23.10?

image from software update Ign:1 https://mirror.limda.net/Ubuntu mantic InRelease Hit:2 https://dl.google.com/linux/chrome/deb stable InRelease ...
Meharaj Hasnain's user avatar
0 votes
0 answers
75 views

Ubuntu 22.04 Unattended Upgrades: apt hook usage, for command execution after successful updates

I looked at the commands executed after a successful update, in /etc/apt/apt.conf.d: # cat 15update-stamp APT::Update::Post-Invoke-Success {"touch /var/lib/apt/periodic/update-success-stamp 2>/...
Floren's user avatar
  • 141
0 votes
1 answer
97 views

How to fix fix broken install command (due to zoom installation)

Installing zoom-meeting created a broken package. Since then I've tried everything, but nothing can be done. When I enter the command sudo apt-get --purge remove zoom I get these results: Reading ...
Matthew's user avatar
2 votes
2 answers
260 views

apt-cacher-ng not caching packages installed on the server

I have three Ubuntu systems and I wish to minimize download bandwidth by setting up a cache of downloaded packages. (With only three systems, it's not worth setting up a full mirror). apt-cacher-ng ...
Organic Marble's user avatar
0 votes
1 answer
268 views

22.04.1 to 22.04.3 or kernel upgrade? [duplicate]

I installed initially 22.04.1 (in 2022), and did all updates. But, the kernel is still 5.15.0-94 while 22.04.3 comes with kernel 6.2... And lsb_release -a says No LSB modules are available. ...
Déjà vu's user avatar
  • 969
0 votes
0 answers
44 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 ...
Mixo Max's user avatar
-1 votes
1 answer
93 views

apt update && apt upgrade gives lock error on Ubuntu 22.04 [duplicate]

I have typed the following command: $ apt update && apt upgrade I am getting the error: Reading package lists... Done E: Could not open lock file /var/lib/apt/lists/lock - open (13: ...
user2994783's user avatar
0 votes
0 answers
187 views

I am using the colcon buil command in my ros workspace, the following error appears : R_X86_64_TPOFF32

When I cd into my ros workspace, and use the following command - colcon build , I get to see the following error messages, ERROR:colcon.colcon_core.extension_point:Exception loading extension '...
Gautham 005's user avatar
-1 votes
1 answer
50 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~...
stealz's user avatar
  • 97
0 votes
0 answers
54 views

Installation of obs failed [duplicate]

I am using the linux distro 22.04.2. I used the installation instructions from the obs site. When I attempted to install the repository, I got a notice that some packages were missing so older ones ...
lejiii's user avatar
  • 1
2 votes
1 answer
143 views

Offline updating various Ubuntu versions

If I am looking to provide an offline update for several Ubuntu Linux devices using varying Ubuntu versions, how can I use one update file to standardize them all to the latest release? I've seen that ...
Peter's user avatar
  • 21
1 vote
0 answers
45 views

Ubuntu air-gapped system "the update information is outdated." -- Do NOT want to update, ever [duplicate]

I have air gapped systems with Ubuntu 22.04 desktop. I get a red circle exclamation point. If I click, I get "the update information is outdated. This may be caused network problems or ...&...
Hugh McCurdy's user avatar
0 votes
1 answer
761 views

Help with GPG error. NO_PUB_KEY

I know this has been anwsered several times but I tried everything and I'm still getting: W: An error occurred during the signature verification. The repository is not updated and the previous index ...
elunicotomas's user avatar
0 votes
1 answer
87 views

apt update issue after port 80 dnat prerouting

I need some help on making apt still work after pre-routing the port 80. The config is as follow: i Have a Debian server which Host an ubuntu 22.04 VM. for some reason, i need to route the port 80 ...
Waldon's user avatar
  • 21
0 votes
1 answer
492 views

Unmet dependencies and broken packages error while I tried to upgrade Ubuntu 22.04 [duplicate]

sudo apt upgrade showing following error You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: libc-bin : Depends: libc6 (< ...
THORN HILL's user avatar
0 votes
0 answers
20 views

Is it okay to have the same key for these three files, "pkgs-osrf-archive-keyring.gpg", "gazebo-archive-keyring.gpg"?

I have the same PGP key values for both the above mentioned .gpg files, this is how it looks -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1 ...
Gautham 005's user avatar
0 votes
0 answers
33 views

Is it okay to have a .gpg file under sources.list.d?

I have the following file under sources.list.d goutham@goutham-11-11:/etc/apt/sources.list.d$ ls cuda-ubuntu2204-12-3-local.list gazebo-stable.list google-chrome.list obsproject-...
Gautham 005's user avatar
0 votes
0 answers
108 views

Getting an error related to apt-key deprecation [duplicate]

When I tried to run sudo apt update I got the following errors related to NO_PUBKEY 67170598AF249743. Err:8 https://packages.osrfoundation.org/gazebo/ubuntu-stable jammy InRelease The following ...
Gautham 005's user avatar
0 votes
0 answers
42 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 ...
deeeeeeeeeee's user avatar
0 votes
1 answer
353 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 ...
dontknowanything's user avatar
0 votes
1 answer
66 views

Is there a simple way to find the location of any given application

The apps on my machine are a growing hodge-podge of snaps, flatpaks, appimages, cargoes, python-whatevers and so on. Some are in /usr/bin some are in /snap/ some are in ~/Applications or ~/.local/bin ...
stib's user avatar
  • 101
0 votes
0 answers
30 views

Trying to attach my Token to the machine and getting this BIG huge error command line: [duplicate]

im trying to attach my Token to the machine and getting this BIG huge error command line: sudo pro attach <*mytoken*> [sudo] senha para guinomo: Unexpected error(s) occurred. For more details, ...
GuinomoFractal95's user avatar
1 vote
0 answers
38 views

Ubuntu 22.04 Postfix apt upgrade missing maps files post upgrade

Ubuntu 22.04 LTS, Postfix, APT Security updates are enabled, and APT is applying updates to postfix. However, post-upgrade postfix is left in a non-functional state. We get these errors in the logs: ...
GregS's user avatar
  • 11
0 votes
1 answer
124 views

Can't install SteamCMD on my Ubuntu VM using OCI

running Unbuntu 22.04. Was trying to download SteamCMD through the following commands. The arch is aarch64 sudo add-apt-repository multiverse; sudo dpkg --add-architecture i386; sudo apt update sudo ...
ayaya's user avatar
  • 1
0 votes
0 answers
29 views

ModuleNotFoundError: No module named 'apt_pkg' on Ubuntu 22.04 [duplicate]

I currently using ubuntu 22.04, when I do 'sudo apt update', always appear error like this : $ sudo apt update Hit:1 https://dl.google.com/linux/chrome/deb stable InRelease Hit:2 http://repo.mysql....
Muhammad Banar Wicaksono's user avatar
0 votes
0 answers
26 views

sudo apt update: Conflicting values set for option Signed-By regarding source [duplicate]

This is the error I get when running sudo apt update: goutham@goutham-11-11:/$ sudo apt update E: Conflicting values set for option Signed-By regarding source http://packages.osrfoundation.org/gazebo/...
Gautham 005's user avatar
0 votes
0 answers
82 views

Error when using the sudo apt-get update command [duplicate]

List of PPAs: Error output from terminal: nessie27@nessie27-MS-7A38:~$ sudo apt-get update [sudo] password for nessie27: Exist:1 http://ru.archive.ubuntu.com/ubuntu jammy InRelease Gender:2 http://ru....
Vanessa Foht's user avatar
1 vote
1 answer
426 views

possible to downgrade pgadmin4?

We have postgres 9.5. My computer (Ubuntu 20.04) has pgadmin4 8.2, but when it connects to the 9.5 server I get this error: column "wait_event_type" does not exist Line 10: wait_event_type ||...
raphael75's user avatar
  • 355
1 vote
1 answer
95 views

Software Updater (update-manager) stuck, but `apt update` and `apt upgrade` work fine. How to fix the update-manager?

Software Updater (update-manager) stuck, but apt update and apt upgrade work fine. I have try to use sudo dpkg --configure -a. The error stacktrace is follow: update-manager Traceback (most recent ...
Kicey's user avatar
  • 21
0 votes
0 answers
79 views

Failed to Fetch error while updating Oracle Cloud

I am using Oracle Cloud canonical ubuntu 22.04 and canonical ubuntu 22.04 minimal. Both having same error. When i am run sudo apt update i get below error Error : E: Failed to fetch http://us-sanjose-...
Stellan Coder's user avatar
0 votes
1 answer
278 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/...
Maukthik Srivathsan J's user avatar
0 votes
0 answers
42 views

How to resolve ZFS userspace tools and kernel module mismatch caused by HWE automatic updates

I am on Ubuntu LTS 20.04 with kernel version 5.15.0-91-generic. I find that my ZFS user utils are version 0.8.3 and my ZFS kernel module is 2.1.5. As I understand it, not only is it risky having the ...
user2005848's user avatar
0 votes
0 answers
286 views

apt update always ends with a Error: Timeout was reached

I'm running Ubuntu 22.04 LTS on WSL2 and have been running into some kind of apt issue where with a working internet connection and confirmed nslookups I always generate a phantom Error: Timeout Was ...
jps_dot_dev's user avatar
0 votes
1 answer
96 views

cross compiling arm64 code in x64 machine

I am trying to cross compile arm64 code on my intel x64 22.04 machine. I installed g++-aarch64-linux-gnu compiler and now I can compile "hello world" like app. to so more than that, I need ...
Alon Barzilai's user avatar
0 votes
1 answer
41 views

How to purge old Openshot files?

I want a fresh install of Openshot using its latest Linux(64-bit AppImage) file on a machine that had previously installed Openshot via apt, snap and flatpak. I have purged all its old installations. ...
Sun Bear's user avatar
  • 2,284
2 votes
1 answer
77 views

Why apt is not finding already installed package? [duplicate]

On Ubuntu 22.04.3: paul@box4x4:~$ apt search libstdc++ | grep installed WARNING: apt does not have a stable CLI interface. Use with caution in scripts. libstdc++-11-dev/jammy-updates,jammy-security,...
Paul Jurczak's user avatar
0 votes
1 answer
76 views

Unattended Upgrades for new Mozilla Firefox apt repository [duplicate]

Mozilla's new apt repository for Firefox is not used by Unattended Upgrades.
tardis's user avatar
  • 500
2 votes
1 answer
266 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.&...
Mike's user avatar
  • 693
0 votes
0 answers
76 views

How to solve "W: Possible missing firmware /lib/firmware" [duplicate]

Laptop: Dell Inspiron 15 3525 with Kubuntu Kernel: Linux 6.2.0-36-generic #37~22.04.1-Ubuntu I've read some other answers on the Internet and I've already upgraded the firmware of all the components ...
Simone's user avatar
  • 44