Falha ao instalar o Nginx do nginx.org, as preferências do Debian apt desordenadas?

1

Estou tentando instalar o Nginx da última versão do nginx.org No entanto, o pacote mais recente não é selecionado:

$ apt-get install nginx
Reading package lists... Done
Building dependency tree       
Reading state information... Done
nginx is already the newest version.a
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Parece que o Apt pode ver o pacote, mas não o seleciona:

$ apt-cache  policy nginx 
nginx:
  Installed: 1.2.1-2.2+wheezy3
  Candidate: 1.2.1-2.2+wheezy3
  Version table:
     1.6.2-2 0
        300 http://ftp.nl.debian.org/debian/ sid/main amd64 Packages
     1.6.2-1 0
        300 http://ftp.nl.debian.org/debian/ sid/main amd64 Packages
        400 http://ftp.nl.debian.org/debian/ testing/main amd64 Packages
     1.6.2-1~wheezy 0                                    ## <<-- WANT THIS ONE
        800 http://nginx.org/packages/debian/ wheezy/nginx amd64 Packages
 *** 1.2.1-2.2+wheezy3 0
        900 http://security.debian.org/ wheezy/updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1.2.1-2.2+wheezy2 0
        900 http://ftp.nl.debian.org/debian/ wheezy/main amd64 Packages

Em /etc/apt/sources.list.d/nginx.list :

deb http://nginx.org/packages/debian/ wheezy nginx
deb-src http://nginx.org/packages/debian/ wheezy nginx

Isso pode estar relacionado às minhas preferências do apt?

Em /etc/apt/preferences.d/base :

# Install stable unless installed version is more recent.
Package: *
Pin: release o=Debian,a=stable
Pin-Priority: 900

# Allow to install testing, unless there is a stable release.
Package: *
Pin: release o=Debian,a=testing
Pin-Priority: 400

# Allow to install unstable, unless there is a stable release
Package: *
Pin: release o=Debian,a=unstable
Pin-Priority: 300

# Never install other packages from Debian
Package: *
Pin: release o=Debian
Pin-Priority: -1

Em /etc/apt/preferences.d/nginx :

# Install Nginx unless installed version is more recent.
Package: *
Pin: release o=nginx
Pin-Priority: 800
    
por vdboor 02.10.2014 / 16:25

0 respostas