Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [apt-get]

apt-get is a command-line interface to the Advanced Packaging Tool (apt) which is responsible for installing, removing, and upgrading packages.

Filter by
Sorted by
Tagged with
0 votes
1 answer
42 views

Git missing from win10 debian wsl, libc6 version prevents install with apt-get

Git is not seen by WSL after installing for windows. Using apt-get install git gives the following error: Reading package lists... Done Building dependency tree... Done Reading state information... ...
Mike Lyons's user avatar
2 votes
0 answers
2k views

How do I update MongoDB gpg keys on Debian Linux bullseye 11?

OS: Debian 11 bullseye Kernel: x86_64 Linux 5.10.0-26-cloud-amd64 I did: apt-get update and got: Err:11 https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/3.6 Release.gpg The following signatures ...
user1872176's user avatar
2 votes
1 answer
182 views

Debian apt-get fails to fetch packages with high latency low bandwith connection

I have issues on a machine with high latency and low bandwidth connection. apt-get fails to fetch packages. It says: Fehl:45 http://security.debian.org/debian-security bookworm-security/main amd64 ...
Ariser's user avatar
  • 456
0 votes
1 answer
544 views

Cannot force noninteractive apt-get dist-upgrade on CIS Ubuntu 22.04 LTS instance

I've a CIS Ubuntu 22.04 LTS base image from AWS, which I'm attempting to use Packer to burn myself a base image from. As this is a fully non-interactive pipeline, I cannot have any tty issues and the ...
volvox's user avatar
  • 121
0 votes
0 answers
53 views

Unable to install libjsonrpccpp-dev and other dependencies on Linux Mint 21.2

I cant install install libjsonrpccpp-dev on Linux Mint 21.2. I did sudo apt update first. $ sudo apt install -y libjsonrpccpp-dev ... The following additional packages will be installed: libcurl4-...
user avatar
-1 votes
1 answer
2k views

Parrot OS unmet dependencies, Held Broken Packages

I'm trying to install samba on parrot OS, the command I'm using is sudo apt install smbclient. the output I get is this. please help. sudo apt-get install samba Reading package lists... Done Building ...
Ex Poser's user avatar
0 votes
1 answer
242 views

How to skip the password typing when installing library

I installed the library with. $sudo apt-get install slapd ldap-utils While installing it stops and asks, please enter the password for the admin entry in your ldap directory. I am using Dockerfile, ...
whitebear's user avatar
  • 705
0 votes
1 answer
256 views

Debian Security Update Locations

I need to download the Debian files that apt-get update retrieves. From my logs, it looks like the following are retrieved: http://deb.debian.org/debian stretch InRelease http://security.debian.org/...
Developer's user avatar
5 votes
0 answers
3k views

GPG Error on APT-GET docker container (Ubuntu 22.04)

I am trying to just apt-get update on a ubuntu:22.04 docker container. On my local machine, when I spin up a new ubuntu:22.04 docker container and run apt-get update, no error occurs. However, on my ...
Jason Chan's user avatar
1 vote
0 answers
111 views

On Debian Testing, apt-get install libsundials-dev insists on removing Cuda... why?

Pretty much like the title says... When I want to install sundials (and friends), apt-get wants to remove cuda, cuda drivers and cuda runtime. This isn't the case if I just want to install, say, ...
nate's user avatar
  • 173
0 votes
0 answers
850 views

How to install "apt-get install sox libsox-fmt-mp3 libsndfile1 ffmpeg" on Windows

I received this error. How do I install this repo. Thank you C:\Users\name>apt-get install sox libsox-fmt-mp3 libsndfile1 ffmpeg 'apt-get' is not recognized as an internal or external command, ...
cendahoang's user avatar
-1 votes
1 answer
1k views

how to install swig version 4.1.0 on ubuntu 22.04 dockerfile

