How do I install cron in the Ubuntu 15.10? I am facing problem with that

Hi

After a problem with my cron ( it stopped working) I decided to re-install it. But after I unistalled it I wasn't able to install it again. The following error was showed to me:

root@db1:/usr/sbin# apt-get install cron
Reading package lists… Done
Building dependency tree
Reading state information… Done
Suggested packages:
checksecurity
The following packages will be REMOVED:
bcron-run
The following NEW packages will be installed:
cron
0 upgraded, 1 newly installed, 1 to remove and 110 not upgraded.
Need to get 68.1 kB of archives.
After this operation, 193 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
WARNING: The following packages cannot be authenticated!
cron
Install these packages without verification? [y/N] y
Err http://mirrors.linode.com/ubuntu/ wily/main cron amd64 3.0pl1-127ubuntu1
404 Not Found [IP: 2600:3c00:1::68c8:17a2 80]
E: Failed to fetch http://mirrors.linode.com/ubuntu/pool/main/c/cron/cron_3.0pl1-127ubuntu1_amd64.deb 404 Not Found [IP: 2600:3c00:1::68c8:17a2 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

PS: Before unistall cron, I tried to stop and restart the service a lot of times, but with no success

Thanks,

Danilo

1 Reply

Hello @cbueno,

If you are still experiencing this, we recommend running through the following.

A. sudo apt-get update --fix-missing

B. Test and see if you can ping the mirror via:

$ ping mirrors.linode.com

If you cannot ping them from the Linode, try pinging from your local computer. If pinging the mirror is successful from your local computer you then know it is most likely a misconfiguration on the Linode.

C. You can also try changing the mirror that apt-get is using. To change the mirror you are running, you can do the following:

1: Choose your nearest and favorite mirror from the lists here.

https://launchpad.net/ubuntu/+archivemirrors

2: Edit your /etc/apt/sources.list file.

sudo nano /etc/apt/sources.list

3: Remove or comment entries which you don’t want.

4: Add above mirror according to following syntax

deb https://mirror.example.com/ubuntu release-code-name main contrib

5: Now Run:

sudo apt-get update

Regards,
Preston
Linode Support Team

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct