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
0answers
12 views

Newer version of pngquant?

Hopefully I'm ok asking this here (I was going to put it on SO, but decided it was probably better placed here) I've done a fair bit of Googling, to try and figure this out myself - but am not ...
-1
votes
0answers
7 views

simple-cdd - cache deb files [on hold]

This is related with the question: Building a custom Debian CD with simple-cdd : rebuild without downloading all the deb files. Unfortunately I'm unable to comment thus posting a new question. How to ...
3
votes
2answers
8k views

Debian/Ubuntu is it possible to reinitialize /var/lib/apt/lists and /var/apt/cache after deleting them?

Is it possible to restore the functionality of /var/lib/apt/lists and /var/apt/cache after deleting them or minmizing them in some wa I am trying to shrink down an Ubuntu VM to the smallest size and ...
1
vote
0answers
10 views

How to request “do not start/enable” when installing packages on Ubuntu? [duplicate]

Start with a base system. apt-get install apache2 That results in it installing the package AND starting the service. Is there some mechanism (standard across other packages as well if possible) ...
0
votes
1answer
26 views

Prevent debian package from being removed by puppet

is there a way to prevent a debian package from being removed? I want to prevent any resolution of "replaces" and "breaks" attributes that would lead to removing that package while being able to ...
2
votes
1answer
652 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 ...
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
2answers
1k 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 ...
0
votes
1answer
5k views

Fatal: module iscsi_trgt not found — trying to get my iscsi target to run on debian

My server info: 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 found. So I run # ...
-1
votes
0answers
27 views

Unable to install a package libmysqlclient16 [closed]

I using a server preinstalled with confixx and debian 7 I have to make a rails app run, there for I need mysql2 gem. To install this I need this: Bit when I install it, I get this message: ...
0
votes
1answer
18 views

Unattended install (upgrade) of cassandra via chef

I'm creating a cassandra upgrade/install recipe with chef. package "cassandra" do version "2.1.8" action :install end When I install over the top of an existing version I get prompted about new ...
5
votes
5answers
5k 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
24 views

Why does apt-get install duply (on debian 7.8) not update to the latest verison?

Hi there I'm a bit confused about updating on my debian server. I'm using duplicity + duply on my server and wanted to update duply to the latest version. Running: sudo apt-get install duply ...
1
vote
6answers
5k 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 ...
0
votes
2answers
662 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 ...
0
votes
1answer
130 views

How to install mariadb when mysql gets in the way?

I have searched for a while on google but nothing seems obvious from this weird situation I have on VM, can someone help me? root@sathia:/etc/apt# apt-cache policy mariadb-server mariadb-server: ...
2
votes
1answer
152 views

apt-get unmet dependecies, traditional solutions not working

The problem Taking any action that will change installed packages on my Ubuntu 12.04 LTS server (remove, install, purge, etc.) fails with: Reading package lists... Building dependency tree... ...
6
votes
3answers
6k views

apt-get update/upgrade list without changing anything

I would like to view what packages are available for update/upgrade without actually changing any files becuase there are some packages I wouldn't like to update. Would it then be possible to apt-get ...
0
votes
2answers
47 views

Debian: Most current package version in mirror not installing [closed]

On my Raspbian system I am attempting to install a package (zabbix-agent) that is version 2.4.5. When I run the apt-get install it only gets version 2.2.7. Is there a reason that apt won't install ...
15
votes
4answers
19k views

Unable to install mysql-server in Ubuntu

I am unable to install mysql-server on my ubuntu 9.10 server machine. When using apt-get install mysql-server the output is : # apt-get install mysql-server Reading package lists... Done Building ...
-1
votes
1answer
65 views

Use Apt Inside AWS VPC Without NAT Instance

I have several Ubuntu machines inside VPCs. For many of them, the only network access they need whatsoever is for "apt-get update && apt-get upgrade" and NTP. For NTP, I can simply have an NTP ...
1
vote
3answers
3k views

Free centralized patch management for Debian

We have a number of Debian servers that need to be patched and manual patching becomes an issue as their number grows. What I am lookig at is a way to push patches to the servers from the central ...
2
votes
1answer
22 views

apt: list required dependencies for deb package without installing it

For a build tool I'm writing (for which I'd like to implement a sort of dependency-caching system) I'd like to know what the missing dependencies for a .deb package are, without resorting to ...
5
votes
4answers
1k 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: $ ...
4
votes
2answers
2k 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
4answers
4k 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
1answer
26 views

“broken packages” when using apt-get

I've tried to install MIME::Base64 with cpanm, which gives me the error that sys/types.h is missing. I then try to install libc6-dev which fails with the error message Reading package lists... Done ...
1
vote
2answers
1k 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. ...
2
votes
1answer
28 views

