[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't find ntpdate (noob alert)



On Mit, 2004-02-18 at 05:55, Francois Lachance wrote:

> phoney:~# apt-get install ntpdate
> Reading Package Lists... Done
> Building Dependency Tree... Done
> E: Couldn't find package ntpdate
> 
> What could be wrong?  Searching through the archives, nothing obvious jumps
> at me...

The error means that apt-get couldn't find the package "ntpdate" in it's
list(s) of available packages. This could be a) due to a spelling error
(though not in this case, I think. Still, remember that sometimes a
package may be named different from what you expect. Try ftpd or emacs)
or b) because it is actually not in the list.

How to fix b): edit /etc/apt/sources.list -- this is the list of servers
where apt-get (or deselect or aptitude or...) will look for packages.
Once done, you need to run "apt-get  update" and aptitude will go and
retrieve the lists of packages available on the respective servers.

No matter how often you change your sources.list, apt-get will know
naught of it until you update the local copies of the package lists.

cu,
Schnobs



Reply to: