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)

2
votes
2answers
116 views

Maintain a nice, informative documentation by hooking into the APT system?

Ideally I would like something which: Allowed me to write a reason for installation of a package or a set of packages. Kept track of all changes the installed package made to my system. I would like ...
2
votes
3answers
3k 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 ...
2
votes
5answers
3k views

apt-get, aptitude package version

How can I find out package versions available from repositories?
2
votes
4answers
9k views

apt-get commands pausing at 'Waiting for headers'

I have a VM running Ubuntu Server 9.10 running a basic web server setup. Whenever I run an apt function it will pause for around 1 minute at 'Waiting for headers...'. It will eventually clear through ...
2
votes
1answer
2k 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 ...
2
votes
4answers
949 views

Should I update the kernel on a Linux machine?

As I understand it, updating to a new kernel (with the normal linux-image... package, not by rolling my own) requires a server restart. However, one of our servers (Ubuntu 10.04) is running several ...
2
votes
2answers
216 views

Aptitude / apt-get. Any way to only show non-X dependant apps in a search?

It just occured to me that it would be good to do an 'aptitude search blah' and only have non-graphical applications shown. I know it's not a biggy but the docs don't seem to mention it and I would ...
2
votes
3answers
592 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
4answers
7k views

How do I install the latest version of Sphinx Seach in Apt-get?

When I do "sudo apt-get install sphinxsearch", I get version 0.9. I want the latest stable version (which is 2.4, I believe) How can I do that using aptitude?
2
votes
1answer
11k views

apt-get duplicate sources.list entry for google-chrome (Ubuntu 11.10)

I am running Ubuntu 11.10. This is the only line in my /etc/apt/sources.list with the text "google" or "chrome" in it: deb http://dl.google.com/linux/chrome/deb/ stable main Sometimes (not always) ...
2
votes
1answer
1k 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 ...
2
votes
3answers
2k views

Apt fails to get sources due compression

My Debian server (3.2.60-1+deb7u3 x86_64) fails to fetch updates from security.debian.org. I think it is caused by repository, because there are only compressed files on the repository. How can I fix ...
2
votes
2answers
3k views

Wrong version of pg_dump on Ubuntu

I originally installed postgres 9.2 on Ubuntu and later upgraded to 9.3 according to the instructions here: http://www.postgresql.org/download/linux/ubuntu/ (using the postgres apt repository). ...
2
votes
1answer
3k 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 ...
2
votes
1answer
7k 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 ...
2
votes
1answer
571 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? ...
2
votes
1answer
1k views

apt-get update 404

apt-get update yields a 404 error. I'm using the default mirrors for for Ubuntu 9.10. That version hasn't reached end of life yet so I don't see why this would be happening.
2
votes
5answers
1k views

apt-get install not working in script

I create a small script that installs a set of linux paquets . Strangely apt-get install always fails and tells me that the package have not been found. Here is my script: #! /bin/bash sudo apt-get ...
2
votes
1answer
2k views

How to tell apt-get to ignore unmet dependencies forever?

I use lighttpd instead of apache, but all the packages in the debian repositories are so keen on installing apache when I install a web based package. So I installed gitweb with apt-get, telling it to ...
2
votes
4answers
3k views

SSL connection hangs as client hello (curl, openssl client, apt-get, wget, everything)

I've run into a problem on my Debian VPS (a xen domU) regarding SSL. Namely almost all SSL connections hangs at client hello. For example: # curl -vI https://graph.facebook.com About to connect() ...
2
votes
3answers
396 views

Can I mix yum and apt-get safely?

I understand that yum and apt-get operate on top of rpm, so that the data about installed packages in a linux system is responsability of rpm; so that neither yum nor apt-get keep their own data about ...
2
votes
1answer
293 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... ...
2
votes
1answer
517 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 ...
2
votes
1answer
209 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 ...
2
votes
2answers
2k views

Where to find URLs for sources.list for debian for running apt-get update?

Can anyone tell me where to find URLs to put in /etc/apt/sources.list for debian so that I could run apt-get update? I couldn't find the precise answer by searching Google. When I currently try ...
2
votes
3answers
1k views

Why doesn't the installation of the mysql-server package create a root account?

It's not the Why? that matters. It's the How can I do it myself? I'm using Ubuntu 10.04 LTS Server. I just want to install a MySQL server, but for some reason it wont let me. When I run apt-get ...
2
votes
2answers
121 views

Is there a way to add a ppa using the python apt module?

I need to add a ppa to remote servers using a python script. The bash equivalent of what I want to do is: $ add-apt-repository ppa:user/ppa-name I'm assuming it would look something like this: ...
2
votes
1answer
204 views

Debian aptitude: determine which repository a package is coming from? [closed]

