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

 

 

 

Synaptic automated upgrade

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
User avatar
tassoman
Posts: 6
Joined: 2020-03-18 22:51
Location: Italy

Synaptic automated upgrade

#1 Post by tassoman »

Hello world,
I would like to update my installation using synaptic in a Ubuntuish way, graphical and automated.

So I managed to run this command:

Code: Select all

synaptic-pkexec --update-at-startup --upgrade-mode --non-interactive
Is there any command line argument useful to hide the synaptic main window? I want just displayed update-mode windows.
Thanks for your time.

Dai_trying
Posts: 1101
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: Synaptic automated upgrade

#2 Post by Dai_trying »

I use this in an updater script I worked on quite some time ago, should still work but untested in a while.

Code: Select all

synaptic -t "UPDATE MANAGER MODE" --dist-upgrade-mode --hide-main-window --non-interactive

User avatar
tassoman
Posts: 6
Joined: 2020-03-18 22:51
Location: Italy

Re: Synaptic automated upgrade

#3 Post by tassoman »

Thank you Dai for your reply!
I was missing the option --hide-main-window because isn't documented by help command, man pages neither.

Dai_trying
Posts: 1101
Joined: 2016-01-07 12:25
Has thanked: 5 times
Been thanked: 16 times

Re: Synaptic automated upgrade

#4 Post by Dai_trying »

You are welcome :)

Post Reply