Instalando o handbrake no Debian - servidor Wheezy

1

Estou tentando instalar a CLI do handbrake no meu servidor debian (wheezy). Eu tentei imitar uma resposta aqui mas não está funcionando.

Adicionei deb http://cdn.debian.net/debian wheezy-backports main à lista de fontes em /etc/apt/sources.list

e obteve a saída depois de executar uma atualização do apt-get e o comando de instalação real:

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

mas recebo os seguintes erros:

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

Aqui está o conteúdo da minha sources.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

Últimos erros:

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

Alguém pode me ajudar com uma solução? Perdoe-me como eu estou tentando se familiarizar com o CLI!

    
por cwiggo 29.09.2015 / 12:54

1 resposta

1

Você tem vários problemas aqui.

  1. O Debian não suporta PPAs do Ubuntu. Edite /etc/apt/sources.list e remova o PPA.

  2. Você tem entradas duplicadas. Em /etc/apt/sources.list ou em /etc/apt/sources.list.d . Você precisa editar o arquivo e remover as duplicatas de deb-multimedia.org . Execute grep -H deb-multimedia /etc/apt/sources.list /etc/apt/sources.list.d e exclua um dos dupes.

  3. Você tem um erro de digitação. Anote o erro:

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

    Você quis dizer backports , não backgports .

por 29.09.2015 / 13:45