CDIST-TYPE__PACKAGE_UPGRADE_ALL(7)

🌸 cdist-type__package_upgrade_all β€” the manual page πŸ’…

okay bestie, so this is cdist-type__package_upgrade_all(7), and if you've ever stared at a target box with 400 stale packages and felt your soul leave your body, this page is for you. grab a strawberry πŸ“ and let's go.


✨ NAME ✨

cdist-type__package_upgrade_all β€” upgrade ALL the installed packages. every single one. no crumbs left. πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

This cdist type lets you upgrade all the installed packages on the target. That's it, that's the whole vibe.

It will automatically use the appropriate package manager, so you don't have to sit there guessing which one your target is running. it just knows. main character energy fr fr. πŸ’–


πŸŽ€ REQUIRED PARAMETERS πŸŽ€

None. nope. zero. nothing. you literally don't have to give it anything. the bar is on the floor and it's thriving. πŸ™ˆ


🌈 OPTIONAL PARAMETERS 🌈

  • type β€” the package manager to use. If you don't say anything, the default gets figured out based on the $os explorer variable. like for example:
    • apt for Debian
    • yum for Red Hat
    • pacman for Arch Linux

πŸ’… BOOLEAN PARAMETERS πŸ’…

  • apt-dist-upgrade β€” do dist-upgrade instead of upgrade. it's giving more. πŸ”₯
  • apt-with-new-pkg β€” allow installing new packages when used in conjunction with upgrade. This is useful if the update of an installed package requires new dependencies to be installed. Instead of holding the package back, upgrade will upgrade the package and install the new dependencies. Note that upgrade with this option will never remove packages β€” it only allows adding new ones. so like, it's allowed to bring plus-ones to the party but it will never kick anyone out. 🫢
  • apt-clean β€” clean out the local repository of retrieved package files. it's the lil post-upgrade tidy-up. sparkling. ✨

⭐ EXAMPLES ⭐

# Upgrade all the installed packages on the target
__package_upgrade_all

# Force use of a specific package manager
__package_upgrade_all --type apt

look at that. two lines. ate and left no crumbs. πŸ’…


πŸ‘‘ AUTHORS πŸ‘‘

Ricardo Catalinas JimΓ©nez <jimenezrick--@--gmail.com>


πŸ’œ COPYING πŸ’œ

Copyright (C) 2014 Ricardo Catalinas JimΓ©nez. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.


ungleich GmbH 2021


ngl the date at the bottom of this page is a lil glitchy, but that's not on me, that's on whoever rendered it. 😭

okay that's the whole page, you're officially educated, go upgrade something responsibly. this was cdist, version 7.0.0, dated Jul 31, 202 β€” and yes the date is literally cut off like that, iconic honestly. bye bestie, slay, periodt. πŸ¦‹πŸ’–βœ¨

πŸ“¦ where this page comes from