Can't update Nginx to version higher than 1.12.2 in ubuntu 16.04
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
0
down vote
favorite
I have been trying to update Nginx to it's latest version in my ubuntu server.
So, I tried with this command:
sudo add-apt-repository ppa:nginx/stable
sudo apt-get update
sudo apt-get install nginx
But the result showing that Nginx is already in the newest version (1.12.2-0+xenial0)
Here's the output of sudo apt-cache policy nginx
server nginx
add a comment |Â
up vote
0
down vote
favorite
I have been trying to update Nginx to it's latest version in my ubuntu server.
So, I tried with this command:
sudo add-apt-repository ppa:nginx/stable
sudo apt-get update
sudo apt-get install nginx
But the result showing that Nginx is already in the newest version (1.12.2-0+xenial0)
Here's the output of sudo apt-cache policy nginx
server nginx
Please don't use screenshots for terminal output. Instead, paste the terminal output into the question, select it, and press thebutton in the editor.
â Chai T. Rex
Feb 2 at 23:24
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have been trying to update Nginx to it's latest version in my ubuntu server.
So, I tried with this command:
sudo add-apt-repository ppa:nginx/stable
sudo apt-get update
sudo apt-get install nginx
But the result showing that Nginx is already in the newest version (1.12.2-0+xenial0)
Here's the output of sudo apt-cache policy nginx
server nginx
I have been trying to update Nginx to it's latest version in my ubuntu server.
So, I tried with this command:
sudo add-apt-repository ppa:nginx/stable
sudo apt-get update
sudo apt-get install nginx
But the result showing that Nginx is already in the newest version (1.12.2-0+xenial0)
Here's the output of sudo apt-cache policy nginx
server nginx
server nginx
edited Feb 2 at 21:06
asked Feb 2 at 20:36
![](https://i.stack.imgur.com/V7kwJ.jpg?s=32&g=1)
![](https://i.stack.imgur.com/V7kwJ.jpg?s=32&g=1)
W.Jack
1033
1033
Please don't use screenshots for terminal output. Instead, paste the terminal output into the question, select it, and press thebutton in the editor.
â Chai T. Rex
Feb 2 at 23:24
add a comment |Â
Please don't use screenshots for terminal output. Instead, paste the terminal output into the question, select it, and press thebutton in the editor.
â Chai T. Rex
Feb 2 at 23:24
Please don't use screenshots for terminal output. Instead, paste the terminal output into the question, select it, and press the
button in the editor.â Chai T. Rex
Feb 2 at 23:24
Please don't use screenshots for terminal output. Instead, paste the terminal output into the question, select it, and press the
button in the editor.â Chai T. Rex
Feb 2 at 23:24
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
2
down vote
accepted
Pre-Built Packages for Mainline version Ubuntu 16.04
For Ubuntu, in order to authenticate the nginx repository signature and to eliminate warnings about missing PGP key during installation of the nginx package, it is necessary to add the key used to sign the nginx packages and repository to the apt program keyring. Please copy/paste into text file and rename nginx_signing.key in Home Directory this key from our web site, and add it to the apt program keyring with the following command:
sudo apt-key add nginx_signing.key
Append the following to the end of the /etc/apt/sources.list file:
sudo nano /etc/apt/sources.list
deb http://nginx.org/packages/mainline/ubuntu/ xenial nginx
deb-src http://nginx.org/packages/mainline/ubuntu/ xenial nginx
For Ubuntu then run the following commands:
sudo apt-get update
sudo apt-get install nginx
SOURCE
gpg: can't open 'nginx_signing.key': No such file or directory
â W.Jack
Feb 2 at 21:28
Added more precise Instructions.
â EODCraft Staff
Feb 2 at 22:36
add a comment |Â
up vote
0
down vote
1.12.2 is the current stable version of nginx.
If you want the mainline version of nginx you have to use the PPA ppa:nginx/development
instead of ppa:nginx/stable
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
Pre-Built Packages for Mainline version Ubuntu 16.04
For Ubuntu, in order to authenticate the nginx repository signature and to eliminate warnings about missing PGP key during installation of the nginx package, it is necessary to add the key used to sign the nginx packages and repository to the apt program keyring. Please copy/paste into text file and rename nginx_signing.key in Home Directory this key from our web site, and add it to the apt program keyring with the following command:
sudo apt-key add nginx_signing.key
Append the following to the end of the /etc/apt/sources.list file:
sudo nano /etc/apt/sources.list
deb http://nginx.org/packages/mainline/ubuntu/ xenial nginx
deb-src http://nginx.org/packages/mainline/ubuntu/ xenial nginx
For Ubuntu then run the following commands:
sudo apt-get update
sudo apt-get install nginx
SOURCE
gpg: can't open 'nginx_signing.key': No such file or directory
â W.Jack
Feb 2 at 21:28
Added more precise Instructions.
â EODCraft Staff
Feb 2 at 22:36
add a comment |Â
up vote
2
down vote
accepted
Pre-Built Packages for Mainline version Ubuntu 16.04
For Ubuntu, in order to authenticate the nginx repository signature and to eliminate warnings about missing PGP key during installation of the nginx package, it is necessary to add the key used to sign the nginx packages and repository to the apt program keyring. Please copy/paste into text file and rename nginx_signing.key in Home Directory this key from our web site, and add it to the apt program keyring with the following command:
sudo apt-key add nginx_signing.key
Append the following to the end of the /etc/apt/sources.list file:
sudo nano /etc/apt/sources.list
deb http://nginx.org/packages/mainline/ubuntu/ xenial nginx
deb-src http://nginx.org/packages/mainline/ubuntu/ xenial nginx
For Ubuntu then run the following commands:
sudo apt-get update
sudo apt-get install nginx
SOURCE
gpg: can't open 'nginx_signing.key': No such file or directory
â W.Jack
Feb 2 at 21:28
Added more precise Instructions.
â EODCraft Staff
Feb 2 at 22:36
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
Pre-Built Packages for Mainline version Ubuntu 16.04
For Ubuntu, in order to authenticate the nginx repository signature and to eliminate warnings about missing PGP key during installation of the nginx package, it is necessary to add the key used to sign the nginx packages and repository to the apt program keyring. Please copy/paste into text file and rename nginx_signing.key in Home Directory this key from our web site, and add it to the apt program keyring with the following command:
sudo apt-key add nginx_signing.key
Append the following to the end of the /etc/apt/sources.list file:
sudo nano /etc/apt/sources.list
deb http://nginx.org/packages/mainline/ubuntu/ xenial nginx
deb-src http://nginx.org/packages/mainline/ubuntu/ xenial nginx
For Ubuntu then run the following commands:
sudo apt-get update
sudo apt-get install nginx
SOURCE
Pre-Built Packages for Mainline version Ubuntu 16.04
For Ubuntu, in order to authenticate the nginx repository signature and to eliminate warnings about missing PGP key during installation of the nginx package, it is necessary to add the key used to sign the nginx packages and repository to the apt program keyring. Please copy/paste into text file and rename nginx_signing.key in Home Directory this key from our web site, and add it to the apt program keyring with the following command:
sudo apt-key add nginx_signing.key
Append the following to the end of the /etc/apt/sources.list file:
sudo nano /etc/apt/sources.list
deb http://nginx.org/packages/mainline/ubuntu/ xenial nginx
deb-src http://nginx.org/packages/mainline/ubuntu/ xenial nginx
For Ubuntu then run the following commands:
sudo apt-get update
sudo apt-get install nginx
SOURCE
edited Feb 2 at 22:01
answered Feb 2 at 21:11
![](https://i.stack.imgur.com/axbyL.png?s=32&g=1)
![](https://i.stack.imgur.com/axbyL.png?s=32&g=1)
EODCraft Staff
377316
377316
gpg: can't open 'nginx_signing.key': No such file or directory
â W.Jack
Feb 2 at 21:28
Added more precise Instructions.
â EODCraft Staff
Feb 2 at 22:36
add a comment |Â
gpg: can't open 'nginx_signing.key': No such file or directory
â W.Jack
Feb 2 at 21:28
Added more precise Instructions.
â EODCraft Staff
Feb 2 at 22:36
gpg: can't open 'nginx_signing.key': No such file or directory
â W.Jack
Feb 2 at 21:28
gpg: can't open 'nginx_signing.key': No such file or directory
â W.Jack
Feb 2 at 21:28
Added more precise Instructions.
â EODCraft Staff
Feb 2 at 22:36
Added more precise Instructions.
â EODCraft Staff
Feb 2 at 22:36
add a comment |Â
up vote
0
down vote
1.12.2 is the current stable version of nginx.
If you want the mainline version of nginx you have to use the PPA ppa:nginx/development
instead of ppa:nginx/stable
add a comment |Â
up vote
0
down vote
1.12.2 is the current stable version of nginx.
If you want the mainline version of nginx you have to use the PPA ppa:nginx/development
instead of ppa:nginx/stable
add a comment |Â
up vote
0
down vote
up vote
0
down vote
1.12.2 is the current stable version of nginx.
If you want the mainline version of nginx you have to use the PPA ppa:nginx/development
instead of ppa:nginx/stable
1.12.2 is the current stable version of nginx.
If you want the mainline version of nginx you have to use the PPA ppa:nginx/development
instead of ppa:nginx/stable
answered Feb 2 at 21:01
Florian Diesch
63.1k16157176
63.1k16157176
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1002470%2fcant-update-nginx-to-version-higher-than-1-12-2-in-ubuntu-16-04%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Please don't use screenshots for terminal output. Instead, paste the terminal output into the question, select it, and press the
button in the editor.
â Chai T. Rex
Feb 2 at 23:24