APTITUDE-CREATE-ST(1)

πŸ’– NAME πŸ’–

aptitude-create-state-bundle β€” bestie, this bundles up your current aptitude state into one lil archive πŸŽ€

(it's the aptitude-create-state-bundle command, from the aptitude-create-state-bundle(1) manual page, in the command-line reference set 🌸)


✨ SYNOPSIS ✨

aptitude-create-state-bundle [<options>...] <output-file>

πŸ¦‹ DESCRIPTION πŸ¦‹

⚠️ Note, bestie, listen up: this command is mostly for internal use and for bug reporting in exceptional cases. It is not intended for end-users under normal circumstances. Like, no cap. 🫢

aptitude-create-state-bundle produces a compressed archive that stores all the files you'd need to replicate your current package archive state. It's giving "screenshot but for apt, but also a whole tarball." πŸ’…

The following files and directories are included in the bundle:

  • $HOME/.aptitude
  • /var/lib/aptitude
  • /var/lib/apt
  • /var/cache/apt/*.bin
  • /etc/apt
  • /var/lib/dpkg/status

The output of this program can be used as an argument to aptitude-run-state-bundle(1). Iconic combo, honestly. πŸ‘‘


🌈 OPTIONS 🌈

  • --force-bzip2 β€” Override the autodetection of which compression algorithm to use. By default, aptitude-create-state-bundle uses bzip2(1) if it's available, and gzip(1) otherwise. Passing this option forces the use of bzip2 even if it doesn't appear to be available. Bold. Brazen. Respect. πŸ”₯
  • --force-gzip β€” Override the autodetection of which compression algorithm to use. Same defaults as above, bestie: bzip2(1) if it's there, gzip(1) otherwise. Passing this option forces the use of gzip even if bzip2 is available. Choosing chaos. πŸ’€
  • --help β€” Print a brief usage message, then exit. The "just tell me what to do" option, we love her. πŸ’œ
  • --print-inputs β€” Instead of creating a bundle, display a list of the files and directories that the program would include if it generated a bundle. It's giving ✨ window shopping ✨ β€” look, don't touch.

πŸŽ€ FILE FORMAT πŸŽ€

The bundle file is simply a tar(1) file compressed with bzip2(1) or gzip(1), with each of the input directory trees rooted at .. That's it, that's the whole format. Simple. Clean. Ate. 🌸


πŸ‘‘ SEE ALSO πŸ‘‘

aptitude-run-state-bundle(1), aptitude(8), apt(8)


🧚 AUTHORS 🧚

  • Daniel Burrows <dburrows@debian.org> β€” Main author of the document. The OG. 🌟
  • Manuel A. Fernandez Montecelo <mafm@debian.org> β€” Main maintainer after Daniel Burrows, documentation about new features, corrections and formatting. Carrying the torch, periodt. πŸ’ͺ

Copyright 2007 Daniel Burrows.

This manual page is free software; 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 2 of the License, or (at your option) any later version.

This manual page is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. (Yes bestie, that means no promises, read the license fr fr 😭)

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.


and that's the whole page, bestie 🫢 this was aptitude-create-state-bundle, version 0, dated 02/04/2026, from the aptitude-create-state-bundle(1) manual in the command-line reference set β€” slay, go replicate some package archive state responsibly πŸ’…βœ¨

πŸ“¦ where this page comes from