Process of installation, deletion and update the software configuration in the operating system using a pre-prepared packages.
Questions tagged [package-management]
405 questions
13
votes
5 answers
How do I get a list of packages that "Provides" something" using dpkg?
I see that dpkg has a "Provides" field for packages.
$ apt-cache show vim-tiny | grep Provides
Provides: editor
$
How do I know which packages provide i.e. "editor"?

Janus Troelsen
- 1,114
- 1
- 8
- 18
13
votes
3 answers
How do I check the origin and archive of a package?
I'm trying to figure out why a package was not upgraded unattended, and I have turned my eyes to the Allowed-Origins configuration. However, I do not know how to check the origin and archive of packages in the apt cache. How do I do so?

Daniel C. Sobral
- 5,713
- 6
- 34
- 48
12
votes
3 answers
How can I limit the bandwidth of apt-mirror?
I need to make a once off mirror of all the Ubuntu apt repository (for the record it's because I'm sending it to Kenya (see here and here).
I did it before and used apt-mirror, and that does exactly what I want. However now I want to do it slowly,…

Amandasaurus
- 31,471
- 65
- 192
- 253
12
votes
6 answers
Ubuntu - /usr is full up, recommend anything in there I can delete?
A friend of mine partitioned his ubuntu system with /usr on a separate partition. That partition is now full. He can't use apt to install new software. Is there anything in /usr that he can safely delete (i.e. delete with rm, not apt-get…

Amandasaurus
- 31,471
- 65
- 192
- 253
12
votes
5 answers
Incremental RPM package version "numbers" for x.y.z > x.y.z-beta (or alpha, rc, etc)
In order to publish RPM packages of several different versions of some software, I'm looking for a way to specify version "numbers" that are considered "upgrades", and include the differentiation of several pre-release versions, such as (in order):…

Jonathan Clarke
- 1,667
- 2
- 11
- 25
12
votes
3 answers
Do .rpm files have metadata
I have a .rpm file on my windows machine. Is there a way to inspect this file (either on windows or centos) without installing it, to find out where it was compiled from? something like metadata?

sameold
- 993
- 3
- 11
- 20
11
votes
5 answers
How to install mcrypt for PHP 5.3.3 on CentOS 5.7 64 bit?
I installed php 5.3 and some modules using
yum install php53-{module-name}
But mcrypt did not work.
I searched like this:
yum list php* | grep mcry
The only package that came up was
php-mcrypt.x86-64 5.1.6-15.e15.centos.1 extras
I…

Buttle Butkus
- 1,741
- 8
- 33
- 45
11
votes
2 answers
Puppet - get list of packages and versions
Is it possible to tell puppet to compile a catalog for one (or all) node(s) and save that particular data somewhere?
I'm specifically interested in getting all needed packages and their versions per node, but a general approach for getting any data…

Michal Bryxí
- 417
- 2
- 7
- 17
11
votes
4 answers
Is adding the Debian repository to my apt source.list dangerous on Ubuntu?
I'm trying to install a package from a Debian repository. I am trying to install manually with dpkg errors because of missing or incomplete dependencies. This got me wondering, is it a mistake to just add the Debian repository to my apt sources?
To…

Dane O'Connor
- 1,269
- 2
- 15
- 20
10
votes
3 answers
What is the easiest way to create a virtual package in debian?
What is the easiest way to create a "virtual package" in debian?
My problem: I have compiled/installed mysql from source and now need to tell other packages that mysql is already installed (otherwise they will also try to install mysql...). I…

Markus
- 867
- 2
- 11
- 13
9
votes
3 answers
Should I use the CentOS package version in the (official) repositories, or the latest stable versions of the packages?
This is an open ended question, but I do wish to have a constructive and helpful discussion into this topic.
So to clarify on the question:
On a server running CentOS 7 (or any other Linux distro/version for that matter) Is it best to stick with the…

GiggleSquid
- 91
- 3
9
votes
1 answer
How should I create a local fork of a debian package?
I wish to maintain a local fork of a debian package. I need to patch a bug which will eventually be fixed in the official package, but not for some time.
How do I create a .deb package, and how do I use it, to get my bug fix used locally?
The…

John McAleely
- 356
- 5
- 14
9
votes
2 answers
RPM removal does not remove delivered dirs and leaves garbage
I deliver an application via an RPM.
This application delivers various directories and files.
E.g. under /opt/internal/com
a file structure is being copied.
I was expecting that on rpm -e all the file structure delivered under…

Jim
- 335
- 2
- 4
- 8
9
votes
3 answers
"No package pv available." on CentOS 6.2 Minimal
I'm trying to install Pipe Viewer on a CentOS 6.2 minimal system.
When I run:
yum install pv
I get:
* base: mirror.thelinuxfix.com
* extras: mirror.atlanticmetro.net
* updates: ftp.usf.edu
No package pv available.
Error: Nothing to do
Do I need…

Nick
- 4,503
- 29
- 69
- 97
9
votes
2 answers
Installing open-vm-tools in Ubuntu via Puppet; what's the lesser evil?
In an ideal world, configuring puppet to install the open-vm-tools should be as simple as this:
class vm-tools {
package { 'open-vm-tools':
ensure => installed
}
package { 'open-vm-dkms':
ensure => installed
}
}
But,…

Shane Madden
- 114,520
- 13
- 181
- 251