instance에서 apt-get update하면 아래처럼 쭈~~~욱.
ubuntu@ubuntu-volume1:~$ apt-get update
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
ubuntu@ubuntu-volume1:~$ sudo apt-get update
sudo: unable to resolve host ubuntu-volume1
Get:1 http://security.ubuntu.com wily-security InRelease
0% [1 InRelease gpgv 0 B] [Connecting to nova.clouds.archive.ubuntu.com]Splitting up /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_wily-security_IErr http://security.ubuntu.com wily-security InRelease
Get:2 http://nova.clouds.archive.ubuntu.com wily InRelease
0% [2 InRelease gpgv 0 B]Splitting up /var/lib/apt/lists/partial/nova.clouds.arcErr http://nova.clouds.archive.ubuntu.com wily InReleased signature failed
Get:3 http://nova.clouds.archive.ubuntu.com wily-updates InRelease
0% [3 InRelease gpgv 0 B]Splitting up /var/lib/apt/lists/partial/nova.clouds.archive.ubuntu.com_ubuntu_dists_wily-updates_InRelease into data and signature failErr http://nova.clouds.archive.ubuntu.com wily-updates InRelease
Get:4 http://nova.clouds.archive.ubuntu.com wily-backports InRelease
0% [4 InRelease gpgv 0 B]Splitting up /var/lib/apt/lists/partial/nova.clouds.archive.ubuntu.com_ubuntu_dists_wily-backports_InRelease into data and signature faIgn http://nova.clouds.archive.ubuntu.com wily-backports InRelease
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.ubuntu.com wily-security InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://nova.clouds.archive.ubuntu.com wily InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://nova.clouds.archive.ubuntu.com wily-updates InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)
E: GPG error: http://nova.clouds.archive.ubuntu.com wily-backports InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)
[원본] http://itstarter.tistory.com/316
ubuntu instance에서 아래와 같이 설정.
$ sudo vi /etc/apt/apt.conf
Acquire::http::proxy "http://192.168.134.1:3128";
Acquire::https::proxy "https://192.168.134.1:3128";
'Cloud > Etc' 카테고리의 다른 글
LBaaS on Mitaka 구성 실패. (0) | 2016.06.22 |
---|---|
ubuntu mitaka lbaas v2 install (0) | 2016.06.10 |
crudini (0) | 2016.04.21 |
[OpenStack Liberty 구축 후] 볼륨 사이즈 문제 (1) | 2016.04.13 |