Install and configure ntp rpm on Ubuntu 13.10 version


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu Install and configure ntp rpm on Ubuntu 13.10 version
# 1  
Install and configure ntp rpm on Ubuntu 13.10 version

Hello,

I am new to ubuntu Server OS and so trying to setup and ntp service on couple of servers.

I see ntp rpm is not installed.

Code:
# dpkg --get-selections | grep -v deinstall | grep ntp
ntpdate                                         install
#

so I tried to installed ntp rpm using this command, cant able to locate the rpm.

can someone please suggest how to install ntp rpm on the server.

Code:
# apt-get install ntpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ntpd
#

Thanks
# 2  
Check out this document :
https://help.ubuntu.com/13.10/serverguide/NTP.html

Ubuntu as it's a Debian derivative does not use rpm, but deb packages.
# 3  
I think you can use alien to convert rpm to deb

install from this command
Code:
sudo apt-get install alien dpkg-dev debhelper build-essential

To convert rpm to deb use this
Code:
sudo alien ntp.rpm

finally install from dpkg
Code:
sudo dpkg -i ntp.deb

if rpm you are trying to install is compatible with your system architecture you are done
# 4  
Hello, Thanks for your responce.

but still no luck with that url, I still see the same error message.

Code:
root@:~# sudo apt-get install ntp
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ntp
root@:~#

-
# 5  
what does /etc/apt/sources.list look like?
# 6  
I see all the repos in source.list file.

Code:
root@:~# more /etc/apt/sources.list
#

# deb cdrom:[Ubuntu-Server 12.04.4 LTS _Precise Pangolin_ - Release amd64 (20140204)]/ dists/precise/main/binary-i386/
# deb cdrom:[Ubuntu-Server 12.04.4 LTS _Precise Pangolin_ - Release amd64 (20140204)]/ dists/precise/restricted/binary-i386/
# deb cdrom:[Ubuntu-Server 12.04.4 LTS _Precise Pangolin_ - Release amd64 (20140204)]/ precise main restricted

#deb cdrom:[Ubuntu-Server 12.04.4 LTS _Precise Pangolin_ - Release amd64 (20140204)]/ dists/precise/main/binary-i386/
#deb cdrom:[Ubuntu-Server 12.04.4 LTS _Precise Pangolin_ - Release amd64 (20140204)]/ dists/precise/restricted/binary-i386/
#deb cdrom:[Ubuntu-Server 12.04.4 LTS _Precise Pangolin_ - Release amd64 (20140204)]/ precise main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ precise universe
deb-src http://us.archive.ubuntu.com/ubuntu/ precise universe
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ precise multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu precise partner
# deb-src http://archive.canonical.com/ubuntu precise partner

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb http://extras.ubuntu.com/ubuntu precise main
# deb-src http://extras.ubuntu.com/ubuntu precise main
root@:~#

Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #622
Difficulty: Medium
In Python, you cannot have an else clause for the while loop.
True or False?

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to install older package version on Ubuntu 18.04?

Hello, I'm running Ubuntu 18.04 and I would like to install libboost-python version 1.46. Currently I have installed version 1.65: wakatana@local-machine:~$ dpkg -l | grep libboost-python ii libboost-python-dev 1.65.1.0ubuntu1 amd64 ... (1 Reply)
Discussion started by: wakatana
1 Replies

2. Linux

Configure ntp server and Linux in oel 5.9

i want to configure machine1 as ntp server. this machine has oel 5.9 64 bit installed and this machine is not connected to internet neither there is any ntp server. there is another machine2 and i want to configure that as ntp client. plz do tell me that what lines do i add in /etc/ntp.conf... (0 Replies)
Discussion started by: rehantayyab82
0 Replies

3. Red Hat

Configure RPM

Hi..i need to install package (*.rpm) on RHEL 6.2 . I have those patches available in RPM disc. When i try using below command rpm -ivh <package name> it give me following error no key warning:user mockbuild does not exist - using root warning:group mockbuild does not exist - using root... (3 Replies)
Discussion started by: deljatt
3 Replies

4. Red Hat

RedHat version in rpm spec files

Hi In opensuse we have this nice version control variable I use much when designing rpm spec files: rpm --showrc | grep suse_version %if 0%{?suse_version} > 0 && 0%{?suse_version} < 1700 -14: suse_version 1140But I do not find anything close to this in rhel/centos The only way... (0 Replies)
Discussion started by: mortenb
0 Replies

5. AIX

Configure one host against two ntp servers for redundancy

Dears all is it possible to have two NTP servers in one host ? how i can configure them . please advice (5 Replies)
Discussion started by: thecobra151
5 Replies

6. Solaris

Cannot configure NTP client

Hi, I am trying to configure NTP client on my Solaris server, but I am getting error like: Jan 13 10:53:33 SPOTS ntpdate: no server suitable for synchronization foundMy ntp.conf file: bash-3.00# pwd /etc/inet bash-3.00# bash-3.00# bash-3.00# cat ntp.conf # ident "@(#)ntp.client... (5 Replies)
Discussion started by: nypreH
5 Replies

7. UNIX for Advanced & Expert Users

how to view NTP version?

Hi there, How do I find out the version of NTP which is running in my Red Hat Enterprise Linux Server release 5.3 machine. Any help related to this is very much appreciable. (1 Reply)
Discussion started by: skmdu
1 Replies

8. UNIX for Dummies Questions & Answers

Would like to install x86 desktop Ubuntu over AMD64 Ubuntu server

My intention was to build a dual boot XP Pro 64 and Ubuntu media server. I had installed the AMD64 version of Ubuntu 8.10 server and thought that I would be able to install Apache server. I need a GUI to work in. I tried to boot and install Mythbuntu 32 bit 8.10, but my machine now won't recognize... (0 Replies)
Discussion started by: docflyboy
0 Replies

9. SuSE

How to install .src.rpm ? ( source rpm )

Hi, I have got few RPM's from rpmfind.net ( mainly gcc ). But it seems to be src files instead of the image. so I think we have to build the src files according to target machine using rpmbuild. Can any one help me with 1) Various options of rpm build that have to be taken care 2)... (3 Replies)
Discussion started by: Sivaswami
3 Replies

10. Solaris

How to configure NTP in Solaris/Windows/Linux environment...???

Hi, Can someone let me know the detail procedure for configuring NTP in Solaris/Windows/Linux environment....??? I would like to use any NTP Server on Windows Server & rest of the systems running with Solaris 10/9 & Linux be as NTP Client. All NTP Client should take the time from NTP Server... (8 Replies)
Discussion started by: jumadhiya
8 Replies

Featured Tech Videos