SYNC-AVAILABLE(8)
β¨ sync-available β the manual page, but make it a group chat β¨
okay bestie, you know how there's a sync-available command on your Debian system and you've been like "what does this even do"? bestie. it's from the Debian administrator's manual, it lives in section 8 of the man pages, and it is iconic. let's get into it. π
π¦ NAME
sync-available β sync dpkg's available database with apt's database
no fr that's the whole vibe. one job. does it well. periodt.
πΈ SYNOPSIS
sync-available
sync-available --version
sync-available --help
that's it. no arguments. no wild flags. she simply is. π
π DESCRIPTION
okay so here's the tea π: this program updates the dpkg(8) available database with the data in the apt(8) package database. literally just that.
and why do we care, you ask? because grep-available(1) and other similar programs need that data to be fresh β otherwise they're out here giving you results that are giving stale. so sync-available is basically the glow-up appointment that keeps them up-to-date. β¨
now, the same functionality is also available through dselect(8), when it is configured to use apt(8) as its acquisition method. so like, there's another route. BUT β and this is the slay part β this program does not require that dselect(8) is installed. so you can have the goods without the whole dselect situation. we love a low-dependency queen. π
π EXIT STATUS
the program exits with status code 0 if all went well, and a non-zero status code otherwise.
so: 0 = we ate. π½οΈ anything else = something went sideways, check yourself before you wreck yourself.
π OPTIONS
--versionβ outputs the name and version of the program onto the standard output stream. cute little "hi, this is me, this is my version" moment. π«Ά--helpβ gives a brief usage statement on the standard output stream. your girl is helpful. she's a giver.
ngl the option list is short. she doesn't need a hundred flags to be a main character. iykyk.
π ENVIRONMENT
TMPDIRβ the name of the directory where temporary files are created. the default is/tmp. so if you've got opinions about where your temp files live, now's your moment. π§
π AUTHOR
the program and this manual page were written by Antti-Juhani Kaijanaho <ajk@debian.org>. absolute legend behavior, writing both the code and the docs. not everyone can do that, fr fr. π
β SEE ALSO
grep-available(1)apt(8)dpkg(8)dselect(8)
go read them. they're all connected. it's giving ecosystem. πΈ
and that's the page bestie!! π this was brought to you by the Debian Project, dated 2005-07-11, and it remains, to this day, a whole vibe. go sync those databases. slay. π
β¨π
π¦ where this page comes from
- debian bookworm: dctrl-tools 2.24-3+b1 Β· GPL-2.0-or-later
- debian trixie: dctrl-tools 2.24-3+b1 Β· GPL-2.0-or-later
- ubuntu jammy: dctrl-tools 2.24-3build2 Β· GPL-2.0-or-later
- ubuntu noble: dctrl-tools 2.24-3build3 Β· GPL-2.0-or-later
- ubuntu resolute: dctrl-tools 2.24-3build4 Β· GPL-2.0-or-later
- ubuntu stonking: dctrl-tools 2.24-3build4 Β· GPL-2.0-or-later
- Copyright (C) 2004, 2005 Antti-Juhani Kaijanaho <gaia@iki.fi>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms