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
votes
1answer
48 views

Bash script to install packages and report to log file

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 ...
0
votes
0answers
10 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. ...
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
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 ...
-1
votes
0answers
9 views

Wrong version of pg_dump on Ubuntu

I originally installed postgres 9.3 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). ...
1
vote
1answer
53 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 ...
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 ...
1
vote
2answers
121 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 ...
0
votes
1answer
949 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 ...
3
votes
2answers
389 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
23 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
7k 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
21 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
17 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 ...
3
votes
1answer
784 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
2answers
34 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?
0
votes
0answers
31 views

can't install anything anymore with apt-get [duplicate]

Welcome this is the log I have when trying to install anything (php5-fpm after removing it) apt-get install php5-fpm Reading package lists... Done Building dependency tree Reading state ...
0
votes
0answers
21 views

package manager cannot create users? installation script fails?

It seems that when trying to install any package which requires the creation of a system User and Group, the installer fails with the error: install: invalid user 'username' When it happened the ...
1
vote
0answers
271 views

Ubuntu 12.04/14.04 - apt-get 404 Not Found [IP: local-dns-server-ip 80] through proxy

I am trying to setup an ubuntu server (12.04 or 14.04) and have installed the server image onto the system I am using. Everything works fine until I try to run sudo apt-get update. When this runs, I ...
1
vote
0answers
30 views

Ubuntu : apt-get command error

I work with Ubuntu 10.04 everyday. Several days ago, when I release command sudo apt-get install .... it run very good, no error. I also able to open websites with my browser with no proxy. But, ...
0
votes
1answer
781 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 ...
34
votes
3answers
8k views

How to remove the “installed manually” flag and revert to “automatically installed” with apt-get?

To compile something, I needed the zlib1g-dev package to be installed so I launched an apt-get install zlib1g-dev. apt-get informed me nicely that the package was already auto-installed because of ...
1
vote
0answers
45 views

Debian: how to install a 64 bit package using apt?

I am migrating my system to 64 bit and the debian wiki suggests to first debootstrap a 64bit into a directory, then collect all 64bit packages and install them but this doesn't work. To install 64bit ...
0
votes
0answers
18 views

Tell apt-get install to ignore a dependency [duplicate]

I have used Phusion Passenger's Ubuntu repositories to install nginx-extras and passenger on a clean Ubuntu14.04 server, which already had Ruby2.1.1 installed. It worked perfectly. This is how ...
1
vote
1answer
29 views

How to automate cleanup of config files from past pkgs as reported by “dpkg -l | grep ^rc”

There are a number of pkgs that weren't removed with "apt-get purge" and I would like to automate cleaning them up. You can't apt-get purge apache2.2-common because the pkg is already removed. You ...
0
votes
1answer
244 views

Running dist-upgrade fails on installation of 'startpar'

I'm trying to run dist-upgrade on Debian 6 but it fails on installation of startpar with: dpkg: considering deconfiguration of sysvinit-utils, which would be broken by installation of startpar ... ...
8
votes
2answers
20k views

How do I enable non-free packages on Debian?

How can I enable non-free packages on Debian? I want to install Sun's Java JDK but it's not available to me.
0
votes
1answer
82 views

apt-get not getting latest version on some servers

I've got Percona DB 5.6 on several Ubuntu 12.04 servers. On a few of them, I've been able to successfully upgrade to the latest version (5.6.17) using apt-get update apt-get upgrade On several ...
1
vote
1answer
35 views

Mirroring apt repository over ssh

We have a apt repository running to distribute upgrades for our software. The repository is accessed over ssh and a public key authentication: deb ssh://repo.server.com/dist stable As the download ...
3
votes
2answers
896 views

Automatically keep current version of config files when apt-get install

I need to automatically install a package with its config file already present on the server. I'm looking for something like : apt-get install --yes --force-yes --keep-current-confs mysql-server ...
2
votes
2answers
190 views

debian wheezy, heartbleed, openssl refuses to update

I am having a strange problem, my system is exposed to heartbleed, and I am trying to fix it by using: apt-get clean, apt-get update and apt-get upgrade openssl but the response is: Reading ...
0
votes
1answer
1k views

