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
96 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
45 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
127 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
87 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
264 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
69 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
386 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
66 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
113 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
114 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
388 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
323 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 ...
1
vote
2answers
93 views

Search for installed unavailable packages (backports and 3rd party)

I would like to remove any packages that I installed from third party repositories. I recently installed some backports from PPA repositories, and I suspect one of them broke my Ubuntu 12.04 server ...
1
vote
1answer
902 views

TurnKey LAMP can't install PHP GD Library

When I try to install the GD Library for PHP on my TurnKey LAMP appliance, I get the following message: root@lamp ~# apt-get install php5-gd Reading package lists... Done Building dependency tree ...
0
votes
2answers
232 views

How to inform Ubuntu 12.04 apt-get about older installed version of php

I asked this on stackoverflow, but I think it was the wrong audience/forum Recently installed php5.3.22 on Ubuntu 12.04 from an excellent install script. This works perfectly. The issue I have is ...
0
votes
1answer
192 views

Debian // synchronize packages/version between multiple servers

I'm currently managing a dozen servers. apt-cacher-ng is installed on the development server to maintain the packages. The idea is to have exactly the same version and number of packages on the ...
3
votes
2answers
2k views

how to pass parameters to puppet modules?

What is the best practice for configuration of puppet modules? I have puppet 2.7.11. I find this way quite messy, it looks like using global variables. node default { $always_apt_update = true ...
1
vote
1answer
62 views

Debian 6 Synaptic Package Monitor checkboxes are acting like no software is installed

I was playing with package manager on my debian squeeze, was trying to install php 5.4 instead of php 5.3 and now it acts like everything is removed, I dont see any green "checkboxes" on already ...
0
votes
1answer
85 views

apt-get authentication error in OpenVZ Debian container

Whenever I receive upgraded packages from security.debian.org, I get the following error: WARNING: The following packages cannot be authenticated! apache2 apache2-mpm-prefork apache2.2-common ... ...
1
vote
1answer
566 views

I manually deleted my /etc/php5/ config files and now they don't reinstall

I wanted a clean reinstall of php5-cli, php5-common, php5-fpm. So what I did was: rm -rf /etc/php5 rm -rf /usr/local/lib/php5 rm -rf /usr/local/php5 rm -rf /usr/lib/php apt-get autoremove php5* ...
1
vote
1answer
1k views

apt upgrade error on My Book Live [closed]

I have a WD My Book Live network drive (http://www.wdc.com/en/products/products.aspx?id=280) on my LAN. I can SSH on the network drive which seems to run Debian: >> cat /etc/issue Debian ...
3
votes
1answer
975 views

Unattended upgrades doesn't upgrade (or does nothing at all)

I've been trying to make the package unattended-upgrades running under Debian GNU/Linux (7.0) with no success so far. The steps I have followed: Install unattended-upgrades Enable it sudo ...
0
votes
2answers
144 views

install package from debian backports pool

I want to upgrade my dovecote installation to version 2. I discovered the package here. I also already added deb http://backports.debian.org/debian-backports squeeze-backports main to my sources.list. ...
0
votes
1answer
551 views

apt-get proxy for specific repos?

Please bear with me, I've searched as best I can with no apparent solutions. I'm behind my companies firewall, we have a couple of proxy servers that we can use to get out onto the big wide internet. ...
2
votes
1answer
3k views

Chef Opscode apt cookbook - apt-get install returned 100, expected 0

I'm running Chef solo (version 11.4.0) on a clean VPS with Ubuntu 12 installed, and I'm having some problems with apt. The problem was that any package command raised an error: Chef::Exceptions::Exec ...
1
vote
0answers
62 views

Can't run any apt-get update without killing server

I have an ubuntu 12.04.2 that dies after I tried to do an upgrade on it. E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. So I run that and get the ...
0
votes
1answer
131 views

debsecan won't launch on debian wheezy

I've insalled the package debsecan in debian wheezy with 3.7.1 kernel. when I try to run it it gives me this output: error: while downloading ...
1
vote
2answers
363 views

Can't find the archive-keyring on amazon instance

Im relatively new to this so please bear with me .. Im running an amazon instance with ubuntu 11.10 and after performing apt-get upgrade everything with my package manager went haywire if i try ...
1
vote
1answer
146 views

apt-get upgrade will run on command line but not from cron bash script

Running the following commands on the command line works fine $sudo apt-get update $sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state ...
1
vote
2answers
164 views

Port forwarding, iptables apt-get not working

I'm currently setting up my server. I use proxmox which similar to vmware. Important thing to know is that i only have 1 external IP address. On my server, I forward port 80 and 443 to virtual host ...
2
votes
3answers
407 views

How to install packages with APT without user interaction?

I have a script that downloads and replaces kernel headers in Debian squeeze. function fixHeaders(){ #Replace the kernel headers from OVH with standard kernel headers... aptitude -y install ...
0
votes
2answers
142 views

Debian shell script to update server software

A lot of my server software is installed via apt-get and I was wondering if there is a small shell script I can get which will will update all of this software. Also do I need to restart my server ...
4
votes
4answers
4k views

How do I get apt-get to reinstall a package and run the set up scripts?

So I installed mailutils (apt-get install mailutils) and when I did a nice little setup screen popped up and started asking me questions. I guess I screwed up and cancelled out before I had all the ...
-4
votes
1answer
175 views

Replace yum with apt on CentOS 5? [closed]

I used to have apt available on my CentOS server, but I had to reinstall and now I have yum. I've searched on how to replace it with no results. If anyone could help, thanks! I am on CentOS 5.9, if ...
0
votes
1answer
459 views

ssh'ing via a proxy, but connect is not found

I installed debian from a business card cd iso (basically a very stripped down version of it). I am trying to ssh to a machine via a proxy (set up in my .ssh/config), but am receiving an error: ssh ...
3
votes
3answers
944 views

Prevent apt-check from eating all my memory

On Ubuntu 12.04 LTS, with server of 512MB RAM, the apt-check is using up to 250 memory and cause my system to un-usable every night, e.g. ps ax | grep apt 14895 ? DN 0:02 /usr/bin/python ...
0
votes
2answers
547 views

Cannot upgrade PostgreSQL on Ubuntu

When I run apt-get upgrade, I get the following error : dpkg: dependency problems prevent configuration of postgresql-9.1: postgresql-client-9.1 (9.1.7-0ubuntu12.04) breaks postgresql-9.1 (<< ...
3
votes
4answers
247 views

How to add package and its dependencies to my own apt repository

I'm setting up an apt repository to manage dependencies for servers that I build. I'm doing this because I want to be able to repeatably build the exact same server over and over again. There are ...
0
votes
1answer
732 views

Upgrading nginx-full 1.2.1 to nginx 1.2.6 from PPA on Ubuntu 12.10

I'm trying to upgrade nginx 1.2.1 to version 1.2.6 on ubuntu 12.10, but with no luck. I've previously installed nginx using apt-get install nginx-full because I needed the modules instead of building ...
0
votes
2answers
844 views

ufw blocking apt

I have the same Problem as described here, but the given solution doesnt work for me: ufw blocking apt and dns When I add the rule ufw deny out to any, and add the port 80, 443/tcp, ssh-port as ...
5
votes
1answer
112 views

Ubuntu to list relevant security advisories

If I want to find out what security updates there are on a redhat/centos server and the coresponding security advisory I can run this command: yum --security list-security That would include data ...
0
votes
1answer
364 views

Removing an ubuntu package with chef

An older version of a cookbook installed a package that I no longer want on my systems. My understanding is that chef doesn't have a straightforward way to explicitly remove a package, so I resorted ...
1
vote
3answers
158 views

How does aptitude determine what version of a package/application to install? i.e. Apache 2.2 vs 2.4

So I wasted several days dealing with a lame Apache2 bug that was fixed in Februry 2012. I couldn't figure out why I was experiencing the bug still until I discovered my version Apache2 was a 2.2.x ...
0
votes
2answers
68 views

Filesystem owner changed by mistake [closed]

I ran this command on my ubuntu server 12.04 by mistake: chown someuser / -R On RHEL it would be fixed by this command: rpm --setugids -a Is there anyway to fix it in ubuntu server?
0
votes
1answer
313 views

Problems upgrading to Python 3.3 and setting up Django [closed]

I'm new to Linux and am trying to set up Python / Django on my machine! I installed Python 3.3 from the source file and it was compiled into /usr/local/bin. Then I created a symbolic link between ...
0
votes
1answer
2k views

Where BIND9 saves its cache?

On Ubuntu 12.04 I installed BIND9 via apt-get install. I configure the server in a very simple way and it works in name resolution. Now I'm curious to read (if it's possible) its cache. Reading the ...
0
votes
1answer
429 views

Installing MySQL on Ubuntu 12 fails on a clean installation

I do have the problem, that even if I uninstall mysql completely and do a restart, it still doesn't install mysql. This is the error I get: Paketlisten werden gelesen... Fertig Abhängigkeitsbaum ...
4
votes
1answer
618 views

Why do signed deb packages say they're not authenticated when copied to my private deb repo?

Quick Version I have set up a private deb repository and copied some signed deb packages into it. I have installed the signing key locally. However when I try to install from the repo I get this ...
1
vote
2answers
204 views

How can I download a package and all of its dependencies with apt-get

I'm using Ubuntu 12.04 and I would like to use apt-get to download a package and all of it's depenedcies. Those packages will have to be installed on computers with no internet connection, so in ...