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)

0
votes
1answer
22 views

Ghost vulnerbilty - upgrade only affected packages

regarding GHOST vulnerbilty: How could I only upgrade affected packages which can be found like this (on ubuntu 12-04): lsof | grep libc | awk '{print $1}' | sort | uniq I´m looking for a way to ...
0
votes
0answers
8 views

Install latest mysql 5.6 update (update 19 to update 22) on Ubuntu 14.04

A while ago I installed Mysql 5.6.19 via "apt-get install mysql-server-5.6" on a Ubuntu 14.04 amd64 server, now I want to upgrade this Mysql 5.6.19 to the latest stable update (5.6.22). I can't do it ...
10
votes
1answer
307 views

Upgrading openssh-server within an ssh session

Suppose that you issue apt-get upgrade from an ssh session and one of the packages to be upgraded is openssh-server. Is the new sshd process restarted after the upgrade? If yes how is the session ...
0
votes
1answer
89 views

Fail to do apt-get update on Ubuntu 12.04 Precise

I recieve this error all the time when I try to do apt-get update so that can not install or remove software with apt Get:102 http://archive.ubuntu.com precise-updates/universe Translation-en ...
-2
votes
0answers
19 views

How to autoremove with apt? [migrated]

After uninstalling a package I used to do apt-get autoremove to remove other unused dependencies. I understand that apt (rather than apt-get) is the modern way to manage packages on the command-line ...
1
vote
1answer
110 views

sudo apt-get update is not updating repositories in Debian Wheezy

I am trying to update repositories using following command but it is failing: sudo apt-get update Here is the output of above command: Hit http://dl.google.com stable Release.gpg Hit ...
1
vote
0answers
125 views

Unable to apt-get install nginx-extras package on top of nginx 1.7.9

I am attempting to install Phusion Passenger for nginx on a dev Ubuntu box following this guide from the passenger website. I have Nginx installed and running already, version is 1.7.9-1~trusty. I ...
3
votes
2answers
56 views

Trying to install software, it says there is no available space, but there is

I think I am doing something wrong. I'm trying to install gparted on Debian: sudo apt-get install gparted It says that it can't create "/var/lib/dpkg/updates/tmp.i" because there is no available ...
1
vote
1answer
33 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
2answers
70 views

“sudo apt-get remove hadoop” is not removing package

I am trying to uninstall Cloudera Hadoop from my Ubuntu System. For this I tried sudo apt-get remove hadoop command but this command is failing with following message: ...
-1
votes
1answer
30 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 ...
4
votes
1answer
43 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 ...
1
vote
0answers
69 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
1answer
34 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
199 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
35 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: ...
1
vote
1answer
155 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
121 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
257 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
1k 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
147 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
21 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
47 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
122 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
184 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
83 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
77 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
66 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
73 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 ...
1
vote
1answer
631 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
122 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
3answers
526 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
21 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
121 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
31 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
131 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
172 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
32 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
133 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
95 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
246 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
66 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
3answers
1k 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
41 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
120 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
263 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
24 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
229 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
77 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
92 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 ...