[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Aptitude hangs machine



On Friday 15 August 2008 02:55, Florian Kulzer wrote:
> On Thu, Aug 14, 2008 at 11:00:11 -0400, Ken Heard wrote:
> > I recently installed in a new Lenovo ThinkPad R61 Lenny using the Lenny
> > Beta2 installer.  The installation went -- as far as I could see -- as
> > it should have.
> >
> > Soon after installation I wanted to upgrade the installed packages.
> > First I updated /etc/apt/sources.list, including adding to it
> > debian-volatile so that I could install the clamav set of anti-virus
> > packages and get the periodic updates to tzdata.
>
> Do you really need volatile when you run Lenny? I thought it was only
> necessary to keep certain fast-moving packages up to date for Etch
> users. Are volatile packages even supposed to work on Lenny already?
> (Of course, things will be different after Lenny goes stable and new
> volatile updates become available.)
>
> > packages and get the periodic updates to tzdata. Then I ran (as root)
> > "aptitude update", followed by "aptitude upgrade".  It downloaded some
> > 33 package upgrades, including a new kernel (2.6.25-2-686 to replace
> > 2.6.24) and tzdata.
> >
> > The package setup only got as far as tzdata, when the machine hung.  To
> > get the machine going again I had to turn it off using the on/off button
> > and do a cold boot without a proper shutdown.
>
> Side note: Check out Alt-SysRq to shut down the system more cleanly in
> such situations:
>
> http://www.debian.org/doc/manuals/reference/ch-tips.en.html#s8.5.2
>
> > After rebooting I ran aptitude again.  It returned the message that
> > aptitude had been interrupted, and to get it running again I had to run
> > "dpkg --reconfigure -a".  I tried to do so several times; each time it
> > tried to set up tzdata, only getting as far as to say what the current
> > time zone is before hanging up the machine.
>
> We need to see the complete output of the ""dpkg --reconfigure -a"
> command. You can try to redirect it to a file (both STDOUT and STDERR),
> which hopefully will be usable if you sync the drives with Alt-SysRq-s
> before rebooting the frozen machine. If this does not work then you have
> to write the messages down and type them yourself, or you could
> photograph them and make the picture available somewhere.

Don't you two mean dpkg --configure -a ?
>
> --
> Regards,            | http://users.icfo.es/Florian.Kulzer
>           Florian   |

-- 
Shachar Or | שחר אור
http://ox.freeallweb.org/


Reply to: