cd /var/lib/dpkg
sudo mv status status-prev
sudo touch status
#chmod 777은 생략이 가능한지 확인 필요
sudo chmod 777 status
sudo apt update
user@pi4green-ubuntu22:/var/lib/dpkg$ sudo apt update
기존:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
기존:2 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease
기존:3 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease
기존:4 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease
패키지 목록을 읽는 중입니다... 오류!
E: 패키지 파일 /var/lib/dpkg/status 파일을 파싱할 수 없습니다 (1)
W: apt-get update를 실행하면 이 문제를 바로잡을 수도 있습니다.
E: 패키지 캐시 파일이 손상되었습니다
'우분투' 카테고리의 다른 글
rsync로 파일 동기화 (0) | 2024.05.14 |
---|---|
firefox 설치법 by apt not snap (vnc에서 firefox가 안될 때) (0) | 2024.05.08 |
samba 설치법 (0) | 2024.05.01 |
minidlna 설치법 (1) | 2024.05.01 |
transmission (torrent) 설정법 (0) | 2024.05.01 |