i try to install swig 4.1.0 on a dockerfile using a Ubuntu 22.04.1 LTS image. if i use apt-get install -y swig it always installs swig in the version 4.0.2 instead. But, if i try the same on a ...
Rolf Hausen's user avatar
1 vote
1 answer
9k views

Installing Python 3.10+ on WSL2 Debian Distro

I'm fairly new to Linux distros. I have Debian downloaded and running in my Windows 10 WSL2 environment. I want to install a specific version of Python - 3.10 or latest 3.11 on it. How can I do that?...
Andez's user avatar
  • 121
2 votes
1 answer
694 views

Debian "apt-get" with pinned packages stop working with "Unable to correct problems, you have held broken packages"

Summary Pinned packages versions used to work, but stop working after some time. I've pinned packages' versions to have stable CI/CD and reproducible builds. But these pinned versions may start to ...
Nairum's user avatar
  • 121
0 votes
0 answers
36 views

What's going on with aptitude and 49 installed versions ofdocker?

It appears I have 49 version of docker CE installed. # aptitude show -v docker-ce | grep -e Version | wc -l 49 I'm investigating a docker issue (which I'll post in another question) and I found this. ...
Roberto Morávia's user avatar
1 vote
1 answer
2k views

"The following packages have been kept back", a new twist on an old puzzle

Very much what the title says. The new twist is that I am aware of this and of this and of this discussions, and relative replies. But... me@me:~$ sudo apt-get update Hit:1 http://fr....
MariusMatutiae's user avatar
1 vote
1 answer
37 views

Does Debian apt-get upgrade has a way to specify the updates to make

Looking at the apg-get upgrade options, I do not see a way to specify up to what Debian version to apply updates. For example, if I have Debian 10.0 currently, is there a way to say; "I would ...
toddysm's user avatar
  • 113
0 votes
1 answer
830 views

APT keeps trying to install a package that it cannot install, and now I can't install anything

I am using a Debian testing system as a persistent live system on a USB stick (using live-build). This means that the kernel etc. cannot be upgraded, since they are on a read only partition. I've ...
ShankarG's user avatar
  • 916
0 votes
0 answers
530 views

Install Microsoft SQL Server on Pop!_OS

I am trying to install Microsoft SQL Server on the latest Pop!_OS 22.04 LTS (jammy) but receiving following errors: sudo apt-get install mssql-server Reading package lists... Done Building dependency ...
sifar's user avatar
  • 111
0 votes
1 answer
347 views

Can I delete directories in /var without verified signatures (NO_PUBKEY Error) in Ubuntu 20.04?

When I execute sudo apt-get update command I get the following terminal output: Get:1 file:/var/cuda-repo-ubuntu2004-11-3-local InRelease Ign:1 file:/var/cuda-repo-ubuntu2004-11-3-local InRelease ...
Luis Vls's user avatar
-1 votes
1 answer
1k views

youtube-dl removed but still there

There's a ghost in the shell. I tried to remove youtube-dl through brew uninstall youtube-dl: -bash: brew: command not found cool, that means I have not even installed brew. I then checked if I could ...
Francesco Mantovani's user avatar
0 votes
1 answer
827 views

sudo to allow apt-get install of remote packages, but forbidding arbitrary commands

I'm looking for a way to allow a user to install (only remote) packages via apt-get (or another mechanism?) but not allow them to run arbitrary commands as root. I can get some of the way there via /...
Michal Charemza's user avatar
0 votes
1 answer
226 views

Iptables blocking apt-get on debian server

I'm configuring iptables on a new web dedicated server. The rules are really simple : Chain INPUT (policy DROP) target prot opt source destination ACCEPT all -- anywhere ...
James's user avatar
  • 1
0 votes
1 answer
4k views

How do I install (anything) on debian: 'apt is unknown instruction' in Dockerfile

How do I install (anything) on debian: 'apt is unknown instruction' in Dockerfile If I search: [how to install wget on debian] I set articles that say: $sudo apt install wget So I try to do that in ...
user10664542's user avatar
1 vote
0 answers
708 views

