The tag has no wiki summary.

learn more… | top users | synonyms

64
votes
11answers
65k 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 ...
81
votes
7answers
72k 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
1answer
510 views

Firefox packaging to include addons for network installation

While looking up information on FireFox here I came across the post: Non-IE browsers wont auto-authenticate. which showed how to handle the issue of integrated login for FireFox which also briefly ...
6
votes
2answers
2k 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 ...
5
votes
2answers
8k 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
3answers
177 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 ...
4
votes
1answer
413 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 ...
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 ...
11
votes
3answers
52k 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 ...
3
votes
4answers
9k 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 ...
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 ...
15
votes
4answers
6k 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 ...
7
votes
2answers
22k 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 ...
2
votes
2answers
221 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. ...
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 { ...
7
votes
1answer
11k 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: ...
6
votes
6answers
606 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 ...
1
vote
1answer
416 views

Using snapshots with reprepro to enable rollbacks

I'm using reprepro to maintain a Private Package Archive of internal packages. There is no straightforward way to keep multiple version of a package available using reprepro (see here), but it does ...
5
votes
2answers
936 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?
3
votes
2answers
500 views

How to install package version that was removed from backports?

There is only one version of the libreoffice package in Debian Squeeze Backports: apt-cache madison libreoffice libreoffice | 1:3.5.4-7~bpo60+1 | http://backports.debian.org/debian-backports/ ...
3
votes
4answers
2k views

Getting a list of packages installed on CentOS (by command line and on the web)

When installing CentOS (6.2), it installs a whole bunch of packages, but the installation is often very fast, it's hard to note the names of the packages. I have a couple of questions: 1) I'm ...
2
votes
2answers
2k views

Debian: How to use “apt-get install” without upgrading dependencies? [duplicate]

Possible Duplicate: How do I get apt-get to ignore some dependencies? I need to install some packages. The package A has the package B as a dependency and requires to be (>2.0). I have ...
1
vote
2answers
85 views

Using a package manager vs compiling from source for latest updates

I run a Ubuntu 11.10 server at my house and in the past I have been using apt-get to keep all my packages up to date. Recently I noticed that when I run apt-get update/upgrade the version of some ...
1
vote
3answers
4k views

yum package conflict installing mysqlclient package

I'm trying to build and install Zabbix 1.8 on my CentOS 5.2 server. This server has MySQL 5.0 installed from the standard CentoOS 5.2 repository. ./configure ... is failing because of: configure: ...
1
vote
3answers
194 views

Ruby testing on stable debian server

I've a dedicated debian 5.0 server, which runs the "stable" tree. Now I want to install [testing] ruby 1.8.7 - but my system isnt configured for installing testing packages via apt-get. How can I do ...
0
votes
2answers
95 views

If I want to run an application in Linux without using a package manager, is my only option to compile it from source?

I have 2 side projects I'd like to complete at work: Enable wiki users to authenticate against the corporate Active Directory (LDAP) server. Setup a code review tool for my dev team. Here's the ...
0
votes
2answers
739 views

getting permission denied while creating rpm through rpm package manager on RHEL 5.3

I am trying to create rpm through rpm package manager. Following is my spec file: **# This is a spec file for openldappkg** %define _topdir /osp/rpmBuildOpenLdap %define name openldap %define ...
0
votes
1answer
156 views

How to force a re-install from deb repository after local package screw-up?

I mistakenly screwed up my tex-live installation on lenny, by trying to locally install some squeeze packages. I've got a list of packages that are in state 'pU', and I'd like to replace them all by ...
0
votes
2answers
238 views

Gentoo emerge a package gives 404s - Do I need to --sync?

I've got a gentoo server here. It hasn't been upgraded in a good long while. I just tried to emerge a package, and it tries to download things, but all fails with 404. I can get other web access fine. ...