unattended update-manager

Marius Gedminas marius at pov.lt
Fri Apr 25 19:57:42 UTC 2008


On Fri, Apr 25, 2008 at 02:13:59PM +0200, Pierre Frenkiel wrote:
> I ran update-manager to  upgrade from Feisty to Gutsy, in January, and
> I had to stay in front of my computer for more than 3 hours, just to
> answer 8 to 10 questions about keeping config files or installing the new ones.
> Is there a way avoid that (for example, by setting a default answer)?

Well, you can reduce the time to something like 40 minutes by
pre-downloading the packages, say, overnight, and then running
update-manager interactively.

I do the pre-downloading by editing /etc/apt/sources.list as root,
replacing gutsy with hardy, and then running

  sudo apt-get update && sudo apt-get dist-upgrade --download-only -y

I ran this command the night before the official Hardy release and got
1.2 gigs of debs at a rather decent speed.  After the release
update-manager needed to download only 600k extra.

> I think this should be available via a update-manager option.

That would be nice, yes.  Just show me a list of the config files I
should review at the very end (and perhaps email that list to
root at localhost -- that would be useful on a server).

Marius Gedminas
-- 
The laser etcher can accept most any image data, (think logos or screen dumps!)
and render it on a heat-sensitive surface. There's a big tunable exhaust fan,
so the thing can be dialed in to Not vaporize your laptop.
        -- Stuart Kreitman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080425/84367c1d/attachment.sig>


More information about the ubuntu-users mailing list