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
7
votes
2 answers

apt_repository module fails ansible

sometimes when I run my playbook it throws the next fail: FAILED! => {"changed": false, "failed": true, "module_stderr": "", "module_stdout": "Traceback (most recent call last):\r\n File…
Asier Gomez
  • 6,034
  • 18
  • 52
  • 105
7
votes
3 answers

Can't add ppa on Ubuntu 15.10

I just installed the ubuntu 15.10, and was trying to installed some apps. But I can't add any repository-ppa. Every time it says "user or team does not exist. ex. sudo add-apt-repository ppa:noobslab/nemo Cannot add PPA:…
Eular
  • 1,707
  • 4
  • 26
  • 50
7
votes
1 answer

Why does apt-cache search find packages which do not match the given regular expression?

I ran the following command at linux bash: apt-cache search 'hex.*(view|edit)' My intention was to find any software packages whose name/description contains the pattern 'hex.*(view|edit)'. But among the results I got this: kipi-plugins - image…
smwikipedia
  • 61,609
  • 92
  • 309
  • 482
7
votes
3 answers

Package 'docker.io' has no installation candidate

when i try to install docker.io in debian 6 by typing the command: apt-get install docker.io the result is: E: package 'docker.io' has no installation candidate what is the solution? thanks
athar
  • 81
  • 1
  • 1
  • 3
7
votes
5 answers

Install R 3.1.2 on Wheezy 7.8 (Raspbian) fails

I'm a newbie to Linux and try to install the latest R version on my Raspberry. My Raspberry runs on Wheezy 7.8. I followed instructions on CRAN, so I added deb http://cran.rstudio.com/bin/linux/debian wheezy-cran3/ to /etc/apt/sources.list ran…
Stephan
  • 153
  • 1
  • 7
7
votes
5 answers

Couldn't find package libapache2-mod-wsgi

I have developed a website in Django, and now it must go into production. This i want to do with mod_wsgi and apache2. Unfortunately i get the error 'Couldn't find package libapache2-mod-wsgi' when running the next command: sudo apt-get install…
Timo
  • 7,195
  • 7
  • 24
  • 25
7
votes
1 answer

List of executables installed from package

In linux, how can I view all the new executables added to /usr/bin after installing a package through sudo apt-get install ? In my case specifically, I'm trying to find out which is the main executable to use for the texlive package. I've…
Omar Darwish
  • 1,536
  • 2
  • 15
  • 23
7
votes
2 answers

how to map pkg-config names to yum/apt-get

Lots of makefiles use pkg-config but the names don't relate to package managers (e.g. yum / apt). How to map pkg-config names to them? is there a trick? Example: if I do yum searchName -- look through the name and approximate to pkg-config's…
resultsway
  • 12,299
  • 7
  • 36
  • 43
7
votes
6 answers

Cannot run program " xx/sdk//tools/emulator": java.io.IOException: error=2, No such file or directory

I have installed android SDK and android eclipse plugin successfully on Ubuntu 12.10. I created the AVD in eclipse, and now it's not running. This is the output error I receive when I run the AVD:it tips: Starting emulator for AVD 'avd' Failed to…
sancai
  • 71
  • 1
  • 1
  • 3
7
votes
1 answer

apt-get : Identify all old version numbers of a package?

I need to install PHP 5.3 on Debian. If I were to perform a regular install of PHP I would get version 5.4. I understand that I can run apt-get install = to install a specific version. But I don't know what…
Courtney Miles
  • 3,756
  • 3
  • 29
  • 47
7
votes
1 answer

How to check progress of commit() in python_apt by using apt.progress class?

I'm checking out this code provided by python_apt but it appears to be a bit outdated: https://github.com/jolicloud/python-apt/blob/master/doc/examples/inst.py All I'm attempting to do here is follow the progress of the commit() method; currently…
Dayan
  • 7,634
  • 11
  • 49
  • 76
7
votes
2 answers

APT How to process annotations of nested annotated classes

I am trying to write an annotation processor using java. This annotation processor needs to identify annotated nested classes within an annotated class as seen below. I will process the annotated classes first then process their inner annotations.…
sholmes
  • 195
  • 2
  • 8
6
votes
0 answers

How to force retry when an apt install has failed ? APT::Acquire::Retries does not seem to work

I am working with a corporate repository mirroring canonical repository. I suspect that this corporate repository is not reliable, because I have sporadic failures such as: Failed to fetch ... 502 Bad Gateway [IP: ...] Failed to fetch ... 404 …
6
votes
3 answers

dpkg-dep error: paste subprocess was killed by signal(Broken Pipe) Ubuntu WSL2

Hello I am using ubunutu on wsl2 on a windows 10(21h2) machine. I was updating my apt packages. then when I put the upgrade command the error in the title. happened. sasenp@DESKTOP-0NSS9RI:~$ sudo apt upgrade Reading package lists... Done Building…
Sasen Perera
  • 473
  • 1
  • 5
  • 12
6
votes
1 answer

M1 Mac Docker Issues with apt-get update

I'm having an issue adding Microsoft package list to apt-get in my Dockerfile running on my M1 macbook pro. I was able to run this on my old windows laptop, but now on my mac, I get the Unable to locate package msodbcsql17 error. Just as a sanity…
kpozzi90
  • 221
  • 2
  • 6