475 reputation
27
bio website alexeydemidov.com
location
age 42
visits member for 3 years, 11 months
seen 2 days ago

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
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
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
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.
Jul
18
comment Why does redirection (>) not work sometimes but appending (>>) does?
On my system append doesn't work too. It could be explained by difference in SELinux policies between my CentOS and original system.
Jan
23
comment On-the-fly monitoring HTTP requests on a network interface?
There is same question answered on superuser.com/questions/67428/possible-to-catch-urls-in-linux
Jan
16
comment Multibooting FreeBSD and other Linux distros
According to its documentation (Handbook 2.3.3) FreeBSD must be installed into primary partition. While it could mount filesystems from logical partitions pretty fine, it can boot only from primary partition.