Re: F11p Wine?

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

 



On Sun, May 24, 2009 at 9:47 PM, Armin Moradi <amoradi@xxxxxxxxxxxxxxxxx> wrote:
> On Sun, May 24, 2009 at 8:45 PM, Rahul Sundaram
> <sundaram@xxxxxxxxxxxxxxxxx> wrote:
>> On 05/25/2009 05:11 AM, Kevin Kofler wrote:
>>> Rahul Sundaram wrote:
>>>> Take a look at the yum-plugin-remove-with-leaves. It does what you want.
>>>
>>> Well, it tries to. More often than not, it does the wrong thing (e.g. where
>>> applications require other applications.) You can't even come close to
>>> reliably solving this problem without tracking which packages were
>>> installed explicitly and which were automatically installed as
>>> dependencies, and remove-with-leaves doesn't even try to do that. And even
>>> if you do that, you can end up removing stuff which wasn't supposed to be
>>> removed.
>>
>> yum recently got the ability to track why a package was installed (via
>> dependencies or directly etc) and I guess the plugin would be taking
>> advantage of that
>>
>> http://lists.baseurl.org/pipermail/yum/2009-May/022725.html
>>
>> Rahul
>>
>> --
>> fedora-list mailing list
>> fedora-list@xxxxxxxxxx
>> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>> Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>>
>
> The idea of having a database for packages seems interesting.  Maybe
> if yum would
> keep a counter for automatically installed packages in that database
> and increment it
> by one whenever you install another package that needs that package as
> dependency
> and also decrement it when you remove that package, yum would be able to remove
> deps when the counter reaches zero?
>
> It goes like this:
> I install a package foo, which installs bar and baz as deps (automatic install)
> right now the counter for both bar and baz is 1.
>
> then I install foo2 which depends on bar only.  The counter for bar is 2 and
> the counter for baz is 1.
>
> then I remove foo, which has bar and baz as deps, if you decrement the
> counter for both, bar will be 1, and baz will be 0, which means we can
> now remove baz too!
>
> A proper database (e.g. sqlite) would help in this case rather than a simple
> text file.
>
> --
> Armin Moradi
>

Oh, and I forgot to mention that if a package was installed directly,
the counter would simply be something like -1, so it would never be
implicitly removed as dependency.

-- 
Armin Moradi

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux