The tag has no usage guidance.

learn more… | top users | synonyms

124
votes
8answers
105k 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 ...
89
votes
11answers
102k views

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

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

FLOSS Server management and audit tools

I've been working with HP's Server Automation tool suite for a long time, and while it's a great tool - it's too much for a small business or home network to use (more accurately: it's way too ...
11
votes
2answers
3k 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
10k 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
199 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
2answers
222 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 ...
23
votes
4answers
31k 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 ...
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 ...
12
votes
3answers
74k 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 ...
7
votes
9answers
6k views

Is there any decent repositories for CentOS or Fedora?

I'm known as a hater of RPM/Yum based OS, just because i think their lacking of decent package repositories (at least for recent software). While in Debian/Ubuntu, there are a lot of good ...
5
votes
4answers
12k 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 ...
21
votes
4answers
10k 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 ...
3
votes
2answers
26k 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 ...
9
votes
2answers
30k 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 ...
6
votes
6answers
818 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 ...
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
1answer
14k 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: E:...
2
votes
1answer
552 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 ...
1
vote
2answers
91 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 ...
4
votes
1answer
1k views

ubuntu server: SSH banner telling to update packages but nothing to update

When I connect to my Ubuntu 10.04.2 LTS server I get the following banner: 25 packages can be updated. 15 updates are security updates. However if I run package upgrades/updates nothing comes up: ...
3
votes
2answers
601 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/ squeeze-...
1
vote
3answers
209 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 ...
1
vote
3answers
5k 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
2answers
302 views

Pin package versions in RHN?

Is there a way in RHN/Satellite to pin versions of packages to ensure that they don't get upgraded past a certain version? I have some custom applications that require certain packages to be locked at ...
0
votes
2answers
354 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. ...
0
votes
1answer
538 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 ...
0
votes
1answer
204 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
99 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 ...