데비안에 핸드브레이크 설치 - Wheezy 서버

데비안에 핸드브레이크 설치 - Wheezy 서버

내 debian(wheezy) 서버에 handbrake CLI를 설치하려고 합니다. 나는 대답을 흉내내려고 노력한다여기하지만 작동하지 않습니다.

deb http://cdn.debian.net/debian wheezy-backports main소스 목록에 추가했어요/etc/apt/sources.list

그리고 apt-get update와 실제 설치 명령을 실행한 후 출력을 얻습니다.

sudo apt-get update
sudo apt-get -t wheezy-backports install handbrake

하지만 다음과 같은 오류가 발생합니다.

user@web:~$ sudo nano /etc/apt/sources.list
user@web:~$ sudo apt-get update
Hit http://mirrors.linode.com wheezy Release.gpg
Hit http://mirrors.linode.com wheezy/updates Release.gpg                       
Hit http://mirrors.linode.com wheezy-updates Release.gpg                       
Hit http://mirrors.linode.com wheezy Release                                   
Hit http://mirrors.linode.com wheezy/updates Release                           
Hit http://www.deb-multimedia.org sid Release.gpg                              
Ign http://ppa.launchpad.net wheezy Release.gpg                                
Hit http://mirrors.linode.com wheezy-updates Release                           
Ign http://ppa.launchpad.net wheezy Release                                    
Hit http://www.deb-multimedia.org sid Release                                  
Hit http://mirrors.linode.com wheezy/main Sources                             
Hit http://mirrors.linode.com wheezy/main amd64 Packages                       
Hit http://mirrors.linode.com wheezy/main Translation-en                       
Hit http://mirrors.linode.com wheezy/updates/main Sources                      
Hit http://mirrors.linode.com wheezy/updates/main amd64 Packages               
Hit http://mirrors.linode.com wheezy/updates/main Translation-en               
Hit http://mirrors.linode.com wheezy-updates/main Sources                      
Hit http://mirrors.linode.com wheezy-updates/main amd64 Packages               
Hit http://mirrors.linode.com wheezy-updates/main Translation-en               
Err http://ppa.launchpad.net wheezy/main Sources                               
  404  Not Found
Hit http://www.deb-multimedia.org sid/main amd64 Packages                      
Err http://ppa.launchpad.net wheezy/main amd64 Packages                        
  404  Not Found
Ign http://ppa.launchpad.net wheezy/main Translation-en_US                     
Ign http://ppa.launchpad.net wheezy/main Translation-en                        
Ign http://www.deb-multimedia.org sid/main Translation-en_US                   
Ign http://www.deb-multimedia.org sid/main Translation-en                 
Get:1 http://cdn.debian.net wheezy-backports Release.gpg [1,554 B]
Get:2 http://cdn.debian.net wheezy-backports Release [144 kB]
Get:3 http://cdn.debian.net wheezy-backports/main amd64 Packages [571 kB]
Get:4 http://cdn.debian.net wheezy-backports/main Translation-en [363 kB] 
Hit https://deb.nodesource.com wheezy Release.gpg                              
Hit https://deb.nodesource.com wheezy Release
Hit https://deb.nodesource.com wheezy/main Sources  
Hit https://deb.nodesource.com wheezy/main amd64 Packages
Ign https://deb.nodesource.com wheezy/main Translation-en_US                   
Ign https://deb.nodesource.com wheezy/main Translation-en                      
Fetched 1,080 kB in 9s (116 kB/s)                                              
W: Failed to fetch http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu/dists/wheezy/main/source/Sources  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu/dists/wheezy/main/binary-amd64/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
user@web:~$ sudo nano /etc/apt/sources.list
user@web:~$ sudo nano /etc/apt/sources.list
Use "fg" to return to nano.

[1]+  Stopped                 sudo nano /etc/apt/sources.list
user@web:~$ sudo apt-get -t wheezy-backports install libdvdread4
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  libdvdcss2
The following packages will be upgraded:
  libdvdread4
