The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
1answer
24 views

Are we drowning in package managers? [on hold]

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 ...
10
votes
5answers
51k views

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 ...
0
votes
2answers
1k views

Launching R but it can't find liblzma.so.2

I have R installed but when I try to launch it I get: ubuntu@ip-xx-250-202:/mnt/galaxyData/custom/MY_MSG_RUN$ R /mnt/galaxyData/custom/bin/lib64/R/bin/exec/R: error while loading shared libraries: ...
3
votes
2answers
279 views

Stopping dpkg from removing symlink on package upgrade

I have a debian package that installs a file to /usr/local/java/jre/lib/ext, where /usr/local/java is a symlink to where the jvm is actually installed, in this case /usr/lib/jvm/java-6-sun. The new ...
1
vote
0answers
20 views

rpmbuild spec file: how to have files only used during install

How do I specify in a .spec files that are only used during install of the rpm (such as .sql scripts that I feed into the database), but I specifically don't want to persist post-install? I can't omit ...
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 ...
1
vote
0answers
25 views

How can I “reset” aptitude? [migrated]

I've inherited an Ubuntu 12.04 server where package management is completely messed up. Any aptitude command fails with errors like this one (for every installed package, as far as I can tell): dpkg: ...
0
votes
1answer
3k views

ERROR with rpm_check_debug vs depsolve

Transaction Summary ========================================================================================================================================================== Install 9 ...
8
votes
2answers
488 views

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 ...
10
votes
3answers
2k views

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 ...
2
votes
4answers
1k views

GCC missing from Solaris 11, and server already deployed (no access to internet)

I'm having a peculiar problem, where a server has already been deployed, and it's no longer connected to the network. For it's original purpose, it didn't need any C/C++ compiling tools, and thus ...
4
votes
1answer
65 views

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?
5
votes
2answers
2k views

Removing stubborn modules

I'm trying to programatically stomp on bluetooth on RHEL5. I've got the service stopped -- no problem. Also no problem on rpm -e for the associated bluetooth packages, bluez-*. ps -aef | grep -v ...
2
votes
1answer
455 views

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 - ...
4
votes
3answers
1k views

yum update, how to make rpm package updateable

need a link or tutorial on how to make an rpm package work with yum UPDATE. i have it and already works with yum INSTALL and yum ERASE, but is there somewhere info on how to make rpm package work when ...
2
votes
3answers
131 views

Best practices recovering from a failed UNIX package upgrade?

When upgrading or installing a package through a package manager like Aptitude, what do you do to ensure everything works afterwards? If the package manager would break something after running, do ...
19
votes
2answers
19k views

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 ...
1
vote
1answer
44 views

Equivalent yum command for `apt-get install -y packagename --no-upgrade`

I was using this command in a shell script on my ubuntu server apt-get install -y packagename --no-upgrade . It will install the package if it is not present. It will not upgrade the package. Now I ...
5
votes
1answer
113 views

Install software from packages, or build it from source?

This is a Canonical Question about when to use packaged software and when to build and install it yourself. When should I install software from packages provided by my OS distribution, instead of ...
4
votes
3answers
468 views

Install Debian Backports kernel automatically

I've got the following pinnings set: Package: linux-image-amd64 Pin: release a=wheezy-backports Pin-Priority: 1001 Package: * Pin: release a=wheezy-backports Pin-Priority: 499 I get the following ...
1
vote
0answers
25 views

Which dependencies are removable after building ruby?

I've successfully built ruby 2.1.1 on Ubuntu/Debian by installing the following dependencies: apt-get install \ autoconf \ bison \ build-essential \ libssl-dev \ libyaml-dev \ ...
29
votes
11answers
1k views

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 ...
0
votes
0answers
20 views

How to divert an already diverted file of a Debian package?

There is package A installing file X and Y. There is package B, which also tries to install (overwrite) the file X with different content and a new file Z. So in the preinst script it diverts the ...
1
vote
2answers
4k views

How to do the equivalent of rpm -qf in AIX? (Which package does this file belong to?)

So. I have a binary in /opt/freeware/bin in an AIX PPC machine whose origin I don't know. It could be an RPM -- most open-source AIX RPMs install in /opt/freeware. But no such luck. It must have been ...
8
votes
5answers
4k views

How to patch CVE-2015-0235 (GHOST) on debian 7 (wheezy)?

This vulnerability was found in glibc, see this hacker news post for more info. As described in the debian bug tracker, the vulnerability was already patched in testing and unstable. I'd like to ...
0
votes
1answer
21 views

solaris: verify that access to all binaries is in accordance with the associated package

I need to verify that access (mode, owner) to all(!) binaries on a solaris 10 box are in accordance with the package that they came from. I could do something like /usr/bin/find / -type f -perm ...
3
votes
2answers
1k views

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 ...
2
votes
2answers
505 views

Puppet package installation on Linux/CentOS

I am new to Puppet - I have been playing around learning the basics. Most of the examples ( except the very basic ones ) that are on the puppet page do not work for me - either some dependency is ...
1
vote
1answer
41 views

Regular Debian server-maintenance through package updates

