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
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
1k 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
198 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
738 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
64 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
166 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
454 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
177 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
196 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
537 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
156 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 ...
5
votes
4answers
6k 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
184 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
590 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
1k 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
646 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
261 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
823 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
1k 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
122 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
440 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
175 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
71 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
329 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 ...
1
vote
1answer
4k 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
487 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 ...
5
votes
1answer
660 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
223 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 ...
0
votes
1answer
2k views

How to install apt-get on a busybox embedded system?

My embedded system is for sh4 CPU. The debian distribution may get on http://www.si-linux.co.jp/pub/debian-sh/lenny-sh4/ I get the apt*.deb and extract the data.tar.gz. After setup the ...
3
votes
2answers
313 views

PSQL 64bit driver error

I have an Ubuntu 12.04 64bit server setup under Hyper-V. I have installed Pervasive 64bit SQL drivers so that a stock-updater script can run daily (Updates external MySQL database from another local ...
3
votes
1answer
765 views

apt-get upgrade to exclude some updates

I want to exclude some package(s) when choosing to apt-get upgrade. I'm thinking an edit to source.list probably? For example, maybe a package that updates often with minor point releases, or minor ...
3
votes
1answer
324 views

Check for updates of a specific Debian package list

The setup I run a Debian Squeeze host that I use to build a multilanguage project (python, java, php...) and generate custom packages (debian and RPM) automatically (through jenkins) The problem ...
2
votes
3answers
346 views

Use apt-get source on a debian repo without using /etc/apt/source.list

I'm trying to use apt-get source as a regular user on a debian squeeze system. I want to retrieve the sources for cyrus-imapd-2.4 from the testing/wheezy repository. apt-get source works without ...
2
votes
2answers
66 views

Differences between “apache”'s installations

Using Ubuntu 12.04, are there any differences between installing Apache httpd using sudo apt-get install apache2 (as the guide of Ubuntu says - https://help.ubuntu.com/12.04/serverguide/httpd.html ) ...
1
vote
1answer
1k views

Debian keyring error: “No keyring installed”

I have a Debian Squeeze EC2 AMI. On booting up an instance with it and trying to install packages with apt-get I get errors saying there is no keyring installed. Here is the error with apt-get update: ...
-2
votes
1answer
265 views

Confusing message getting php5 source [closed]

I got the following message on my Turnkey linux machine while trying to get the source code for my current version of PHP5: root@lamp:~# apt-get source php5 Reading package lists... Done Building ...
3
votes
1answer
372 views

Permission Mystery - apt-get and other system utilities have 000 permissions

I'm trying to track down this strange behavoir for years now. Always after installing software-updates the permissions of a lot of system-tools are broken as you can see below. I am reasonable ...
3
votes
3answers
2k views

Debian - “WARNING: untrusted versions of the following packages will be installed!”

When i try to install or update any packages I get: Untrusted packages could compromise your system's security. You should only proceed with the installation if you are certain that this is what you ...
1
vote
1answer
1k views

issues installing with apt-get on fresh install

Fresh server install of 12.04 ubuntu 64BIT. Any ideas as to why this is not working? root@ubuntu:~# sudo apt-get install kvm libvirt-bin Reading package lists... Done Building dependency tree Reading ...
1
vote
3answers
478 views

Upgrade to the latest php by aptitude

I'm install php5 by aptitude, but php release the new version and recommend we upgrade. But I unwant to compile the new version by myself. How to upgrade the php to the newest version by aptitude?
0
votes
1answer
737 views

apt-get update directly after boot results in many Ign and Hit, resulting in 'no installation candidate' errors

I'm experiencing a strange issue with a fabric script I'm using to bootstrap a server on EC2. I launch a stock Ubuntu 12.04 AMI (ami-3d4ff254), wait for it to start, then proceed with: with ...
4
votes
3answers
2k views

php5-gd shows in “php -i | grep -i gd” but not in phpinfo();

I am trying to enable GD in my installation of Apache2, PHP5 and MySQL on my Ubuntu server. I installed php5-gd with: apt-get install php5-gd And when I run php -i I get: gd GD Support => ...
1
vote
1answer
458 views

apt-get sub-process returned an error code (1)

I recently removed apache2 from my linode ubuntu server with: apt-get --purge remove apache2 Then tried to install it again (apt-get install apache2). But since then, I can't use apt-get anymore, I ...
0
votes
1answer
83 views

Install from backport with apt fail

So little question, I've got this: redis-server: Installed: 2:1.2.6-1 Candidate: 2:1.2.6-1 Version table: 2:2.4.15-1~bpo60+2 0 100 http://backports.debian.org/debian-backports/ ...
3
votes
1answer
319 views

nginx 1.2.3 installed but remains at 1.1.19

I've installed nginx 1.2.3 by adding a new ppa sudo add-apt-repository ppa:nginx/stable sudo apt-get update sudo apt-get install nginx However, nginx -v still gives me 1.1.19. What happened? ...
5
votes
2answers
1k views

How to version lock packages in Ubuntu? [duplicate]

On CentOS exists the yum versionlock option, where you can lock a package to a specific version, so it is never upgraded past that. I would like that puppet-server-2.7.19-1 puppet-2.7.19-1 stays ...
2
votes
2answers
2k views

Pull php5 from DotDeb and ignore others packages

I have Debian squeeze installed and this is my /etc/apt/sources.list file: # Debian packages for stable deb http://ftp.lug.ro/debian/ stable main contrib non-free # Security updates for stable deb ...
0
votes
1answer
1k views

Debian apt dependency mismatch (libc6)

Earlier, I tried to install package via apt-get (cython), but it failed with the Errors were encountered while processing: message, and since then, apt is refusing to install anything. apt-get check ...
2
votes
1answer
328 views

how to get the list of packages present in apt-get autoremove

I know I have some packages ready to be removed if I run apt-get autoremove, but I just want to know which they are, without removing them. How can I list what would be removed without removing them? ...