Linux Kubuntu

hello,
I was installing Citrix receiver on my Kubuntu v15, box the other day, and notice this in the install instructions

sudo apt-get -f install  

the instructions said that this command Installs dependencies and finish configuring the package(s).

I have used apt-get for a while, but this is the first time I've seen this. I keep trying to pick up useful commands, and if that is what this does, it sounds very useful.
My question is, why wouldn't you do this on all apt-get installs? It does seem like apt-get is good at getting dependencies, but once in a while I have dependencies missing. Also, it sounds like a great idea that it  "finish configuring the package(s)."
LVL 1
JeffBeallAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

rindiCommented:
Actually Apt-get always tries to install the dependencies. -f is only needed if some packages are broken in which case -f tries to fix them. Broken packages can happen when an installation is interrupted for example, when an installation fails etc.
0
JeffBeallAuthor Commented:
hello again, you answered my last Linux question.
so would logic have it that,

sudo apt-get -f install

would be use more in a scenario in which you run apt-get and there are some errors. You could run this command and see if that fixes it?
Also, is aptitude better than apt-get? I've tried both, but I thought I saw something about it being better.
0
rindiCommented:
Which is better, I don't know I usually either use apt-get, or in GUI mode Synaptic. Yes, you would only use -f to try to fix things. Often when something doesn't work when you use apt-get, you'll also see commands suggested to fix it.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
JeffBeallAuthor Commented:
sounds great! thanks for the help again.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.