1 upgraded, 0 newly installed, 0 to remove and 105 not upgraded.
Need to get 57.4 kB of archives.
After this operation, 3,072 B of additional disk space will be used.
Get:1 http://cdn.debian.net/debian/ wheezy-backports/main libdvdread4 amd64 4.2.1-2~bpo70+1 [57.4 kB]
Fetched 57.4 kB in 0s (576 kB/s)       
Reading changelogs... Done
(Reading database ... 65274 files and directories currently installed.)
Preparing to replace libdvdread4 4.2.0+20120521-2 (using .../libdvdread4_4.2.1-2~bpo70+1_amd64.deb) ...
Unpacking replacement libdvdread4:amd64 ...
Setting up libdvdread4:amd64 (4.2.1-2~bpo70+1) ...
W: Duplicate sources.list entry http://www.deb-multimedia.org/ sid/main amd64 Packages (/var/lib/apt/lists/www.deb-multimedia.org_dists_sid_main_binary-amd64_Packages)
W: You may want to run apt-get update to correct these problems
user@web:~$ sudo apt-get update
Ign http://ppa.launchpad.net wheezy Release.gpg
Ign http://ppa.launchpad.net wheezy Release                                    
Hit http://mirrors.linode.com wheezy Release.gpg                               
Hit http://mirrors.linode.com wheezy/updates Release.gpg                       
Hit http://mirrors.linode.com wheezy-updates Release.gpg                       
Hit http://mirrors.linode.com wheezy Release                                   
Hit http://mirrors.linode.com wheezy/updates Release                           
Hit http://www.deb-multimedia.org sid Release.gpg                              
Hit http://mirrors.linode.com wheezy-updates Release                           
Hit http://www.deb-multimedia.org sid Release                                  
Hit http://mirrors.linode.com wheezy/main Sources                              
Err http://ppa.launchpad.net wheezy/main Sources                               
  404  Not Found
Hit http://mirrors.linode.com wheezy/main amd64 Packages                       
Hit http://mirrors.linode.com wheezy/main Translation-en                       
Hit http://mirrors.linode.com wheezy/updates/main Sources                      
Hit http://mirrors.linode.com wheezy/updates/main amd64 Packages               
Hit http://mirrors.linode.com wheezy/updates/main Translation-en               
Hit http://mirrors.linode.com wheezy-updates/main Sources                      
Hit http://mirrors.linode.com wheezy-updates/main amd64 Packages               
Hit http://mirrors.linode.com wheezy-updates/main Translation-en               
Hit http://www.deb-multimedia.org sid/main amd64 Packages                      
Err http://ppa.launchpad.net wheezy/main amd64 Packages                       
  404  Not Found
Ign http://ppa.launchpad.net wheezy/main Translation-en_US                     
Ign http://ppa.launchpad.net wheezy/main Translation-en                        
Ign http://www.deb-multimedia.org sid/main Translation-en_US                   
Hit http://cdn.debian.net wheezy-backports Release.gpg                        
Ign http://www.deb-multimedia.org sid/main Translation-en
Hit http://cdn.debian.net wheezy-backports Release
Hit http://cdn.debian.net wheezy-backports/main amd64 Packages
Hit http://cdn.debian.net wheezy-backports/main Translation-en
Hit https://deb.nodesource.com wheezy Release.gpg
Hit https://deb.nodesource.com wheezy Release
Hit https://deb.nodesource.com wheezy/main Sources
Hit https://deb.nodesource.com wheezy/main amd64 Packages
Ign https://deb.nodesource.com wheezy/main Translation-en_US                   
Ign https://deb.nodesource.com wheezy/main Translation-en                      
W: Failed to fetch http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu/dists/wheezy/main/source/Sources  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu/dists/wheezy/main/binary-amd64/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
user@web:~$ sudo apt-get -t wheezy-backgports install handbrake
Reading package lists... Done
W: Duplicate sources.list entry http://www.deb-multimedia.org/ sid/main amd64 Packages (/var/lib/apt/lists/www.deb-multimedia.org_dists_sid_main_binary-amd64_Packages)
W: You may want to run apt-get update to correct these problems
E: The value 'wheezy-backgports' is invalid for APT::Default-Release as such a release is not available in the sources

이것은 내 source.list의 내용입니다.

# 

# deb cdrom:[Debian GNU/Linux 7.4.0 _Wheezy_ - Official amd64 NETINST Binary-1 $