Linux apt-get upgrade hangs at update-initramfs

Running apt-get upgrade hangs at update-initramfs: Generating /boot/initrd.img-4.9.0-7-amd64. It's been hung for at least five hours now. If I kill the process and try apt-get upgrade again, I get ...
Floyd Resler's user avatar
0 votes
2 answers
3k views

apt-get upgrade fails becuse of unmet dependencies

I've been kali linux for a while, but recently ive been unable to upgrade or install new software when i run apt-get update , the list is updated successfully, but on running apt-get upgrade i get the ...
Timothy Walshak's user avatar
2 votes
1 answer
526 views

Debian VPS : can't apt-get update

I have debian on a VPS and when I do "sudo apt-get update" it failed like this : Reading package lists... Done W: Failed to fetch http://apt.pm2.io/ubuntu/dists/stable/InRelease Could not ...
GrindCode's user avatar
  • 141
-1 votes
1 answer
4k views

Ubuntu 20.04 apt-get update Release file not found

Trying to run sudo apt-get update or even just sudo apt update results in the following output for me: Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease Hit:2 http://dl.google.com/linux/chrome/...
amdorsey12's user avatar
2 votes
1 answer
1k views

How to install the package “ttf-devanagari-fonts”

The following command used to work earlier. I do not know since when it has stopped. Is there any database where I can find the "published" date or "end" date? Is there any other ...
shantanuo's user avatar
  • 2,793
1 vote
1 answer
300 views

prevent user from updating packages in Ubuntu

I have a TX2 that I'm using a custom carrier board with. The BSP for this board is flashed onto the TX2, rather than one directly from NVIDIA. There have been issues when user have attempted to do a ...
Michael's user avatar
  • 263
-1 votes
1 answer
3k views

Kali linux update and package installation error

i installed anonsurf on Kali Linux in VMware and now i can't use apt-get install or apt-get update and i can't uninstall it or stop it i don't know why You might want to run 'apt --fix-broken ...
nonope2454's user avatar
0 votes
1 answer
667 views

Copying the sources.list

Just installed Linux on another machine, a laptop. It's the exact same distro and version on I have on my PC. Wouldn't it be possible to copy the /etc/apt/sources.list from the PC to the laptop so I ...
yegnal's user avatar
  • 31
0 votes
1 answer
107 views

Trouble updating G++ to version >5 using apt-get in Windows Subsystem for Linux

Context: I'm trying to run CMake as described here (under Linux-installing dependencies > Building OpenVDB). I'm in WSL. When I do so I get this error: CMake Deprecation Warning at CMakeLists.txt:...
Jeff Demanche's user avatar
2 votes
1 answer
4k views

Couldn't to execute apt-get update on debian 10

I'm starting with Debian Linux 10 and I installed only a web server with Apache a few days ago. Today wanting to update packages, I use apt-get update but I get the following errors, which rebooting ...
Alexis Gatuingt's user avatar
1 vote
1 answer
686 views

Does Debian's "apt-get install" command follow "recommends" links recursively?

Debian's apt-get install command is documented as following recommends links by default. It also follows depends links, presumably in a recursive fashion. However, I haven't been able to find out if ...
Rich Morin's user avatar
0 votes
1 answer
486 views

Error in apt-get update - how to remove module - The following signatures couldn't be verified because the public key is not available

When running apt-get update I get the following error (Ubuntu): Hit:1 http://dk.archive.ubuntu.com/ubuntu eoan InRelease Hit:2 http://dk.archive.ubuntu.com/ubuntu eoan-updates InRelease Get:3 http://...
Michael Seifert's user avatar
0 votes
2 answers
2k views

Debian: "apt install build-essential" fails because of unmet dependencies

Using Debian Stretch v9.11. I try to install build-essential, but fails because of unmet dependencies: sudo apt install build-essential Reading package lists... Done Building dependency tree Reading ...
klor's user avatar
  • 159
