
在閱讀了許多其他相關條目後,我的具體問題尚未解決。
運行sudo apt-get update
最終結果是
Get:31 http://deb.debian.org/ debian bookworm-updates/non-free-firmware Translation-en [384 B]
Fetched 24.4 MB in 8s (3.023 kB/s)
Reading package lists ... Error!
E: Unable to parse package file /var/lib/dpkg/status (1)
W: You may want to run apt-get update to correct these problems
E: The package cache file is corrupted
使用清除部分快取
sudo rm /var/lib/apt/lists/*bookworm-updates
導致同樣的問題。
這哪裡出了問題?我該做什麼呢?感謝您提前抽出時間。
答案1
我懷疑你的輸入格式/etc/apt/sources.list是不正確的。
您可以根據您的情況嘗試使用 debian 團隊提供的格式規則:
deb http://deb.debian.org/debian bookworm-updates main non-free-firmware
deb-src http://deb.debian.org/debian bookworm-updates main non-free-firmware
請看一下德比安有關此主題的官方網站。