# deb cdrom:[Debian GNU/Linux 7.4.0 _Wheezy_ - Official amd64 NETINST Binary-1 $

deb http://mirrors.linode.com/debian/ wheezy main
deb-src http://mirrors.linode.com/debian/ wheezy main

deb http://mirrors.linode.com/debian-security/ wheezy/updates main
deb-src http://mirrors.linode.com/debian-security/ wheezy/updates main

# wheezy-updates, previously known as 'volatile'
deb http://mirrors.linode.com/debian/ wheezy-updates main
deb-src http://mirrors.linode.com/debian/ wheezy-updates main
deb http://www.deb-multimedia.org sid main

최근 오류:

user@web:~$ sudo apt-get update
Hit http://mirrors.linode.com wheezy Release.gpg
Hit http://mirrors.linode.com wheezy/updates Release.gpg                       
Hit http://mirrors.linode.com wheezy-updates Release.gpg                       
Hit http://mirrors.linode.com wheezy Release                                   
Hit http://mirrors.linode.com wheezy/updates Release                           
Ign http://ppa.launchpad.net wheezy Release.gpg                 
Hit http://mirrors.linode.com wheezy-updates Release                           
Ign http://ppa.launchpad.net wheezy Release                                    
Hit http://mirrors.linode.com wheezy/main Sources                              
Hit http://mirrors.linode.com wheezy/main amd64 Packages                       
Hit http://mirrors.linode.com wheezy/main Translation-en                       
Hit http://www.deb-multimedia.org sid Release.gpg                              
Hit http://mirrors.linode.com wheezy/updates/main Sources                      
Hit http://mirrors.linode.com wheezy/updates/main amd64 Packages               
Hit http://mirrors.linode.com wheezy/updates/main Translation-en               
Hit http://www.deb-multimedia.org sid Release                                  
Hit http://mirrors.linode.com wheezy-updates/main Sources                      
Hit http://mirrors.linode.com wheezy-updates/main amd64 Packages               
Hit http://mirrors.linode.com wheezy-updates/main Translation-en  
Err http://ppa.launchpad.net wheezy/main Sources                  
  404  Not Found
Hit http://www.deb-multimedia.org sid/main amd64 Packages         
Err http://ppa.launchpad.net wheezy/main amd64 Packages
  404  Not Found
Ign http://ppa.launchpad.net wheezy/main Translation-en_US       
Ign http://ppa.launchpad.net wheezy/main Translation-en          
Ign http://www.deb-multimedia.org sid/main Translation-en_US     
Ign http://www.deb-multimedia.org sid/main Translation-en
Hit https://deb.nodesource.com wheezy Release.gpg
Hit https://deb.nodesource.com wheezy Release
Hit https://deb.nodesource.com wheezy/main Sources
Hit https://deb.nodesource.com wheezy/main amd64 Packages
Ign https://deb.nodesource.com wheezy/main Translation-en_US                   
Ign https://deb.nodesource.com wheezy/main Translation-en                      
W: Failed to fetch http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu/dists/wheezy/main/source/Sources  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu/dists/wheezy/main/binary-amd64/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
user@web:~$ sudo apt-get -t wheezy-backports install handbrake
Reading package lists... Done
E: The value 'wheezy-backports' is invalid for APT::Default-Release as such a release is not available in the sources

누구든지 문제 해결을 도와줄 수 있나요? CLI를 마스터하기 위해 애쓰고 있는 저를 용서해주세요!

답변1

여기에 많은 질문이 있습니다.

  1. 데비안은 우분투 PPA를 지원하지 않습니다. /etc/apt/sources.listPPA를 편집 하고 삭제합니다.

  2. 중복된 항목이 있습니다. 거기 있든 /etc/apt/sources.list없든 /etc/apt/sources.list.d. 파일을 편집하고 삭제해야 합니다 deb-multimedia.org. grep -H deb-multimedia /etc/apt/sources.list /etc/apt/sources.list.d복사본 중 하나를 실행하고 삭제하세요.

  3. 오타가 있습니다. 오류에 유의하세요.

    E: The value 'wheezy-backgports' is invalid for APT::Default-Release as such a release is not available in the sources
    

    backports아니, 아니란 뜻이죠 backgports.

관련 정보