1 vote
1 answer
826 views

broken debian package and fixing with apt-get -f

What exactly happens when we install a deb package that ends up as a broken installation, and how come apt-get -f remedies the situation (instead of this happening during the installation to begin ...
laur's user avatar
  • 227
37 votes
7 answers
53k views

sudo apt-get update couldn't create temporary file

Tried to do sudo apt-get update, get this response every time I run it: Get:1 http://repo.radeon.com/rocm/apt/debian xenial InRelease [1814 B] Get:2 http://security.ubuntu.com/ubuntu bionic-security ...
Coloradohusky's user avatar
0 votes
1 answer
2k views

Mongodb 2.6 Packages Removed from Mongo Repo?

I am attempting to build Mongodb 2.6.7 from the Mongo repos and am now unable to download them, as I was able to last week... root@591d529e0497:/# echo 'deb http://downloads-distro.mongodb.org/repo/...
Smuggla's user avatar
-2 votes
1 answer
1k views

Error while using apt-get update

Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi' This is the ...
saadique anwar's user avatar
0 votes
1 answer
2k views

Repository does not have a release file (Kubuntu)

I have attached a screenshot of the message I get when using sudo apt-get update. I attempted to use the repositories in the past but did not succeed. I now wish to get rid of these messages. Any ...
checkmate's user avatar
-1 votes
1 answer
667 views

PHP 7.0 package not foung in ppa:ondrej/php

I'm having some trouble installing PHP 7.2 on my Ubuntu box. The Ubuntu disribution i use is Ubuntu 14.04.6 LTS / trusty which I installed using Vagrant. As written on nearly every website, I've ...
fabianst's user avatar
0 votes
0 answers
93 views

Upgrade from ubuntu 17.04 to some new supported version

As you can tell, I'm a bit of a Linux noob. I haven't upgraded my ubuntu 17.04 and this is causing me a painful headache. I can't use apt-get at all. I imagine the reason behind this is the lack of ...
Heitor M.'s user avatar
0 votes
1 answer
2k views

apt-get issue with BeagleBoneBlack and Debian 8

When updating my BeagleBone Black running Debian 8, I get this here: root@bbb-one:~# apt-get update Hit http://security.debian.org jessie/updates InRelease Hit http://repos.rcn-ee.com jessie ...
geohei's user avatar
  • 103
0 votes
2 answers
10k views

Cannot update Raspberry PI (apt-get)

I cannot update my Raspberry PI (Raspberry PI 1 Model B with Raspbian Stretch) anymore. sudo apt-get update tells me that there are some problems with package files. I don't know much about apt-get ...
Rose Nettoyeur's user avatar
0 votes
1 answer
4k views

How to get debian apt to find packages correctly to install sudo

I've just installed debian 9 using the full disc image (debian-9.8.0-amd64-xfce-CD-1) to install on VirtualBox in a 64bit environment from a Windows 10 host. During the installation I unchecked the ...
Nath Imagine's user avatar
35 votes
4 answers
51k views

apt-get update is failing in debian

cat /etc/apt/sources.list deb http://deb.debian.org/debian jessie main deb http://deb.debian.org/debian jessie-updates main deb http://security.debian.org jessie/updates main then apt-get update is ...
user avatar
7 votes
2 answers
4k views

Why does 'apt' do not store downloaded packages anymore?

I was used to apt storing downloaded packages in /var/cache/apt/archives/, but it does not do it anymore and I can't figure out why. Configuration is set accordingly IMHO: # apt-config dump | grep -...
doak's user avatar
  • 354
1 vote
0 answers
64 views

Grouping apt packages in Debian

I was wondering (and searching all over the place, sorry if I missed an obvious one) if, in Debian, there is any equivalent flag or option to the --virtual of Alpine Linux when installing apt packages....
Alberto Roura's user avatar

1
2 3 4 5
8