Questions tagged [apt]

Debian's Advanced Packaging Tool whose main binary is apt-get. Most questions about APT are off topic for Stack Overflow, unless it is clearly related to a programming tool.

Advanced Packaging Tool, the Debian software package manager which keeps track of the software repositories for the system, which offers package dependency resolution, upgrade of the installed packages, download and installation of new software.

1492 questions
17
votes
2 answers

E: Package 'python-certbot-nginx' has no installation candidate

When I try to install Certbot for Nginx and run sudo apt-get install python-certbot-nginx I get E: Package 'python-certbot-nginx' has no installation candidate How to install Certbot for Nginx?
Jozott
  • 2,367
  • 2
  • 14
  • 28
17
votes
4 answers

Package Python3.7 is not available

So I have python 3.8 and pip for it, but I want to install stable python 3.7 and pip for it also. But when I try sudo apt-get install python3.7 It says package is not available but is referred to another package. Help please Error: Reading package…
Vasily Sobolev
  • 171
  • 1
  • 2
  • 7
17
votes
4 answers

apt-get install via tunnel proxy but ssh only from client side

So... this is my problem: I can access to a VPN from my machine. I can access to a server in the VPN via SSH, but this machine has no access inside out because a firewall is blocking the reverse ssh connections. So I can't use Internet via tunnel to…
rasputino
  • 691
  • 1
  • 8
  • 24
16
votes
4 answers

Dependency issue installing google-chrome-stable through Ubuntu docker

I have a Dockerfile that attempts to install the package google-chrome-stable among other packages in Ubuntu (v16 Xenial I think) as part of a Gitlab pipeline step. I have had no issues until recently, when the step started failing with this…
AJwr
  • 506
  • 1
  • 4
  • 22
16
votes
2 answers

APT (Annotation Processing Tool)

I was trying to find simple example to understand the usage of apt command, but I couldn't find a helpful resource for this. I have referred this Getting Started with the Annotation Processing Tool but I do get a high level understanding. Moreover…
Nuwan Arambage
  • 683
  • 2
  • 7
  • 13
15
votes
5 answers

Using "apt-get install xxx" inside Python script

currently I need to install some package using apt or rpm, according the OS. I saw the lib "apt" to update or upgrade the system, but it is possible use it to install a single package? I was trying to use too "subprocess": subprocess.Popen('apt-get…
Federico Sciarretta
  • 372
  • 2
  • 4
  • 15
15
votes
4 answers

Handling input confirmations in Linux shell scripting

I'm writing a Linux Shell Script to automate a few things I'm doing on Ubuntu 11.04. Basically, I'm writing a shell script to install NGINX, MySQL, and PHP, and then configure everything. I know how to do everything via the command-line. However, I…
ObiHill
  • 11,448
  • 20
  • 86
  • 135
15
votes
2 answers

Why do I see Failed to fetch error while dping apt-get update

apt-get update in my jenkins job fails wth Http404 error on pulling docker hub related repositiories 12:38:54 + uname -a 12:38:54 Linux c612ce175fe3 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 x86_64 x86_64…
ambikanair
  • 4,004
  • 11
  • 43
  • 83
15
votes
3 answers

W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages 404 Not Found [IP: 151.101.140.204 80]

I'm trying to get a project running locally on Deepin. The project relies on node 6.10, I understand that it's an old version but it works. When the Dockerfile tries to run the sudo apt-get update, it gives the following error: W: Failed to fetch…
d3corator
  • 1,154
  • 1
  • 9
  • 23
15
votes
4 answers

Google Compute Engine Ubuntu 17.04 zesty does no longer have a Release file

I have just created a new Google Cloud Compute Engine server using Ubuntu 17.04 as the boot disk: Ubuntu 17.04 amd64 zesty image built on 2017-12-08 Before doing anything else, if I try to run sudo apt-get update I receive the following…
chapmanio
  • 2,901
  • 3
  • 20
  • 22
15
votes
2 answers

Can't remove, purge, unistall mongodb from debian

I'm trying to reinstall it, because it has problems. For example, I can't install Chromium because mongodb-org-server is not configured. But I can't even remove it for the same reason. apt-get autoremove --purge mongodb Or: apt-get purge…
user2502368
  • 467
  • 1
  • 4
  • 16
14
votes
1 answer

How can i publish my software to public linux repos to be available with "apt" installers etc

I have developed (free) software, more precisely, a development environment or a code editor called "Lines". On the web I have set up installation packages for Windows and Linux, but I would like the application to be available as an "apt" package…
tomi
  • 163
  • 1
  • 5
14
votes
2 answers

dependency problems - leaving unconfigured

This is what I get when I tried to install git in Ubuntu 18.04. I may have asked a repeated question but I am not getting any solution. kcn@kcn-UBUNTU:~$ sudo apt-get install git Reading package lists... Done Building dependency tree Reading…
Kiran
  • 402
  • 1
  • 4
  • 11
14
votes
7 answers

How do I preserve installed applications when migrating Ubuntu to another platform?

I'm looking at maybe moving from an older AMD64 to a new Intel dual-core which is 32 bit. Installation isn't a problem but can I transfer all the installed apps? I haven't been able to find anything so far on Google except where the migration is to…
michaeljoseph
  • 7,023
  • 5
  • 26
  • 27
13
votes
4 answers

Installing g++ on windows subsystem for linux

A while back I activated Windows Subsystem for Linux on my machine but didn't use it much. Now I have an idea what I could use it for and that is why I'm trying to install gcc/++ 7 on my WSL and keep running into problems. My idea was to download it…
Seriously
  • 884
  • 1
  • 11
  • 25