We're hosting multiple Websites with different Content Management Systems, also with different Versions. There are multiple Debian servers running on one esxi. I want to introduce a Windows-like ...
2
votes
2answers
239 views

Find (un)used packages on CentOS/Fedora?

In short: From all the (rpm) packages installed I would like to identify the ones unused (for example since the last 6 months). In long: I have number of machines with a respectable service record. ...
3
votes
2answers
17k views

How-to: add an ISO/DVD of RHEL to the Repository list under Gnome for installing packages

I want to add the original ISO I installed RHEL from as a repository under the Add/Remove Software tool in Gnome. How do I do this? To clarify, I know what I need to do (add a repository) - I need ...
3
votes
4answers
8k views

Is adding the Debian repository to my apt source.list dangerous on Ubuntu? [closed]

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 ...
-1
votes
2answers
48 views

How to manage server configurations for small projects and servers? [closed]

I have been developing a web application which recently launched. Now I am continuing with improvements and want to create a staging server similar to the production server. I know of the existence ...
0
votes
0answers
87 views

Where does opkg perform dependency checks if there is no Packages.gz?

can anyone tell me what the default behaviour is for opkg to perform dependency checks, MD5 sum checks, etc? If I want to install an ipk file built out by Yocto (1.4 or 1.6.1) using bitbake: "bitbake ...
0
votes
2answers
418 views

Allow sudo user to install packages from CentOS GUI

I've installed GUI on CentOS 6.5 with yum groupinstall basic-desktop desktop-platform x11 fonts but now when I attempt to use GUI Package Manager (Add/Remove software) to install packages, it asks ...
0
votes
0answers
11 views

How to find out the if a package was installed directly or through a dependency on SLES?

I just inherited the administration of a Suse Linux Enterprise Server box, and I am trying to find out what was installed on it. I can get the complete list of installed packages with rpm -qa, ...
2
votes
1answer
746 views

Debian package performance on XFS, btrfs, ext3, ext4

I did 4 clean installations of debian 6 and measured time of installing some average virtual package. FS options are default. time apt-get install build-essential I got very strange results ...
0
votes
2answers
47 views

Can I lookup a software version number which is bundled with a specific CentOS version without installing CentOS?

Is there a website where I can enter a software package (for example Apache) and select a CentOS version number and get the version number of Apache which comes with the selected CentOS distribution?
84
votes
7answers
73k views

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 ...
0
votes
0answers
69 views

Producing RPMs that conflict with all versions released by someone else?

I find myself needing to create a variant of the PostgreSQL packages that are mostly compatible with the official http://yum.postgresql.org/ packages. My packages are compatible with client apps that ...
1
vote
1answer
52 views

Where to install custom apps and data following FHS

This is something that has always confused me. Where do I install custom apps that are written by my team? Apps like report runners, queue->database writers, etc. i.e. the apps that are the reason the ...
12
votes
3answers
281 views

How to install two packages that write the same file

Sirs, a conundrum. I have two packages that each create /usr/bin/ffprobe. One of them is ffmpeg from the Deb Multimedia repository, while the other is ffmbc 0.7-rc5 built from source. The hand-rolled ...
-1
votes
1answer
107 views

debian LTS : how to keep packages up-to-date with last security fixes using apt

What's the best way to keep packages up-to-date (ie with the last security fixes) without worried about major version update ? For instance, apache2 for squeezeis is 2.2.16 ...
0
votes
1answer
69 views

How can I determine what causes repeated Windows Installer self-repair?

The Windows Installer Service keeps triggering a repair operation (self-repair) of a package installed on my desktop. I am unable to find the cause and resolve the problem permanently. How do I find ...
1
vote
3answers
87 views

build .rpm package with all its dependencies

I'm not sure if its the recommended approach or not, in case the user doesn't have web access, and my software requires, lets say: libgcc-4.3.0.0.rpm (for e.g), I would like to bundle this for the ...
1
vote
1answer
86 views

Apt-dater: Keep specific packages from updating

I am using Apt-dater to manage updating of Ubuntu servers. I have some packages that cannot be updated but want to still update everything else on those servers. I wonder if Apt-dater supports this. ...
5
votes
1answer
166 views

Best way to automatically update all centos packages except those which might affect a user-specified list of packages?

More specifically... What I want to be able to do: Centralized package management. Keep systems updated without downloading entire repos (i.e. if a system doesn't have Libreoffice on it, I don't ...
-1
votes
1answer
204 views

Difference between packages and Docker images [closed]

I understand PPAs but Docker is new to me. How are Docker and Dockerfiles different from Ubuntu's Personal Package Archives (PPA), in terms of package management?
64
votes
11answers
66k views

How to know from which yum repository a package has been installed

After I have installed a package by yum (with multiple repository configured), how can I found from which repository it has been installed? If I run yum info package name (or yum list package name), I ...
2
votes
2answers
115 views

What is a dummy package?

Is a dummy package just an example? This package has no dependents, can it be removed? [root@server ~]# yum info vzdummy-init-fc13-1.0-1.noarch Loaded plugins: fastestmirror Loading mirror speeds ...