Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Looking in manual it is not mentioned, after that I looked in "The Debian GNU/Linux FAQ", "The Debian Administrator's Handbook" and it wasn't mentioned there as well.
Only in "Debian Reference" there is one line about it
The "aptitude why <regex>" can list more information by "aptitude -v why <regex>". Similar information can be obtained by "apt rdepends <package>" or "apt-cache rdepends <package>".
Looking in source https://salsa.debian.org/apt-team/apt, they only mention tools included in apt, but not how syntax for options is changed. Is there a complete documentation on apt for all of its options and flags?
Much like apt itself, its manpage is intended as an end user interface and as such only mentions the most used commands and options
partly to not duplicate information in multiple places and partly to avoid overwhelming readers with a cornucopia of options and
details.
My problem here isn't rdepend it self, rather lack of documentation for apt. As right now I don't know where to look what are all of apt options and abilities from all those tools it is including. Looking each of those tools, like apt-get can't help me much, since there might be difference in syntax, for example apt-get uses dist-upgrade while apt uses full-upgrade.
Indeed I have noticed the man page for apt is a bit lacking. One can use apt list -i instead of apt list --installed which is not mentioned. I have used apt depends and apt rdepends regularly, not sure how I knew about it though.
apt will treat dist-upgrade the same as full-upgrade. And the man mentions /usr/share/doc/apt-doc/ which contains no mention of the newer apt, only apt-get.
Developers have a reputation for avoiding writing documentation but this is such a commonly used one it would be nice for a bit of sharing the secret information. Bug reports from users may help.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”Remember toBACKUP!
I was disappointed in apt-doc, for a package that should contain documentation it has even less information then other sources I mentioned. I did report wishlist bug for additional documentation, as for such important tool it is rather embarrassing to have such lacking information on.
Best description of apt packaging and apt package internals was in Martin Krats's book The Debian System: Concepts and Tehcnigues. It' is at least decade old now, and I game mine away.
So is dist-upgrade from apt-get but is renamed to full-upgrade. As such, just looking at tools included in apt doesn't give guarantee. I can't remember right now but there are other options that have changes as well.
The apt command basically combines the most commonly used user commands from apt-get, apt-cache, and also dpkg -i. It adds some useful features such as a progress bar and the ability to list upgradeable, installed, and available packages, and to edit sources.
Read https://www.linux-magazine.com/Issues/2 ... s.-apt-get
The older commands are not going away and are still recommended to use in scripting.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”Remember toBACKUP!
SEE ALSO
apt-get(8), apt-cache(8), sources.list(5), apt.conf(5), apt-config(8), The APT User's
guide in /usr/share/doc/apt-doc/, apt_preferences(5), the APT Howto.
Well, I guess the documentation is there, if you can find it! Lol.
MALsPa wrote:Score!! And of course man apt-cache is mentioned at the bottom of man apt:
Well, I guess the documentation is there, if you can find it! Lol.
This is wrong approach to get information about apt, for example for apt there are no options such as
Problem as with dist-upgrade to full-upgrade from apt-get, there might be analogues of those apt-cache options for apt but renamed or with changed syntax. Issue being that there is no such documentation for apt, and there is no way of knowing whether it has them or not. In source for apt it is said it includes apt-cache tool, but not what is included from it, is it all but renamed, or only selected few?
Yeah, I agree with you, mm3100. The documentation could be better, no question. But I think there are quite a few of us who get along okay doing all package management from the command line. (I used to rely on Synaptic, but I don't use it anymore.) Users might have to dig a bit to uncover certain details. Like sunrat, I've been using rdepends, but I don't remember where I found out about it. Maybe the real problem is not enough people volunteering to help out with the documentation.
I never argued apt doesn't work well, just that it has many more options and abilities that aren't documented and as such not known. And when you want to find out what it can it is hard to find.