Process of installation, deletion and update the software configuration in the operating system using a pre-prepared packages.
Questions tagged [package-management]
400 questions
255
votes
10 answers
How can I run Debian stable but install some packages from testing?
Say you're running a server and you don't want to upgrade to Testing (Squeeze) from Stable (Lenny) to just install a required package or two.
What's the best way of installing only certain packages from Testing?
Gareth
- 8,413
- 13
- 43
- 44
185
votes
15 answers
How to know from which yum repository a package has been installed?
After I have installed a package by yum (with multiple repositories configured), how can I find from which repository it has been installed?
If I run yum info package-name (or yum list package-name), I can only see that the package is "installed".
lg.
- 4,579
- 3
- 20
- 20
77
votes
6 answers
How to accurately check if package is installed in yum?
I keep getting answers like:
yum list installed | grep bind
or
rpm -qa | grep bind
But that is not accurate as I'm getting a list of few other bind packages like…
checksum
- 945
- 1
- 10
- 15
76
votes
6 answers
How to unify package installation tasks in ansible?
I am starting with ansible and will use it, among others, to install packages on several Linux distros.
I see in the docs that the yum and apt commands are separated - what would be the easiest way to unify them and use something like this:
- name:…
WoJ
- 3,365
- 8
- 46
- 75
59
votes
2 answers
debian packages version convention
I'm using debian/Ubuntu, and get confused about versions of packages.
When using dpkg -l command, I get:
ii vim 2:7.3.429-2ubuntu2.1 Vi IMproved - enhanced vi editor
ii vim-common …
cizixs
- 893
- 2
- 8
- 11
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
46
votes
4 answers
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 has been running great for a little while. Now, I…
Michelle Tilley
- 563
- 1
- 5
- 7
45
votes
6 answers
yum simulate install
Coming from an ubuntu perspective, if I want to check to see what additional packages will be installed/upgraded I can use apt-get --simulate install
Is there something similar for yum? Our Red hat box (yum) is our production server,…
Michael
- 761
- 1
- 6
- 15
37
votes
6 answers
Vagrant box most similar to Amazon EC2 instances
Are there any 'boxes' available to download for Vagrant that closely mirror the Linux version and packages available for Amazon EC2 instances?
I am testing locally using Vagrant, currently using the Precise32 box. I am deploying my code to Amazon…
Danack
- 1,186
- 1
- 14
- 27
33
votes
5 answers
how to remove a package which post-installation and pre-removal script fails?
I have an issue with the package openqrm.
How do I remove it?
root@wl183004:/# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not…
Marc Riera
- 1,587
- 4
- 21
- 38
32
votes
3 answers
How do I cleanly remove apache2 server on ubuntu server and then reinstall?
I am having some wierd issues with Apache2 server on my ubuntu server. I believe some configuration files may have been tampered with. What is the easiest way to remove apache2 completely from my server. I am aware of how to install by using
sudo…
TheJediCowboy
- 613
- 3
- 8
- 12
31
votes
4 answers
How do I see the changelog for a debian/ubuntu deb package?
I'm running Ubuntu and I have a deb file installed. I've made deb packages before, so I know there is a debian changelog (debchange). Is there anyway to see the debian changelog for any package that I have installed? Assume I don't have access to…
Amandasaurus
- 30,211
- 62
- 184
- 246
30
votes
11 answers
Best practices for keeping UNIX packages up to date?
How do you keep your servers up to date?
When using a package manager like Aptitude, do you keep an upgrade / install history, and if so, how do you do it?
When installing or upgrading packages on multiple servers, are there any ways to speed the…
Aron Rotteveel
- 8,239
- 17
- 51
- 64
27
votes
3 answers
yum equivalent of "apt-get purge"
I want to reinstall a package on CentOS and start from scratch. In Debian, I can do a apt-get purge foo and it'll remove all config files for foo. yum remove foo doesn't remove the config files. Is there any way to do apt-get purge foo using yum?
Amandasaurus
- 30,211
- 62
- 184
- 246
27
votes
1 answer
How to update a package using puppet and a .deb file
I am trying to figure out the proper way to update/upgrade a deb package using puppet from a local source deb file. My current config looks like this...
class adobe-air-2-0-4 {
file { "/opt/air-debs":
ensure => directory
}
file {…
delux247
- 764
- 1
- 6
- 12