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)

4
votes
4answers
2k views

apt-get update mdadm scary warnings

Just ran an apt-get update on one of my dedicated servers to be left with a relatively scary warning: Processing triggers for initramfs-tools ... update-initramfs: Generating ...
0
votes
1answer
1k views

apt-get update can not connect

i run a dedicated ubuntu 10.04 server. i use kvm/libvirt/virsh to run a virtual machine that's also ubuntu 10.04. i bridged the network (1 of 2 IPs is routed via NAT to the LAN, where my VM ...
11
votes
3answers
252 views

How to install two packages that write the same file

Sirs, a conundrum. I have two packages that each create /usr/bin/ffprobe. One of them is ffmpeg from the Deb Multimedia repository, while the other is ffmbc 0.7-rc5 built from source. The hand-rolled ...
1
vote
0answers
15 views

Make apt ignore a single recommendation

I'm looking to install owncloud, which has this recommendation line: Recommends: curl, exim4 | mail-transport-agent, php5-imagick, php5-apc, libreoffice-writer I want to install all of the ...
-1
votes
1answer
21 views

debian LTS : how to keep packages up-to-date with last security fixes using apt

What's the best way to keep packages up-to-date (ie with the last security fixes) without worried about major version update ? For instance, apache2 for squeezeis is 2.2.16 ...
0
votes
1answer
16 views

Error when reinstalling apache2

I did an dist-upgrade on Debian Wheezy yesterday and got an error with syslog-nc-core. I found that i should try to reinstall it and tried but it ended with an error that apache2 isnt configured. I ...
1
vote
1answer
14 views

Ubuntu: package installed, but files missing? [duplicate]

