{"id":27118063,"url":"https://github.com/royborgen/linux_upgrade_script","last_synced_at":"2025-08-02T14:06:28.998Z","repository":{"id":261312671,"uuid":"856532316","full_name":"royborgen/linux_upgrade_script","owner":"royborgen","description":"This script streamlines package updates for both Debian- and Arch-based Linux distributions. With a single command, it updates all system packages. Currently supported packamge manager are APT, Pacman, Yay, Flatpak, and Snap.","archived":false,"fork":false,"pushed_at":"2025-06-04T00:04:23.000Z","size":33,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-11T19:39:36.354Z","etag":null,"topics":["apt","debian-packages","flatpak","linux","snap"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/royborgen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-09-12T18:27:18.000Z","updated_at":"2025-06-04T00:04:24.000Z","dependencies_parsed_at":"2025-06-11T19:06:18.816Z","dependency_job_id":"117dc06d-4d94-46cf-bc33-3833565143fc","html_url":"https://github.com/royborgen/linux_upgrade_script","commit_stats":null,"previous_names":["royborgen/linux_upgrade_script"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/royborgen/linux_upgrade_script","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royborgen%2Flinux_upgrade_script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royborgen%2Flinux_upgrade_script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royborgen%2Flinux_upgrade_script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royborgen%2Flinux_upgrade_script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/royborgen","download_url":"https://codeload.github.com/royborgen/linux_upgrade_script/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royborgen%2Flinux_upgrade_script/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268401594,"owners_count":24244464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apt","debian-packages","flatpak","linux","snap"],"created_at":"2025-04-07T06:50:03.621Z","updated_at":"2025-08-02T14:06:28.991Z","avatar_url":"https://github.com/royborgen.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Linux System Update Script\n\n\nThis script streamlines package updates for both Debian- and Arch-based Linux distributions. With a single command, it updates all system packages. It checks if each package manager is installed on the system before attempting updates and provides options for non-interactive updates and help. \n\n**Supported package managers:** APT, DNF, Pacman, Yay, Flatpak, and Snap. \n\n\n## Script Overview\n\nThe script performs the following functions:\n1. **APT updates**: Runs sudo and updates and upgrades packages managed by APT if it is installed. Prompts for confirmation unless `-y` option is provided. User will be prompted for sudo password. \n2. **pacman updates**: Runs sudo, syncronizes and updates all packages managed by pacman if installed. Prompts for confirmations unless `-y` or `--yes` is provided. \n3. **yay updates**: Synchronizes and updates all packages managed by pacman if installed. Prompts for confirmations unless `-y` or `--yes` is provided. \n4. **DNF updates**: Refreshes repository metadata and updataes all packages managed by DNF if installed. Prompts for confirmations unless `-y` or `--yes` is provided. \n5. **Snap updates**: Runs sudo and checks for Snap updates and prompts for confirmation unless `-y` or `--yes` option is provided.\n6. **Flatpak updates**: Checks for updates to Platpak packages if installed. Prompts user for confirmation unless `-y` or `--yes` option is provided.\n7. **Reboot Notification**: Notifies if a system restart is required after updates.\n\n## Usage\n\n```\nUsage: upgrade [OPTION]\nPerforms package updates on Debian and Arch based distributions.\nUpgrades APT, DNF, pacman, yay, snap, and Flatpak packages.\n\nOptional arguments:\n-y, --yes          does not prompt before applying updates\n-h, --help         displays this message\n```\n\n## Features\n- Updates are grouped by package manager, with color-coded section headings for each.\n- Reboot requirement notices are highlighted in yellow if a restart is needed.\n\n## Requirements\n- APT, DNF, pacman, yay, Snap, or Flatpak installed (any or all of them).\n- Root Privileges: The script automatically execute needed commands with sudo to perform updates.\n- Non-interactive Mode: Use -y to skip prompts, useful for automated environments.\n\n## License\nThis project is open-source and distributed under the GPL-2.0 license \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froyborgen%2Flinux_upgrade_script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froyborgen%2Flinux_upgrade_script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froyborgen%2Flinux_upgrade_script/lists"}