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)

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

t1lib-dev on Ubuntu 14.10

I used to be able to install t1lib with apt-get install t1lib-dev. Ubuntu websites says they still have it but I just can't install it. Even when I compile PHP I get this: configure: error: Your ...
1
vote
2answers
608 views

How to configure apticron to just report security / critical updates?

We're going to try out apticron, but we don't want to know about every package that could be updated -- only the security / critical updates. How do we configure apticron to do this? PS -- yes, we ...
34
votes
4answers
28k views

How do you use apt-get to only install critical security updates on ubuntu?

How do you use apt-get to only install critical security updates on ubuntu? We'd like to only upgrade packages that need to be upgraded for security reasons, without upgrading all other packages.
0
votes
2answers
897 views

APT FATAL -> Failed to fork

I saw a lot of questions regarding this, but mine seems a little different. Here's what I receive: /etc/cron.weekly/apt-xapian-index: FATAL -> Failed to fork. run-parts: ...
0
votes
1answer
23 views

apt-get install -t testing appX VS apt-get install appX/testing

I've been trying to understand the difference between these two commands and noticed that I get different results. apt-get install -t testing appX apt-get install appX/testing Background I setup ...
3
votes
2answers
2k 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 ...
13
votes
2answers
4k views

Automate the installation of postfix on Ubuntu

My system configuration script does an "apt-get install -y postfix". Unfortunately the script is halted when the postfix installer displays a configuration screen. Is there a method to force postfix ...
1
vote
0answers
36 views

Why won't my libvirt VM communicate with apt repositories when wget and ping work?

I'm trying to use Vagrant and Puppet to make it easier to duplicate a multi-server setup for our websites. The recommended workflow is to vagrant up the puppetmaster server specifically first, and ...
8
votes
4answers
10k 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 ...
1
vote
2answers
1k views

apt-get : trying to resolve ipv6

My problem is that when I do an apt-get update is trying to resolve ipv6 ips, and its failing to update/install/etc. How to disable ipv6 at apt-get? The ping to www.google.com.ar, resolves to an ...
4
votes
1answer
28 views

Puppet: How to skip restart during package upgrade until config is replaced?

I'm trying to get Puppet to upgrade our Varnish 3 servers to Varnish 4, a major update which requires an updated config file or it won't start. This is on Ubuntu 12.04. The Varnish module is ...
3
votes
4answers
3k views

How to get a list of security updates on the command line in Debian/Ubuntu

In the GUI tool you can get a list packages with security updates. Can this be done on the command line in Debian or Ubuntu? Normally I might use "apt-get upgrade" which would show me what is being ...
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 ...
1
vote
0answers
57 views

Ubuntu upgrade PHP not working anymore and nor error log

I made a apt-get update, followed by a apt-get upgrade on my Ubuntu (Homestead VM). Since then I can't access my PHP app anymore. I've tried accessing a txt file from my application and this works ...
0
votes
2answers
1k views

How to install Percona Server on Ubuntu 9.10 Karmic?

I followed the instructions on this page: ~$ gpg --keyserver hkp://keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A gpg: requesting key CD2EFD2A from hkp server keys.gnupg.net gpg: key CD2EFD2A: public ...
3
votes
2answers
4k views

APT: Public Key is missing? How to fix?

I updated my sources.list with deb http://repo.percona.com/apt squeeze main deb-src http://repo.percona.com/apt squeeze main And called gpg --keyserver subkeys.pgp.net --recv-keys ...
-1
votes
0answers
8 views

Debian: escape spaces in APT pin [migrated]

I'm running Debian Wheezy on a Raspberry Pi and want to have both the Raspbian repo at http://mirrordirector.raspbian.org/raspbian/ (for the OS) and the RPi Foundation repo at ...
3
votes
2answers
1k 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: ...
3
votes
4answers
8k views

Is adding the Debian repository to my apt source.list dangerous on Ubuntu? [closed]

I'm trying to install a package from a Debian repository. I am trying to install manually with dpkg errors because of missing or incomplete dependencies. This got me wondering, is it a mistake to just ...
15
votes
2answers
6k views

dpkg-reconfigure: unable to re-open stdin: No file or directory

I am building a provisioning script for a ubuntu vagrant vm, on a ubuntu host, both 12.10 64bit When installing the following packages: sudo apt-get -y install php5-xsl graphviz php-pear unison I ...
0
votes
2answers
57 views

upgrading php 5.3.6 to 5.5 in ubuntu 12.04 LTS requires removing mysql?

I'm trying to upgrade php to latest version (5.5) my current php version is 5.3.6 bundled with ubuntu 12.04 LTS. The problem is I do not want to upgrade anything else just php but although I ...
-1
votes
5answers
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 ...
1
vote
0answers
32 views

Build a repository with apt-mirror for ubuntu with changelogs

is it possible to create an internal mirror of the ubuntu update repository with apt-mirror including all the changelogs. I have the following output when i ask for the changelog of a package: ...
4
votes
4answers
8k 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
99 views

“apt-get -y upgrade” in cron task runs but does not upgrade the system

This server runs Debian 7 and I'm facing a big mystery. Here are my cron tasks: $ sudo crontab -e 42 15 * * * apt-get -y update >> /var/log/my-apt-update.txt 52 15 * * * apt-get -y upgrade ...
0
votes
3answers
63 views

What does -qq argument for apt-get mean?

