[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Dependency aware package removal.




Well, you might be able to create your own yum repository by setting up a cron job which runs up2date(8) (with "-d" flag, and perhaps other options if you want to pull *every- thing* available from the channel -- peruse the archives on this, and the 'taroon' list, for many threads about having up2date do stuff like this). Then just point yum(8) at your new repos.

<shrug> it's Linux ... it's customizable ... the problem is
you often *have* to customize it </shrug>

- Don


Awais Riaz wrote:

I was looking for a all-in-one solution for all of my
package management needs.

I have that in apt :). It does everything I need it to
do. I was expecting something similar for RHEL4
considering I'm actually paying for it :). If only I
could get RHEL4 packages via an apt or yum repos....


Cheers,

Awais



--- Don Buchholz <buchholz easystreet com> wrote:



How about writing a script using "rpm -q
--whatrequires" to
list all the dependent packages, and then build a
full list
of packages to pass on to "rpm -e"?


Awais Riaz wrote:



But what it can't do (and what I'm after) is remove
all the packages depending on that package (and so
on...). The same applies to package groups. Without
this functionality package removal can be quite a
tedious job.

I'm thinking of using yum with the local rpmdb to


do


this. AFAIK, using yum with the local rpmdb and
up2date both should cause no problems. This way I can use


yum


to install and remove packages and dependencies and
up2date to download the latest errata and updates.


Cheers,

Awais


--- Joshua Baker-LePain <jlb17 duke edu> wrote:





On Fri, 29 Jul 2005 at 3:24am, Awais Riaz wrote





I'm new to RHEL4 and have a question that has


been


bothering me.

Is there a proper 'Redhat way' of removing




packages in




a dependency aware manner on systems without X




(and




hence no system-config-packages)? Coming from a
background using apt and yum, I find it strange




that




up2date doesn't provide this functionality. I've




been




taking this functionality for granted for years




with




other package management systems and am suprised




not




to find an out-of-the-box, all-in-one, fully
functional package management solution in RHEL4.




Am I




missing something?



Erm, 'rpm -e' will refuse to remove a package if
others depend on it.

--
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University

--
nahant-list mailing list
nahant-list redhat com
http://www.redhat.com/mailman/listinfo/nahant-list









____________________________________________________


Start your day with Yahoo! - make it your home page


http://www.yahoo.com/r/hs


-- nahant-list mailing list nahant-list redhat com http://www.redhat.com/mailman/listinfo/nahant-list






--
nahant-list mailing list
nahant-list redhat com
http://www.redhat.com/mailman/listinfo/nahant-list







____________________________________________________
Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs



-- nahant-list mailing list nahant-list redhat com http://www.redhat.com/mailman/listinfo/nahant-list






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]