Maintenance

  • Home
  • Log in
  • « Setting up a Mac for use in HCMC labs
  • Displaying SVG logos on HTML5 pages »

teiJenkins machine: enabling unattended upgrades

Posted by mholmes on 06 Dec 2011 in Servers, Activity log, Activity log, Documentation, Documentation

I was following these instructions to enable unattended upgrades to Lucid, and I hit a known bug with the unattended-upgrades package: the default runlevels for Start and Stop are wrong. I found this page, which suggested the following fixes, which worked.

Symptom: after installing the unattended-upgrades packages, you get this:

update-rc.d: warning: unattended-upgrades start runlevel arguments (none) do not match LSB Default-Start values (0 6)
update-rc.d: warning: unattended-upgrades stop runlevel arguments (0 6) do not match LSB Default-Stop values (none)

Solution:

sed -i 's/Default-Start:[\t ]*0 6/Default-Start:/' /etc/init.d/unattended-upgrades

sed -i 's/Default-Stop:/Default-Stop:\t\t0 6/' /etc/init.d/unattended-upgrades 

dpkg-reconfigure -u unattended-upgrades

Following that, I edited /etc/apt/apt.conf.d/50unattended-upgrades to enable both security and regular updates, and to allow reboots when required. Jenkins seems to cope OK with reboots.

This entry was posted by Martin and filed under Servers, Activity log, Activity log, Documentation, Documentation.

Maintenance

This blog is the location for all work involving software and hardware maintenance, updates, installs, etc., both routine and urgent.
  • Home
  • Recently
  • Archives
  • Categories

Search

Categories

  • All
  • Announcements
  • Hit by a bus
  • Labs
    • Activity log
    • Documentation
  • Notes
  • R & D
    • Activity log
    • Documentation
  • Servers
    • Activity log
    • Documentation
  • Tasks

All blogs

  • Academic
  • AdaptiveDB
  • Admin
  • Announcements
  • CanMys
  • Cascade
  • CGWP
  • ColDesp
  • Depts
  • DVPP
  • Endings
  • HCMC Blogs
  • Landscapes
  • LEMDO
  • Linguistics
  • Maint
  • LondonMap
  • Mariage
  • MoM
  • Moses
  • Pro-D
  • Projects
  • ScanCan
  • HumsSites
  • Wendat

This collection ©2022 by admin • Help • Open-Source CMS