Public bug reported:

Upgrading from trusty to xenial is meant to replace "/etc/init.d/cron ->
/lib/init/upstart-job" with a real file /etc/init.d/cron.

This works fine in a schroot, but in a container or a VM you end up with

lrwxrwxrwx 1 root root   21 Feb  9  2013 /etc/init.d/cron -> 
/lib/init/upstart-job
-rwxr-xr-x 1 root root 3049 Feb 17 18:25 /etc/init.d/cron.dpkg-new

Reproducer:

 - start trusty container or VM
 - echo 'deb     http://archive.ubuntu.com/ubuntu xenial main restricted 
universe multiverse' | sudo tee /etc/apt/sources.list
 - sudo apt update
 - sudo apt-get install -y cron

** Affects: cron (Ubuntu)
     Importance: High
     Assignee: Martin Pitt (pitti)
         Status: In Progress

** Affects: cron (Ubuntu Xenial)
     Importance: High
     Assignee: Martin Pitt (pitti)
         Status: In Progress


** Tags: upgrade xenial

** Tags added: upgrade xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1566333

Title:
  trusty → xenial upgrade fails to upgrade /etc/init.d/cron

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cron/+bug/1566333/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to