Codex chats stuck loading in Linux desktop app 26.924.22138

ChatGPT Linux rollback / APT notes

Known-good builds (Debian 13.7):

26.917.71314

Known-bad builds:

26.924.20706
26.924.22138

List installed / available versions

apt list -a chatgpt
apt-cache policy chatgpt
apt-cache madison chatgpt

Find cached ChatGPT .deb packages

APT cache:

ls -lh /var/cache/apt/archives/chatgpt_*.deb

Archive them somewhere safe:

mkdir -p chatgpt-releases
cp /var/cache/apt/archives/chatgpt_*.deb chatgpt-releases/

Download the missing 26.924.20706 package

The old package was still downloadable directly from OpenAI’s Debian pool:

wget -O chatgpt_26.924.20706_amd64.deb \
'https://persistent.oaistatic.com/codex-app-prod/linux/deb/pool/main/c/chatgpt/chatgpt_26.924.20706_amd64.deb'

Verify:

dpkg-deb -I chatgpt_26.924.20706_amd64.deb | head -30

Install / downgrade to a saved version

Example:

sudo apt install --allow-downgrades ./chatgpt-releases/chatgpt_26.917.71314_amd64.deb

Package hold commands

Show held packages:

apt-mark showhold

Hold ChatGPT completely:

sudo apt-mark hold chatgpt

Remove the hold:

sudo apt-mark unhold chatgpt

A package hold blocks all future ChatGPT upgrades, so version pinning is preferable here.

Block only the two known-bad versions

Create:

/etc/apt/preferences.d/chatgpt-broken-versions

with:

# Known-bad Codex Linux builds:
# 26.924.20706
# 26.924.22138

Package: chatgpt
Pin: version 26.924.20706
Pin-Priority: -1

Package: chatgpt
Pin: version 26.924.22138
Pin-Priority: -1

Command to create it:

sudo tee /etc/apt/preferences.d/chatgpt-broken-versions >/dev/null <<'EOF'
# Known-bad Codex Linux builds:
# 26.924.20706
# 26.924.22138

Package: chatgpt
Pin: version 26.924.20706
Pin-Priority: -1

Package: chatgpt
Pin: version 26.924.22138
Pin-Priority: -1
EOF

Refresh and verify:

sudo apt update
apt-cache policy chatgpt

A future build such as another 26.924.x release remains eligible because only the two exact versions above are blocked.

Unblock those versions later

Remove the pin file:

sudo rm /etc/apt/preferences.d/chatgpt-broken-versions
sudo apt update

Useful history checks

Confirm previously installed versions:

grep -R 'chatgpt' /var/log/apt /var/log/dpkg.log* 2>/dev/null
zgrep 'chatgpt' /var/log/apt/*.gz /var/log/dpkg.log*.gz 2>/dev/null

Current intended setup

  • Installed: 26.917.71314
  • No apt-mark hold
  • Exact pins block 26.924.20706 and 26.924.22138
  • Future releases remain eligible for normal APT upgrades
  • Saved .deb files are kept outside /var/cache/apt/archives/