I just received a Vagrantfile and post install bash script. The vagrantfile downloads standard Ubuntu from Ubuntu Cloud but I found something in the bash script. Few lines of script reads as: ...
3
votes
1answer
124 views

Running apt-get autoremove with ansible

I maintain a flock of EC2 servers with ansible. The servers are regularly updates and upgraded using the apt module. When I manually tried to upgrade a server, I received the following message: $ ...
0
votes
0answers
56 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 ...
0
votes
1answer
74 views

Duplicate sources.list during apt-get update

I wanted to install PostGIS on my server which already have a PostgreSQL installed. I followed this PostGIS installation manual. I inputted this script: sudo sh -c 'echo "deb ...
1
vote
1answer
819 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 ...
0
votes
0answers
20 views

Compare package versions of different debian releases

I installed a server using debian-testing (jessie). Well, I regret it. They already broke the complete system twice because systemd suddenly required additional kernel features. And I don't want to ...
1
vote
1answer
59 views

How to run “apt-get” in chroot from systemrescuecd?

I boot with systemrescuecd 4.3.1, and run like below. $ mkdir /tmp/os $ mount /dev/sda1 /tmp/os $ mount -o bind /sys /tmp/os/sys $ mount -o bind /dev /tmp/os/dev $ mount -o bind /proc /tmp/os/proc $ ...
0
votes
1answer
99 views

Ubuntu Server 12.04: apt-get won't install vsftpd (Package is not available, but is referred by another)

When I try to install VSFTPD to my Ubuntu Server 12.04 instance by the following command: sudo apt-get install vsftpd I get the following error: Package vsftpd is not available, but is referred by ...
-1
votes
1answer
62 views

Problems with apt-get on Ubuntu

I'm seeing the following issue on Ubuntu 14.04 when I run sudo apt-get install oracle-java7-installer: + sudo apt-get -y install oracle-java7-installer Reading package lists... Building ...
1
vote
1answer
51 views

pt-get unable to resolve unmet dependency libserf-1-1 on Ubuntu 14.04

I am having troubles when trying to update my system after it told me there was some available updates... I first ran the following command without any problem : sudo apt-get update Then I tried ...
0
votes
0answers
314 views

apt-get fails with unmet dependencies

I have a server running Ubuntu 12.04 on AWS and I can no longer install anything on apt-get because I get this error: The following packages have unmet dependencies: mysql-server-5.5 : Depends: ...
-2
votes
2answers
65 views

Can I update Ubuntu with active users logged in? [closed]

I would like to run apt-get dist-upgrade, but I don't know how this will affect the currently logged in users. How can I find out: 1. will a restart be required 2. will the system be ...
0
votes
1answer
1k views

“php5-fpm: unrecognized service” and other issues after reverting from PPA

Added a repository so that I could move from PHP 5.3 to 5.5 easily in Ubuntu 12.04.3 LTS. After adding the PPA and following most of the suggestions here http://askubuntu.com/a/109544 it seemed that ...
0
votes
2answers
62 views

Previous Version of mySQL on apt-get

I'm trying to download a previous version of mysql-server (5.5.28-0ubuntu0.12.04.2) using apt-get, but I can't seem to find the source list with the version that I want. I've done apt-get update to ...
0
votes
1answer
57 views

PHP from repository, upgrade to 5.5

On my Debian VPS I have installed PHP 5.4 from debian wheezy repository. Now I would like to upgrade PHP to 5.5, but I would like to still be able to continue upgrades by apt-get. Is it good way to do ...
2
votes
2answers
207 views

Cannot install puppet because of unmet dependencies

I'm trying to install puppet on a fresh ubuntu 14.04 machine but I get the following error Some packages could not be installed. This may mean that you have requested an impossible situation or ...
0
votes
2answers
303 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 ...
0
votes
2answers
18 views

How to create a local apt package proxy?

I'm deploying many many clusters on AWS. In order to ensure uninterrupted deployment of new instances, I'd like to maintain a local apt proxy that keeps a cache of packages. I should be able sync ...
1
vote
1answer
62 views

How to install specific version of sphinx via apt-get on Ubuntu precise?

I want to install a specific version of sphinx on my Ubuntu 12.04 LTS server. I'm using Chef but I think that's incidental to my question. I know generally one can do: apt-get install ...
0
votes
4answers
144 views

Unable to install software using apt-get in Ubuntu Server

I'm trying to install some software in my Ubuntu Server 12.04 installation, but whenever I try to install it using apt-get or aptitude, I would usually get an error message like this: E: unable to ...
0
votes
0answers
28 views

Securely restrict access to a private Debian repository *without* giving shell access

Is there any way to securely give access to a Debian repository, without also giving shell access? I do not want passwords passed in clear text, so the ftp and http transports are not adequate. My ...
1
vote
1answer
2k views

Installed libssh2-php but no ssh2 with php -m

I use php 5.5.3 on a Ubuntu 13.10 server and want to use ssh2 with php. So I installed libssh2-php with this command: apt-get install libssh2-php Installation runs without error. I got a ssh2.ini ...
1
vote
0answers
99 views

Failed to install Nginx from nginx.org, Debian apt preferences messed up?

I'm trying to install Nginx from the latest release on nginx.org However, the latest package is not picked up: $ apt-get install nginx Reading package lists... Done Building dependency tree ...
0
votes
1answer
92 views

apt-get don't support https and can't install the necessery package to do it

On Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 I'm using Ansible (software to manage and configure machines) to install Passenger and copy the sources.list from another machine. To ...