Re: Dependency loops considered harmful?

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

 



Seth Vidal wrote:
> Okay this is obviously just Proof code so take it as read - but grab
> this script:
> 
> http://skvidal.fedorapeople.org/misc/remove-recurse.py
> 
> and run it with one arg being the pkg you wish to remove. It will print
> out what it would end up doing if it was removed.
> 
> for example:
> 
> # python remove-recurse.py easytag
> remove easytag
> removing id3lib-3.8.3-20.fc9.i386 b/c it is not required by anything
> else
> removing libmp4v2-1.5.0.1-6.fc9.i386 b/c it is not required by anything
> else
> libmp4v2.i386 0-1.5.0.1-6.fc9 - e
> id3lib.i386 0-3.8.3-20.fc9 - e
> easytag.i386 0-2.1-5.fc9 - e
> 
> 
> 
> It doesn't actually change anything, just prints out what would happen.
> then tell me which (and I'm sure there  are many) cases it doesn't
> properly address.
> -sv
> 
> 
[badger@Clingman tmp]$ sudo ./remove-recurse.py yum
[...]
removing pygpgme-0.1-8.fc9.i386 b/c it is not required by anything else
removing python-iniparse-0.2.3-3.fc9.noarch b/c it is not required by
anything else

As it turns out, I personally need both of these deps.  I have a script
in ~/bin/ that uses pygpgme.  I also am working on fas in a local
checkout which requires pygpgme.  And I'm evaluating python-iniparse and
python-configobj to see which one I'm going to be using for some fedora
infrastructure scripts.

So -- I like having a script that can remove things recursively.  Even
better if I could do:
  sudo remove-recurse.py yum --exclude pygpgme

I just wouldn't want this kind of thing to be automatic or to be the
default when I do "yum remove"

-Toshio


Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux