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)

-1
votes
1answer
85 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
80 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
647 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
81 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
213 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
43 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
40 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
55 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
321 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
378 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
105 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
233 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
43 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
104 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 (= ...
3
votes
2answers
2k 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
38 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
780 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 ...
3
votes
1answer
2k 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
31 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
3answers
6k 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
34 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
103 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 ...
0
votes
1answer
111 views

APT-GET behind a proxy with Digest Authentication

I'd like to use apt-get (and other ubuntu tools) to download software and keep it updated. Unfortunately, my company has set a squid proxy to accept digest authentication only. I've seen somewhere ...
0
votes
1answer
120 views

Trouble while installing redis-server

So for some reason it seems that the installation of the redis-server that was serving the sidekiq on one of my machines got removed (How does that happen?). I assume this because commands like which ...
4
votes
1answer
2k views

Cannot update Debian Wheezy due to GPG error (NODATA)

I have a server running on Debian Wheezy. It's apt source file has following configuration: deb http://ftp.uk.debian.org/debian/ wheezy main non-free contrib deb-src http://ftp.uk.debian.org/debian/ ...
0
votes
2answers
490 views

ERROR Found no accessible config files for 'fail2ban' under /etc/fail2ban

So my fail2ban wasn't working and in attempts to make it work the config files got messy. Decided to start from scratch. I ran these as sudo apt-get remove fail2ban apt-get purge fail2ban rm -r ...
1
vote
1answer
302 views

Unattended upgrades: kernels taking up /boot space

Typically I like to have unattended-upgrades enabled in all my Ubuntu 14.04 servers (both security and updates). The relevant configuration line for my question is the following: // Do automatic ...
0
votes
0answers
70 views

Newer version of pngquant?

Hopefully I'm ok asking this here (I was going to put it on SO, but decided it was probably better placed here) I've done a fair bit of Googling, to try and figure this out myself - but am not ...
1
vote
0answers
13 views

How to request “do not start/enable” when installing packages on Ubuntu? [duplicate]

Start with a base system. apt-get install apache2 That results in it installing the package AND starting the service. Is there some mechanism (standard across other packages as well if possible) ...
0
votes
1answer
69 views

Unattended install (upgrade) of cassandra via chef

I'm creating a cassandra upgrade/install recipe with chef. package "cassandra" do version "2.1.8" action :install end When I install over the top of an existing version I get prompted about new ...
0
votes
1answer
44 views

Why does apt-get install duply (on debian 7.8) not update to the latest verison?

Hi there I'm a bit confused about updating on my debian server. I'm using duplicity + duply on my server and wanted to update duply to the latest version. Running: sudo apt-get install duply ...
0
votes
1answer
52 views

Prevent debian package from being removed by puppet

is there a way to prevent a debian package from being removed? I want to prevent any resolution of "replaces" and "breaks" attributes that would lead to removing that package while being able to ...
0
votes
1answer
894 views

How to install mariadb when mysql gets in the way?

I have searched for a while on google but nothing seems obvious from this weird situation I have on VM, can someone help me? root@sathia:/etc/apt# apt-cache policy mariadb-server mariadb-server: ...
2
votes
1answer
349 views

apt-get unmet dependecies, traditional solutions not working

The problem Taking any action that will change installed packages on my Ubuntu 12.04 LTS server (remove, install, purge, etc.) fails with: Reading package lists... Building dependency tree... ...
-1
votes
1answer
339 views

Use Apt Inside AWS VPC Without NAT Instance

I have several Ubuntu machines inside VPCs. For many of them, the only network access they need whatsoever is for "apt-get update && apt-get upgrade" and NTP. For NTP, I can simply have an NTP ...
2
votes
1answer
79 views

apt: list required dependencies for deb package without installing it

For a build tool I'm writing (for which I'd like to implement a sort of dependency-caching system) I'd like to know what the missing dependencies for a .deb package are, without resorting to ...
1
vote
1answer
101 views

“broken packages” when using apt-get

I've tried to install MIME::Base64 with cpanm, which gives me the error that sys/types.h is missing. I then try to install libc6-dev which fails with the error message Reading package lists... Done ...
2
votes
1answer
121 views

How do I download a new Ubuntu release without installing it?

I want to upgrade - in this case, from Ubuntu Trusty to Vivid (going through Utopic if necessary) but I'd really rather do the upgrade in two parts, doing a dry run to get all the packages locally ...
0
votes
0answers
158 views

Installing package fails with “tar: Invalid argument”

I'm running a docker container based on debian:wheezy to install wp-mirror. I'm running into a lot of dependency problems when running apt-get install wp-mirror, it seems to work after running that a ...
-1
votes
1answer
32 views

Are we drowning in package managers? [closed]

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 ...
0
votes
0answers
60 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
273 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 ...
1
vote
1answer
96 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
1answer
289 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 ...
1
vote
0answers
72 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 ...
2
votes
3answers
2k 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: $ ...
0
votes
1answer
262 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: ...
5
votes
2answers
206 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 ...
1
vote
1answer
129 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] ...
0
votes
1answer
221 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 ...