Ticket #407 (closed defect: fixed)

Opened 14 years ago

Last modified 14 years ago

athena-auto-update should dpkg --configure -a

Reported by: geofft Owned by: jdreed
Priority: blocker Milestone: Spring 2010
Component: -- Keywords:
Cc: Fixed in version:
Upstream bug:

Description

A handful of machines in clusters have stopped updating with

E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. 
E: Couldn't rebuild package cache

update.log is missing a record of the last upgrade finishing, indicating the system was probably rebooted. I reported this as a theoretical bug five months ago in comment:ticket:217:1 after running into it on my -cluster laptop; as I predicted, it's happening in practice.

Change History

comment:1 Changed 14 years ago by jdreed

From today's release-team:

We decided we don't care about machines being unavailable while they're taking an update. We should change athena-auto-update to run when idle. The desync period should be 2 hours during "low usage" times (2am -8 am) and should be 6 hours otherwise, to help protect against every machine in a cluster taking texlive-full simultaneously.

When a machine is being updated, we will touch /etc/nologin and switch to a new VT and display a message to users.

We should ensure updates run even on machines that get little-to-no idle time, such as quickstations.

This probably also fixes #406 -- if so, someone should close that ticket.

comment:2 Changed 14 years ago by andersk

That is not particularly related to this ticket, nor to #406. The updater will need to ‘dpkg --configure -a’ whether or not it is running during during a login session.

comment:3 Changed 14 years ago by jdreed

  • Milestone set to Spring 2010

How is this ticket different from #406? Is this ticket suggesting that we should run dpkg --configure -a every time, whereas #407 is suggesting that it merely deal with unconfigured packages when necessary?

comment:4 Changed 14 years ago by jdreed

  • Owner set to jdreed
  • Status changed from new to accepted

Fixed in r24337

comment:5 Changed 14 years ago by jdreed

  • Status changed from accepted to proposed

comment:6 Changed 14 years ago by jdreed

  • Status changed from proposed to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.