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
vote
0answers
39 views

What can prevent apt from installing higher version

I'm trying to install a specific version of a package (python-neutronclient), but apt is failing to do that due to old packages. This happens even though new packages are available. Aptitude also ...
0
votes
1answer
264 views

update nginx 1.4.4 to 1.4.5 trying to overwrite X which is also in package Y

I get this error while trying to upgrade: Preparing to replace nginx 1.4.4-4~raring (using .../nginx_1.4.5-1~raring_amd64.deb) ... Unpacking replacement nginx ... dpkg: error processing ...
0
votes
1answer
256 views

Dependency errors while running apt-get -f install

I was having issues with /boot being full and trying to run apt-get -f install. Now that I have cleared out some space in /boot I am getting the following dependency errors. Reading package lists... ...
0
votes
1answer
148 views

Debian local apt repo

Using debians ftpsync I've synced amd64 to my local file server, and installed debian over the network using ipxe. It dawned on me, that the content I've downloaded needs to be shared as an apt repo, ...
0
votes
0answers
663 views

I frequently get E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I'm looking after an Ubuntu 12.04 server behind a rather slow proxy. When attempting any kind of install with lots of dependencies, I frequently get stuck unable to install packages because the proxy ...
0
votes
0answers
444 views

Postgres 9.3 won't work on Debian 7.1

Hi I am having problems installing postgres 9.3 on debian 7.1. I have added the following: deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main to the file ...
1
vote
1answer
2k views

Installed libssh2-php but no ssh2 with php -m

I use php 5.5.3 on a Ubuntu 13.10 server and want to use ssh2 with php. So I installed libssh2-php with this command: apt-get install libssh2-php Installation runs without error. I got a ssh2.ini ...
0
votes
1answer
66 views

How to get the Package-List of a debian/ubuntu package?

It's possible to view the Package-List of a debian/ubuntu package, using the package management tools like apt, aptitude or dpkg? I need to list the packages provided by a package, the list is ...
0
votes
1answer
102 views

Merging 2 ubuntu repositories into a single offline repository

I am currently running apt-mirror to have a local, offline copy of the entire ubuntu repository (both 32&64), from ubuntu 9.04 to 13.10. Old releases are being apt-mirrored from ...
2
votes
2answers
189 views

How to recreate /etc/cron.daily/apt?

On my Debian 6.0.8 system the /etc/cron.daily/apt file is missing. Therefore, unattended upgrades do not work. How can I recreate/fix /etc/cron.daily/apt?
5
votes
3answers
267 views

Audit files on a Debian box

Is it possible to list every file on the system that does not belong to a package? or if they have been modified? Might need to use something like: apt-get, apt-files, dpkg-query, etc For context, ...
0
votes
2answers
262 views

UFW - deny outbound except for apt-get updates?

What combination of UFW rules would deny all outbound connections except for those which are required to install Ubuntu security updates?
2
votes
1answer
2k views

installing git from debian wheezy backports: anyway i see old package version

I need to install git 1.8.* version. I added backports to my sources.list; Removed current installed git via apt-get remove git; Executed apt-get update to update my packages list aptitude show git ...
3
votes
1answer
159 views

Which apt options for a safe automatic update

Related to my previous question, what apt options should one use when upgrading a package so that: if other packages would be removed as a result of the upgrade, apt will stop without touching ...
0
votes
1answer
195 views

Can't open /usr/share/debconf/confmodule - When install using apt-get

I tried installing valgrind using, apt-get install valgrind After downloading the packages, am getting the following error, Setting up tzdata (2013d-0squeeze1) ... .: 9: Can't open ...
1
vote
1answer
140 views

What is the apt equivalent of yum's createrepo?

With yum, I can create a respository from a folder of RPMs with the createrepo tool. What's the equivalent to turn a folder of .deb files into an apt repository? This isn't about mirroring upstream ...
1
vote
1answer
644 views

Using APT how can I install phpMyAdmin without 'apache2' and all of the other gumpf?

I have found that a lot of packages that get installed with APT tend to have many extra packages that get installed, but I am no sys-admin so I generally accept this. As I start to get to grips with ...
0
votes
1answer
1k views

“php5-fpm: unrecognized service” and other issues after reverting from PPA