I have been playing around with the /etc/asterisk directory, installing the related pacakge (asterisk-config), removing it, removing the directory manually (just playing around to get the ...
0
votes
0answers
17 views

Broken apt trying to install Cassandra

While trying to install Cassandra on Ubuntu 13.10, the installation crashed and now I'm stuck with broken (?) apt-get. Here is the output of an apt-get install -f: Reading package lists... Done ...
0
votes
0answers
24 views

Prevent APT from overwriting custom files

My server runs a Java application that requires I replace a few java library files with ones I downloaded on my own. This has to do with JCE security extensions and isn't really relevant to my ...
3
votes
2answers
884 views

I get a Segmentation fault when doing apt-get util-linux

I've found that a lot of upgrade commands and Apache on my system are failing with Segmentation faults. I don't know if this is the main one, but a lot of packages depend on util-linux: ...
0
votes
1answer
25 views

Renaming debian package

I'm trying to build a customized version of a nginx package for Debian/Ubuntu which had a different set of modules opposed to the default version. What would be the fastest way to modify the debian/ ...
5
votes
2answers
2k views

Caching proxy for yum and debian repositories

Does a caching proxy for yum exist, similar to approx for Debian repositories? Is there a way to have reprepro behave the same as approx? I have heard that approx was not as stable; besides, I would ...
-1
votes
0answers
18 views

How to clone a debian or ubuntu system? [duplicate]

I would like some way to exactly duplicate what is installed on one debian system, onto another, regardless of the target system's state, using the package manager. This includes: installing the same ...
1
vote
1answer
25 views

ubuntu 12.04 apt-get purge php5 doesn't seem to remove php5

I recently made the mistake of upgrading to php5.5 without reading more up on it. It obviously broke my install of apache2.2. I'm in the process of trying to downgrade back to php5.3 or preferable ...
3
votes
3answers
2k views

Vagrant/VirtualBox can't resolve some domains from w/in VM

Just trying out VirtualBox & Vagrant and my initial lucid64 VM can't resolve us.archive.ubuntu.com but can resolve security.ubuntu.com, google.com and www.apple.com (but not apple.com w/out the ...
0
votes
1answer
12 views

Install one package from Debian sid on Debian Wheezy?

I need the python-statsd which is only in Debian (sid). What are the steps to install this package under Debian Wheezy please ?
0
votes
1answer
572 views

Dependency issue installing libpq-dev on Ubuntu 11.10

I'm trying to install libpq-dev (PostgreSQL library) on Ubuntu 11.10. When I run apt-get I get the following: The following packages have unmet dependencies. libpq-dev : Depends: libkrb5-dev but it ...
1
vote
1answer
18 views

Segmentation fault during apt-get install

$ apt-get install openssh-server fails with Segmentation fault when it attempts to generate keys. This leaves me with a half-complete installation, but the binaries are in place. I also notice that ...
2
votes
2answers
1k 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 ...
0
votes
1answer
24 views

Command to auto-update apt sources.list in Debian

Is there a command in Debian that I can run that will update my sources.list file to the best possible servers? I maintain a number of Debian servers, and I've found one of the mirrors has gone ...
0
votes
1answer
16 views

Export apt package list for reuse (debian)

Is it possible to export a list of packages from a (Debian) server, so I can reuse this list and simply hit apt-get install <exported_package_list> on a different server? Can I also pipe a ...
0
votes
0answers
18 views

Debian 7.1 An attempt to commit /etc changes to git failed

I'm running Debian 7.1 edu which install also a LTSP server (fat client). When I try to install/remove any package in chrooted client installation (under /opt/ltsp/i38&) I got the error: An ...
7
votes
5answers
3k views

Using a self-signed SSL cert for an HTTPS-based internal APT repository

I've set up a Debian repository (Ubuntu actually) for internal use with some private packages, and now want to make it available over the web to some specific servers. I would like apt-get / aptitude ...
1
vote
3answers
2k views

How do I check to see if an apt lock file is locked?

I am writing a script to do some apt commands, but I am running into potential issues of the apt/dpkg databases being locked so my script bails. I want to check the lock files (i.e. ...
-6
votes
1answer
57 views

Get rid of the ubuntu thing that suggests what packages you should install [closed]

I'm finding myself in the unfortunate place of using Ubuntu as a server OS and its tendency to suggest what packages I should install and how to install them when a program I enter in the shell isn't ...
2
votes
9answers
10k views

How to configure iptables to use apt-get in a server?

I'm starting using iptables (newbie) to protect a linux server (specifically Debian 5.0). Before I configure the iptables settings, I can use apt-get without a problem. But after I configure the ...
0
votes
0answers
28 views

Debian 6: apt-get gets packages from stable?

I recently started working on a website project for a company that has their own server setup. It's a Debian system, and after a while I noticed ntp wasn't installed and the server was losing time. ...
0
votes
1answer
3k views

Fatal: module iscsi_trgt not found — trying to get my iscsi target to run on debian

Sorry about the formatting below... Linux Microknoppix 2.6.39.3 #21 SMP PREEMPT Sat Jul 23 09:48:39 CEST 2011 i686 GNU/Linux modprobe iscsi_trgt results in FATAL: Module iscsi_trgt not ...
0
votes
1answer
22 views

Apt-dater: Keep specific packages from updating

I am using Apt-dater to manage updating of Ubuntu servers. I have some packages that cannot be updated but want to still update everything else on those servers. I wonder if Apt-dater supports this. ...
0
votes
1answer
18 views

Notifying apt module “apt_update” from custom puppet module

I'm trying to configure APT to not install recommended packages. I'm using puppetforge puppetlabs/apt module so I wish to notify the Exec['apt_update'] resource from that module. I'm using this: ...
0
votes
1answer
49 views

How to use specific apt repository

I'm trying to install imagemagick package from my own repository. Here is my step-by-step: I created apt repository using reprepro utility with conf: Origin: custom-repo.s3.amazonaws.com Label: ...
0
votes
4answers
3k views

How to Undo apt-get remove?

I know it is funny situation but i removed python with all associated programs from Ubuntu using sudo apt-get remove python? Obviously i can install back python, but it will take me a lot of time to ...
0
votes
2answers
103 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). ...
0
votes
1answer
315 views

My Debian apt-get doesn't have search function, why?

I have used some version of apt-get that had apt-get search jetty, that would return list of all packages that contain word jetty. But when I type apt-get I get following list of commands: apt ...
0
votes
1answer
60 views

stop an apt-get upgrade

I was trying to upgrade just a single package, so I typed sudo apt-get upgrade packagename. (Now I know I'm supposed to use apt-get install for that.) Now apt-get is upgrading everything in my whole ...
4
votes
3answers
643 views

What tools are there to create and manage an apt repository?

I'm currently in charge of packaging for Ubuntu some software my company creates and creating an apt repository for it. However, I'm having trouble finding tools to create and manage the repository ...
-3
votes
1answer
19 views

Is there anyway to specify the version of kernel update with apt-get? Debian 7 [closed]

Is possible to select the version of Kernel I need in apt-get? Actually, I need to update it but I had lot of configurations problems with 3.2. Or the only way is compiling the kernel? Thank you
-2
votes
1answer
108 views

Bash script to install packages and report to log file [closed]

I want to be able to log result of running bash script to file. Script itself is pretty simple, its used to install basic packages on fresh install machines and it scheme looks like this sudo apt-get ...
4
votes
3answers
1k 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 => ...
4
votes
3answers
7k views

How to install nginx and install the configuration files too

I've just completely uninstalled nginx 1.0.6 from my server (Ubuntu 11.04) using apt-get remove nginx rm -rf /etc/nginx/ rm -rf /usr/sbin/nginx rm /usr/share/man/man1/nginx.1.gz apt-get remove ...
1
vote
1answer
159 views

apt-get on aws won't install zip

I'm running Ubuntu 12.10 (GNU/Linux 3.5.0-21-generic i686) on AWS. When I try and install unzip I get the following errors: sudo apt-get install unzip Reading package lists... Done Building ...
1
vote
2answers
400 views

Ubuntu Trusty on EC2 - apt-upgrade with 403 forbidden

When I run apt-get upgrade, I'm getting this error: 1 upgraded, 0 newly installed, 0 to remove and 73 not upgraded. Need to get 413 kB of archives. After this operation, 0 B of additional disk space ...
3
votes
2answers
447 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 ...
1
vote
1answer
54 views

apt warnings with HP SDR/MCP repo on Ubuntu

I'm using the HP SDR system (MCP specifically) for Linux packages to manage the HP hardware RAID, iLo, etc. The kernel drivers for the hardware are upstream, so these are just management utilities. ...
6
votes
3answers
8k views

dpkg: warning: files list file for package 'x' missing

I get this warning for several packages every time I install any package or perform apt-get upgrade. Not sure what is causing it; it's a fresh Debian install on my OpenVZ server and I haven't changed ...
0
votes
1answer
94 views

phpmyadmin have unmet dependencies

I use debian 6.0.6, before I install phpmyadmin, I install this: apt-get update && apt-get -y install apache2 apache2-doc autoconf automake \ bison ca-certificates ethtool flex g++ gcc ...
6
votes
5answers
1k views

Cannot create Java VM on OpenVZ

I'm constantly encountering an error related to Java and certificates on my Ubuntu server running in OpenVZ when installing things from apt-get. I'm pretty sure it has to do with how Java allocates ...
0
votes
2answers
23 views

updating, upgrading debian linux server except a package

I was looking for a command line to update/upgrade my VPS with the exception of the web server software. I have Nginx v.1.4.7 on my VPS and don't want it to get updated/upgraded when I run any ...
0
votes
2answers
46 views

How to install package from aptitude which requires another package manually installed?

Imagine situation when you install for example openssl package like this (manually): wget http://openssl.org/source/openssl-1.0.1h.tar.gz tar -xvf openssl-1.0.1h.tar.gz cd openssl-1.0.1h ./config ...
1
vote
4answers
5k 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?