APT, the Advanced Packaging Tool, is Debian's high-level package management system. It is also used by several other Linux-based and Debian-based operating systems.

learn more… | top users | synonyms (1)

0
votes
1answer
17 views

unmet dependencies after an upgrade to Debian 8

After upgrading an amd64 Debian 7 to 8 I can not upgrade grep. What do I have to do to fix this? root@xyz:~# apt-get upgrade Reading package lists... Done Building dependency tree Reading ...
-1
votes
0answers
13 views

ntlm transparent proxy ubuntu

I have a computer running Ubuntu Server 14.04 which is sitting on my work LAN. Access to the internet is achieved through a transparent proxy which makes use of NTLM Authentication. The way I would ...
-1
votes
1answer
25 views

Are we drowning in package managers? [on hold]

The current trend is to use language-oriented package manager, such as npm or bower for javascript, pip for python, gems for ruby and so on. As I understand the need for a dependency manager when you ...
4
votes
3answers
4k views

how to pass parameters to puppet modules?

What is the best practice for configuration of puppet modules? I have puppet 2.7.11. I find this way quite messy, it looks like using global variables. node default { $always_apt_update = true ...
1
vote
1answer
45 views

Why would updating postgresql-client uninstall postgresql?

On a Debian 7 server, apt-get was offering me to upgrate the following 2 packages: postgresql-9.1 and postgresql-client-9.1. Since I didn't want to restart the database server, I decided only to ...
0
votes
0answers
19 views

gpg --receive-keys times out but Wireshark confirms the http response is received

I'm using a virtual machine running Ubuntu 14.04, trying to use apt-keys to add keys for nginx. Most of this is automatic via puppet but I'm going through the process manually to find where the fault ...
0
votes
0answers
13 views

Debian apt install single package from experimental but keep original system upgrades

I'v installed xfce 4.12 on debian jessie from testing by adding the testing repo in /etc/apt/sources.list.d/testing.list File content: deb http://ftp.us.debian.org/debian/ testing main ...
0
votes
1answer
1k views

apt-get update can not connect

i run a dedicated ubuntu 10.04 server. i use kvm/libvirt/virsh to run a virtual machine that's also ubuntu 10.04. i bridged the network (1 of 2 IPs is routed via NAT to the LAN, where my VM ...
0
votes
1answer
36 views

How to create apt repository on Windows?

We have Windows server (1) with Internet access and Windows server (2) without Internet access in PAN. Also we have Linux machines in PAN (Debian, Ubuntu, ...). Linux machines must be up to date, but ...
10
votes
6answers
5k views

How can I manage apt efficiently on multiple machines?

I manage around 30 Ubuntu servers using puppet. I've seen many references to cron-apt and apticron as approaches to keeping their packages up to date but I haven't been able to find a way to ...
1
vote
1answer
1k views

Fail to do apt-get update on Ubuntu 12.04 Precise

I recieve this error all the time when I try to do apt-get update so that can not install or remove software with apt Get:102 http://archive.ubuntu.com precise-updates/universe Translation-en ...
3
votes
2answers
1k views

I get a Segmentation fault when doing apt-get util-linux

I've found that a lot of upgrade commands and Apache on my system are failing with Segmentation faults. I don't know if this is the main one, but a lot of packages depend on util-linux: ...
1
vote
2answers
113 views

EC2 Ubuntu 14.04 instances: running `apt-get update` results in “Hash Sum mismatch”

Every time I create a new AWS EC2 instance with Ubuntu 14.04 (using ami-a182b391, as found from here) and then immediately run sudo apt-get -y update, it gives me an error. Here's the OS info: $ ...
1
vote
0answers
18 views

Apt and package conflicts

I have spent some time researching, and as I could not find anyone with the same issue I figured I might as well ask. I have two packages X and X-1. X-1 is essentially an upgrade from the previous ...
3
votes
3answers
2k views

How to remove package from apt-get autoremove “queue”

I just installed Calibre for ebook management via apt-get on Ubuntu 10.04, however I found out that it's one major version behind the current release, so I decided to reinstall it directly from ...
0
votes
0answers
15 views

How to solve nsf-common related error when install zsh in ubuntu? [migrated]

Everytime I install some kind of package, at the last phase, apt-get install could return a common-nfs related error. Why the installation can't be done without this error? detailed pastebin here ...
5
votes
2answers
108 views

MySQL package upgrades (Debian apt-get) always break master-master replication due to changes in mysql schema

I have master-master replication set up on 2 Debian servers, and they replicate everything, including the mysql database itself (so that new users and such also replicate). This generally works very ...
2
votes
2answers
846 views

Why can't i install mongodb 3.0 on Ubuntu 14.04 32bit?

I have followed all the official istructions listed here: official page In detail, i have done: sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 (seems ok) echo "deb ...
0
votes
0answers
208 views

Ubuntu 14.04.2 LTS - Errors on apt-get autoremove old kernel images - dpkg and grub errors

I was running my usual apt-get update / apt-get dist-upgrade sequence on my Ubuntu 14.04.2 LTS server, and saw some old kernel packages marked for autoremoval. I frequently run apt-get autoremove to ...
0
votes
1answer
68 views

Failure trying to manage apt sources with Puppet

I'm trying to get Puppet to manage my Debian apt sources.list, however, catalog compilation fails with this error: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: ...
2
votes
2answers
2k views

problems reinstalling apache2

I uninstalled apache2 on debian 5 64bit. Then I removed /etc/apache2 and reinstalled apache again. That folder is still missing and I have no idea how to get the apache files back (with modules and ...
5
votes
0answers
98 views

How to check from bash if package exists in debian [migrated]

I would like to make a installation bash script, where I would like to install mysql server. On linux mint I had followed code: apt-get -y --force-yes install mysql-server-5.6 but I installed new ...
10
votes
5answers
11k views

dpkg: warning: files list file for package 'x' missing

I get this warning for several packages every time I install any package or perform apt-get upgrade. Not sure what is causing it; it's a fresh Debian install on my OpenVZ server and I haven't changed ...
1
vote
1answer
25 views

preferences.d for ununtu 14.04 not working, what do I do wrong?

I have repo declared here: cat /etc/apt/sources.list.d/cloudera.list # Packages for Cloudera's Distribution for Hadoop, Version 5, on Ubuntu 14.04 amd64 deb [arch=amd64] ...
4
votes
3answers
520 views

Nodejs : Depends: rlwrap but it is not installable

Just bought a new fresh virtual server in the cloud, Ubuntu 14.04. I updated my packages with apt-get update. Got problems when trying to install node js. I followed this guide: ...
0
votes
1answer
37 views

Python2.7 issue after updating Debian to Jessie

After running dist-upgrade on one system I am getting this error: Sorry: TypeError: compile() expected string without null bytesdpkg: error processing package python2.7 (--configure): subprocess ...
6
votes
4answers
9k views

installing msttcorefonts on ubuntu

I'm generating PDF's with something called PrinceXML, it seems it requires a package called: msttcorefonts I have been unable to use aptitude to get it and I recived this as an error: $ sudo apt-get ...
32
votes
9answers
52k views

How do I get apt-get to ignore some dependencies?

How do I make apt-get ignore some dependencies? For example, I wanted to install mailx so I can use it to send email from cron scripts/report-generating tools. However, installing mailx also installs ...
1
vote
2answers
97 views

Unable to install libtirpc1 due to dependecies error

I want to run some binary (which is definitely working on another PC) on virtual Debian PC. Debian 7.5 stable with added testing and unstable repositories. (I'm not an expert in this) This binary uses ...
0
votes
2answers
105 views

Prevent APT from overwriting custom files

My server runs a Java application that requires I replace a few java library files with ones I downloaded on my own. This has to do with JCE security extensions and isn't really relevant to my ...
0
votes
1answer
28 views

How to hold specific package version?

I have Percona XtraDB Cluster 5.6 installed on my Ubuntu server. Recently, when i tried to update my system using apt i see some new version of percona, but with an older version. The following ...
4
votes
2answers
967 views

Running apt-get autoremove with ansible

I maintain a flock of EC2 servers with ansible. The servers are regularly updates and upgraded using the apt module. When I manually tried to upgrade a server, I received the following message: $ ...
2
votes
1answer
2k views

apt sources.list ssh:// with custom port

I've setup my own repository which I want to use SSH as the protocol. I managed to get everything working with an SSH key using port 22. Now, I would like to change the SSH port. I've already changed ...
2
votes
0answers
45 views

Centralized ubuntu update server

I am in the process of configuring a Central Update Server so we can better manage the security updates on our ubuntu based cloud servers. Here is my plan so far Install apt-mirror on cloud instance ...
1
vote
1answer
851 views

docker.io package reports missing only on EC2

I'm trying to install Docker on a Debian Jessie EC2 image. Specifically, I'm using this AMI: https://wiki.debian.org/Cloud/AmazonEC2Image/Jessie. On a locally running Debian machine sudo apt-get ...
5
votes
3answers
2k views

Debian - “WARNING: untrusted versions of the following packages will be installed!”

When i try to install or update any packages I get: Untrusted packages could compromise your system's security. You should only proceed with the installation if you are certain that this is what you ...
0
votes
0answers
31 views

Centralized package management of Ubuntu servers with QA

I currently manually maintain 3 Ubuntu servers, but now we're taking on another project that will have something like 25. So I'm looking into how to maintain that many servers without making ...
1
vote
2answers
76 views

Debian - apt-get - Depends: php5-mysql but it is not going to be installed

We needed php5-mysqlnd and thus php5-mysql got removed and now a package has unmet dependencies whenever we want to install something with apt-get. How or where can I edit the dependencies to get rid ...
3
votes
3answers
2k views

Installing php5-imagick in Ubuntu 12.04 w/ ondrej packages results in dependency error

I've been trying to setup an Ubuntu 12.04 VM that is running PHP 5.4 with the imagick module. All the results I find on google say to use the ondrej packages, which for the most part works perfectly. ...
0
votes
1answer
71 views

RPM or YUM equivalent of apt-get install libgraphicsmagick1-dev

I was using Ubuntu for development and one of the dependencies needs apt-get libgraphicsmagick1-dev now I need to deploy to a AWS EC2 which runs AMI and only support YUM or RPM, what the the ...
2
votes
4answers
7k views

apt-get commands pausing at 'Waiting for headers'

I have a VM running Ubuntu Server 9.10 running a basic web server setup. Whenever I run an apt function it will pause for around 1 minute at 'Waiting for headers...'. It will eventually clear through ...
1
vote
2answers
460 views

How to install build-essential on Ubuntu 12.04 - gcc and g++ dependency issues

I have just installed Ubuntu server 12.04 LTS. I am trying to install build-essential package; however, when I try to install it I receive the following error: Some packages could not be installed. ...
0
votes
2answers
21 views

Automatic retrieval of current mapping debian stable -> released name

I'm automating my customary debian setup using ansible. The playbook is supposed to treat testing/unstable and stable differently: the former are to be maintained "clean", while the latte is to ...
0
votes
1answer
42 views

Sharing simple tasks across roles in ansible?

I have a couple of different machine types that all need to have the official postgres APT repo defined for them in order to be able to apt-get install the right version of tools. These different ...
0
votes
1answer
51 views

Interrupted apt-get upgrade - Now won't run again [closed]

I recently started an apt-get upgrade on one of our Debian 6 servers. The downloads were taking forever, so I exited with Ctrl-C, intending to change the to a different mirror server. However, now ...
19
votes
2answers
19k views

Installing optional Nginx modules with apt-get

I currently have Nginx installed via the instructions on the Nginx site: nginx=stable sudo su - add-apt-repository ppa:nginx/$nginx apt-get update apt-get install I have configured Nginx and it ...
42
votes
3answers
10k views

How to remove the “installed manually” flag and revert to “automatically installed” with apt-get?

To compile something, I needed the zlib1g-dev package to be installed so I launched an apt-get install zlib1g-dev. apt-get informed me nicely that the package was already auto-installed because of ...
1
vote
1answer
46 views

Equivalent yum command for `apt-get install -y packagename --no-upgrade`

I was using this command in a shell script on my ubuntu server apt-get install -y packagename --no-upgrade . It will install the package if it is not present. It will not upgrade the package. Now I ...
31
votes
1answer
10k views

How do I ask apt-get to skip any interactive post-install configuration steps?

I have a server build script which uses apt-get to install packages. It then puts pre-written configuration files directly in place, so the interactive post-install configuration dialog in packages ...
4
votes
3answers
480 views

Install Debian Backports kernel automatically

I've got the following pinnings set: Package: linux-image-amd64 Pin: release a=wheezy-backports Pin-Priority: 1001 Package: * Pin: release a=wheezy-backports Pin-Priority: 499 I get the following ...