Added a repository so that I could move from PHP 5.3 to 5.5 easily in Ubuntu 12.04.3 LTS. After adding the PPA and following most of the suggestions here http://askubuntu.com/a/109544 it seemed that ...
-1
votes
1answer
259 views

Update 9.3.x minor verison of postgres on Ubuntu 12.04?

What do I need to do to update Postgres to a new minor version? i.e. 9.3.1 to 9.3.2? All the documentation gives is stop the server and install the new binaries. I need more detailed information on ...
2
votes
1answer
99 views

Exclude sources files for apt-get update

I use an specific command to check security updates: /usr/bin/apt-get update -o Dir::Etc::SourceList=/etc/apt/security.sources.list But when executed it use sources files in ...
0
votes
1answer
765 views

apt-get dependency issue when installing nginx passenger module

Sorry I Have no idea how to fix the dependency problem. My Ubuntu server is 12.04 64 bit $ sudo apt-get install libcurl4-openssl-dev Reading package lists... Done Building dependency tree Reading ...
1
vote
1answer
1k views

Ubuntu apt-get update vs upgrade

I have a VPS with Ubuntu Server 12.04 and I want maximal stability of my server, which's main purpose is a webserver. What are difference between Update and Upgrade? I can't understand difference. As ...
0
votes
1answer
22 views

Determining date packages were added/removed by apt-get

I recently logged onto a server, and noticed the git package is no longer installed. Would like to investigate, is there a way via apt-get or dpkg to list the date packages were added or removed, or ...
1
vote
2answers
86 views

How to make a copy of an installed Ubuntu machine's packages, without internet access

I have an existing Ubuntu 12.04 server, with all the packages that I need in /var/cache/apt/archives. I have a fresh install of 12.04 at a customer site with (deliberately) no internet access. How ...
2
votes
1answer
34 views

Pinning specific subsection in Debian

I'm trying to pin some packages from a specific subsection (gnome in this case) in Debian jessie. For subsection I mean: gnome, admin, x11, etc… This value is showed by apt-cache in the 'Section' ...
0
votes
1answer
158 views

Adding modules to nginx-light (Debian / dotdeb)

http://packages.debian.org/testing/nginx-light http://packages.debian.org/testing/nginx-full Can I add modules to nginx-light installation that would only be available in nginx-full without ...
1
vote
1answer
55 views

Update computers on private network

I have a small grid of computers that form an analysis cluster. One master node with internet on eth0, and a couple of private static IP workers connected to a switch. The master is also connected to ...
0
votes
1answer
145 views

Slow download speeds (own debian mirror)

I am using ftpsync to have a local version of the debian packages for all of our debian clients. Internally, the traffic from the mirror is at our normal LAN speeds (100 MB/s); however, when a ...
0
votes
1answer
5k views

How to add debian “testing” repository to apt-get [duplicate]

I had difficulty searching for this answer on google and debian documentation! The FAQ page wasnt very clear either. I mean it wasnt 100% idiot-proof clear. https://wiki.debian.org/DebianTesting
-1
votes
1answer
28 views

Getting error while running apt-get update

I am getting the following error while running apt-get update on all of the servers. W: A error occurred during the signature verification. The repository is not updated and the previous index files ...
0
votes
1answer
443 views

Ubuntu 12.04: apt-get “failed to fetch”; apt is trying to fetch via old static IP

Sample error: W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/precise-security/universe/i18n/Translation-en Unable to connect to 192.168.1.70:8118: Now this was working just fine ...
0
votes
2answers
892 views

Debian: How to get rid of half-installed packages after aborted installation of kde-standard?

I accidentally executed "apt-get install kde-standard" on a system with a very small root partition (6 GB). The installation stopped when the disk was full. You can imagine the mess I have on the ...
0
votes
1answer
2k views

Virtualbox / Vagrant “closed by remote host” during routine use

I am attempting to install OpenTreeMap in a Ubuntu environment. Hosted at DigitalOcean, one of their "Droplets". As part of the install process I have installed and configured Virtual Box and Vagrant ...
1
vote
1answer
222 views

On Debian, how to audit installed packages against packages in a particular repository?

I manage a number of Debian servers and usually track the Debian stable repository but occasionally install from the Debian testing repository or third party sources. For audit purposes, on each ...
0
votes
1answer
3k views

