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
4 votes
1 answer
6k views

How to solve GPG Error with packages.microsoft.com PUBKEY

After installing MS VS Code and doing sudo apt update. an error appeared. Err:4 https://packages.microsoft.com/repos/code stable InRelease The ...
Dreac Leoson's user avatar
1 vote
1 answer
1k views

Errors were encountered while processing: tzdata

I have been installing Ubuntu on a not-so-old laptop, and when I tried to install a package, I got the Errors were encountered while processing: tzdata. I have tried to do dpkg-reconfigure tzdata but ...
Aarón García Egea's user avatar
0 votes
0 answers
79 views

Can't install libsdl2-dev without downgrading SDL2 [duplicate]

I am trying to install the SDL2 development headers to compile a program that imports SDL2. Here is the output when I run the command $sudo apt-get install libsdl2-dev: Reading package lists... Done ...
firstname gklsodascb's user avatar
0 votes
1 answer
313 views

Ubuntu 20.04 Utility to fix W: Duplicate sources.list entry

I get "W: Duplicate sources.list entry" messages when using the ~$ sudo apt install or ~$ sudo apt update commands. These are caused by duplicate sources listed in /etc/apt/sources.list and ...
Hedley Finger's user avatar
1 vote
2 answers
3k views

After upgrade to 22.04, dpkg is broken by firefox and won't fix

I went through Software Updater to upgrade from 20.04 to 22.04, but now dpkg(1) says the package system is broken: firefox-locale-en: Depends: firefox (>= 1:1snap1-0ubuntu2) but 105.0+build2-...
behindthecurve's user avatar
0 votes
0 answers
16 views

