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
7 views

apt-get maddeningly doesn't work with tsocks proxy set up with ssh

I have a machine that cannot access the internet, yet can connect to a machine that does. I don't want to use a proxy server, I've been told that I can just use ssh. So I've proceeded simply by ssh ...
8
votes
6answers
7k views

Using a self-signed SSL cert for an HTTPS-based internal APT repository

I've set up a Debian repository (Ubuntu actually) for internal use with some private packages, and now want to make it available over the web to some specific servers. I would like apt-get / aptitude ...
0
votes
1answer
14 views

Do I need to remove Apache2 before changing the PPA to latest version - Ubuntu 14.04

Just finished installing Ubuntu 14.04. I did a distribution install with LAMP stack. I decided I want to run PHP7, MariaBD and latest Apache2. I have got the PHP7 and MariaDB in place, now I want ...
0
votes
0answers
8 views

Enabling apt backports on a case by case basis in linux mint

I'm running Linux Mint 17 and would like to install a package from the backports but I don't want backports installed by default when I use the package manager or apt-get. are there settings or flags ...
0
votes
2answers
1k views

Cannot upgrade PostgreSQL on Ubuntu

When I run apt-get upgrade, I get the following error : dpkg: dependency problems prevent configuration of postgresql-9.1: postgresql-client-9.1 (9.1.7-0ubuntu12.04) breaks postgresql-9.1 (<< ...
0
votes
1answer
12 views

Apt-Dater: Error executing Error executing 'lsb_release -a'

I successfully deployed apt-dater (Debian-machine) and apt-dater-host (CentOS) to 2 different nodes via puppet. Now apt-dater is showing the new host, but the state is always "unknown". If I enter ...
0
votes
2answers
25 views

IPTables: apt-get and wget not working

When resetting IPTables, the apt-get and wget command functions correctly and also downloads what I want. But once I activate this firewall, it isn't functional. Pings still work. I want to allow all ...
0
votes
0answers
19 views

MySQL 5.7 under Debian Jessie with postfix-mysql

I currently have MySQL installed from the MySQL APT repository and am on the 5.6 branch. It comes with libmysqlclient18 and postfix-mysql requires it. If I want to switch to the 5.7 branch, APT will ...
0
votes
1answer
17 views

sudo apt-get install -d zsh. Can not find where it downloaded the file

After running command sudo apt-get install -d zsh I get the following output: Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: ...
0
votes
1answer
2k 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 ...
9
votes
4answers
12k 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 ...
0
votes
1answer
19 views

How to upgrade version of libpng on ubuntu

I installed libpng using apt-get install libpng12-dev which installed version libpng 1.2.50. I would instead like to install version libpng 1.6.18. How can I install libpng 1.6.18 on ubuntu? My ...
0
votes
1answer
476 views

Ubuntu 12.04 PHP 5.3 to 5.5 update fails

on a Ubuntu 12.04 Server I´m trying to update PHP 5.3 to 5.5 this is what I have done: sudo add-apt-repository ppa:ondrej/php5 sudo apt-get update sudo apt-get install php5 unfortuntely the ...
0
votes
1answer
2k views

Duplicate sources.list during apt-get update

I wanted to install PostGIS on my server which already have a PostgreSQL installed. I followed this PostGIS installation manual. I inputted this script: sudo sh -c 'echo "deb ...
0
votes
1answer
43 views

rsyslog upgrade fails: Sub-process /usr/bin/dpkg returned an error code (1)

I'm having trouble upgrading rsyslog on a Debian server. root@trip:/home# apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating ...
1
vote
1answer
2k views

Running dist-upgrade fails on installation of 'startpar'

I'm trying to run dist-upgrade on Debian 6 but it fails on installation of startpar with: dpkg: considering deconfiguration of sysvinit-utils, which would be broken by installation of startpar ... ...
6
votes
3answers
6k views

How do I see the changelog for a debian/ubuntu deb package?

I'm running Ubuntu and I have a deb file installed. I've made deb packages before, so I know there is a debian changelog (debchange). Is there anyway to see the debian changelog for any package that I ...
0
votes
1answer
31 views

Puppet relationships with nested functions

I use the official Puppet apt module to add this Java launchpad and to install Oracle Java 8. apt::ppa{ 'ppa:webupd8team/java': } package { "oracle-java8-installer": ensure => ...
0
votes
2answers
51 views

Install newer version of lua-expat for prosody on 14.04

I'm on Ubuntu 14.04.3 LTS and running lua-expat 1.2.0-6 the newest version for Trusty. Prosody throws this error: The version of LuaExpat on your system does not support stanza size limits, ...
0
votes
0answers
7 views

Tasksel with E: read, still have 1070 to read but none left

I try to use tasksel to install webserver But When I run tasksel i just get E: read, still have 1070 to read but none left Run On Ubuntu 14.04.3 LTS \n \l Kernel 3.18.20-nce-amd64
29
votes
2answers
13k views

Can someone clarify Ubuntu (Debian) dist-upgrade for me?

I've got an Ubuntu 8.04 LTS server. There are several packages which are "kept back" ("the following updates have been kept back:") when I do an apt-get upgrade. It's my understanding that I can do ...
2
votes
1answer
178 views

apt-get install -t testing appX VS apt-get install appX/testing

I've been trying to understand the difference between these two commands and noticed that I get different results. apt-get install -t testing appX apt-get install appX/testing Background I setup ...
0
votes
2answers
169 views

Cannot upgrade mySql on a Debian 6 server using apt-get

I run a Debian 6 server and use it to host a dozen of LAMP based websites. I configured it to email me whenever a software update becomes available, and this morning I received the notification for 6 ...
4
votes
1answer
59 views

why is apt-get install anything is asking to update nginx.conf ? How to fix this using chef?

I was trying to install few packages which are non related to nginx (for example htop) using chef script. But it was failing because its asking to update nginx.conf and nginx/sites-available/default. ...
0
votes
1answer
1k views

ssh'ing via a proxy, but connect is not found

I installed debian from a business card cd iso (basically a very stripped down version of it). I am trying to ssh to a machine via a proxy (set up in my .ssh/config), but am receiving an error: ssh ...
20
votes
3answers
26k 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 ...
2
votes
1answer
40 views

After upgrade to Ubuntu 14.04.3 LTS, MOTD always says 0 new packages can be updated

I'm not a server expert and so I'm experiencing some upgrade issues with Ubuntu. A little history: my Digital Ocean droplet was running Ubuntu 12.04 LTS, then a few months ago I upgraded to a newer ...
1
vote
1answer
31 views

Installing APT packages to versioned directories

Is it possible to get APT to install different versions of a packages to different versioned directories? Like: /usr/share/tomcat-7.0.64 /usr/share/tomcat-7.0.65 /usr/share/tomcat-8.0.29 ...
1
vote
0answers
198 views

Ubuntu upgrade PHP not working anymore and nor error log

I ran apt-get update, followed by apt-get upgrade on my Ubuntu (Homestead VM). Since then I can't access my PHP app anymore. I've tried accessing a txt file from my application and this works ...
0
votes
0answers
19 views

How to disable the “newer kernel” warning in debian jessie?

Debian jessie prompt on every apt-get upgrade, that a newer kernel was installed and a reboot is needed. How can this warning be disabled, because i want to reboot when it fits and i know that there ...
1
vote
4answers
6k views

apt-get : Size mismatch

I created a private deb repository to spread a software and it's updates to 600 Ubuntu netbooks. Each time the network is connected, my script try to do a apt-get update. But sometimes (quite often ...
0
votes
1answer
171 views

Ansible not found in PATH after installation on Vagrant box

The Problem For a test, I set up a very simple Vagrant file. This is just to test how working with Ansible is. Sadly I am stuck at step number 2 with the following error during vagrant up --provision ...
1
vote
2answers
706 views

debian mirror : Hash Sum mismatch

I have a mirror server that I maintain in school. $ uname -a Linux CSE-Cloud01 4.0.0-1-amd64 #1 SMP Debian 4.0.2-1 (2015-05-11) x86_64 GNU/Linux $ sudo apt-get update ...... W: Failed to fetch ...
1
vote
1answer
316 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 already present. It will not upgrade the package. ...
0
votes
2answers
32 views

GPG Key not available for Local Apt Repo

We have an Apt-mirror server. We have also a custom repo named 'local' on this server. If I add in sources.list the following line : deb http://aptmirror.example.com/local trusty main The ...
0
votes
1answer
44 views

Can't install packages through apt after update to Jessie

Following instructions to migrate from Wheezy to Jessie, I updated my sources, apt-get update;apt-get upgrade;apt-get dist-upgrade (not all at once, but enough to check that everything was fine), and ...
7
votes
3answers
4k 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
1answer
21 views

Problems with apt mirrors

I have automated some systems with Ansible. To test if everything is still up to date and working I run my playbooks every night with test-kitchen. To make things a bit more efficient I dont use ...
2
votes
3answers
3k views

Configure apt to use proxy in vagrant box

I'm using Vagrant to setup a virtual machine for testing. I would like apt inside the virtual machine to use a proxy on the host machine to allow caching of all the downloads to persist between ...
1
vote
1answer
44 views

apt-get upgrade got aborted how to recover? (hash sum mismatch)

I asked on StackOverflow but was redirected here . I'm afraid I made a kind of a booboo. While performing an apt-get upgrade (there were about 160+ packages in queue) I accidentally logged out, thus ...
10
votes
2answers
5k views

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

When installing some packages (like RabbitMQ) on Debian/Ubuntu machines, the post-install step defaults to starting the service. While this is great in most cases, in some cases (when you already ...
13
votes
4answers
3k views

Disable prompts while installing a Debian package

How can i disable totally the prompts that appear while installing a Debian package, i've used all the options that i've found but there are some packages that are still prompting. I'm using this ...
3
votes
3answers
2k views

Ubuntu dpkg, non interactive installation

I am trying to install a bunch of .deb files without having to interact with them. MySQL Server for example will prompt for an interactive menu to enter an administrative password upon the dpkg's ...
0
votes
1answer
32 views

apt-get upgrade with exceptions

I am running Ubuntu 14.04 and have let it get quite out of date with packages that need updating. There are a couple of packages I don't want to upgrade like tomcat, php etc.. but I am not sure how I ...
3
votes
2answers
528 views

PCI Compliance: install Apache 2.4.17 on Ubuntu 14.04.3?

I have a VPS running Ubuntu 14.04.3. The latest Ubuntu-supported version of Apache for this release is Apache 2.4.7. But the company for which I configured the server is seeking PCI compliance, and ...
-1
votes
1answer
73 views

Varnish 3.0.7 suddenly stopped working

Changed one line in default.vcl and after that I couldn't restart. It didn't give me any error or anything. I tried to set it back to the former config but that didn't help. So I decided to reboot. ...
0
votes
3answers
2k views

ufw blocking apt

I have the same Problem as described here, but the given solution doesnt work for me: ufw blocking apt and dns When I add the rule ufw deny out to any, and add the port 80, 443/tcp, ssh-port as ...
0
votes
1answer
46 views

How to tell exactly what packages have security updates in Ubuntu?

I'm trying to get a list of packages that are marked as having "security updates" My base system is Ubuntu 14.04 For example, there is a script on Ubuntu 14.04 which will list number of updates ...
2
votes
1answer
473 views

Kali linux Source lists fails

I am trying to update kali linux via the offical source_lists while when i do sudo apt-get update it fails saying W: Failed to fetchThe source list is as follows :- in /etc/apt/sources.list: ...
0
votes
0answers
48 views

Trouble using old package - Debian jessie/Libdb

I'm stuck trying to get squidguard to run. It's due to the version of berkelydb ( libdb ). This is a fresh Debian jessie server install. No gui, just ssh, build-essential etc. Installed squid from ...