LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices



Reply
 
Search this Thread
Old 06-02-2005, 01:53 PM   #1
fiservguy
Member
 
Registered: Nov 2004
Distribution: RHEL 2.1, RHEL 3.0, SUSE 9.2
Posts: 31

Rep: Reputation: 16
Question How can I prevent up2date from updating packages I didn't install?


I'm trying to come up with a good way to build a RHEL 3 server that only includes the packages I'm interested in. The problem is that even the packages I don't choose to install get copied into the rpm database stored on the server, so when I connect to RHN and update the system, everything gets updated (and in many cases installed).

I realize I can go in and "uncheck" packages that I don't care about when I register the server, but that's an ugly cludge -- not only is it incredibly likely that I'll miss something (and all of its resultant supporting rpms will get added back in), but there are packages in there that aren't listed on the comps.xml file on the first RHEL install CD.

Is there a good (easy? foolproof?) way to:
1. only install the packages I want to install, and not include the rest anywhere on the server
2. Ensure that I'm only notifying RHN about the packages I care about (base install, plus whatever else I actively installed)
3. Only download from RHN the packages that are actually installed on my server

Any help would be appreciated.

FYI, my install is X Windows, Gnome, FTP server, admin tools, web browser, and some development tools. I don't want Samba, Apache, BIND, sendmail... but they seem to get installed (and set to on!) when I use RHN.

Thanks,
matt
 
Old 06-02-2005, 06:01 PM   #2
hob
Senior Member
 
Registered: Mar 2004
Location: Wales, UK
Distribution: Debian, Ubuntu
Posts: 1,075

Rep: Reputation: 45
The software you've listed matches the "Workstation" installation type, so try installing with that and adding anything extra afterward.

Be aware that every Linux system must have an active mail service, and Anaconda automatically installs sendmail for this. The reason is that all messages to the administrator are sent by e-mail (to get these mails: edit /etc/aliases, changing the root:root line to root:me@mydomain.com, save changes, and run 'newaliases' as root).

The only other thing I can think is that there is a saved profile for this system on RHN, so when you connect it imposes that package profile. You can delete profiles and re-register systems on RHN at will - you just can't have more registered systems than your entitlements allow.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to prevent Arch from downloading packages again? Sysupgrade vharishankar Arch 4 11-24-2005 05:18 AM
Updating packages from redhat - insatlling *.hdr packages jomy Linux - Networking 1 01-18-2005 09:36 AM
How to prevent MDK 10 from updating /etc/resolv.conf on every boot Ph0enix2003 Mandriva 0 06-18-2004 10:16 AM
Prevent updating shared library links melinda_sayang Slackware 1 02-26-2004 01:20 PM
Updating kernel with up2date Lindy Red Hat 4 11-25-2003 08:03 PM


All times are GMT -5. The time now is 04:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration