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)

2
votes
1answer
5 views

Debian - apt-get - Depends: php5-mysql but it is not going to be installed

We needed php5-mysqlnd and thus php5-mysql got removed and now a package has unmet dependencies whenever we want to install something with apt-get. How or where can I edit the dependencies to get rid ...
0
votes
1answer
91 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
3answers
2k views

Installing php5-imagick in Ubuntu 12.04 w/ ondrej packages results in dependency error

I've been trying to setup an Ubuntu 12.04 VM that is running PHP 5.4 with the imagick module. All the results I find on google say to use the ondrej packages, which for the most part works perfectly. ...
0
votes
1answer
35 views

RPM or YUM equivalent of apt-get install libgraphicsmagick1-dev

I was using Ubuntu for development and one of the dependencies needs apt-get libgraphicsmagick1-dev now I need to deploy to a AWS EC2 which runs AMI and only support YUM or RPM, what the the ...
-1
votes
0answers
18 views

Post-install scripts return error 10, dpkg problems

I own a small web/mail Debian server, and a friend of mine is working with me to manage it. He accidentally deleted some apt cache files, and now we got a lot of problems. I can't simply make a system ...
2
votes
4answers
7k views

apt-get commands pausing at 'Waiting for headers'

I have a VM running Ubuntu Server 9.10 running a basic web server setup. Whenever I run an apt function it will pause for around 1 minute at 'Waiting for headers...'. It will eventually clear through ...
1
vote
2answers
75 views

How to install build-essential on Ubuntu 12.04 - gcc and g++ dependency issues

I have just installed Ubuntu server 12.04 LTS. I am trying to install build-essential package; however, when I try to install it I receive the following error: Some packages could not be installed. ...
0
votes
2answers
21 views

Automatic retrieval of current mapping debian stable -> released name

I'm automating my customary debian setup using ansible. The playbook is supposed to treat testing/unstable and stable differently: the former are to be maintained "clean", while the latte is to ...
0
votes
1answer
26 views

Sharing simple tasks across roles in ansible?

I have a couple of different machine types that all need to have the official postgres APT repo defined for them in order to be able to apt-get install the right version of tools. These different ...
0
votes
1answer
31 views

Interrupted apt-get upgrade - Now won't run again [closed]

I recently started an apt-get upgrade on one of our Debian 6 servers. The downloads were taking forever, so I exited with Ctrl-C, intending to change the to a different mirror server. However, now ...
19
votes
2answers
17k views

Installing optional Nginx modules with apt-get

I currently have Nginx installed via the instructions on the Nginx site: nginx=stable sudo su - add-apt-repository ppa:nginx/$nginx apt-get update apt-get install I have configured Nginx and it ...
41
votes
3answers
10k 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
1answer
27 views

Equivalent yum command for `apt-get install -y packagename --no-upgrade`

I was using this command in a shell script on my ubuntu server apt-get install -y packagename --no-upgrade . It will install the package if it is not present. It will not upgrade the package. Now I ...
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 ...
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: ...
1
vote
2answers
177 views

Nodejs : Depends: rlwrap but it is not installable

Just bought a new fresh virtual server in the cloud, Ubuntu 14.04. I updated my packages with apt-get update. Got problems when trying to install node js. I followed this guide: ...
29
votes
1answer
9k views

How do I ask apt-get to skip any interactive post-install configuration steps?

I have a server build script which uses apt-get to install packages. It then puts pre-written configuration files directly in place, so the interactive post-install configuration dialog in packages ...
4
votes
3answers
183 views

Install Debian Backports kernel automatically

I've got the following pinnings set: Package: linux-image-amd64 Pin: release a=wheezy-backports Pin-Priority: 1001 Package: * Pin: release a=wheezy-backports Pin-Priority: 499 I get the following ...
0
votes
1answer
63 views

Using Puppet apt module