oneric-security apt source is missing?

On apt-get on a 11.10 machine i'm getting: W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/oneiric-security/main/source/Sources 404 Not Found [IP: 91.189.91.14 80] W: Failed to fetch ...
0
votes
0answers
17 views

apt/maven/npm checksum failure on amazon ec2

I'm recently encountering multiple download checksum failures when booting ec2 machine. This manifests itself with sporadic failures of apt, maven and npm installs. In one case that the pom checksum ...
1
vote
1answer
52 views

How to tell when apt-get upgrade or apt-get dist-upgrade was last run

Is there a clean way to detect when apt-get upgrade or apt-get dist-upgrade was last run on an Ubuntu Server? If there isn't a way to do this by default, where would be the best place to modify a ...
5
votes
2answers
134 views

Enforcing apt-get version continuity on Ubuntu

How do I make sure that when I run apt-get update, apt-get upgrade on 2 different servers at different times, that I will get the same packages? How do I autotmate/enforce this? The (simplified) use ...
0
votes
1answer
40 views

How to debug packages from repo not showing up in apt-cache?

I have created my own deb repo, and after I on the client did echo 'deb ftp://puppet.example.com ./' > /etc/apt/sources.list.d/puppet.list apt-get update apt-cache search puppet I don't see any ...
0
votes
1answer
27 views

Linux package management and security flaws

Is there a mechanism built into rpm or apt that will warn (or prevent) a user from installing a package contains a known security threat? I'm thinking of an RPM like ...
0
votes
1answer
101 views

How to check if an apt mirror has the version of package I required?

Let say I want to query if openssl, 1.0.1-4ubuntu5.12 is available in the mirror, e.g. deb http://security.ubuntu.com/ubuntu precise-security main restricted Any easy command I can check?
0
votes
0answers
41 views

reprepro remove reports “not found” but reprepro list shows the package

I'm trying to remove a package from a local debian repo. reprepro list shows it, but reprepro remove says it's not found. The file exists in the backup directory but not in the pool directory. I guess ...
5
votes
1answer
571 views

“apt-get source” cannot find package but “apt-get install” and “apt-get cache” can find it

I'm trying to download the source of a package but when I run root@proxy:~# apt-get source squid3 Reading package lists... Done Building dependency tree Reading state information... Done E: Can not ...
0
votes
0answers
109 views

403 AuthorizedOnly error when attempting apt-get upgrade on Ubuntu 12.04

For some reason, apt-get upgrade isn't working today. This is what I see when I try to upgrade : root@localhost:~# apt-get upgrade Reading package lists... Done Building dependency tree ...
0
votes
1answer
27 views

Apt pinning: upgrading a specific package

Today I have discovered apt pinning, it looked great and I've chosen to use it. However I am trying to install some package which need libc6 at a version higher than what is available at a stable ...
0
votes
2answers
247 views

Using puppet to ensure vagrant box is upgraded

I'm using puppet to provision a vagrant box (Ubuntu in this case). After initially starting the vagrant box (vagrant up), running apt-get upgrade will list several updates. I would like to run these ...
0
votes
0answers
53 views

installing from ubuntu ppa on debian including dependencies

I'm trying to install a stable latest version of couchdb on a Debian 7 server. Sadly for me the packages on the Debian repository are old (1.2) and i need 1.4 and up I've decided to try and use the ...
1
vote
1answer
33 views

Where are official Ubuntu PGP keys listed? [closed]

I've been trying to Google this, but so far nothing. Could anything point me to where Ubuntu lists their official PGP keys for packages?
0
votes
0answers
29 views

apt-get refuses to see that dependency is met

I've tried uninstalling and re-installing the packages below and I looked it up, but I can't find what causes this. user@linux-box:~$ sudo apt-get dselect-upgrade Reading package lists... Done ...
-1
votes
1answer
37 views

Why debian library packages have numbers in their name? [closed]

I was installing some dependency libraries using apt and I was just wondering why some debian library packages have number in their names. For example: libleveldb1 (while development package is ...