CDIST-TYPE__APT_DEFAULT_RELEASE(7)

CDIST-TYPE__APT_DEFAULT_RELEASE πŸ’…

okay bestie, this is a cdist type manpage β€” specifically the cdist-type__apt_default_release one (section 7, for the nerds keeping score πŸ““). It's a whole vibe, it's short, it's slay, and it does exactly one thing. Let's get into it 🫢


✨ NAME ✨

cdist-type__apt_default_release β€” configure the default release for apt πŸ’–


🌸 DESCRIPTION 🌸

So. What this type does is set the default release for apt, and it does that by way of the APT::Default-Release configuration value. That's it. That's the whole job. Lowkey iconic that it knows its lane ✨


πŸ‘‘ REQUIRED PARAMETERS πŸ‘‘

You must hand it this one, no skipping, no excuses, periodt πŸ’…

  • release β€” the value you want APT::Default-Release to be set to.

This little cutie can hold a release name, a codename, or a release version. All three are valid, she contains multitudes πŸ¦‹

Examples, straight from the source, no cap: 'stable', 'testing', 'unstable', 'stretch', 'buster', '4.0', '5.0*'.


πŸŽ€ OPTIONAL PARAMETERS πŸŽ€

None. There are literally zero. Not one. The way this type said "no extras, no add-ons, I'm a minimalist" 😌✨


🌈 EXAMPLES 🌈

Here's the moment you've been waiting for, the main character energy example:

__apt_default_release --release stretch

and that's it, that's the whole thing, she ate πŸ”₯


🧚 AUTHORS 🧚

Matthijs Kooijman <matthijs--@--stdin.nl> β€” ty king for this one πŸ™Œ


πŸ’œ COPYING πŸ’œ

Copyright (C) 2017 Matthijs Kooijman. 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


okay so real talk: the release parameter is required, so if you roll up without it, that's not gonna fly bestie πŸ’€ also worth saying out loud β€” this is what feeds APT::Default-Release, so you're changing which release apt treats as the default. Be a little mindful, yeah? 🫢

and that's the whole page!! mwah πŸ’‹ This lil number is from cdist version 7.0.0, dated Jul 31, 202 (the footer got a teensy bit clipped in the source, we don't talk about it πŸ™ˆ) β€” anyway, ily, go configure your apt default release, slay, bye πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from