메뉴 건너뛰기

Bigdata, Semantic IoT, Hadoop, NoSQL

Bigdata, Hadoop ecosystem, Semantic IoT등의 프로젝트를 진행중에 습득한 내용을 정리하는 곳입니다.
필요한 분을 위해서 공개하고 있습니다. 문의사항은 gooper@gooper.com로 메일을 보내주세요.


apt-get install mysql-server혹은 apt-get update나 apt-get update --fix-missing를  수행시 아래와 같이 404오류가 발생할 수 있는데...

 

----------------------오류상황----------------------

root@master:/usr/local/src/mysql-5.0.85# apt-get update --fix-missing
Ign http://ports.ubuntu.com quantal InRelease                                                       
Ign http://ppa.launchpad.net quantal InRelease                                                      
Ign http://ports.ubuntu.com quantal Release.gpg
Hit http://ppa.launchpad.net quantal Release.gpg
Ign http://ports.ubuntu.com quantal Release
Hit http://ppa.launchpad.net quantal Release
Ign http://ports.ubuntu.com quantal/main Sources/DiffIndex
Hit http://ppa.launchpad.net quantal/main Sources
Ign http://ports.ubuntu.com quantal/universe Sources/DiffIndex
Hit http://ppa.launchpad.net quantal/main armhf Packages
Ign http://ports.ubuntu.com quantal/main armhf Packages/DiffIndex
Ign http://ports.ubuntu.com quantal/universe armhf Packages/DiffIndex
Ign http://ppa.launchpad.net quantal/main Translation-en
Ign http://ports.ubuntu.com quantal/main Translation-en
Ign http://ports.ubuntu.com quantal/universe Translation-en
Err http://ports.ubuntu.com quantal/main Sources
  404  Not Found
Err http://ports.ubuntu.com quantal/universe Sources
  404  Not Found
Err http://ports.ubuntu.com quantal/main armhf Packages
  404  Not Found
Err http://ports.ubuntu.com quantal/universe armhf Packages
  404  Not Found
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/quantal/main/source/Sources  404  Not Found

W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/quantal/universe/source/Sources  404  Not Found

W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/quantal/main/binary-armhf/Packages  404  Not Found

W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/quantal/universe/binary-armhf/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
root@master:/usr/local/src/mysql-5.0.85# apt-get update              
Ign http://ppa.launchpad.net quantal InRelease                           
Ign http://ports.ubuntu.com quantal InRelease                            
Hit http://ppa.launchpad.net quantal Release.gpg
Ign http://ports.ubuntu.com quantal Release.gpg
Hit http://ppa.launchpad.net quantal Release
Ign http://ports.ubuntu.com quantal Release     
Hit http://ppa.launchpad.net quantal/main Sources
Ign http://ports.ubuntu.com quantal/main Sources/DiffIndex
Hit http://ppa.launchpad.net quantal/main armhf Packages
Ign http://ports.ubuntu.com quantal/universe Sources/DiffIndex
Ign http://ports.ubuntu.com quantal/main armhf Packages/DiffIndex
Ign http://ports.ubuntu.com quantal/universe armhf Packages/DiffIndex
Ign http://ppa.launchpad.net quantal/main Translation-en
Ign http://ports.ubuntu.com quantal/main Translation-en
Ign http://ports.ubuntu.com quantal/universe Translation-en
Err http://ports.ubuntu.com quantal/main Sources
  404  Not Found
Err http://ports.ubuntu.com quantal/universe Sources
  404  Not Found
Err http://ports.ubuntu.com quantal/main armhf Packages
  404  Not Found
Err http://ports.ubuntu.com quantal/universe armhf Packages
  404  Not Found
W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/quantal/main/source/Sources  404  Not Found

W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/quantal/universe/source/Sources  404  Not Found

W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/quantal/main/binary-armhf/Packages  404  Not Found

W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/quantal/universe/binary-armhf/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
root@master:/usr/local/src/mysql-5.0.85# vi /etc/apt/sources.list

deb http://ports.ubuntu.com/ubuntu-ports/ quantal main universe
deb-src http://ports.ubuntu.com/ubuntu-ports/ quantal main universe

-------------------------------조치사항------------------------------

1. /etc/apt/sources.list를 backup
  root@master:/usr/local# cp /etc/apt/sources.list /etc/apt/sources.list.bak

 

