Re: aptitude still running after terminal crash

2009-09-18 Thread Daniel Burrows
On Thu, Sep 17, 2009 at 10:40:11AM +0200, Guy Marcenac g...@posteurs.com was 
heard to say:
 While doing a safe-upgrade, my remote term crashed.
 When I relog into the system, the files are locked and I can see a running
 safe-upgrade in the background, likely waiting for an input.
 I am afraid of consistency problems if I kill the process and I don't know
 how to get the control back on this update process.

  Is aptitude the only process running, or is it waiting on a dpkg
subprocess?  (you can use pstree to find out)

  Daniel


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



aptitude still running after terminal crash

2009-09-17 Thread Guy Marcenac
While doing a safe-upgrade, my remote term crashed.
When I relog into the system, the files are locked and I can see a running
safe-upgrade in the background, likely waiting for an input.
I am afraid of consistency problems if I kill the process and I don't know
how to get the control back on this update process.
Ideas ?

Guy


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: aptitude still running after terminal crash

2009-09-17 Thread Guy Marcenac


On Thu, 17 Sep 2009 10:40:11 +0200, Guy Marcenac g...@posteurs.com wrote:
 While doing a safe-upgrade, my remote term crashed.
the running process is aptitude safe-upgrade


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: aptitude still running after terminal crash

2009-09-17 Thread Aioanei Rares

Guy Marcenac wrote:

On Thu, 17 Sep 2009 10:40:11 +0200, Guy Marcenac g...@posteurs.com wrote:
  

While doing a safe-upgrade, my remote term crashed.


the running process is aptitude safe-upgrade


  

Maybe you could wait 'till the process changes its state or finishes.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: aptitude still running after terminal crash

2009-09-17 Thread Florian Kriener
On Thursday 17 September 2009 10:40:11 Guy Marcenac wrote:
 While doing a safe-upgrade, my remote term crashed.
 When I relog into the system, the files are locked and I can see a
  running safe-upgrade in the background, likely waiting for an input.
  I am afraid of consistency problems if I kill the process and I
  don't know how to get the control back on this update process.
 Ideas ?

That is quite unusual. Usually aptitude should have been killed too. Did 
you, by chance, use screen? That would be quite good, because you could 
simply reattach. Please try `screen -ls` and `screen -rd` if you used 
screen. If not, use screen now.

However, if you did not use screen you probably don't have another 
chance then to kill aptitude. I wouldn't worry to much about 
inconsistencies, since you already have them now. Just kill it and try 
running it again.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: aptitude still running after terminal crash

2009-09-17 Thread Guy Marcenac
On Thu, 17 Sep 2009 11:18:34 +0200, Florian Kriener flor...@kriener.org
wrote:
 you, by chance, use screen? That would be quite good, because you could
Unfortunately I don't

 chance then to kill aptitude. I wouldn't worry to much about
 inconsistencies, since you already have them now. Just kill it and try
I'll be waiting for any other idea, but It seems I will have no other
choice left.

Thanks

-- 
Guy


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: aptitude still running after terminal crash

2009-09-17 Thread Guy Marcenac
On Fri, 18 Sep 2009 12:10:31 +0300, Aioanei Rares
debian.dev.l...@gmail.com wrote:
 Maybe you could wait 'till the process changes its state or finishes.
It won't. It's been running for 12 hours now.

Thanks

-- 
Guy


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: aptitude still running after terminal crash

2009-09-17 Thread Florian Kriener
On Thursday 17 September 2009 11:37:03 Guy Marcenac wrote:
  chance then to kill aptitude. I wouldn't worry to much about
  inconsistencies, since you already have them now. Just kill it and
  try
 
 I'll be waiting for any other idea, but It seems I will have no other
 choice left.

Just kill it already. :-)

If you just send a SIGTERM it should even die gracefully. If that does 
not work send a SIGKILL.

BTW: Please don't CC me.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: aptitude still running after terminal crash

2009-09-17 Thread Guy Marcenac

Florian Kriener wrote:

Just kill it already. :-)

If you just send a SIGTERM it should even die gracefully. If that does 

It did
I then run dpkg --configure -a and everything seems ok
Thanks


BTW: Please don't CC me.

Sorry


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org