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-ecosystem@lists.rpm.org > http://lists.rpm.org/mailman/listinfo/rpm-ecosystem > _______________________________________________ Rpm-ecosystem mailing list Rpm-ecosystem@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-ecosystem