2. /etc/apt/sources.list에 아래의 내용을 추가함
  root@master:/usr/local# vi /etc/apt/sources.list

 

-----------------추가할 내용--------------

deb http://ports.ubuntu.com/ubuntu-ports/ quantal main universe
deb http://old-releases.ubuntu.com/ubuntu/ raring main universe restricted multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ raring main universe restricted multiverse

deb http://old-releases.ubuntu.com/ubuntu/ raring-security main universe restricted multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ raring-security main universe restricted multiverse

deb http://old-releases.ubuntu.com/ubuntu/ raring-updates main universe restricted multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ raring-updates main universe restricted multiverse

deb http://old-releases.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse

deb http://old-releases.ubuntu.com/ubuntu/ raring-proposed main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ raring-proposed main restricted universe multiverse

 

3. apt-get update수행

  root@master:/usr/local/src/mysql-5.0.85# apt-get update


Ign http://ppa.launchpad.net quantal InRelease                                 
Ign http://old-releases.ubuntu.com raring InRelease                            
Hit http://ppa.launchpad.net quantal Release.gpg
Ign http://old-releases.ubuntu.com raring-security InRelease
Hit http://ppa.launchpad.net quantal Release
Ign http://old-releases.ubuntu.com raring-updates InRelease
Hit http://ppa.launchpad.net quantal/main Sources
Ign http://old-releases.ubuntu.com raring-backports InRelease
Hit http://ppa.launchpad.net quantal/main armhf Packages
Ign http://old-releases.ubuntu.com raring-proposed InRelease
Get:1 http://old-releases.ubuntu.com raring Release.gpg [933 B]
Get:2 http://old-releases.ubuntu.com raring-security Release.gpg [933 B]
Get:3 http://old-releases.ubuntu.com raring-updates Release.gpg [933 B]
Get:4 http://old-releases.ubuntu.com raring-backports Release.gpg [933 B]
Get:5 http://old-releases.ubuntu.com raring-proposed Release.gpg [933 B]
Ign http://ppa.launchpad.net quantal/main Translation-en   
Get:6 http://old-releases.ubuntu.com raring Release [40.8 kB]
Get:7 http://old-releases.ubuntu.com raring-security Release [40.8 kB]
Get:8 http://old-releases.ubuntu.com raring-updates Release [40.8 kB]
Get:9 http://old-releases.ubuntu.com raring-backports Release [40.8 kB]
Get:10 http://old-releases.ubuntu.com raring-proposed Release [40.8 kB]
Get:11 http://old-releases.ubuntu.com raring/main Sources [963 kB]                                                                                                         
Get:12 http://old-releases.ubuntu.com raring/universe Sources [5837 kB]                                                                                                    
Get:13 http://old-releases.ubuntu.com raring/restricted Sources [5987 B]                                                                                                   
Get:14 http://old-releases.ubuntu.com raring/multiverse Sources [171 kB]                                                                                                   
Get:15 http://old-releases.ubuntu.com raring/main armhf Packages [1146 kB]                                                                                                 
Get:16 http://old-releases.ubuntu.com raring/universe armhf Packages [5254 kB]                                                                                             
Get:17 http://old-releases.ubuntu.com raring/restricted armhf Packages [1131 B]                                                                                            
Get:18 http://old-releases.ubuntu.com raring/multiverse armhf Packages [111 kB]                                                                                            
Get:19 http://old-releases.ubuntu.com raring/main Translation-en [673 kB]                                                                                                  
Get:20 http://old-releases.ubuntu.com raring/multiverse Translation-en [98.4 kB]                                                                                           
Get:21 http://old-releases.ubuntu.com raring/restricted Translation-en [2767 B]                                                                                            
Get:22 http://old-releases.ubuntu.com raring/universe Translation-en [3737 kB]                                                                                             
Get:23 http://old-releases.ubuntu.com raring-security/main Sources [58.3 kB]                                                                                               
Get:24 http://old-releases.ubuntu.com raring-security/universe Sources [14.3 kB]                                                                                           
Get:25 http://old-releases.ubuntu.com raring-security/restricted Sources [14 B]                                                                                            
Get:26 http://old-releases.ubuntu.com raring-security/multiverse Sources [2262 B]                                                                                          
Get:27 http://old-releases.ubuntu.com raring-security/main armhf Packages [154 kB]                                                                                         
Get:28 http://old-releases.ubuntu.com raring-security/universe armhf Packages [48.7 kB]                                                                                    
Get:29 http://old-releases.ubuntu.com raring-security/restricted armhf Packages [14 B]                                                                                     
Get:30 http://old-releases.ubuntu.com raring-security/multiverse armhf Packages [1318 B]                                                                                   
Get:31 http://old-releases.ubuntu.com raring-security/main Translation-en [79.9 kB]                                                                                        
Get:32 http://old-releases.ubuntu.com raring-security/multiverse Translation-en [1826 B]                                                                                   
Get:33 http://old-releases.ubuntu.com raring-security/restricted Translation-en [14 B]                                                                                     
Get:34 http://old-releases.ubuntu.com raring-security/universe Translation-en [32.1 kB]                                                                                    
Get:35 http://old-releases.ubuntu.com raring-updates/main Sources [90.4 kB]                                                                                                
Get:36 http://old-releases.ubuntu.com raring-updates/universe Sources [83.0 kB]                                                                                            
Get:37 http://old-releases.ubuntu.com raring-updates/restricted Sources [14 B]                                                                                             
Get:38 http://old-releases.ubuntu.com raring-updates/multiverse Sources [2797 B]                                                                                           
Get:39 http://old-releases.ubuntu.com raring-updates/main armhf Packages [220 kB]                                                                                          
Get:40 http://old-releases.ubuntu.com raring-updates/universe armhf Packages [164 kB]                                                                                      
Get:41 http://old-releases.ubuntu.com raring-updates/restricted armhf Packages [14 B]                                                                                      
Get:42 http://old-releases.ubuntu.com raring-updates/multiverse armhf Packages [2460 B]                                                                                    
Get:43 http://old-releases.ubuntu.com raring-updates/main Translation-en [108 kB]                                                                                          
Get:44 http://old-releases.ubuntu.com raring-updates/multiverse Translation-en [2212 B]                                                                                    
Get:45 http://old-releases.ubuntu.com raring-updates/restricted Translation-en [14 B]                                                                                      
Get:46 http://old-releases.ubuntu.com raring-updates/universe Translation-en [86.0 kB]                                                                                     
Get:47 http://old-releases.ubuntu.com raring-backports/main Sources [902 B]                                                                                                
Get:48 http://old-releases.ubuntu.com raring-backports/restricted Sources [14 B]                                                                                           
Get:49 http://old-releases.ubuntu.com raring-backports/universe Sources [7145 B]                                                                                           
Get:50 http://old-releases.ubuntu.com raring-backports/multiverse Sources [1403 B]                                                                                         
Get:51 http://old-releases.ubuntu.com raring-backports/main armhf Packages [558 B]                                                                                         
Get:52 http://old-releases.ubuntu.com raring-backports/restricted armhf Packages [14 B]                                                                                    
Get:53 http://old-releases.ubuntu.com raring-backports/universe armhf Packages [8118 B]                                                                                    
Get:54 http://old-releases.ubuntu.com raring-backports/multiverse armhf Packages [1051 B]                                                                                  
Get:55 http://old-releases.ubuntu.com raring-backports/main Translation-en [269 B]                                                                                         
Get:56 http://old-releases.ubuntu.com raring-backports/multiverse Translation-en [1040 B]                                                                                  
Get:57 http://old-releases.ubuntu.com raring-backports/restricted Translation-en [14 B]                                                                                    
Get:58 http://old-releases.ubuntu.com raring-backports/universe Translation-en [6390 B]                                                                                    
Get:59 http://old-releases.ubuntu.com raring-proposed/main Sources [13.1 kB]                                                                                               
Get:60 http://old-releases.ubuntu.com raring-proposed/restricted Sources [14 B]                                                                                            
Get:61 http://old-releases.ubuntu.com raring-proposed/universe Sources [19.7 kB]                                                                                           
Get:62 http://old-releases.ubuntu.com raring-proposed/multiverse Sources [14 B]                                                                                            
Get:63 http://old-releases.ubuntu.com raring-proposed/main armhf Packages [46.4 kB]                                                                                        
Get:64 http://old-releases.ubuntu.com raring-proposed/restricted armhf Packages [14 B]                                                                                     
Get:65 http://old-releases.ubuntu.com raring-proposed/universe armhf Packages [18.9 kB]                                                                                    
Get:66 http://old-releases.ubuntu.com raring-proposed/multiverse armhf Packages [14 B]                                                                                     
Get:67 http://old-releases.ubuntu.com raring-proposed/main Translation-en [20.5 kB]                                                                                        
Get:68 http://old-releases.ubuntu.com raring-proposed/multiverse Translation-en [14 B]                                                                                     
Get:69 http://old-releases.ubuntu.com raring-proposed/restricted Translation-en [14 B]                                                                                     
Get:70 http://old-releases.ubuntu.com raring-proposed/universe Translation-en [9622 B]                                                                                     
Fetched 19.5 MB in 1min 15s (258 kB/s)                                                                                                                                     
Reading package lists... Done

 

