어제 apt-get 업데이트/업그레이드를 했는데 어떻게든 이 불안정한 배포판을 설치했습니다.trixie/sid
*5#§!?+ 어떻게 이런 일이 일어난 걸까요?
어떻게 Debian 11 Buster로 돌아가나요?
# cat /etc/debian_version
trixie/sid
프로덕션 서버입니다.
고쳐 쓰다
# apt policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 https://notesalexp.org/tesseract-ocr5/bullseye bullseye/main amd64 Packages
release v=5.0,o=Debian,a=unstable,n=bullseye,c=main,b=amd64
origin notesalexp.org
500 https://packages.sury.org/php bullseye/main amd64 Packages
release o=deb.sury.org,a=bullseye,n=bullseye,c=main,b=amd64
origin packages.sury.org
500 http://repo.percona.com/prel/apt bullseye/main amd64 Packages
release v=1.0,o=Percona Development Team,a=stable,n=bullseye,l=percona,c=main,b=amd64
origin repo.percona.com
500 http://repo.percona.com/percona/apt bullseye/main amd64 Packages
release v=1.0,o=Percona Development Team,n=bullseye,l=percona,c=main,b=amd64
origin repo.percona.com
500 http://nginx.org/packages/mainline/debian bullseye/nginx amd64 Packages
release v=11.0,o=nginx,a=stable,n=bullseye,l=nginx,c=nginx,b=amd64
origin nginx.org
100 http://deb.debian.org/debian bullseye-backports/main amd64 Packages
release o=Debian Backports,a=bullseye-backports,n=bullseye-backports,l=Debian Backports,c=main,b=amd64
origin deb.debian.org
500 http://ftp.de.debian.org/debian sid/main amd64 Packages
release o=Debian,a=unstable,n=sid,l=Debian,c=main,b=amd64
origin ftp.de.debian.org
500 http://deb.debian.org/debian bullseye-updates/main amd64 Packages
release v=11-updates,o=Debian,a=oldstable-updates,n=bullseye-updates,l=Debian,c=main,b=amd64
origin deb.debian.org
500 http://security.debian.org bullseye-security/non-free amd64 Packages
release v=11,o=Debian,a=oldstable-security,n=bullseye-security,l=Debian-Security,c=non-free,b=amd64
origin security.debian.org
500 http://security.debian.org bullseye-security/main amd64 Packages
release v=11,o=Debian,a=oldstable-security,n=bullseye-security,l=Debian-Security,c=main,b=amd64
origin security.debian.org
500 http://deb.debian.org/debian bullseye/contrib amd64 Packages
release v=11.8,o=Debian,a=oldstable,n=bullseye,l=Debian,c=contrib,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian bullseye/non-free amd64 Packages
release v=11.8,o=Debian,a=oldstable,n=bullseye,l=Debian,c=non-free,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian bullseye/main amd64 Packages
release v=11.8,o=Debian,a=oldstable,n=bullseye,l=Debian,c=main,b=amd64
origin deb.debian.org
500 http://mirror.hetzner.de/debian/packages bullseye-updates/main amd64 Packages
release v=11-updates,o=Debian,a=oldstable-updates,n=bullseye-updates,l=Debian,c=main,b=amd64
origin mirror.hetzner.de
500 http://mirror.hetzner.de/debian/packages bullseye/non-free amd64 Packages
release v=11.8,o=Debian,a=oldstable,n=bullseye,l=Debian,c=non-free,b=amd64
origin mirror.hetzner.de
500 http://mirror.hetzner.de/debian/packages bullseye/contrib amd64 Packages
release v=11.8,o=Debian,a=oldstable,n=bullseye,l=Debian,c=contrib,b=amd64
origin mirror.hetzner.de
500 http://mirror.hetzner.de/debian/packages bullseye/main amd64 Packages
release v=11.8,o=Debian,a=oldstable,n=bullseye,l=Debian,c=main,b=amd64
origin mirror.hetzner.de
Pinned packages:
소스.목록
deb http://mirror.hetzner.de/debian/packages bullseye main contrib non-free
deb http://mirror.hetzner.de/debian/security bullseye/updates main contrib non-free
deb http://mirror.hetzner.de/debian/packages bullseye-updates main contrib non-free
#
# deb cdrom:[Debian GNU/Linux 10.0.0 _Buster_ - Official amd64 NETINST 20190706-10:23]/ bullseye main
#deb cdrom:[Debian GNU/Linux 10.0.0 _Buster_ - Official amd64 NETINST 20190706-10:23]/ bullseye main
deb http://deb.debian.org/debian/ bullseye main non-free contrib
# deb-src http://deb.debian.org/debian/ bullseye main non-free contrib
deb http://security.debian.org bullseye-security main contrib non-free
# deb-src http://security.debian.org bullseye-security main contrib non-free
# bullseye-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
# deb-src http://deb.debian.org/debian/ bullseye-updates main contrib non-free
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
deb http://ftp.de.debian.org/debian sid main
deb http://deb.debian.org/debian bullseye-backports main
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out entries below, but any other modifications may be lost.
# Use command 'dpkg-reconfigure mysql-apt-config' as root for modifications.
deb http://repo.mysql.com/apt/debian/ bullseye mysql-apt-config
deb http://repo.mysql.com/apt/debian/ bullseye mysql-5.7
deb http://repo.mysql.com/apt/debian/ bullseye mysql-tools
#deb http://repo.mysql.com/apt/debian/ bullseye mysql-tools-preview
deb-src http://repo.mysql.com/apt/debian/ bullseye mysql-5.7
deb http://nginx.org/packages/mainline/debian/ bullseye nginx
#
# This repo is managed by "percona-release" utility, do not edit!
#
deb http://repo.percona.com/percona/apt bullseye main
deb-src http://repo.percona.com/percona/apt bullseye main
#
# This repo is managed by "percona-release" utility, do not edit!
#
deb http://repo.percona.com/percona/apt buster main
deb-src http://repo.percona.com/percona/apt buster main
#
# This repo is managed by "percona-release" utility, do not edit!
#
deb http://repo.percona.com/prel/apt bullseye main
deb-src http://repo.percona.com/prel/apt bullseye main
deb https://packages.sury.org/php/ bullseye main
deb https://notesalexp.org/tesseract-ocr5/bullseye/ bullseye main
답변1
이것
deb http://ftp.de.debian.org/debian sid main
라인은 sid(불안정) 저장소를 구성합니다. 구성 고정이 없으므로 시스템이 불안정한 상태를 추적하도록 효과적으로 설정되고 업그레이드가 해당 상태로 업그레이드되었습니다(업그레이드 완료 여부는 upgrade
또는 dist-upgrade
/ 사용 여부에 따라 다름 full-upgrade
).
Debian 11로 되돌리려면 이 sid
줄을 제거하고 확인하세요.데비안을 테스트에서 안정 버전으로 복원하는 방법은 무엇입니까?( stretch
로 대체됨 bullseye
). 프로덕션 서버를 복원하기 전에 테스트 시스템에서 연습해야 합니다.