480 reputation
37
bio website alexeydemidov.com
location
age 43
visits member for 4 years, 4 months
seen Dec 9 at 22:25

Jul
28
awarded  Notable Question
Jan
31
awarded  Popular Question
Mar
21
awarded  Popular Question
Aug
21
awarded  Yearling
Oct
7
awarded  Commentator
Oct
7
comment On Gentoo is there a way to find a list of installed packages which doesn't have other packages depended on them?
Actually I can get that list of leaf packages by simply cycling over list of all packages calling equery depends for each, but this is very slow because there is seems to be no information on dependencies stored in /var/db/pkg (for example FreeBSD has +REQUIRED_BY for each package and it refuses to remove packages which have something depended on them)
Oct
7
comment On Gentoo, how do I rebuild all packages depended on some other package?
I've tried perl-cleaner --all but it didn't rebuild vim which is linked against libperl.so.
Oct
7
comment On Gentoo is there a way to find a list of installed packages which doesn't have other packages depended on them?
These packages are installed by puppet recipe so using --oneshot will require modifying puppet sources, and I need these packages included in world file in production anyway so they won't be removed by regular depclean (these packages are dependencies of large web application which is not properly packaged yet). But right now I need to clean these packages from test system and removing these packages by hand from world file (or from system) is exactly task which I'm trying to avoid.
Oct
7
accepted On Gentoo how do I find list of packages installed after some specific date?
Oct
7
comment On Gentoo how do I find list of packages installed after some specific date?
Thanks, direct access to /var/pkg/db is much better. I've modified your script to use equery depends to skip packages which have anything depended on them so I could get list of packages which is safe to remove without breaking other packages. Sets is interesting feature but it couldn't solve use case when package included in set is also used by some other package which is not included in set, so removing set would break this other package.
Oct
7
awarded  Scholar
Oct
7
accepted On Gentoo, how do I rebuild all packages depended on some other package?
Oct
7
comment On Gentoo, how do I rebuild all packages depended on some other package?
revdep-rebuild is first thing I tried, but it can't handle this case because library (libperl.so) is present but missing some symbols.
Oct
2
comment On Gentoo is there a way to find a list of installed packages which doesn't have other packages depended on them?
In my case, packages which I'm interested in (these perl modules from my other question) are all in world file.
Oct
2
asked On Gentoo, how do I rebuild all packages depended on some other package?
Oct
2
asked On Gentoo is there a way to find a list of installed packages which doesn't have other packages depended on them?
Oct
2
comment On Gentoo how do I find list of packages installed after some specific date?
Thanks for suggestion, I've tried it. Unfortunately genlop relies on parsing portage logfiles and doesn't reflect current system state so its output includes already removed packages and some packages are included multiple times as they were installed multiple times and there are also some packages included which happened to be updated at the same time period. So after all I still need to check all packages one by one what I'm trying to avoid.
Oct
2
awarded  Student
Oct
2
asked On Gentoo how do I find list of packages installed after some specific date?
Aug
22
awarded  Yearling