LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-12-2008, 01:29 AM   #1
LinuxLover
Member
 
Registered: Feb 2004
Distribution: Solaris 10/11 , RHEL 6 ,AIX 7.1
Posts: 194

Rep: Reputation: 32
package remove through yum ?


Hello everyone,

I have configured local repository in RHEL5.

I have one problem regarding removel of package trough yum.

when I remove any package by

#yum remove packagename

It also asks for any dependencies to remove , at this point what if I want to remove the package without removing dependencies like as I can do with rpm command

#rpm -e package --nodeps
 
Old 04-12-2008, 05:29 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Then why don't you use rpm? Yum's very idea is about package reposities and dependency handling (otherwise you'd just use a script that ran wget and rpm, or something), so get used to it. On the other hand rpm is the core of the package managing system; if you know you can do that with it, why would you use yum (which is, if you ask me, no faster to use than rpm -- often vice versa).
 
  


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
# yum remove dbus - trying to remove the whole system... atnonis Fedora 4 11-23-2007 06:31 AM
yum install/remove paradox. unknownmosquito Linux - Software 2 09-03-2007 02:47 AM
yum remove obsolete apps themanwhowas Linux - Newbie 1 03-19-2007 03:57 PM
Yum Error: Transaction Check Error package x(which is newer than package y)... godsk Linux - Newbie 0 06-05-2006 07:13 AM
yum remove daacosta Fedora 8 10-27-2005 10:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:59 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration