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.
390
questions
0
votes
1
answer
67
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/...
4
votes
0
answers
361
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 ...
1
vote
0
answers
55
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, ...
0
votes
0
answers
339
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,
...
0
votes
1
answer
258
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 ...
1
vote
1
answer
4k
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?...
2
votes
1
answer
340
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 ...
0
votes
0
answers
32
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. ...
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....
1
vote
1
answer
28
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 ...
0
votes
1
answer
332
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 ...
0
votes
0
answers
356
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 ...
0
votes
1
answer
164
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
...
-1
votes
1
answer
523
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 ...
0
votes
1
answer
502
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 /...
0
votes
1
answer
155
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 ...
0
votes
1
answer
3k
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 ...
1
vote
0
answers
329
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
...
1
vote
1
answer
822
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 ...
2
votes
1
answer
379
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 ...
0
votes
0
answers
1k
views
Error when i use (sudo apt-get update)
When I try to update Raspberry Pi 4, this message appears, and don't know why occurred, please what happened. Please help me with this mistake
sudo apt-get update
Get:1 http://archive.raspberrypi.org/...
-1
votes
1
answer
3k
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/...
2
votes
1
answer
600
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 ...
1
vote
1
answer
143
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 ...
0
votes
1
answer
2k
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 ...
0
votes
1
answer
408
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 ...
0
votes
1
answer
83
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:...
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 ...
1
vote
1
answer
408
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 ...
0
votes
1
answer
415
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://...
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 ...
1
vote
1
answer
556
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 ...
31
votes
6
answers
38k
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 ...
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/...
-2
votes
1
answer
798
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 ...
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 ...
-1
votes
1
answer
550
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 ...
0
votes
0
answers
59
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 ...
0
votes
1
answer
1k
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 ...
0
votes
2
answers
7k
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 ...
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 ...
33
votes
4
answers
42k
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 ...
5
votes
2
answers
3k
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 -...
1
vote
0
answers
57
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....
2
votes
2
answers
9k
views
How to install R 3.5.1 on Ubuntu 16 with apt-get?
I installed R on Ubuntu 16 using the command
sudo apt-get install r-base
However, the version of R installed is 3.2.3, which is quite old now. I was wondering if there is a way to tune apt-get to ...
0
votes
1
answer
483
views
apt-mirror always wants to download
apt-mirror is always trying to download ~430MB (every day).
Downloading 4 dep11 files using 4 threads...
Begin time: Wed Jan 16 09:04:43 2019
[4]... [3]... [2]... [1]... [0]...
End time: Wed Jan 16 ...
0
votes
1
answer
565
views
Using apt why do I get file 'network_proxy.conf' in directory '/etc/apt/preferences.d/' as it has an invalid filename extension
I get the following warning when I try to install packages.
N: Ignoring file 'network_proxy.conf' in directory '/etc/apt/preferences.d/' as it has an invalid filename extension
Using apt why do I ...
0
votes
0
answers
153
views
Run agt-get install imagemagick on raspberry pi using docker file
I am new to docker in rasppberry pi. I have installed docker on my raspi, and I wanted to create a docker image. This docker image when pulled into another raspi with docker should install imagemagick ...
0
votes
1
answer
1k
views
No recent Ubuntu 18 updates?
Seems I would normally see something in a week, but now, nothing in 2. When I run sudo apt-get update, what I get is:
sudo apt-get update
Ign:1 http://download.webmin.com/download/repository sarge ...
1
vote
1
answer
4k
views
Bad OpenVPN Uninstall
On my Ubuntu 18.04 machine I installed OpenVPN and then later tried to uninstall. Now whenever I try to install anything or do pretty much anything with apt-get I get an error and the package doesnt ...