Unable to locate package openjdk-7-jdk

I am using a base edition of Debian and am trying to install Java 7 on it using this command: root@server:~# apt-get install openjdk-7-jdk However, I end up getting this error: Reading package ...
0
votes
0answers
172 views

mysql-server-5.5 (5.5.32-0ubuntu0.12.04.1) … start: Job failed to start

Seems this issue is common but I cannot solve it. How do I reinstall mysql-server. Every time I try, I receive this crash message. Setting up mysql-server-5.5 (5.5.32-0ubuntu0.12.04.1) ... start: ...
1
vote
2answers
420 views

Puppet - How to install git 1.8.x which isn't in default packages

How would you automate the installation of a specific version of git using puppet? apt-get update && apt-get install git-core on my 12.04 ubuntu server results in git version 1.7.9. I must ...
2
votes
1answer
251 views

Puppet: maintaining apt sources.list

I'm using puppet to maintain a growing pile of debian machines. These will be maintained from their initialization onwards. This means that one step will be setting the apt 'sources.list' file and ...
0
votes
1answer
109 views

Fix security vulnerability in dnsmasq on Ubuntu 12.04

I have an Ubuntu 12.04 server using dnsmasq and recently ran into the following security vulnerability which does not seem to have a fix on 12.04. ...
0
votes
1answer
50 views

Deferring updates in cron-apt

Every day I get an email from cron-apt if there are updates available for my Debian systems (I use it in download-only mode). A typical email might look like CRON-APT RUN [/etc/cron-apt/config]: Tue ...
0
votes
2answers
201 views

nagios plugin for apt return code 3

I'm using a nagios plugin to check for apt updates. But sometimes (i think once a day) I get an error like this: Aug 11 14:05:27 Client nrpe[16668]: Connection from Server-IP port 2731 Aug 11 ...
2
votes
1answer
100 views

Can a single Apt-Cacher serve multiple Debian versions?

I have multiple machines running Debian 6 (Squeeze) and 7 (Wheezy). I set up an Apt-Cacher server on a Debian 7 box, for the Debian 7 instances to use. Can this also be used (with the same wheezy ...
1
vote
1answer
674 views

AWS Ubuntu 11.04 failing to apt-get update/upgrade

First, let it be known that it has been quite some time since I upgraded this particular server. When I execute sudo apt-get update most of the endpoints seem to be reached fine. However there are a ...
0
votes
1answer
128 views

How to create a init.d script for openssh-server which was compiled and installed from source using configure + make + make install?

I have installed openssh-server in my Ubuntu PC using apt-get install openssh-server. The version is 5.9. Now, I would like to compile and install openssh-server version 6.2 from source codes. I have ...
0
votes
1answer
250 views

How to automate changed config files during apt-get upgrade in Ubuntu 12

I like to use "knife cloudstack server create ..." to build a new VM. My bootstrap template starts off with an "apt-get update" and "apt-get -y upgrade". The upgrade then halts with: 10.190.113.11 ...
1
vote
0answers
443 views

Debian Wheezy - apt-get upgrade fault

Today I want to upgrade a server, but it lag on java 8 upgrade, I use Ctrl + C and stop upgrade, now when I want to upgrade, I have this problem: Can anybody help me? root@mg1:/home/system# apt-get ...
0
votes
0answers
364 views

apt-get upgrade broken due to failed apt upgrade

Ran an apt-get update and apt-get upgrade today on Ubuntu 12.04. And the process has become stuck trying to upgrade the apt package. It appears the post install script for apt is broken. And I can't ...
3
votes
0answers
82 views

reprepro use when multiple sources have the same codename

I'm investigating the use of reprepro to control what updates get propagated to our servers, and when. The idea is to vet updates by Debian and Ubuntu, and only apply the ones we choose. We want to ...
0
votes
2answers
4k views

why apt is not installing dependencies on Wheezy?

if I run # apt-get install sendmail Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have ...
2
votes
0answers
303 views

Ubuntu 13.04: apt-get and check-new-release CPU bound

I own a virtual server hosted by a provider. A few hours ago I was notified about the VM being CPU-bound. I couldn't log in and rebooted the server. After the boot, apt-get and check-new-release were ...