Siduction Forum

Siduction Forum => Software - Support => Topic started by: vilde on 2016/12/03, 00:53:50

Title: apt, apt-get trying to understand?
Post by: vilde on 2016/12/03, 00:53:50
There have been a lot of writing the last days in a topic (https://forum.siduction.org/index.php?topic=6455.60) in "Upgrade Warnings" about apt and how to use it on siduction dist-upgrades. Melmarker suggest that it's good to get familiar with apt, that's a good idea. There has been some other posts about this in the past and I tried to find out some and have red a little on The Debian Administrator's Handbook (https://debian-handbook.info/browse/stable/sect.apt-get.html).  I must admit that I don't really understand but I understand that things have changed a bit.

Since the Kanotix time I have learned to use apt-get update and then apt-get (install), (dist-upgrade) or (purge) and so on.

Is it recommender to allways use apt instead of apt-get in siduction now? And shall we then do apt full-upgrade instead of apt-get dist-upgrade?

After reading in man apt I got this, do I understand right?

Would be nice to have some comments about this, thanks.







Title: Re: apt, apt-get trying to understand?
Post by: piper on 2016/12/03, 01:18:08

http://www.howtogeek.com/234583/simplify-command-line-package-management-with-apt-instead-of-apt-get/

A couple more reads

http://www.2daygeek.com/apt-command-examples/

https://www.cyberciti.biz/faq/ubuntu-lts-debian-linux-apt-command-examples/

http://www.tecmint.com/apt-advanced-package-command-examples-in-ubuntu/
Title: Re: apt, apt-get trying to understand?
Post by: vilde on 2016/12/03, 11:34:44
Quote from: piper on 2016/12/03, 01:18:08

http://www.howtogeek.com/234583/simplify-command-line-package-management-with-apt-instead-of-apt-get/ (http://www.howtogeek.com/234583/simplify-command-line-package-management-with-apt-instead-of-apt-get/)

A couple more reads

http://www.2daygeek.com/apt-command-examples/ (http://www.2daygeek.com/apt-command-examples/)

https://www.cyberciti.biz/faq/ubuntu-lts-debian-linux-apt-command-examples/ (https://www.cyberciti.biz/faq/ubuntu-lts-debian-linux-apt-command-examples/)

http://www.tecmint.com/apt-advanced-package-command-examples-in-ubuntu/ (http://www.tecmint.com/apt-advanced-package-command-examples-in-ubuntu/)
Thank you piper, that was good reading, among other thing I learned that I now can use apt deb instead of dpkg -i to install a single debian package
Title: Re: apt, apt-get trying to understand?
Post by: devil on 2016/12/03, 14:56:04
you will be disapointed trying to follow the examples in the last link as they only work with latest Ubuntu.
Title: Re: apt, apt-get trying to understand?
Post by: vilde on 2016/12/03, 15:17:17
Quote from: devil on 2016/12/03, 14:56:04
you will be disapointed trying to follow the examples in the last link as they only work with latest Ubuntu.
Ok, thank you devil, this is one of the difficulties when I try to learn a little on Internet,  a huge amount of information, but how to know what's relevant for my purpose?

In this case I only want to know how to manage my computers with siduction on.

So again, shall we now use apt instead of apt-get?

apt full-upgrade
is the same as apt dist-upgrade and that shall be used for du or?

Title: Re: apt, apt-get trying to understand?
Post by: piper on 2016/12/03, 15:36:37
Quote from: devil on 2016/12/03, 14:56:04
you will be disapointed trying to follow the examples in the last link as they only work with latest Ubuntu.

Yes true, that slipped in there from my notes  :( which is now deleted

vilde

I use

apt update && apt full-upgrade -d
Title: Re: apt, apt-get trying to understand?
Post by: tmhind2 on 2016/12/03, 18:02:52
I have had good luck " said modestly" using both apt full-upgrade "unless it wants to remove a list of programs" then I use apt upgrade. I have found that in so doing I can keep my systems up to date until a full-upgrade only removes those packages that are out dated. Knock on wood it seems to be working for me, would appreciate your feedback.

Tom