Skip to content

Commit 199afa7

Browse files
GuanzhouSongCopilot
andcommitted
Correct the removal command and the page's extension-only framing
A cold read-the-site-and-install run surfaced two things the earlier pass missed. `apt remove documentdb` does not remove DocumentDB. The meta package only owns the dependency on the per-major package, so removing it leaves documentdb-18, documentdb-common, documentdb-gateway and documentdb-postgresql-tools installed -- verified: 5 packages before, 4 after. Remove the per-major package too and let autoremove reap the shared payload. The /packages hero and package catalog still taught the old model. The hero offered ""Linux packages for PostgreSQL extension installs"" and said the generated command installs ""the DocumentDB extension package"", and the catalog listed only the `postgresql-<pg>-documentdb` naming against a flat distribution list. A visitor who read only the static part of that page would conclude the extension package is all there is, which is exactly the misunderstanding the release needs to clear up. Both now distinguish the full-stack targets from the extension-only ones. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8df9084a-ccaf-432c-b015-2ccd8893a9d8
1 parent 0fd5eb5 commit 199afa7

3 files changed

Lines changed: 37 additions & 7 deletions

File tree

‎PACKAGE-INSTALL.md‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,12 @@ instead; re-run `documentdb-setup` to restart it.
165165
```bash
166166
sudo documentdb-setup --restore # detach the managed integration
167167
sudo documentdb-local-reset --pg-version 18 --confirm-destroy # DESTROYS the data directory
168-
sudo apt remove documentdb # or: sudo dnf remove documentdb
168+
169+
# Removing the meta package alone leaves the stack installed — it only owns the
170+
# dependency on the per-major package. Remove that too, and let autoremove reap
171+
# documentdb-common, documentdb-gateway and documentdb-postgresql-tools.
172+
sudo apt remove --autoremove documentdb documentdb-18
173+
sudo dnf remove documentdb documentdb-18 && sudo dnf autoremove
169174
```
170175

171176
### What the packages are

‎app/packages/page.tsx‎

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,11 @@ export default function PackagesPage() {
141141
Download DocumentDB
142142
</h1>
143143
<p className="mx-auto max-w-3xl text-lg text-gray-300">
144-
Choose Docker for the fastest local setup, or Linux packages for PostgreSQL
145-
extension installs. The generated package commands configure the PostgreSQL
146-
dependency repositories and install the DocumentDB extension package.
144+
Choose Docker for the fastest local setup, or Linux packages for a persistent
145+
install. On Ubuntu 24.04 and RHEL-compatible 9 the packages install the full
146+
DocumentDB stack — the PostgreSQL extension, the wire-protocol gateway, the
147+
administrator tools and systemd units. Other distributions currently receive the
148+
extension package alone.
147149
</p>
148150
<div className="mt-4 flex flex-wrap justify-center gap-3 text-sm">
149151
<span className="rounded-full border border-green-500/30 bg-green-500/20 px-3 py-1 text-green-300">
@@ -441,17 +443,35 @@ export default function PackagesPage() {
441443
<tbody className="text-gray-300">
442444
<tr className="border-b border-neutral-800">
443445
<td className="px-3 py-3 font-semibold text-blue-300">APT</td>
444-
<td className="px-3 py-3">Ubuntu 22.04/24.04, Debian 11/12/13</td>
446+
<td className="px-3 py-3">Ubuntu 24.04 (full stack)</td>
447+
<td className="px-3 py-3">amd64, arm64</td>
448+
<td className="px-3 py-3">17, 18</td>
449+
<td className="px-3 py-3">
450+
<code className="text-gray-200">documentdb-&lt;pg&gt;</code>
451+
</td>
452+
</tr>
453+
<tr className="border-b border-neutral-800">
454+
<td className="px-3 py-3 font-semibold text-blue-300">APT</td>
455+
<td className="px-3 py-3">Ubuntu 22.04, Debian 11/12/13 (extension only)</td>
445456
<td className="px-3 py-3">amd64, arm64</td>
446457
<td className="px-3 py-3">16, 17, 18 (Debian 11: 16, 17)</td>
447458
<td className="px-3 py-3">
448459
<code className="text-gray-200">postgresql-&lt;pg&gt;-documentdb</code>
449460
</td>
450461
</tr>
462+
<tr className="border-b border-neutral-800">
463+
<td className="px-3 py-3 font-semibold text-red-300">RPM</td>
464+
<td className="px-3 py-3">RHEL-compatible 9 (full stack)</td>
465+
<td className="px-3 py-3">x86_64, aarch64</td>
466+
<td className="px-3 py-3">17, 18</td>
467+
<td className="px-3 py-3">
468+
<code className="text-gray-200">documentdb-&lt;pg&gt;</code>
469+
</td>
470+
</tr>
451471
<tr>
452472
<td className="px-3 py-3 font-semibold text-red-300">RPM</td>
453473
<td className="px-3 py-3">
454-
RHEL-compatible 8/9 (tested on Rocky Linux)
474+
RHEL-compatible 8 (extension only, tested on Rocky Linux)
455475
</td>
456476
<td className="px-3 py-3">x86_64, aarch64</td>
457477
<td className="px-3 py-3">16, 17, 18</td>

‎app/services/articleService.ts‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,12 @@ Remove or reset:
213213
\`\`\`bash
214214
sudo documentdb-setup --restore # detach the managed integration
215215
sudo documentdb-local-reset --pg-version 18 --confirm-destroy # DESTROYS the data directory
216-
sudo apt remove documentdb # or: sudo dnf remove documentdb
216+
217+
# Removing the meta package alone leaves the stack installed - it only owns the
218+
# dependency on the per-major package. Remove that too and let autoremove reap
219+
# the shared payload.
220+
sudo apt remove --autoremove documentdb documentdb-18
221+
sudo dnf remove documentdb documentdb-18 && sudo dnf autoremove
217222
\`\`\`
218223
219224
## Upgrading

0 commit comments

Comments
 (0)