How do I download a new Ubuntu release without installing it?

I want to upgrade - in this case, from Ubuntu Trusty to Vivid (going through Utopic if necessary) but I'd really rather do the upgrade in two parts, doing a dry run to get all the packages locally ...
24
votes
10answers
10k 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?
0
votes
0answers
58 views

Installing package fails with “tar: Invalid argument”

I'm running a docker container based on debian:wheezy to install wp-mirror. I'm running into a lot of dependency problems when running apt-get install wp-mirror, it seems to work after running that a ...
-1
votes
1answer
26 views

Are we drowning in package managers? [closed]

The current trend is to use language-oriented package manager, such as npm or bower for javascript, pip for python, gems for ruby and so on. As I understand the need for a dependency manager when you ...
4
votes
3answers
5k views

how to pass parameters to puppet modules?

What is the best practice for configuration of puppet modules? I have puppet 2.7.11. I find this way quite messy, it looks like using global variables. node default { $always_apt_update = true ...
1
vote
1answer
63 views

Why would updating postgresql-client uninstall postgresql?

On a Debian 7 server, apt-get was offering me to upgrate the following 2 packages: postgresql-9.1 and postgresql-client-9.1. Since I didn't want to restart the database server, I decided only to ...
0
votes
0answers
24 views

gpg --receive-keys times out but Wireshark confirms the http response is received

I'm using a virtual machine running Ubuntu 14.04, trying to use apt-keys to add keys for nginx. Most of this is automatic via puppet but I'm going through the process manually to find where the fault ...
0
votes
0answers
80 views

Debian apt install single package from experimental but keep original system upgrades

I'v installed xfce 4.12 on debian jessie from testing by adding the testing repo in /etc/apt/sources.list.d/testing.list File content: deb http://ftp.us.debian.org/debian/ testing main ...
0
votes
1answer
76 views

How to create apt repository on Windows?

We have Windows server (1) with Internet access and Windows server (2) without Internet access in PAN. Also we have Linux machines in PAN (Debian, Ubuntu, ...). Linux machines must be up to date, but ...
10
votes
6answers
6k views

How can I manage apt efficiently on multiple machines?

I manage around 30 Ubuntu servers using puppet. I've seen many references to cron-apt and apticron as approaches to keeping their packages up to date but I haven't been able to find a way to ...
1
vote
1answer
2k 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 ...
1
vote
2answers
345 views

EC2 Ubuntu 14.04 instances: running `apt-get update` results in “Hash Sum mismatch”

Every time I create a new AWS EC2 instance with Ubuntu 14.04 (using ami-a182b391, as found from here) and then immediately run sudo apt-get -y update, it gives me an error. Here's the OS info: $ ...
1
vote
0answers
31 views

Apt and package conflicts

I have spent some time researching, and as I could not find anyone with the same issue I figured I might as well ask. I have two packages X and X-1. X-1 is essentially an upgrade from the previous ...
3
votes
3answers
2k views

How to remove package from apt-get autoremove “queue”

I just installed Calibre for ebook management via apt-get on Ubuntu 10.04, however I found out that it's one major version behind the current release, so I decided to reinstall it directly from ...
5
votes
2answers
124 views

MySQL package upgrades (Debian apt-get) always break master-master replication due to changes in mysql schema

I have master-master replication set up on 2 Debian servers, and they replicate everything, including the mysql database itself (so that new users and such also replicate). This generally works very ...
2
votes
2answers
2k views

Why can't i install mongodb 3.0 on Ubuntu 14.04 32bit?

I have followed all the official istructions listed here: official page In detail, i have done: sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 (seems ok) echo "deb ...
0
votes
0answers
383 views

Ubuntu 14.04.2 LTS - Errors on apt-get autoremove old kernel images - dpkg and grub errors

I was running my usual apt-get update / apt-get dist-upgrade sequence on my Ubuntu 14.04.2 LTS server, and saw some old kernel packages marked for autoremoval. I frequently run apt-get autoremove to ...
0
votes
1answer
142 views

Failure trying to manage apt sources with Puppet

I'm trying to get Puppet to manage my Debian apt sources.list, however, catalog compilation fails with this error: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: ...
2
votes
2answers
2k views

problems reinstalling apache2

I uninstalled apache2 on debian 5 64bit. Then I removed /etc/apache2 and reinstalled apache again. That folder is still missing and I have no idea how to get the apache files back (with modules and ...
11
votes
5answers
13k 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
1answer
38 views

preferences.d for ununtu 14.04 not working, what do I do wrong?

I have repo declared here: cat /etc/apt/sources.list.d/cloudera.list # Packages for Cloudera's Distribution for Hadoop, Version 5, on Ubuntu 14.04 amd64 deb [arch=amd64] ...
4
votes
3answers
926 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: ...