this post was submitted on 26 Mar 2024
1 points (100.0% liked)

Linux 101 stuff. Questions are encouraged, noobs are welcome!

1053 readers
1 users here now

Linux introductions, tips and tutorials. Questions are encouraged. Any distro, any platform! Explicitly noob-friendly.

founded 1 year ago
MODERATORS
 

Hi, I just read online that you can apparently run apt --fix-broken install.

I wanted to know, what that really does, but both apt --help and man apt only show a high-level summary of the subcommands and flags. The --fix-broken flag is never mentioned, and presumably many others neither.

Is there some way to access documentation for all subcommands and flags?

you are viewing a single comment's thread
view the rest of the comments
[–] this_is_router@feddit.de 0 points 7 months ago

In the past there were mutliple tools: apt-cache (searching packages), apt-get (managing packages), apt-file (searching for files belonging to packages), apt-key (managing repository keys)...

A few years ago some developers created apt to combine these multiple tools into the single program called apt. Both tools (the old apt-... and the new apt) use dpkg in the backend to install and remove packages. Looks like apt hasn't done its documentation homework.