![]() Registered Member ![]()
|
I have a Linux only network at home. I have a server (Kubuntu) and 3 desktops (2 Kubuntu and 1 Neon). I decided to install Ansible on my server. I want to use it, mostly just for the fun of it, to deploy updates to all the computers. On the Kubuntu computers, to get updates from Konsole, you do the standard apt-get update and upgrade. However, when you do it in Neon, it doesn't like apt-get upgrade and says you should use pkcon update instead. While figuring things out, I found that Ansible doesn't, at least I haven't found it, have a way to run pkcon. So my question is what is the best option to use and are any actually good to use with Neon? if you run apt-get upgrade in Konsole, it states "If you absolutely must use apt you do have to use dist-upgrade or full-upgrade in place of the upgrade command.". So yes, I could choose either of those but is it sufficient? Is there something better or should I just not use Ansible for Neon?
The below info comes from https://docs.ansible.com/ansible/latest ... odule.html Choices: dist full no ← safe yes If yes or safe, performs an aptitude safe-upgrade. If full, performs an aptitude full-upgrade. If dist, performs an apt-get dist-upgrade. Note: This does not upgrade a specific package, use state=latest for that. Note: Since 2.4, apt-get is used as a fall-back if aptitude is not present.
F37 KDE Spin
|
![]() Registered Member ![]()
|
if using "apt-get" then yes you want to use "dist-upgrade" on Neon (and Kubuntu IMO) and if using "apt" use "full-upgrade" .
it is fine to use ether on Neon , the warning is to make sure you DO use the dist-upgrade(apt-get) or full-upgrade(apt) see "man apt-get" and "man apt" to see the difference in upgrade verses dist-upgrade or full-upgrade and you will see why . I would not use aptitude myself but if your up on it's usage and know it's quirks that's up to you of course VINNY |
![]() Registered Member ![]()
|
Aptitude sounds familiar. I think i've used it in the distant past. I'll not choose that option.
![]() Thanks Vinny
F37 KDE Spin
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]