Saturday, April 20, 2024
8
rated 0 times [  8] [ 0]  / answers: 1 / hits: 13775  / 1 Year ago, sun, may 7, 2023, 8:29:30

I want know, if there is any command to run apt-get update in GUI like in the picture following:



GUI frontend of apt-get update



All i want to do is to write a script which will update the software sources through this gui manager. So that i can make it more user friendly. I need the command to do this. Please help.


More From » command-line

 Answers
3

You can't do apt-get update from the command line of the update manager.



To run the command, use



update-manager


man update-manaer gives:



     --data-dir=DATA_DIR
Directory that contains the data files

-c, --check-dist-upgrades
Check if a new distribution release is available

-d, --devel-release
Check if upgrading to the latest devel release is possible

-p, --proposed
Upgrade using the latest proposed version of the release
upgrader

--no-focus-on-map
Do not focus on map when starting

--dist-upgrade
Try to run a dist-upgrade


so you can move over by running



update-manager --dist-upgrade

[#26946] Monday, May 8, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
quivedge

Total Points: 223
Total Questions: 116
Total Answers: 124

Location: Slovenia
Member since Wed, Apr 6, 2022
2 Years ago
;