Questions tagged [apt]

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.

The Advanced Packaging Tool, or APT, is a free user interface that works with core libraries to handle the installation and removal of software on the Debian GNU/Linux distribution and its variants. APT simplifies the process of managing software on Unix-like computer systems by automating the retrieval, configuration and installation of software packages, either from binary files or by compiling source code.

1106 questions
188
votes
2 answers

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 such as postfix is not needed. How do I skip this…
jl6
  • 2,455
  • 2
  • 18
  • 19
134
votes
3 answers

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 an other package, and that it understands that I…
Steve Schnepp
  • 2,222
  • 3
  • 21
  • 27
133
votes
13 answers

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 exim4 and a whole bunch of dependencies (I…
FrancisV
  • 1,726
  • 3
  • 15
  • 18
126
votes
4 answers

List of files installed from apt package

How do I get a list of files that were or will-be installed when I apt-get a package? Conversely, can I find what package(s) caused a particular file to be installed?
David Nehme
  • 1,756
  • 4
  • 14
  • 13
120
votes
9 answers

How do I get the history of "apt-get install" on Ubuntu?

I am about do move a server from one Ubuntu box to another. I'm not cloning the old box to the new; I'm creating a new system and will move data as needed. I want to install all the software that I have on the old box on the new one. Is there a…
Paul Hoffman
  • 2,094
  • 4
  • 18
  • 23
98
votes
6 answers

list all packages from a repository in ubuntu / debian

is there a command to see what packages are available from a certain ppa repository?
opensas
  • 1,111
  • 1
  • 7
  • 7
94
votes
4 answers

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 get the warning: dpkg-reconfigure: unable to re-open…
Daithí
  • 1,333
  • 1
  • 11
  • 14
81
votes
1 answer

What does "debconf: delaying package configuration, since apt-utils is not installed" mean?

I have just installed Debian and I was just installing some packages using apt-get instal when I saw this message: debconf: delaying package configuration, since apt-utils is not installed What does this mean? And once I have installed apt-utils…
David
  • 1,037
  • 1
  • 10
  • 15
77
votes
3 answers

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 to use the defaults during installation so that…
sutch
  • 956
  • 1
  • 7
  • 9
65
votes
3 answers

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: apt-get update -qq > /dev/null apt-get -qq -y install…
user156477
65
votes
3 answers

How do I enable non-free packages on Debian?

How can I enable non-free packages on Debian? I want to install Sun's Java JDK but it's not available to me.
Quiffner
  • 653
  • 1
  • 5
  • 4
61
votes
11 answers

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 have only been installing updates as I come…
Noah Goodrich
  • 18,677
  • 6
  • 24
  • 16
60
votes
5 answers

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.
readonly
  • 3,209
  • 4
  • 24
  • 23
57
votes
2 answers

Ubuntu Server message says packages can be updated, but apt-get does not update any

Possible Duplicate: updates in amazon-ec2 ubuntu 10.04 server When I log into an Ubuntu 10.04.2 LTS server, I see the message: 42 packages can be updated. 18 updates are security updates. But when I try to update this, nothing gets upgraded as…
Mike T
  • 751
  • 2
  • 8
  • 10
55
votes
6 answers

Given a debian source package - How do I install the build-deps?

I have a debian (well technically ubuntu) source package, i.e. the .dsc, the .tar.gz, etc., I want to build this. The dpkg-buildpackage fails, since I don't have all the build dependencies. Normally I'd use apt-get build-dep, but this package isn't…
Amandasaurus
  • 30,211
  • 62
  • 184
  • 246
1
2 3
73 74