The tag has no wiki summary.

learn more… | top users | synonyms

73
votes
7answers
62k 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 ...
58
votes
11answers
56k 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 ...
29
votes
11answers
994 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 ...
20
votes
4answers
2k views

How does Windows handle program dependencies?

I have used Linux for quite a while, and I always wondered how Windows was able to handle the programs depedencies like apt-get, aptitude, Pacman, yum and other package managers are able to. ...
20
votes
1answer
14k views

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 { ...
18
votes
4answers
5k views

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

Installing optional Nginx modules with apt-get

Greetings, 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 ...
13
votes
4answers
5k views

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 ...
11
votes
3answers
265 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 ...
10
votes
3answers
45k views

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

Compute a list of difference between packages installed on two hosts

I just add some problems with my Debian virtual servers and I add to reinstall all of them from scratch. However, I still had access to the old version and I could retrieve the list of installed ...
9
votes
2answers
2k views

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 { ...
8
votes
13answers
6k views

How do I stop Ubuntu from starting daemons I've not explicitly asked to run?

One of the basic principles of computer security is never to run anything you don't need. I was pgrepping for a process today when I noticed that my Ubuntu 9.04 (desktop) machine was running a git ...
8
votes
5answers
14k views

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? Thanks. root@wl183004:/# apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... ...
8
votes
2answers
774 views

Odd behavior of apt-get with post-inst instructions, and .desktop files

We have a number of hand-built (with fpm and jenkins) .deb files in a local Apt repository (reprepro). These .debs contain a .desktop file that will be picked up by xdg-desktop in a post-inst script. ...
7
votes
3answers
430 views

Install application/HTTP services to “/srv”?

I have been working with a team who used to install all the application and HTTP services like Apache or Tomcat to the '/srv' directory. I suspect mostly in order to keep the installed services ...
7
votes
3answers
3k views

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 ...
7
votes
1answer
10k views

Debian/Ubuntu - How to restore /var/cache/apt structure after deleting it?

I was running out of space on an Ubuntu server, so I did this command to save space sudo rm -rf /var/cache/apt/archives However now when trying to do things with apt, I get the following errors: ...
7
votes
3answers
3k views

install the same debian packages on another system

How do I export a list of installed Debian packages on a system, and then install those same packages on a new system?
7
votes
2answers
2k views

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

What is the most easiest way to create a virtual package in debian?

1.) What is the most 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 ...
7
votes
2answers
1k views

'pip install carbon' looks like it works, but pip disagrees afterward

I'm trying to use pip to install the package carbon, a package related to statistics collection. When I run pip install carbon, it looks like everything works. However, pip is unconvinced that the ...
6
votes
6answers
560 views

Source vs Package Managers on the job

I am a bit confused, as there are two ways to install applications. One being to configure and make from source and the other from a package manager. If one were a UNIX/Linux administrator, is it ...
6
votes
5answers
2k views

macports vs fink [closed]

Which one is preferred? I am comfortable in Unix-esque environments and recently purchased a Macbook. I am currently using macports, as it is from Apple, but dont like how python 3.1 becomes ...
6
votes
6answers
365 views

How to keep programs from source up to date?

I'm designing a new server setup for hosting multiple websites. (Shared hosting for my clients over at SliceHost.) I've recently moved away from the traditional LAMP setup and chosen Ubuntu, Nginx, ...
6
votes
2answers
1k views

How can I install packages without starting their associated services?

As you're probably aware, by default when you install a package on a Debian or Ubuntu based system, if the package contains a service, that service will generally be enabled and started automatically ...
6
votes
2answers
1k views

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?
6
votes
3answers
3k views

Using Puppet to install software “bundles”

We're in the process of researching a configuration/systems management implementation and we've done quite a lot of demoing of Puppet. Puppet seems to excel at the somewhat simple "ensure this ...
6
votes
2answers
20k views

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

How to completely remove a package in Debian?

I tried to use this: aptitude remove denyhosts And it seemed successfully but after a reboot after I use: ps aux | grep "denyhosts" I see denyhosts is still loaded after startup. So what am I ...
5
votes
5answers
2k views

Can anybody tell me how to create my own local package repository for my packages in Ubuntu?

I want to create a package repository for my packages in ubuntu and this repository will be using in multiple Ubuntu systems to install and update packages.
5
votes
3answers
3k views

Debian: How do I check the last time package upgrades/updates were run?

I want to know when we last ran the package upgrades/updates on our Debian server.
5
votes
4answers
7k views

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 <package name> Is there something similar ...
5
votes
3answers
172 views

How to stay up to date with the latest information about UNIX software patches and upgrades?

Until now I have always used the SecurityFocus mailing lists to keep myself informed about the possible need of upgrading my server packages. The main problems I have with using this method: Massive ...
5
votes
2answers
839 views

RPM packaging multiple versions for simultaneous install

Are there some guidelines, or does anyone have suggestions on how I should package something that I need to be able to have multiple versions of installed at the same time?
5
votes
4answers
2k views

How can I remove the GUI bits from a Red Hat Enterprise Linux install?

I am looking at a farm of RedHat Enterprise Linux (RHEL) 5.3 servers, which all have GNOME and Xorg installed, none of which need them. They were deployed by a 3rd party from a VM template, and I ...
5
votes
1answer
128 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 ...
4
votes
4answers
465 views

How do I find the package that contains a given program on Ubuntu?

Frequently I know the name of the command line program that I need but I don't know the name of the package that provides the program. How do I find the name of the package that contains the program ...
4
votes
4answers
235 views

update a network of ubuntu desktops from a server

I need to update 100+ workstations that run ubuntu. The problem is that i want them to download the packages from a local server so that they don't use to much internet bandwidth. I net a kind of ...
4
votes
3answers
839 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 ...
4
votes
3answers
1k views

How to handle Puppet version differences between linux distributions

We're a small webdev shop that's investigating to roll out Puppet on various development and production servers. The puppetmaster is an Ubuntu 10.04 server with Puppet 0.25.4, from Ubuntu's repo. ...
4
votes
3answers
672 views

Will removing a debian package remove the data?

I cannot find definite information about how a debian package should behave whilst being removed. Should it remove the data? E.g. for mysql I read data is kept which sounds logical to me (using purge ...
4
votes
6answers
2k views

Download packages via apt without root privlidges

I'm working on a script to show differences between config files on a system and those provided in the original package. I have pretty much all of it working, except for using apt to download packages ...
4
votes
1answer
397 views

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 ...
4
votes
1answer
136 views

How do I securly update a *BSD system?

Security is a major concern. Every major Linux distribution uses signed packages. But the FreeBSD systems in the office downloading unsigned packages/ports via FTP. Is there a solution that would ...
4
votes
1answer
3k views

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

“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 ...
4
votes
1answer
55 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? Thanks ...
4
votes
1answer
558 views

Configure SCCM so that files with a plus symbol (+) in the filename can be downloaded from the distribution point

We are using Microsoft SCCM 2007 to deploy program packages in our network environment. One of the packages (MathType, in case anyone's curious) has a lot of file names with a plus symbol + in them. ...