In Aptitude, how can I tell where a package is coming from? I've set up my apt sources.list and preferences files for pinning, but I just want to make sure I'm not unknowingly upgrading to packages ...
2
votes
1answer
102 views

uninstall extras installed by apt-get install

I ran apt-get install gnome-terminal and apt-get install gnome-desktop on my linux box. It was just a command line box before that. Both of these things had like around 100mb of files to install - I ...
2
votes
3answers
777 views

Upgrade from Debian Lenny to Squeeze with apt-get

I just upgraded my system from Lenny to Squeeze following the steps posted here. I followed all the steps using apt-get (in the upgrade from Etch to Lenny i used aptitude as suggested) and the upgrade ...
2
votes
2answers
898 views

/etc/cron.daily/apt: Segmentation fault

I have a system that I set up with Maverick and the "automatically apply security updates" setting. It is now sending e-mail on a daily basis: Subject: Anacron job 'cron.daily' on gwen ...
2
votes
2answers
1k 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: $ ...
2
votes
1answer
314 views

How to 'apt-get upgrade' a debootstraped chroot jail from outside?

I have a daemon running in a chroot jail that I have generated with debootstrap. I'd like to remove apt and dpkg from the jail, but I want to keep the other packages updated. Can I upgrade the ...
2
votes
1answer
4k views

Ubuntu 12.04 LTS - apt-get update can't find sources

Update: Running sudo rm /var/lib/apt/lists/partial/* temporarily allows sudo apt-get update to work. Original: I've seen answers to similar questions like this one, but the answers have been 'your ...
2
votes
1answer
180 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 ...
2
votes
1answer
340 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
2answers
3k 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 ...
2
votes
2answers
4k views

apt-get purge portmap

i had rpc.statd open on port 111 on a relatively fresh install of debian squeeze. i did an apt-get purge portmap as i wanted to disable rpc services and close the open port on my box; i was presented ...
2
votes
2answers
997 views

apt-get update getting 400 URI Failure message

I have setup my ubuntu vps recently, but suddenly I keep getting this error message when I try to do apt-get update E: Method gave invalid 400 URI Failure message I have try to comment out 2 by ...
2
votes
1answer
455 views

What does “Provides:” mean in the output of apt-cache showpkg?

man apt-cache has this to say on the matter: showpkg displays information about the packages listed on the command line. Remaining arguments are package names. The available versions and reverse ...
2
votes
1answer
26 views

Virtuell Packages keept back when updating

the one or other might have seen this message when working with apt: The following packages have been kept back: some-package The usual solution to this problem is to manually install the ...
2
votes
2answers
2k views

dist-upgrade to squeeze wants to remove apt

why does dist-upgrade to squeeze want to remove apt and how can I fix it? $ sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done ...
2
votes
1answer
102 views

Why can I not find kernel-image

I'm attempting to remotly install Debian Etch on a CentOS system using the tutorial here, when I get to the steps: apt-cache search kernel-image ... apt-get -y install kernel-image-2.6-686 apt is ...
2
votes
1answer
2k views

apt sources.list ssh:// with custom port

I've setup my own repository which I want to use SSH as the protocol. I managed to get everything working with an SSH key using port 22. Now, I would like to change the SSH port. I've already changed ...
2
votes
1answer
155 views

How to get notified by installed/removed packages from dpkg/apt/aptitude?

I'm writing a Python system script and I need to be notified when a program gets installed/upgraded/removed. First of all, I thought to interface my application to an apt-dbus daemon. Unluckily I've ...
2
votes
1answer
9k views

How to force debian linux apt-get installer to install unstable/specific version of packages?

I want to force the install system on debian linux, apt-get, to install unstable (i.e. a later version) of a package, later than the stable one recognised by the debian package maintainer. This ...
2
votes
2answers
2k views

apt-mirror does not mirror the i18n directory

I need to setup a local Ubuntu mirror so the whole network doesn't need to hit remote servers in order to update and install new packages. Following a brief tutorial found here, I managed to get a ...
2
votes
1answer
1k views

Apt-get and aptitude not working in Ubuntu 9.04 KVM environment

I don't seem to get apt to work on a KVM in a Ubuntu 9.04 box. The virtual machine is an Ubuntu server. Network does seem to work (I can ping and attempt ssh connections, for instance), but running ...
2
votes
1answer
41 views

After upgrade to Ubuntu 14.04.3 LTS, MOTD always says 0 new packages can be updated

I'm not a server expert and so I'm experiencing some upgrade issues with Ubuntu. A little history: my Digital Ocean droplet was running Ubuntu 12.04 LTS, then a few months ago I upgraded to a newer ...
2
votes
2answers
2k 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 ...