Cannot install ntp server












0















I install ntp server on ubuntu
Code:



aptitude update
aptitude -y upgrade
aptitude install ntp


Get error



ntp: depend libopts25 (>= 1:5.18) which is a virtual package


Please help me.










share|improve this question
















bumped to the homepage by Community 6 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • have you tried this sudo apt-get install libopts25

    – Ravan
    Sep 18 '15 at 5:02











  • Hi Ravan. get error libopts25 is not available. I try install on another VM. But same above error

    – Dum Lu Ngoc
    Sep 18 '15 at 5:24


















0















I install ntp server on ubuntu
Code:



aptitude update
aptitude -y upgrade
aptitude install ntp


Get error



ntp: depend libopts25 (>= 1:5.18) which is a virtual package


Please help me.










share|improve this question
















bumped to the homepage by Community 6 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • have you tried this sudo apt-get install libopts25

    – Ravan
    Sep 18 '15 at 5:02











  • Hi Ravan. get error libopts25 is not available. I try install on another VM. But same above error

    – Dum Lu Ngoc
    Sep 18 '15 at 5:24
















0












0








0








I install ntp server on ubuntu
Code:



aptitude update
aptitude -y upgrade
aptitude install ntp


Get error



ntp: depend libopts25 (>= 1:5.18) which is a virtual package


Please help me.










share|improve this question
















I install ntp server on ubuntu
Code:



aptitude update
aptitude -y upgrade
aptitude install ntp


Get error



ntp: depend libopts25 (>= 1:5.18) which is a virtual package


Please help me.







ntp






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 18 '15 at 4:58









muru

1




1










asked Sep 18 '15 at 4:57









Dum Lu NgocDum Lu Ngoc

111




111





bumped to the homepage by Community 6 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 6 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • have you tried this sudo apt-get install libopts25

    – Ravan
    Sep 18 '15 at 5:02











  • Hi Ravan. get error libopts25 is not available. I try install on another VM. But same above error

    – Dum Lu Ngoc
    Sep 18 '15 at 5:24





















  • have you tried this sudo apt-get install libopts25

    – Ravan
    Sep 18 '15 at 5:02











  • Hi Ravan. get error libopts25 is not available. I try install on another VM. But same above error

    – Dum Lu Ngoc
    Sep 18 '15 at 5:24



















have you tried this sudo apt-get install libopts25

– Ravan
Sep 18 '15 at 5:02





have you tried this sudo apt-get install libopts25

– Ravan
Sep 18 '15 at 5:02













Hi Ravan. get error libopts25 is not available. I try install on another VM. But same above error

– Dum Lu Ngoc
Sep 18 '15 at 5:24







Hi Ravan. get error libopts25 is not available. I try install on another VM. But same above error

– Dum Lu Ngoc
Sep 18 '15 at 5:24












2 Answers
2






active

oldest

votes


















0














You can install ntp server using following commands:



If you are using ubuntu server use sudo apt-get install ntp.



If you are using centos or RHEL then use sudo yum install ntp.



If this does not work try updating the source list repo.






share|improve this answer





















  • 1





    Askubuntu is about Ubuntu related questions and answer, so answers to other Linux distributions are doesn't required.

    – Shashanth
    Aug 23 '16 at 8:39











  • just in case, he wanted to know

    – Prabesh Thapa
    Aug 23 '16 at 11:11



















0














Just add libopts25 along with ntp like this sudo apt-get install ntp libopts25:



$ sudo apt-get install ntp
Reading package lists... Done
Building dependency tree     
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
ntp : Depends: libopts25 (>= 1:5.18.7) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

$ sudo apt-get install ntp libopts25
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Suggested packages:
 ntp-doc
