No bad idea
---------- Messaggio inoltrato ----------
Da: "Pascal Terjan" <pter...@gmail.com>
Data: 01/Apr/2016 14:12
Oggetto: Re: [Rpm-ecosystem] Using rpm db to track unneeded packages
A: <tchva...@suse.cz>, <rpm-ecosys...@lists.rpm.org>
Cc:

On 1 April 2016 at 13:05, Tomas Chvatal <tchva...@suse.cz> wrote:
> Hello,
>
> I was wondering if it would be possible to extend rpmdb to contain
> information about how package was pulled in the dependency graph.
>
> At this point we at openSUSE have some sort of solver trying to
> magically do it in zypper and you guys at Fedora have it in dnf.
>
> I would more like to see it tracked in the rpm because that way we
> could properly have all packages in the db, including the ones users
> installed via rpm commands and could see if they are
>  a) directly requested by user
>  b) just dependency of something and thus eligible for removal

urpmi has its own tracking (a simple text file
/var/lib/rpm/installed-through-deps.list) but I think that would be
nice to have it in rpm directly so that it works whatever tool is used
to install the packages

> I guess dnf/zypper would just flag them during install as True/False
> depending if they are direct request or dependency and for rpm we would
> always flag them as True for the solver as requested by user.
>
> Would something like this make sense?
>
> Cheers
>
> Tom
> _______________________________________________
> Rpm-ecosystem mailing list
> rpm-ecosys...@lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-ecosystem
>
_______________________________________________
Rpm-ecosystem mailing list
rpm-ecosys...@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-ecosystem

Reply via email to