On Mon,  8 Mar 2010 08:11:34 +0100, Antonin Kral wrote:
> Hello Michal,
> 
> to be honest I am not able to replicate your problem. I am a bit
> confused with the message:
> 
> > stop: Unknown instance: 
> 
> I have just went through multiple upgrade scenarios (like stopped
> daemon, killed...) and all of them were pretty successful.
> 
> One thing came on mi mind through - the -1 version includes upstart
> script, which slipped accidentally through. So I am a bit suspicious
> about it messing the rc.

Adding -x to the first lines in /var/lib/dpkg/info/mongodb.prerm
and /lib/init/upstart-job shows:

Preparing to replace mongodb 1:1.2.2-1 (using .../mongodb_1.2.2-4_i386.deb) ...
+ set -e
+ echo arg: upgrade
arg: upgrade
+ [ -x /etc/init.d/mongodb ]
+ which invoke-rc.d
+ [ -x /usr/sbin/invoke-rc.d ]
+ invoke-rc.d mongodb stop
+ sed s/[SK][0-9][0-9]//
+ basename /etc/init.d/mongodb
+ service=mongodb
+ action=stop
+ id -u
+ [ 0 -ne 0 ]
+ echo Stopping mongodb...
Stopping mongodb...
+ stop mongodb
stop: Unknown instance: 
invoke-rc.d: initscript mongodb, action "stop" failed.
+ exit 1
dpkg: warning: old pre-removal script returned error exit status 1

> Are you able to upgrade by hand?

What do you mean? How do I upgrade by hand?

-- 
MichaƂ Politowski
Talking has been known to lead to communication if practiced carelessly.



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

Reply via email to