The following NEW packages will be installed:
 libopts25 ntp
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 576 kB of archives.
After this operation, 1,792 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libopts25 amd64 1:5.18.7-3 [57.8 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 ntp amd64 1:4.2.8p4+dfsg-3ubuntu5.6 [518 kB]
Fetched 576 kB in 0s (615 kB/s)
Selecting previously unselected package libopts25:amd64.
(Reading database ... 207420 files and directories currently installed.)
Preparing to unpack .../libopts25_1%3a5.18.7-3_amd64.deb ...
Unpacking libopts25:amd64 (1:5.18.7-3) ...
Selecting previously unselected package ntp.
Preparing to unpack .../ntp_1%3a4.2.8p4+dfsg-3ubuntu5.6_amd64.deb ...
Unpacking ntp (1:4.2.8p4+dfsg-3ubuntu5.6) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for systemd (229-4ubuntu19) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libopts25:amd64 (1:5.18.7-3) ...
Setting up ntp (1:4.2.8p4+dfsg-3ubuntu5.6) ...





share|improve this answer
























  • apt-get install ntp libopts25 Reading package lists... Done Building dependency tree Reading state information... Done Package libopts25 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libopts25' has no installation candidate

    – abkrim
    Jun 20 '18 at 16:41











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f675441%2fcannot-install-ntp-server%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














You can install ntp server using following commands:



If you are using ubuntu server use sudo apt-get install ntp.



If you are using centos or RHEL then use sudo yum install ntp.



If this does not work try updating the source list repo.






share|improve this answer





















  • 1





    Askubuntu is about Ubuntu related questions and answer, so answers to other Linux distributions are doesn't required.

    – Shashanth
    Aug 23 '16 at 8:39











  • just in case, he wanted to know

    – Prabesh Thapa
    Aug 23 '16 at 11:11
















0














You can install ntp server using following commands:



If you are using ubuntu server use sudo apt-get install ntp.



If you are using centos or RHEL then use sudo yum install ntp.



If this does not work try updating the source list repo.






share|improve this answer





















  • 1





    Askubuntu is about Ubuntu related questions and answer, so answers to other Linux distributions are doesn't required.

    – Shashanth
    Aug 23 '16 at 8:39











  • just in case, he wanted to know

    – Prabesh Thapa
    Aug 23 '16 at 11:11














0












0








0







You can install ntp server using following commands:



If you are using ubuntu server use sudo apt-get install ntp.



If you are using centos or RHEL then use sudo yum install ntp.



If this does not work try updating the source list repo.






share|improve this answer















You can install ntp server using following commands:



If you are using ubuntu server use sudo apt-get install ntp.



If you are using centos or RHEL then use sudo yum install ntp.



If this does not work try updating the source list repo.







share|improve this answer














share|improve this answer



share|improve this answer








edited Aug 23 '16 at 8:58









DJCrashdummy

1,51231427




1,51231427










answered Aug 23 '16 at 7:42









Prabesh ThapaPrabesh Thapa

113




113








  • 1





    Askubuntu is about Ubuntu related questions and answer, so answers to other Linux distributions are doesn't required.

    – Shashanth
    Aug 23 '16 at 8:39











  • just in case, he wanted to know

    – Prabesh Thapa
    Aug 23 '16 at 11:11














  • 1





    Askubuntu is about Ubuntu related questions and answer, so answers to other Linux distributions are doesn't required.

    – Shashanth
    Aug 23 '16 at 8:39











  • just in case, he wanted to know

    – Prabesh Thapa
    Aug 23 '16 at 11:11








1




1





Askubuntu is about Ubuntu related questions and answer, so answers to other Linux distributions are doesn't required.

– Shashanth
Aug 23 '16 at 8:39





Askubuntu is about Ubuntu related questions and answer, so answers to other Linux distributions are doesn't required.

– Shashanth
Aug 23 '16 at 8:39













just in case, he wanted to know

– Prabesh Thapa
Aug 23 '16 at 11:11





just in case, he wanted to know

– Prabesh Thapa
Aug 23 '16 at 11:11













0














Just add libopts25 along with ntp like this sudo apt-get install ntp libopts25:



$ sudo apt-get install ntp
Reading package lists... Done
Building dependency tree     
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
ntp : Depends: libopts25 (>= 1:5.18.7) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

$ sudo apt-get install ntp libopts25
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Suggested packages:
 ntp-doc
The following NEW packages will be installed:
 libopts25 ntp
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 576 kB of archives.
After this operation, 1,792 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libopts25 amd64 1:5.18.7-3 [57.8 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 ntp amd64 1:4.2.8p4+dfsg-3ubuntu5.6 [518 kB]
Fetched 576 kB in 0s (615 kB/s)
Selecting previously unselected package libopts25:amd64.
(Reading database ... 207420 files and directories currently installed.)
Preparing to unpack .../libopts25_1%3a5.18.7-3_amd64.deb ...
Unpacking libopts25:amd64 (1:5.18.7-3) ...
Selecting previously unselected package ntp.
Preparing to unpack .../ntp_1%3a4.2.8p4+dfsg-3ubuntu5.6_amd64.deb ...
Unpacking ntp (1:4.2.8p4+dfsg-3ubuntu5.6) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for systemd (229-4ubuntu19) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libopts25:amd64 (1:5.18.7-3) ...
Setting up ntp (1:4.2.8p4+dfsg-3ubuntu5.6) ...





share|improve this answer
























  • apt-get install ntp libopts25 Reading package lists... Done Building dependency tree Reading state information... Done Package libopts25 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libopts25' has no installation candidate

    – abkrim
    Jun 20 '18 at 16:41
















0














Just add libopts25 along with ntp like this sudo apt-get install ntp libopts25:



$ sudo apt-get install ntp
Reading package lists... Done
Building dependency tree     
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
ntp : Depends: libopts25 (>= 1:5.18.7) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

$ sudo apt-get install ntp libopts25
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Suggested packages:
 ntp-doc
The following NEW packages will be installed:
 libopts25 ntp
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 576 kB of archives.
After this operation, 1,792 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libopts25 amd64 1:5.18.7-3 [57.8 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 ntp amd64 1:4.2.8p4+dfsg-3ubuntu5.6 [518 kB]
Fetched 576 kB in 0s (615 kB/s)
Selecting previously unselected package libopts25:amd64.
(Reading database ... 207420 files and directories currently installed.)
Preparing to unpack .../libopts25_1%3a5.18.7-3_amd64.deb ...
Unpacking libopts25:amd64 (1:5.18.7-3) ...
Selecting previously unselected package ntp.
Preparing to unpack .../ntp_1%3a4.2.8p4+dfsg-3ubuntu5.6_amd64.deb ...
Unpacking ntp (1:4.2.8p4+dfsg-3ubuntu5.6) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for systemd (229-4ubuntu19) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libopts25:amd64 (1:5.18.7-3) ...
Setting up ntp (1:4.2.8p4+dfsg-3ubuntu5.6) ...





share|improve this answer
























  • apt-get install ntp libopts25 Reading package lists... Done Building dependency tree Reading state information... Done Package libopts25 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libopts25' has no installation candidate

    – abkrim
    Jun 20 '18 at 16:41














0












0








0







Just add libopts25 along with ntp like this sudo apt-get install ntp libopts25:



$ sudo apt-get install ntp
Reading package lists... Done
Building dependency tree     
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
ntp : Depends: libopts25 (>= 1:5.18.7) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

$ sudo apt-get install ntp libopts25
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Suggested packages:
 ntp-doc
The following NEW packages will be installed:
 libopts25 ntp
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 576 kB of archives.
After this operation, 1,792 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libopts25 amd64 1:5.18.7-3 [57.8 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 ntp amd64 1:4.2.8p4+dfsg-3ubuntu5.6 [518 kB]
Fetched 576 kB in 0s (615 kB/s)
Selecting previously unselected package libopts25:amd64.
(Reading database ... 207420 files and directories currently installed.)
Preparing to unpack .../libopts25_1%3a5.18.7-3_amd64.deb ...
Unpacking libopts25:amd64 (1:5.18.7-3) ...
Selecting previously unselected package ntp.
Preparing to unpack .../ntp_1%3a4.2.8p4+dfsg-3ubuntu5.6_amd64.deb ...
Unpacking ntp (1:4.2.8p4+dfsg-3ubuntu5.6) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for systemd (229-4ubuntu19) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libopts25:amd64 (1:5.18.7-3) ...
Setting up ntp (1:4.2.8p4+dfsg-3ubuntu5.6) ...





share|improve this answer













Just add libopts25 along with ntp like this sudo apt-get install ntp libopts25:



$ sudo apt-get install ntp
Reading package lists... Done
Building dependency tree     
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
ntp : Depends: libopts25 (>= 1:5.18.7) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

$ sudo apt-get install ntp libopts25
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Suggested packages:
 ntp-doc
The following NEW packages will be installed:
 libopts25 ntp
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 576 kB of archives.
After this operation, 1,792 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libopts25 amd64 1:5.18.7-3 [57.8 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 ntp amd64 1:4.2.8p4+dfsg-3ubuntu5.6 [518 kB]
Fetched 576 kB in 0s (615 kB/s)
Selecting previously unselected package libopts25:amd64.
(Reading database ... 207420 files and directories currently installed.)
Preparing to unpack .../libopts25_1%3a5.18.7-3_amd64.deb ...
Unpacking libopts25:amd64 (1:5.18.7-3) ...
Selecting previously unselected package ntp.
Preparing to unpack .../ntp_1%3a4.2.8p4+dfsg-3ubuntu5.6_amd64.deb ...
Unpacking ntp (1:4.2.8p4+dfsg-3ubuntu5.6) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for systemd (229-4ubuntu19) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libopts25:amd64 (1:5.18.7-3) ...
Setting up ntp (1:4.2.8p4+dfsg-3ubuntu5.6) ...






share|improve this answer












share|improve this answer



share|improve this answer










answered Aug 12 '17 at 4:02









rcpaorcpao

41724




41724













  • apt-get install ntp libopts25 Reading package lists... Done Building dependency tree Reading state information... Done Package libopts25 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libopts25' has no installation candidate

    – abkrim
    Jun 20 '18 at 16:41



















  • apt-get install ntp libopts25 Reading package lists... Done Building dependency tree Reading state information... Done Package libopts25 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libopts25' has no installation candidate

    – abkrim
    Jun 20 '18 at 16:41

















apt-get install ntp libopts25 Reading package lists... Done Building dependency tree Reading state information... Done Package libopts25 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libopts25' has no installation candidate

– abkrim
Jun 20 '18 at 16:41





apt-get install ntp libopts25 Reading package lists... Done Building dependency tree Reading state information... Done Package libopts25 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'libopts25' has no installation candidate

– abkrim
Jun 20 '18 at 16:41


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f675441%2fcannot-install-ntp-server%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

GameSpot

connect to host localhost port 22: Connection refused

Getting a Wifi WPA2 wifi connection