4. apt-get에 필요한 작업을 수행한다.

번호 제목 글쓴이 날짜 조회 수
741 [CDP7.1.7, Replication]Encryption Zone내 HDFS파일을 비Encryption Zone으로 HDFS Replication시 User hdfs가 아닌 hadoop으로 수행하는 방법 gooper 2024.01.15 2
740 [CDP7.1.7] oozie sqoop action으로 import혹은 export수행시 발생한 오류에 대한 자세한 로그 확인 하는 방법 gooper 2024.04.19 2
739 [Impala] alter table구문수행시 "WARNINGS: Impala does not have READ_WRITE access to path 'hdfs://nameservice1/DATA/Temp/DB/source/table01_ccd'" 발생시 조치 gooper 2024.04.26 2
738 [CDP7.1.7]Hive Replication수행중 Specified catalog.database.table does not exist : hive.db명.table명 오류 발생시 조치방법 gooper 2024.04.05 5
737 [CDP7.1.7]Hive Replication수행시 Target Cluster에서 Specified catalog.database.table does not exist 오류 gooper 2024.05.08 5
736 ./gradlew :composeDown 및 ./gradlew :composeUp 를 성공했을때의 메세지 gooper 2023.02.20 6
735 호출 url현황 gooper 2023.02.21 7
734 [CDP7.1.7, Hive Replication]Hive Replication진행중 "The following columns have types incompatible with the existing columns in their respective positions " 오류 gooper 2023.12.27 8
733 [Cloudera Agent] Metadata-Plugin throttling_logger INFO (713 skipped) Unable to send data to nav server. Will try again. gooper 2022.05.16 10
732 [EncryptionZone]User:testuser not allowed to do "DECRYPT_EEK" on 'testkey' gooper 2023.06.29 11
731 [CDP7.1.7]Oozie job에서 ERROR: Kudu error(s) reported, first error: Timed out: Failed to write batch of 774 ops to tablet 8003f9a064bf4be5890a178439b2ba91가 발생하면서 쿼리가 실패하는 경우 gooper 2024.01.05 11
730 eclipse editor 설정방법 총관리자 2022.02.01 12
729 [vue storefrontui]외부 API통합하기 참고 문서 총관리자 2022.02.09 12
728 [Encryption Zone]Encryption Zone에 생성된 table을 select할때 HDFS /tmp/zone1에 대한 권한이 없는 경우 gooper 2023.06.29 12
727 [CDP7.1.7]Encryption Zone내부/외부 간 데이터 이동(mv,cp)및 CTAS, INSERT SQL시 오류(can't be moved into an encryption zone, can't be moved from an encryption zone) gooper 2023.11.14 12
726 주문 생성 데이터 예시 총관리자 2022.04.30 13
725 주문히스토리 조회 총관리자 2022.04.30 13
724 [bitbucket] 2022년 3월 2일 부터 git 작업시 기존에 사용하던 비빌번호를 사용할 수 없도록 변경되었다. 총관리자 2022.04.30 13
723 [Oracle 11g]Kudu table의 meta정보를 담고 있는 table_params의 백업본을 이용하여 특정 컬럼값을 update하는 Oracle SQL문 gooper 2023.09.04 14
722 Hadoop Clsuter에 이미 포함된 host의 hostname변경시 처리 절차 gooper 2023.03.24 15

A personal place to organize information learned during the development of such Hadoop, Hive, Hbase, Semantic IoT, etc.
We are open to the required minutes. Please send inquiries to gooper@gooper.com.

위로