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)

2
votes
2answers
66 views

Why does Debian have RPM and Yum packages?

I know that Debian comes with an awesome package manager called APT which is capable of installing .deb packages. I know that RHEL comes with a package manager called Yum and is capable of installing ...
0
votes
0answers
20 views

I see security updates but there arent any - Ubuntu 14.04

I updated the system with apt-get upgrade and did a restart. Motd shows me 22 updates and 19 security updates, same with /usr/lib/update-notifier/apt-check --human-readable. 15 updates are shown ...
3
votes
0answers
53 views

debian/ubuntu: Prevent UI prompting in command-line apt-get

So, in order to prevent console-UI (newt, snack, dialog) prompts during the dpkg post-install, you have to do something like: debconf-set-selections <<< 'mysql-server ...
0
votes
0answers
107 views

How can I install nginx 1.9.5 on debian jessie?

I added theses lines to the "/etc/apt/sources.list": deb http://nginx.org/packages/mainline/debian/ jessie nginx deb-src http://nginx.org/packages/mainline/debian/ jessie nginx After that I've ...
0
votes
0answers
17 views

Unable to install php5-mysql on Ubuntu 14.04

When I'm trying to install php5-mysql on my local PC with Ubuntu version: # cat /etc/*-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.04 DISTRIB_CODENAME=trusty DISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS" ...
1
vote
2answers
96 views

Debian: error in upgrade script?

I just ran apt-get update and upgrade to get the latest updates for my Debian stable server. It included a bunch of PHP5 updates. One (libapache2-mod-php5) threw an error: ERROR: php5 module already ...
6
votes
3answers
203 views

Conflicts with PAM configuration files when upgrading system

I have a VPS that runs Ubuntu 14.04.4 LTS; it was installed as a whole with Plesk by OVH. I juste did a apt-get upgrade, and at some point I had a message regarding PAM. The system is in French, but ...
2
votes
1answer
23 views

Finding source repository for Debian packages

I have a Debian wheezy server which has many sources configured under /etc/apt There's seems to be a lot of duplicate sources, and I would like to simplify this. In order to avoid breaking anything, ...
0
votes
0answers
9 views

Quite Apt-get Install but Prompt for Input

I am trying to figure out a way to quietly install Java, without all the installation text, but still get the user agreement prompt. Is this possible?
0
votes
3answers
53 views

Bash if condition to check if a ubuntu package needs an upgrade?

I need a bash line to check if a ubuntu package needs an upgrade or not. For example, I want to check if the package 'firefox' needs an upgrade using dpkg or apt-get commands. Hypthetical Example: ...
1
vote
1answer
44 views

apt-get remove package that didn't install properly

I accidentally installed zabbix-frontend-php that pulled apache2 as a dependency. I don't want to use either, and I want to completely delete both packages. Unfortunately, it seems that apt-get ...
1
vote
0answers
59 views

Issues installing R package, r-base; Ubuntu 14

I am having a massive headache trying to install R. I go to install r-base and I get the following. root@10:/etc/apt > apt-get install r-base Reading package lists... Done Building dependency ...
0
votes
0answers
22 views

Curator cannot be installed even python is installed OK

I'm trying to install curator via apt repo on my debian wheezy. I went thru official documentation on elastic.co, added repo and GPG key and tried to install curator with apt-get install ...
0
votes
0answers
180 views

Unable to locate package landscape-server-quickstart

Any idea why landscape-server-quickstart isn't being found? According to both this AskUbuntu post and the official Landscape 15.11 installation instructions, the following commands should install ...
0
votes
1answer
69 views

apt-cacher ng “an error occured while reading this file, some contents may have been ignored.”

I've been getting the following message every day from the apt-cacher-ng cron job: /etc/cron.daily/apt-cacher-ng: Error(s) occured while updating volatile index files for apt-cacher-ng. Please visit ...
1
vote
0answers
51 views

Using Debian's unattended-upgrades package

I'm trying to have all official packages from Debian be upgraded on a Wheezy box - I've set the following: "o=Debian,a=oldstable"; "o=Debian,a=oldstable-updates"; "o=Debian,a=oldstable-backports"; ...
0
votes
1answer
19 views

How to tell apt-get that a package is OK and does not need any more attention

I have a broken Ubuntu 14.04 server. Everything is OK except for apt-get, which for some reason thinks that it repeatedly fails to update mysql server package. The mysql server is updated and works ...
0
votes
0answers
62 views

sh: x-terminal-emulator: command not found

I got this message during apt-get upgrade in my Ubuntu server 14.04, and I have no idea what is it. E: changelog for this version is not (yet) available; try ...
1
vote
1answer
39 views

When does a Debian server require restart? [duplicate]

I have Debian 8.3 installed on my vServer, hosting websites and other applications. For instance, my VM didn't boot properly after my hoster rebooted the node. So there must be something that gets ...
1
vote
1answer
15 views

Percona Server keeps throwing errors on Ubuntu, but i cant remove it

I attempted to install percona's tools on ubuntu and had issues. I abandoned the idea of using it. Now upon removal it keeps kicking this error: The following packages will be REMOVED: ...
0
votes
1answer
54 views

docker - unable to find package (two servers with same setup except version)

Does newer Docker have different source list or something? a# docker --version Docker version 1.10.1, build 9e83765 b# docker --version Docker version 1.9.1, build a34a1d5 Install goes through the ...
1
vote
0answers
152 views

apt update blocked by cyclical dependices

I have Debian running on a VPS instance that is kept alive for a little site/project that is used by a small user base on an irregular basis. The server is largely left alone but I try to login every ...
0
votes
1answer
47 views

Unattended upgrades not running under Ubuntu 14.04

I have a bunch of servers running Ubuntu 14.04. They all have the unattended-upgrades package installed. I've created a file called: /etc/apt/apt.conf.d/local-50-unattended And I've added the file ...
0
votes
1answer
440 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
34 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
61 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
50 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
23 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
15 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
62 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
89 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
28 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
111 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
262 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
0answers
32 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
76 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
50 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
115 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
145 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
32 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
25 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
2answers
448 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
845 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
66 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
52 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
29 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
85 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
56 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 ...
1
vote
1answer
1k 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
795 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 ...