< Issue >
- sudo apt update 수행시 ** (appstreamcli:548): CRITICAL **: Error while moving old database out of the way. 에러 발생
$ sudo apt update
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:3 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu xenial InRelease
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:5 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [136 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:7 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [167 kB]
Get:8 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 DEP-11 Metadata [2,540 B]
Get:9 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [2,386 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [513 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [1,530 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [389 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [6,425 B]
Get:14 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,490 B]
Get:15 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [7,090 B]
Fetched 5,466 kB in 3s (1,478 kB/s)
** (appstreamcli:548): CRITICAL **: Error while moving old database out of the way.
AppStream cache update failed.
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
< Answer >
- Link : https://github.com/microsoft/WSL/issues/640
- sudo chmod 664 /var/cache/app-info/xapian/default -R
I did an "strace appstreamcli refresh-index" and saw a permission denied
during rename of /var/cache/app-info/xapian/default.
So I did "chmod 777 /var/cache/app-info/xapian/default -R" and that fixed it for me.
'Guide_Tip_Tech > Setting' 카테고리의 다른 글
삼성 S34J550W 와이드 모니터 주사율 50hz 설정되는 문제 해결 (0) | 2022.01.18 |
---|---|
ubuntu CPU clock frequency 셋팅 방법 (리눅스 CPU 클럭 변경) (0) | 2021.01.27 |
ubuntu 16.04 에서 VirtualBox sudo 권한 아이콘 추가 (0) | 2020.12.25 |
ubuntu 16.04 필수 셋팅 (0) | 2020.12.25 |
리눅스 CPU 정보 확인하는 명령어 (0) | 2020.12.17 |
ubuntu 16.04 사용중 YouTube 동영상 깜빡임 현상 해결 (0) | 2020.09.18 |
시놀로지 DSM에서 사용하던 HDD 초기화 방법 (0) | 2020.08.01 |
git 사용중 WARNING: UNPROTECTED PRIVATE KEY FILE! 에러 (0) | 2020.07.31 |
ubuntu 언어설정 영문으로 변경하는 방법 (0) | 2020.07.31 |
윈도우 네트워크 드라이브 자동 로그인 기록 삭제 (0) | 2020.07.31 |