I'm an absolute beginner at Puppet, and I'm having an issue when I try to install a package via the apt-module. class newrelic { apt::source { 'newrelic':location => ...
1
vote
0answers
23 views

Why some apt-get and aptitude installations remove some programs?

I wanted to install wireshark, and I went to Installing wireshark So I just typed on terminal aptitude install wireshark and before it install wireshark, it removed 251 programs, and I don't have ...
0
votes
0answers
34 views

Unable to install libtirpc1 due to dependecies error

I want to run some binary (which is definitely working on another PC) on virtual Debian PC. Debian 7.5 stable with added testing and unstable repositories. (I'm not an expert in this) This binary uses ...
21
votes
10answers
9k views

Find last time update was performed with apt-get

I need to find the last time that the apt-get update command was run on my server. How can I determine this information?
27
votes
7answers
28k views

Linux: how to restore config file using apt-get/aptitude?

I've occasionally lost my config file "/etc/mysql/my.cnf", and want to restore it. The file belongs to package mysql-common which is needed for some vital functionality so I can't just purge ...
18
votes
3answers
7k 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 ...
-1
votes
2answers
54 views

Install python packages through ap-get in Debian

I'm trying to install Odoo on a Debian 3.2, but I'm having trouble trying to install its dependencies. When I try to install python-decorator, I get this error: The python-decorator package is not ...
0
votes
1answer
52 views

freeradius broken after apt-get update

Ubuntu 14.04.1 LTS apt-get update /upgrade was run last night at around 10pm. This morning people are saying that they can't get into ftp and wifi because these services are auth'd by freeradius. ...
1
vote
2answers
996 views

How to include Debian repository from different architecture

I am running AMD64 Debian. I need to install software from external vendor which supports i386 architecture only. While I can add their repository to sources.list, those i386 packages do not appear ...
0
votes
2answers
227 views

Efficient apt depends

I would like to to know more about what is actually installed for a given package (for a debug purpose). All the option with apt-cache only give the the dependent packages, maybe the needed version, ...
0
votes
1answer
135 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 ...
0
votes
0answers
31 views

Configure client for two apt-cacher servers

I have two apt-cacher-ng servers up and running, but I am wandering how best to configure my clients to use them. The primary reason for having two servers is load balancing, but we would also like ...
10
votes
5answers
11k 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 ...
2
votes
1answer
407 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 ...
32
votes
10answers
49k views

How do I get apt-get to ignore some dependencies?

How do I make apt-get ignore some dependencies? For example, I wanted to install mailx so I can use it to send email from cron scripts/report-generating tools. However, installing mailx also installs ...
0
votes
1answer
65 views

apt-get behind a proxy causes 404 errors

I have some problems configuring apt-get to use the proxy of my company. /etc/apt/apt.conf Acquire::http::Proxy "http://myname@example.com:my+#password@proxyconf.example.com/"; ...
1
vote
1answer
57 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 ...
39
votes
10answers
5k views

How Often Should I Update our Linux Server?

I am responsible for managing both our production server (mail, web, database are all on one server) and our test server. Both are built on Debian. However as I am very new to system administration, I ...
0
votes
0answers
62 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 ...
11
votes
1answer
405 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 ...
1
vote
1answer
543 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 ...
0
votes
3answers
3k views

Why do I get an initscript error when installing Samba using apt-get?

I'm attempting to solve this problem... Why does samba server fail to start with PANIC error? ... by reinstalling Samba, but I'm getting the following error: # apt-get install samba Reading ...
1
vote
1answer
2k 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
3answers
939 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
3answers
2k 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: ...
1
vote
3answers
8k views

remove squid clearly

I'm hardly trying to remove squid completly, to reinstall it clearly. (Debian 6). So i used as root: apt-get remove --purge squid apt-get remove --purge squid3 but find / -name squid* returns ...
2
votes
1answer
34 views

Pinning specific subsection in Debian

I'm trying to pin some packages from a specific subsection (gnome in this case) in Debian jessie. For subsection I mean: gnome, admin, x11, etc… This value is showed by apt-cache in the 'Section' ...
3
votes
1answer
73 views

Disallow virtual package in Debian's /etc/apt/preferences

I know I can disallow a particular package in Debian by appending /etc/apt/preferences with: Package: *x11* Pin: release Pin-Priority: -1 But how can I do that for a virtual package like httpd? I'd ...
1
vote
1answer
453 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 ...
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
0answers
261 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 ...
2
votes
1answer
62 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 ...