A package is a specific piece of software which can be installed and uninstalled on a system.
Questions tagged [packages]
231 questions
5
votes
2 answers
Centos 7 server with Nginx reports errors when updating packages
I have a CentOS 7 VM with Nginx installed. I use Webmin to administer the server.
It normally installs updates automatically, but the nginx update failed so I tried to manually do the update. It returns this:
Installing package(s) with command…

John Dalsgaard
- 203
- 3
- 11
4
votes
2 answers
Install package from oldstable (wheezy) to stable (jessie)
I want to install the package which is missing in jessie from wheezy. It is like backport the other way. I need gcc-4.7, but jessie provides only gcc-4.9. Unstable provides gcc-4.7 only for arm architecture.
I plan to add wheezy repo into my surces…

Mihalko
- 141
- 4
4
votes
1 answer
Easily spoof lsb_release output for different versions
I’m often rebuilding software packages (mostly Debian) for older versions (of both Debian and Ubuntu, including oldoldstable). Some of these packages use the lsb_release command to figure out the current distribution, in order to change behaviour,…

mirabilos
- 737
- 1
- 7
- 22
4
votes
2 answers
Puppet: Run Augeas only when a specific package exists
I want to use Augeas to modify "/etc/inittab", but this should only happen when the package "sysvinit" is installed. That package is not under Puppet control (and shall not be).
The "onlyif" from Augeas doesn´t seem capable of checking for anything…

Larsen
- 315
- 2
- 14
4
votes
1 answer
How to get transaction history for yum?
I would like to know how to get the transaction history of yum (i.e. get the installations, deletions, etc.), hopefully ordered from most to least recent.
Is there a way to accomplish this?

Juan Carlos Coto
- 677
- 2
- 6
- 13
4
votes
4 answers
DEB: "Provides:" field ignored
I need to replace a package with a custom one, which gets its own name (foo-origpackage). To allow it to be used as drop-in replacement, I added the Provides: origpackage line to the control file. apt-cache show foo-origpackage lists the "Provides"…

Creshal
- 259
- 1
- 5
- 16
4
votes
6 answers
How to manually download individual files from the OpenIndiana (or Solaris) pkg repo?
For a server in an offline environment, how would I download a package from http://pkg.openindiana.org/dev? (or the better known http://pkg.oracle.com)
There is an install link which downloads a p5i file, with machine readable download information,…

700 Software
- 2,233
- 10
- 49
- 77
4
votes
3 answers
CentOS PCI Compliance assessment
We are currently working our way through a PCI compliance assessment on our server running CentOS.
We are getting a lot of 'severe' issues with suggested fixes. The suggestions to rectify the issues are mostly to update the packages to the latest…

dannymcc
- 2,717
- 10
- 48
- 72
3
votes
1 answer
How to upgrade a package in Debian 8?
I'm using a docker image that comes with Debian 8 (jessie). I'm trying to upgrade curl package to the latest (7.58) from 7.38.
Running apt-cache showpkg curl shows that 7.38 is the latest version, but curl is at 7.58…

Moon
- 2,123
- 4
- 24
- 23
3
votes
1 answer
Why can not add subversion package to my OpenBSD 4.5 machine?
I have an OpenBSD 4.5 on a virtual machine. I configured the net and my machine can connect to the OpenBSD FTP repository in Canada (ftp.openbsd.org) correctly. But when I execute this line:
pkg_add -v subversion-1.5.5
Occurs this error:
Unknown…

jaloplo
- 255
- 1
- 10
3
votes
1 answer
RPM Dist Tag not behaving as documented
According to the Fedora documentation the %{?dist} tag when building an RPM on CentOS 7 I should get .el7. but currently I get .el7.centos.
The line from my .spec:
Release: 1%{?_buildid}%{?dist}
I cannot find any documentation talking about this…

kemra102
- 211
- 4
- 12
3
votes
3 answers
Yum installation fails with RHEL 6.5
I am trying to install shibboleth SP package using YUM installation (Yum install shibboleth). I am getting the following error while installing.
Downloading…

Aravindhan
- 199
- 1
- 8
3
votes
1 answer
Check for updates of a specific Debian package list
The setup
I run a Debian Squeeze host that I use to build a multilanguage project (python, java, php...) and generate custom packages (debian and RPM) automatically (through jenkins)
The problem
The target distributions of those Debian packages are…

Erwan Queffélec
- 397
- 4
- 11
3
votes
1 answer
Overriding dpkg admindir from apt-get options (debian/ubuntu linux)
As part of an OS deployment, I need to maintain sets of debian packages independently of the host operating system. It's pretty straightforward to override the Apt settings for the cache and lists, but not the dpkg setting for the admindir. For…

Alex G
- 386
- 1
- 4
- 13
3
votes
3 answers
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. All the major modules install and run exactly…

Twipped
- 643
- 2
- 7
- 10