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

Generating JPA2 Metamodel from a Gradle build script

I'm trying to set up a Gradle build script for a new project. That project will use JPA 2 along with Querydsl. On the following page of Querydsl's reference documentation, they explain how to set up their JPAAnnotationProcessor (apt) for Maven and…
dSebastien
  • 1,983
  • 2
  • 21
  • 31
21
votes
3 answers

Install package in running docker container

i've been using a docker container to build the chromium browser (building for Android on Debian 10). I've already created a Dockerfile that contains most of the packages I need. Now, after building and running the container, I followed the…
MajorasKid
  • 733
  • 2
  • 5
  • 24
20
votes
2 answers

apt install unable to locate executable

I have read a few other threads similar to this one on stack overflow, but I've been unable to solve my problem. I am trying to install a package. apt install libgnutls28-dev however, I get the following error. Unable to locate an executable at…
Nutmeg
  • 221
  • 1
  • 2
  • 3
20
votes
3 answers

Could not select 'OK' in mysql-apt-config [Ubuntu 14.04]

I am using Ubuntu 14.04. sudo apt-get update always give me this option to configure mysql-apt-config. I am have tried to select the version, press 'tab' -> key highlighted on 'OK', press 'Enter' but nothing happens. It goes back again highlighting…
Jag
  • 517
  • 2
  • 5
  • 17
20
votes
2 answers

How to install software in CentOS

apt-get install devscripts What is the equivalent in centOS?
TIMEX
  • 259,804
  • 351
  • 777
  • 1,080
19
votes
3 answers

How do I completely clean-up or reset a Python installation on Ubuntu

Package management and juggling pip, anaconda, PPAs, and virtual-environments is difficult. Somewhere in my constellation of dependencies, things are broken. I'm on Ubuntu 18.04. As far as I know, I cannot fix these dependencies by hand. The…
lynn
  • 536
  • 2
  • 5
  • 16
19
votes
4 answers

Ansible Do Task If Apt Package Is Missing

I'm looking to do a series of tasks if a specific apt package is missing. for example: if graphite-carbon is NOT installed do: - apt: name=debconf-utils state=present - shell: echo 'graphite-carbon/postrm_remove_databases boolean false' |…
Simply Seth
  • 3,246
  • 17
  • 51
  • 77
18
votes
5 answers

How to make Debian package install dependencies?

I want to make a simple Debian package to install a simple tool that depends on Qt4 libs. In control file I have defined that it depends on Qt4 libs however, by the time I'm testing the package it says that the dependency could not be…
Nuno Santos
  • 1,476
  • 3
  • 17
  • 34
18
votes
1 answer

How to get parameter type from javax.lang.model.VariableElement

I'm trying to find the types of the parameters of a method using the Java 6 metamodel API. If the type is an enum, I'd also like to know all of it's type's enum constant names. Here's what I've got so far: for (Element member : members) { …
Daniel
  • 10,115
  • 3
  • 44
  • 62
18
votes
1 answer

``apt-mark hold`` and ``apt-mark unhold`` with ansible modules

I'm writing my k8s upgrade ansible playbook, and within that I need to do apt-mark unhold kubeadm. Now, I am trying to avoid using the ansible command or shell module to call apt if possible, but the apt hold/unhold command does not seem to be…
Meitham
  • 9,178
  • 5
  • 34
  • 45
18
votes
3 answers

wget command not found on linux server

I have a linux server (completely new, web hosting, nothing is installed into it), and want to use a "wget" command. Currently, it is not found. Kernel version 2.6.32-896.16.1.lve1.4.54.el6.x86_64 I am completely new to linux, tried to solve this…
user97
  • 227
  • 1
  • 2
  • 6
18
votes
2 answers

how to install debian package from unsigned repository

Trying to install Debian package to Debian 9 from unsigned repository: # apt-get --allow-unauthenticated update Get:1 http://files.freeswitch.org/repo/deb/freeswitch-1.8 stretch InRelease [3,196 B] Hit:2 http://security.debian.org/debian-security…
Borik Bobrujskov
  • 823
  • 1
  • 7
  • 11
18
votes
4 answers

Java 6 annotation processing configuration with Ant

I have a custom annotation and it's processor & processorFactory. How do I configure my Ant build file such that: The annotation processor is applied on annotated classes and generates source files inside "gen" folder The generated source…
user18943
  • 759
  • 1
  • 9
  • 18
18
votes
3 answers

Java annotation processing with source code manipulation

I have been looking for a solution for below requirement - Source files are written with Custom Annotation on a method Method body needs a little variation based on the annotation. Source file should not be changed, but input to compiler should be…
user1128134
  • 471
  • 6
  • 9
17
votes
2 answers

Invalid Signature for MySQL repository

I really hope you can help me as i've tried to find a solution myself for like 3 hours or so. I basically went through every stackoverflow post there was regarding this. What i'm trying to do is i want to apt-get update on my Debian Linux 10…
RootK1d
  • 171
  • 1
  • 1
  • 7