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
0answers
6 views

change cache location pathc for APT [migrated]

When using apt, can I tell it to use other then /var/cache/apt location? I tried adding the following line in /etc/apt/apt.conf: % cat /etc/apt/apt.conf Dir::Cache /home/apt and re-run apt but it ...
0
votes
1answer
49 views

failed to install docker on Debian 8

This is the first time I deal with Debian, and I need a docker. I was following https://docs.docker.com/engine/installation/linux/debian/ to get it installed, however I faced the error: % apt-get ...
1
vote
1answer
19 views

postgresql installation failed with apt-get

I'm running on an AWS Ubuntu image. In an attempt to set up my machine, I played around with apt-get to add and remove PostgreSql and some of its modules. Now, when I run sudo apt-get install ...
0
votes
1answer
15 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 ...
0
votes
0answers
11 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
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
1answer
13 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
28 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
23 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
18 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
23 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
61 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 ...
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
4
votes
1answer
60 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
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 => ...
2
votes
1answer
47 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 ...
0
votes
2answers
53 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, ...
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 ...
0
votes
0answers
20 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 ...
0
votes
2answers
180 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 ...
0
votes
1answer
195 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 ...
0
votes
1answer
45 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 ...
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
22 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 ...
1
vote
1answer
48 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 ...
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 ...
0
votes
1answer
519 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 ...
3
votes
2answers
555 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
1answer
49 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
490 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
49 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 ...
0
votes
0answers
156 views

Can't upgrade/restart services after apt-get autoremove

I can't restart apache2 or something else after I did apt-get autoremove. service apache2 restart Failed to restart apache2.service: Launch helper exited with unknown return code 1 I tried ...
0
votes
0answers
35 views

GPG error on importing public key

I'm trying to upgrade my php installation from 5.3.10 to 5.6 on a Linux Mint 16 machine, and as a first step, I ran sudo apt-add-repository ppa:ondrej/php5-5.6 The above command is timing out while ...
0
votes
3answers
30 views

dpkg error while upgrading distros

The following is outputted after typing apt-get upgrade. Reading package lists... Done Reading package lists... Done Building dependency tree Reading state information... Done The following packages ...
0
votes
1answer
37 views

Unable to unstall mongodb, Debian 6.0

When I run sudo apt-get purge mongodb-org*, I get this: me@myserver:/var/lib$ sudo apt-get purge mongodb-org* Reading package lists... Done Building dependency tree Reading state information... Done ...
1
vote
1answer
128 views

Puppet: how to install git package from Debian wheezy-backports?

I am using the Apt module (https://forge.puppetlabs.com/puppetlabs/apt) and have added an entry for the Debian wheezy backports repository: apt::source { 'wheezy-backports': location => ...
1
vote
1answer
246 views

Error updating mysql with apt-get (Debian)

I'm running a Debian 7 (wheezy) machine and I was doing my normal package updates with apt-get update && apt-get upgrade and everything seemed to have updated alright except for mysql server. ...
0
votes
1answer
57 views

reprepro FilterList ignores packages containing :i386

I am using reprepro to create a partial local Debian mirror. My conf/updates file looks like this: Name: update-wheezy Method: http://ftp.tu-graz.ac.at/mirror/debian Suite: wheezy Components: main ...
0
votes
1answer
123 views

Unattended Upgrades not running

I have installed the Unattended Upgrades package and have an apt cron in /etc/cron.daily/aptbut it's not running automatically. There's nothing in /var/log/unattended-upgrades/ and there are pending ...
0
votes
1answer
31 views

dpkg/apt-get updating a package - downtime?

I was wondering if apt-get/dpkg packages (.deb's) manage downtime at all when updating? For example, when updating nginx (assuming it's already installed) via sudo apt-get install nginx, it looks to ...
0
votes
0answers
78 views

unmet dependencies (held broken packages) can't install php5-gd

I'm running Ubuntu 14.04.3 LTS and trying to install php5-gd php_extension, but getting the following error: The following packages have unmet dependencies: php5-gd : Depends: php5-common (= ...
1
vote
2answers
782 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 ...
3
votes
1answer
27 views

Hook into installation of Debian package

When installing packages with daemons, they often restart that service during installation/upgrade on Debian. I got a daemon that has some options that can only be set on runtime, not configured. If ...
0
votes
2answers
402 views

Disk Space full while doing apt-get operation on Ubuntu 14.04

Im Trying to install new software on my Ubuntu 14.04, which is running $ uname -r 3.13.0-45-generic There are old kernals installed on my machine $ dpkg --list | grep linux-image rc ...
2
votes
1answer
1k views

GPG error; The following signatures were invalid KEYEXPIRED [duplicate]

sudo apt-get update get this error: W: GPG error: http://debian.datastax.com stable Release: The following signatures were invalid: KEYEXPIRED 1439480363 KEYEXPIRED 1439480363 KEYEXPIRED 1439480363 ...
1
vote
0answers
25 views

Unmet dependancies on Debian7

I did the dist-upgrade on debian from 7.8 wheezy to 8.1 jessie. then I had some trubles with old compilet PHP and had to revert back. Since the downgrade, I have this on trying to do a dist-upgrade ...
2
votes
2answers
3k views

Ubuntu14.04 - unable to apt-get update

sudo apt-get update returns some erors : W: Failed to fetch http:// archive.ubuntu.com/ubuntu/dists/trusty/Release Unable to find expected entry 'restricted/source/Sources' in Release file ...
0
votes
1answer
31 views

apt-get update, updated script condition

I want apt-get update to direct a script to direct it to reboot a system. I want a system to run apt-get update, if there are updates reboot. This is to keep a simple system updated. The answer might ...
0
votes
0answers
84 views

Package libapache2-mod-fastcgi is not available when trying to install FPM on Debian 7.8

I'm using Vagrant with Debian 7.8 and wanted to clone our production server. Our production server has php-fpm installed, however, I'm not able to install it. When trying to install my packages for ...