Target Packages (sutton/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/oem-sutton.simon-baara-meta.list:1 [duplicate]

I am facing this warning error while doing sudo apt update, I think some files in the source.list.d is being more than once that's what causing the error. I don't want to mess with the system and want ...
Ankit Kumar's user avatar
0 votes
0 answers
636 views

Binwalk error on update ubuntu jammy jellyfish

After installation. I run command binwalk and it shows me following error. Traceback (most recent call last): File "/usr/local/bin/binwalk", line 4, in <module> __import__('...
Subesh poudel's user avatar
0 votes
1 answer
827 views

Signing key error while upgrading to Ubuntu 20.04

I got this gpg error while upgrading to Ubuntu 20.04: GPG error: https://packages.microsoft.com/repos/code stable InRelease: The following signatures couldn't be verified because the public key is ...
karthik Vijeyaraghavan's user avatar
0 votes
0 answers
4k views

Ubuntu 20.04.4 LTS update Connection failed error

The sudo apt-get update or sudo apt install python3-pip leads to errors. I pinged google and the IP that was given for Ubuntu update and all went over fine update error Connection failed [IP: 185....
poppop's user avatar
  • 1
0 votes
0 answers
11 views

error in openvpn installation [duplicate]

Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created ...
Swetang Krishna's user avatar
1 vote
1 answer
6k views

rst2man: configure: error: rst2man is required

I am trying to install the latest version of BlueZ from remote (https://git.kernel.org/pub/scm/bluetooth/bluez.git) using the following steps:- ./bootstrap ./configure --disable-dependency-tracking ...
Youssif Saeed's user avatar
0 votes
1 answer
450 views

I can not get Updates to work at all. I'm using Ubuntu 22.04. This is also affecting downloading and installing applications?

sudo apt-get update Hit:1 http://au.archive.ubuntu.com/ubuntu jammy InRelease Ign:2 http://au.archive.ubuntu.com/ubuntu jammy-updates InRelease Err:1 http://au.archive.ubuntu.com/ubuntu jammy ...
Stephen Hunter's user avatar
0 votes
1 answer
2k views

Could not wait for server fd - select (11: Resource temporarily unavailable) [IP: 148.251.160.247 443] [duplicate]

i try to run sudo apt update but i get flowing error Hit:1 http://ir.archive.ubuntu.com/ubuntu focal InRelease Hit:2 http://ir.archive.ubuntu.com/ubuntu focal-updates InRelease ...
samirapadidar's user avatar
1 vote
1 answer
1k views

apt install fails because of avahi-daemon.service (20.04)

I am trying to install a program with apt install (or apt-get install) but it always fails due to an error with the avahi-daemon. See below (ignore the program wine is already installed. This happens ...
Brian C's user avatar
  • 167
6 votes
1 answer
847 views

Phased updates stuck on 0%?

Greetings Ubuntu Community, I use sudo apt update && sudo apt upgrade to update my 22.04 LTS install. I typically run the command a couple times throughout the week. I've noticed though for ...
Scotty_Trees's user avatar
  • 1,661
0 votes
1 answer
774 views

unable to locate openmpi-bin

I'm on windows 10 and I'm using virtualBox to run ubuntu version 22.04.1, I couldn't install openmpi-bin or libopenmpi-dev sudo apt-get install openmpi-bin lipopenmpi-dev Reading package lists... Done ...
motasem al-khleely's user avatar
2 votes
2 answers
8k views

Force install php 7 packages on Ubuntu 22.04 LTS

While I know that php 8 is the default PHP choice on Ubuntu 22.04, I still use php 7 for my project. When installing packages related to PHP, the dependancies always pick php-common, php-*, etc.. and ...
Thanh Trung's user avatar
0 votes
1 answer
3k views

How to solve the problem of unmet dependencies on Ubuntu-22.04

Basically, when I am trying to upgrade my ubuntu I got this error saying : christian@christian-HP-EliteBook-840-G3:~$ sudo apt-get upgrade Reading package lists... Done Building dependency tree... ...
christian's user avatar
0 votes
0 answers
89 views

Ubuntu Packages not found even after updating sudo apt etc

I'm rather new to Ubuntu but have been trying to install a number of packages through the bash from Windows. The problem for many of them is that it they are not found. I'm getting the error message: ...
jmachts's user avatar
1 vote
1 answer
2k views

Ubuntu 22.04 after installing python3.11 upgrade fails [duplicate]

After I installed python3.11 and 3.11-venv (already have 3.10), whenver I try to apt upgrade, I get this message (translated) python3-dev: Depends: python3 (= 3.10.6-1~22.04) aber 3.10.6-1~22.04 is ...
CodeSpoof's user avatar
0 votes
1 answer
84 views

How to get APT to list all packages with files in a given path

I accidentally removed /usr/sbin from a few machines. I would like to find a way to query dpkg or apt to tell me all of the packages which have files in that path, so that I can re-install them. The ...
Bruce Becker's user avatar
0 votes
1 answer
505 views

dpkg error trying to override /use/share/metainfo/granite.appdata.xml which is also in libgranite-common

I have tried this solution however it seems like dpkg is unable to remove that dependency either. Here is my terminal output when I try to fix broken dependency: ayon@schneizel:/usr/share/applications$...
ayon's user avatar
  • 11
0 votes
1 answer
736 views

kernel not upgrading to minor versions in 22.04 LTS

I have Ubuntu 22.04 LTS (upgraded from 20.04 LTS). It seems my kernel is not upgraded automatically to newer minor versions: root:~# dpkg uname -a Linux destop 5.15.0-47-generic #51-Ubuntu SMP Thu ...
matej's user avatar
  • 371
-1 votes
2 answers
882 views

Inconsistent dependency on systemd package versions [closed]

This looks strange: The following packages have unmet dependencies: libnss-systemd : Depends: systemd (= 249.11-0ubuntu3.4) libpam-systemd : Depends: systemd (= 249.11-0ubuntu3.4) libsystemd0 : ...
user877329's user avatar
0 votes
1 answer
356 views

apt-rollback messed things up, now I'm unable to run apt upgrade

I get conflict on libsystemd which I didn't manage to fix, Help please! sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done You might want ...
Baraq's user avatar
  • 1
0 votes
0 answers
790 views

Attempting to update the 'UEFI dbx' package crashes my system

I was getting an annoying "failed to update metadata for lvfs" in the Kubuntu 20.04 'discover' app. This was causing no problems, but I found a site that recommended fixing it by running ...
littlenoodles's user avatar
62 votes
2 answers
13k views

What are phased updates, and why does Ubuntu use them?

So I ran into that weird "packages being held back" problem while updating my system using apt. After some research, it appears to be the result of "phased updates". What are ...
ArrayBolt3's user avatar
  • 3,129
0 votes
0 answers
156 views

Login is taking lot of time and more in case of locking the user | Ubuntu 22.04 |

I installed Ubuntu 22.04, and for some time, I haven't used the machine for quite some time (2 months). After 2 months, I opened the machine and ran the upgrades using the package managers. Soonly, ...
Rahul Kodumuru's user avatar
0 votes
1 answer
406 views

libdeflate0 is kept back - dependency conflict

I updated my Ubuntu 20.04.4 to be able to upgrade it to 22.04.1, but I am experiencing problems with libdeflate0. As already mentioned in the title, there is a dependency conflict: sudo apt list --...
giammi56's user avatar
  • 110
-1 votes
1 answer
2k views

SSL: CERTIFICATE_VERIFY_FAILED certificate verify failed (_ssl.c:852)

Dockerfile i have below for y-ppa-manager package installation. FROM ubuntu:18.04 RUN add-apt-repository ppa:webupd8team/y-ppa-manager RUN apt-get update -y RUN apt-get install -y y-ppa-manager But ...
user4948798's user avatar
41 votes
4 answers
31k views

grub-efi-amd64-signed dependency issue in Ubuntu 22.04LTS

After standard apt-get upgrade and reboot now I am getting the following error when I am trying to run apt-get upgrade in 22.04 LTS: Some packages could not be installed. This may mean that you have ...
DisplayName's user avatar
2 votes
1 answer
936 views

What's the difference between `apt-cache` and `apt list`?

What's the difference between apt-cache and apt list? It seems that apt list uses installed command. I can see some packages are available in the results of apt-cache but they are not seen in the ...
Zaks's user avatar
  • 121
0 votes
0 answers
137 views

How to work with package repository mirrors frozen at a certain date?

I set up a mirror for the usual Ubuntu repositories. This mirror only synchronizes when triggered manually for stability reasons. The problem I have now is that I want to create a docker environment (...
Mehdi's user avatar
  • 426
1 vote
1 answer
3k views

E: Sub-process /sur/bin/dpkg returned an error code (1)

After running the commands sudo apt-get update && sudo apt-get upgrade in the terminal, my screen suddenly went black. By rebooting my computer, I had access to a terminal, in which I entered: ...
Reeina's user avatar
  • 11
0 votes
1 answer
940 views

Why is collectd package not available in Ubuntu Server 22.04 LTS?

collectd was available in 20.04 but when trying to install it in 22.04 I get this error: E: Package 'collectd' has no installation candidate screenshot of errror Why is this?
Santosh kumar sahu's user avatar
0 votes
1 answer
1k views

My Ubuntu 22.04 OS wont update with "sudo apt update" [duplicate]

I am new to Linux and am looking for some guidance. After trying to update my system I get two types of errors from the terminal: Err:5 https://ppa.launchpadcontent.net/nilarimogard/webupd8/ubuntu ...
Josh U.'s user avatar
1 vote
0 answers
103 views

no icon on my desktop ubuntu 22.04

after an upgrade from 20.04 to 22.04, i have no icon on my desktop. I've tried to reinstall ubuntu-desktop: sudo apt-get install --reinstall ubuntu-desktop but i have now an error: update-alternatives:...
ben boud's user avatar
-1 votes
1 answer
107 views

Deleted whole /etc/apt catalogue Ubuntu 22.04.1 LTS minimal headless server

Today i deleted whole /etc/apt directory (don't ask me how/why xD) I already managed to reinstall apt with sudo dpkg -i apt_2.4.5_amd64.deb also created sources.list and added standard repositories ...
szymok's user avatar
  • 1
0 votes
0 answers
33 views

apt upgrade gives errors [duplicate]

I've been unable to upgrade for some time now due to errors. Here is the latest output. Please note that I have tried to uninstall QGIS, so I'm not sure why apt update is still checking it. My goal is ...
CHsurfer's user avatar
  • 191
0 votes
1 answer
52 views

Doubts about cron on ubuntu

I'm learning to use Cron on Ubuntu, and I would like to ask some questions: How can I open the terminal using cron? and then he sends a command? the command and this "sudo sinprod", I need ...
Garghetti's user avatar
0 votes
1 answer
359 views

Lubuntu 22.04 LTS pulseaduio corrupted after apt upgrade: how to troubleshoot?

I installed Lubuntu 22.04 LTS desktop environment in Xubuntu 22.04 LTS OS on my laptop, everything works good, so the OS shouldn't have problem. Then I installed a Lubuntu 22.04 LTS OS to a Win11 ...
John Paul Qiang Chen's user avatar
0 votes
1 answer
624 views

apt autoremove asking to remove linux image generic, is it safe?

when I ran it recently it showed me this ~$ sudo apt autoremove Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages will be REMOVED: ...
Usermaxn's user avatar
  • 197
0 votes
0 answers
35 views

Unable to update Ubuntu 22.04 through command line [duplicate]

I'm trying to update my Ubuntu 22.04 with the command sudo apt-get update, but it shows following error: sudo apt update Hit:1 http://pk.archive.ubuntu.com/ubuntu jammy InRelease Hit:2 http://pk....
Fuaad's user avatar
  • 101
0 votes
1 answer
2k views

Upgrade Ubuntu Server 20.04.5 LTS/22.04.1 LTS - appears "Please install all available updates for your release before upgrading"

Having VirtualBox with Ubuntu Server based on: lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.5 LTS Release: 20.04 Codename: focal and ...
Manuel Jordan's user avatar
0 votes
0 answers
34 views

Missing method driver drom for apt on kubuntu 22.04

I have a relatively fresh install of kubuntu 22.04 lts. I have made very few changes to apt other than add a few repositories for third party applications. However recently while running a system ...
AlexBV117's user avatar
0 votes
1 answer
2k views

PPA keeps coming back while trying to upgrade from 20.04 to 22.04

I've tried using ppa-purge to get rid of it, said it was successful, removed it in the software & updates/Other software tab in the GUI, but then when I try to upgrade, it says: An unresolvable ...
Chance's user avatar
  • 1
0 votes
0 answers
32 views

How to use a different dpkg status file to autoinstall packages

I am moving from a 2TB hard drive to a 4TB SSD. I have installed 22.04LTS on the new SSD. The complete list of non-SNAP packages I have is in /var/lib/dpkg/status . How do I force apt to install ...
Yasha Karant's user avatar
1 vote
2 answers
3k views

Error: when installing the DEB packages for docker desktop on ubuntu

I am following the docs to install docker on Vmware ubuntu when I run: sudo apt-get install ./docker-desktop-4.11.0-amd64.deb I get this: Reading package lists... Error! E: read, still have 8 to ...
Ali's user avatar
  • 21
0 votes
0 answers
15 views

issue with Kitewire apt repository when running apt update [duplicate]

My issue is as the title states. this is the error message that I'm getting: Reading package lists... Done E: The repository 'https://apt.kitware.com/ubuntu uma Release' does not have a Release file. ...
kamkow1's user avatar
  • 101
0 votes
1 answer
4k views

How can I install latex on Ubuntu 20.04.5

I cannot install latex on Ubuntu 20.04.5 via the commands: sudo apt install -y texlive sudo apt install -y texlive-full I got the response: no texlive and no texlive-full Could you please help me?
Vladimir Uvarov's user avatar

1
29 30
31
32 33
351