[Yum-devel] clean up sooner
seth vidal
skvidal at linux.duke.edu
Mon Feb 13 21:19:17 UTC 2006
On Mon, 2006-02-13 at 23:10 +0200, Pekka Pietikainen wrote:
> On Mon, Feb 13, 2006 at 03:43:52PM -0500, seth vidal wrote:
> > > I wonder if yum would avoid some problems by cleaning old packages sooner?
> > > (I'm just guessing here that smart 'clean' means removing old package).
> >
> > It means changing around the sort order for a transaction. Right now yum
> > uses rpm's transaction sort.
> Yes please. There's nothing to ruin your day worse than a remote 1000
> package yum update where your ssh hangs midway -> yum exits -> you end up
> with dupes in your rpm database, and repomanage + rpm -Uvh --force *.rpm
> tricks in the cache directory is to clear things up.
>
> (I started always running yum under screen because of this :D )
the other option b/c a dead transaction can happen for other reasons is
to record before a yum transaction what the transaction actions are and
delete them from the top as you progress through them. Then a user could
simply replay the remaining pieces if they found themselves hosed.
-sv
More information about the Yum-devel
mailing list