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
8
votes
1 answer

maven-enunciate-plugin on java 1.8 as apt now removed from latest JDK (i.e. java annotation processing tool)

Question is how to get java 1.8 and maven-enunciate-plugin to work together ? With maven plugin org.codehaus.enunciate version 1.29 and OSX JDK 1.7.0_25 all is good. Enunciate depends on apt and I see this runtime warning in 1.7.0_25 [INFO]…
k1eran
  • 4,492
  • 8
  • 50
  • 73
8
votes
3 answers

How to properly set installed-size for deb package?

I'm developing debian packages and I have troubles with correctly defining 'Installed-Size' under DEBIAN/control. I have created a script that continuously checks svn repository for new revisions, and if found some changes then calculates code's…
Levi
  • 81
  • 1
  • 2
8
votes
1 answer

How to compile the annotation processor with Ant?

The question seems to be obvious, but the implementation is pretty hard for me. My goal is to write Ant build script to compile some classes that require another classes generated by Annotation Processor. I have a custom annotations and it's…
ivstas
  • 1,203
  • 1
  • 16
  • 31
8
votes
1 answer

Vagrant + Chef + apt: Is it possible to install a specific version of a deb package on a Ubuntu VM?

I'm using Vagrant with Chef to build a Ubuntu 12.04 virtual machine. I'm using the opscode cookbooks from here: https://github.com/opscode/cookbooks I want to use the opscode apt cookbook to install packages. I want to make sure it installs a…
wch
  • 4,069
  • 2
  • 28
  • 36
8
votes
2 answers

How do I use Annotation Processing API in runtime?

I have and followed several Annotation Processing Tool (APT) guides (such as 1 and 2) on the Internet and have managed to get it working in compiler/ build time, and even got it working in Eclipse. Is there a way I can use APT in run time to get a…
corgrath
  • 11,673
  • 15
  • 68
  • 99
7
votes
1 answer

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C

I am trying to use Ubuntu 20 or Ubuntu 22 in Docker. My Dockerfile is: from ubuntu:22.04 run DEBIAN_FRONTEND=noninteractive apt update I build this with docker build .. The result is: Sending build context to Docker daemon 2.048kB Step 1/2 : from…
WikiLover
  • 413
  • 2
  • 8
7
votes
1 answer

Hash Sum Mismatch for microsoft packages on ubuntu 16 server

I am getting the following error while running apt update: E: Failed to fetch https://packages.microsoft.com/ubuntu/16.04/prod/dists/xenial/main/binary-amd64/Packages.bz2 Hash Sum mismatch E: Some index files failed to download. They have been…
Ashwani
  • 1,340
  • 1
  • 16
  • 34
7
votes
3 answers

E:The repository 'http://apt.postgresql.org/pub/repos/apt tessa-pgdg Release' does not have a Release file

I have installed android studio on my linux mint 19.1 and after installation of it I restarted my PC. After restarting I couldn't see wi-fi sign in my machine. Enable wifi option is not showing. I opened driver manager and I got the above error. I…
Vineet Gandhi
  • 73
  • 1
  • 1
  • 6
7
votes
3 answers

Apt rejects keyrings in `/etc/apt/trusted.gpg.d` on Ubuntu 18.04

I am facing a problem on Ubuntu 18.04 (Bionic Beaver) with apt and the way it deals with trusted keys to authenticate repositories. On Ubuntu 14.04 we used to install the key that was used sign the repository of our software releases as keyring to…
Stefan
  • 1,131
  • 2
  • 12
  • 30
7
votes
1 answer

Ubuntu 16.04: Unable to correct problems, you have held broken packages

I have tried to uninstall and reinstall node.js several times in an effort to install npm. I tried Aptitude to try to unravel dependencies to no avail and thought about Synaptic Package Manager, but not sure what to do with it. I get this output…
John M
  • 71
  • 2
7
votes
1 answer

AnnotationProcessor and dependencies

I'm using gradle / querydsl and JPA 2.1. I would like to generate the querydsl metadata using APT (QEntities). To do that I'm using the gradle-apt-plugin and gradle 4.7 In my project I configured the compileJava option using : compileJava { …
Archange
  • 397
  • 5
  • 21
7
votes
1 answer

How Do I Cache APT Packages In Bitbucket Pipelines?

I am trying to build a project using gradle, jdk 8 and deploy it using ansible. I can't find an up to date docker image that contains all these so I am installing ansible on the fly. Bitbucket pipelines allegedly has the ability to create custom…
opticyclic
  • 7,412
  • 12
  • 81
  • 155
7
votes
2 answers

Ubuntu 17.10: Where is Caffe installed?

The package Digits requires an environment variable to be set with the location of Caffe install directory. The simple way to install Caffe is apt-get install caffe-cuda. However, I can't figure out where it is installed. It is not installed in…
Chuck Carlson
  • 977
  • 8
  • 26
7
votes
4 answers

Docker on a linux VMware machine: error with apt-get and proxy

I've a VMware machine with linux mint 18.3 on it (the host machine is a windows 10). The host machine is behind a proxy. The guest machine (linux mint) network is configured as "Bridged"? I try to write a simple Dockerfile on the guest OS and build…
Nicolas Rosewick
  • 1,938
  • 4
  • 24
  • 42
7
votes
3 answers

can't upgrade jenkins for java version error

I have Jenkins running on my Ubuntu 14.04, and i am trying to do upgrade for jenkins using normal apt-get install jenkins, but when i try to do it, i keep getting the error: Setting up jenkins (2.73) ... Found an incorrect Java version Java version…
MohammedSimba
  • 184
  • 1
  • 1
  • 9