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
1answer
25 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 ...
0
votes
0answers
50 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 ...
-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 ...
0
votes
1answer
18 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 ...
0
votes
2answers
44 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
vote
0answers
29 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: ...
0
votes
1answer
82 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
50 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
102 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: $ ...
1
vote
1answer
691 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
1answer
66 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 ...
0
votes
0answers
19 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
0answers
34 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 ...
1
vote
1answer
47 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
86 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
47 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 ...
0
votes
1answer
43 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 ...
-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
2answers
59 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
0answers
264 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: ...
0
votes
1answer
50 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 ...
0
votes
2answers
253 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 ...
0
votes
1answer
55 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
0answers
27 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
0answers
89 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
4answers
135 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
1answer
29 views

Apt without ask at night remove some packages

Today i came to work, and found that some of my perl scripts on work server - do not run. The problem is that scripts can not find some libraries that need to work. However, just yesterday, these ...
0
votes
1answer
84 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 ...
0
votes
1answer
86 views

apt-get source: Unknown command “source”

Following this tutorial, I'm stuck a this line: $ apt-get source lighttpd Unknown command "source" aptitude 0.6.8.2 Why does my apt-get/aptitude does not support this command? I don't know if this ...
2
votes
2answers
195 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 ...
1
vote
1answer
58 views

Trying to install rSync 3.x on debian 4 etch

Whenver i use the official debian source link, and run the apt-get install rsync Debian automatically install me the rsync version 2.6.9. I can confirm with the following command : rsync ...
0
votes
2answers
820 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
32 views

Ubuntu 12.04 production server upgrade

On a Ubuntu 12.04 webserver we´re sending a nigthly report about upgrades for this machine running a cron with upgrade in dry run apt-get update && upgrade --dry-run In past we created a ...
0
votes
0answers
96 views

Apt-get install removed packages

During a puppet run, ia32-libs was installed, this seems to have caused several packages to be uninstalled but I'm not sure why.. Can anyone shine any light on the matter? Here's the apt log entry: ...
0
votes
0answers
212 views

mysql-server : Depends: mysql-server-5.1 but it is not going to be installed

I want to install MySQL on Squeeze (Debian), but I get this error message from apt: mysql-server : Depends: mysql-server-5.1 but it is not going to be installed I have tried to use a different ...
1
vote
0answers
22 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 ...
0
votes
1answer
121 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
votes
1answer
64 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 ...
1
vote
1answer
72 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
56 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
1answer
60 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 ...
0
votes
1answer
36 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/ ...
1
vote
1answer
443 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 ...
0
votes
1answer
70 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 ?
1
vote
1answer
212 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 ...
0
votes
1answer
55 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
59 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
51 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 ...
-6
votes
1answer
65 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 ...