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

install build dependencies of a .deb package

I have built a .deb package from (our) sources and the package is not in the repo (yet): % dpkg-checkbuilddeps dpkg-checkbuilddeps: Unmet build dependencies: devscripts (>= 2.12) fakeroot (>= ...
2
votes
1answer
124 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
100 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
41 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
117 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
79 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
574 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
103 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
148 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 ...
0
votes
0answers
372 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
269 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
72 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
3k 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 ...
1
vote
0answers
265 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 ...
0
votes
1answer
216 views

Failed to install ntp via apt-get in Debian

When trying to install ntp (because my server clock is wrong), it just pukes this massive error. Any idea how to fix this? root@pan-prodweb01:~# apt-get install ntp Reading package lists... Done ...
0
votes
1answer
26 views

Installation issue in Ubuntu

i wanted to install ufw in my ubuntu 10.04. but, when i try to instal ufw the apt-get installer stalls my progress by trying too install my-sql server, which i dont want to install right now. Is ...
0
votes
1answer
266 views

openvz: making directory /run/shm persistant?

I just upgraded my server to ubuntu 12.04. But the last updates failed because of an error with the update of the package 'initscripts': Setting up initscripts (2.88dsf-13.10ubuntu11) ... mkdir: ...
1
vote
1answer
43 views

One liner to display which debian packages are missing from one system when compared which another?

I am looking for a one line command that I could use to list all deb packages that are missing from a newly installed system, packages that are installed on a reference system (old one).
2
votes
0answers
62 views

Disallow virtual package in Debian's /etc/apt/preferences

I know I can disallow a particular package in Debian by appending /etc/apt/preferences with: Package: *x11* Pin: release Pin-Priority: -1 But how can I do that for a virtual package like httpd? I'd ...
0
votes
1answer
186 views

Removing sources from sources.list doesn't work

I had recently upgraded to php 5.4 but it was not working for me so I thought I'd remove php 5.4 and re-install php 5.3. I uninstalled php5.4, removed the dotdeb sources from sources.list file, ran ...
3
votes
1answer
73 views

Managing (and pinning) package versions with puppet

I have an installation that I'm trying to manage with puppet. For some of the packages we want to have very tight control over the versions. Since they are critical to our application, we only ...
0
votes
1answer
144 views

Squid3 for Debian updates with upstream proxy

I often need to setup new Debian servers, so I'm trying to setup a Squid proxy to cache apt-get updates/upgrades. But I always have a problem with some specific files it can retrieve. Details: i'm ...
3
votes
3answers
551 views

Is it usually safe to run “apt-get upgrade” (in terms of stability) on a production server?

I often log into my Ubuntu 12.04.2 server (with Postgres 9.2.4 running with live production data) and see something akin to: 4 packages can be updated. 4 updates are security updates. This happens ...
3
votes
2answers
449 views

No APT Recommends with puppet

I use puppet to manage a bunch of Debian servers at work, part if that includes installing packages. One package I install on several systems is nmap which is used to verify that firewall rules are ...
2
votes
1answer
119 views

Building the necessary dependencies when apt-get installing on Ubuntu

I've got an Ubuntu 12.04.2 server and I want to install Postgres 9.2.4. If I wanted to build all dependencies, I couldn't use apt-get build-dep (at least without some finagling) because only 9.1 is ...
2
votes
1answer
105 views

Concern about “apt-get update” in production server

I have a server which is getting a bit outdated as I haven't updated it since a few months. I wanted to try cron-apt but first wanted to do it manually, so I issued a sudo apt-get update as a ...
0
votes
3answers
3k views

Failed mysql upgrade to 5.5 on debian wheezy

When upgrading debian squeeze to wheezy, the upgrade of mysql to mysql-server-5.5 fails: # apt-get dist-upgrade -u ... Setting up mysql-server-5.5 (5.5.31+dfsg-0+wheezy1) ... [ ok ] Stopping MySQL ...
1
vote
1answer
768 views

Error after trying to install php5-mcrypt on Debian Squeeze

I want to install php5-mcrypt, but I get this error after entering a apt-get install php5-mcrypt Error: php5-mcrypt : Hängt ab von: php5-common (= 5.3.3-7+squeeze15) aber 5.3.9-1~dotdeb.2 soll ...
3
votes
1answer
245 views

Prioritise repositories in Ubuntu

We have a few PPA sources on some of our servers which we stick into /etc/apt/sources.list.d . Some of these repos provide same packages (in terms of names) but different versions and possibly ...
-1
votes
2answers
266 views

Can't install Nginx on Wheezy

I'm trying to install nginx on wheezy using this code in my deployment script: echo "deb http://nginx.org/packages/debian/ wheezy nginx" | sudo tee -a /etc/apt/sources.list echo "deb-src ...
1
vote
1answer
201 views

`apt remove` everything except nginx, its dependencies and packages vital to running the system

I have an Ubuntu server with the default package list installed. I'd like to uninstall everything that isn’t nginx, its dependencies, and any other packages required to boot to a tty and run nginx. ...
2
votes
2answers
181 views

Debian Squeeze: apt-get hangs on download packages from our local repository

hope you guys can help me find out a solution to this problem that's causing me headache. My company has a number of front end servers based upon Debian Squeeze, we also set up a local repository ...
1
vote
2answers
2k 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 ...
0
votes
1answer
41 views

How to show uninstalled package size in Debian

Is there a way to show the package size without installing a package in Debian, using apt-get,dpkg or something similar (please don't say install YUM)?
0
votes
1answer
1k views

Removing MongoDB from Ubuntu

I recently started to mess with setting up ReplicaSets. After some testing and playing, I was wanting to remove MongoDB and all settings, and start with a fresh install on all systems to get it ...
-1
votes
1answer
78 views

Script to install and activate backports on debian squeeze?

I am looking for a script that would enable debian backports for debian squeeze, something that I could just run and will enable me to install new packages like a decent version of mercurial after, ...
12
votes
2answers
5k views

dpkg-reconfigure: unable to re-open stdin: No file or directory

I am building a provisioning script for a ubuntu vagrant vm, on a ubuntu host, both 12.10 64bit When installing the following packages: sudo apt-get -y install php5-xsl graphviz php-pear unison I ...
0
votes
0answers
84 views

Installing keys with .DEB packages silently fails

I'm trying to create a .DEB package which will install a number of certificates and keys onto a system. To do this, i've gone through the standard package creation process, and thrown two files, ...
0
votes
1answer
44 views

Force apt-get not to upgrade a custom package dkpg [duplicate]

I've created my own deb package for Redis 2.6.11 instead of the very old default version for Ubuntu. All works well except when I do an apt-get upgrade it tries to install what it thinks is the latest ...
0
votes
1answer
102 views

Apt-get hangs at first repo

When I perform an apt-get upgrade or apt-get update, I notice that it can take almost a minute when connecting to a repo. For example, when doing a aot-get upgrade, it will be stuck for about a ...
0
votes
1answer
80 views

Difference between unattended-upgrade & apt-get dist-upgrade

Assume I need to write a cron job to automate the installation of security update daily, which command I should use for better reliability?
0
votes
1answer
235 views

installed post-installation script returned error exit status 1

I found many complains with same error but for different packages. However, i couldn't understand essence of this error and how to fix it. Pls. help if you have any clue about it. It appeared first ...
1
vote
2answers
67 views

Updating db server with no internet connection

I have a database server running Ubuntu 12.04. The db server is connected to a load-balancer(HAProxy) on a LAN network and the LB is connected to the internet. So the db server has no direct ...
0
votes
1answer
2k views

Debian apt-get update won't work

I have a Debian machine (Linux debian 2.6.32-5-amd64 #1 SMP Fri Feb 15 15:39:52 UTC 2013 x86_64 GNU/Linux) running behind a NAT with a couple of ports forwarded for SSH and Web. I can access the web ...
0
votes
1answer
332 views

Apt-get error when upgrading mysql from running out of room

I ran out of room on my drive on an ec2 instance and it mounted the overflow /tmp space. I noticed this when I did an apt-get update/upgrade and the upgrade failed because it had no more room on tmp. ...
1
vote
1answer
65 views

How to apt-get install a package for Ubuntu Quantal from Ubuntu Precise 12.04

On Ubuntu Precise 12.04, the package osm2pgsql is currently at 0.70.5+r25090-2ubuntu2. However I need to install a newer version 0.80 but apt-get update does not provide the newer version. Question: ...
0
votes
1answer
98 views

Ubuntu 12.04 Server on VMWare - apt-get failing to hit repos

So, I have an Ubuntu 12.04 LTS 64-bit server instance running on VMWare player. Everything appears fine at the surface. Even internet connectivity appears good as I can perform both pings out to ...
0
votes
1answer
106 views

Downgrade php5-cgi using APT on Debian

I have lighttpd install with PHP5.4 installed I need to downgrade it to 5.3.2 (possibly older/newer) but I can't install it I tried this apt-get install php5-cgi=5.3.2 but it says "E: Version ...
10
votes
2answers
364 views

SSH session never closes when executing “apt-get install”

Problem When running apt-get install in an SSH session, the session never closes. Example: ssh user@target "sudo apt-get -y install my_package" The my_package does get installed properly, but the ...
1
vote
1answer
295 views

Using snapshots with reprepro to enable rollbacks

I'm using reprepro to maintain a Private Package Archive of internal packages. There is no straightforward way to keep multiple version of a package available using reprepro (see here), but it does ...