Bug#614202: failed to remove `/usr/share/doc/cmake'

2011-02-20 Thread Modestas Vainius
Hello,

On sekmadienis 20 Vasaris 2011 13:53:45 Christian Marillat wrote:
> Modestas Vainius  writes:
> 
> [...]
> 
> > Which cmake version did you have before? Did you force upgrade or
> > something like that?
> 
> No force option. But I can't do 'apt-get dist-upgrade' for now as some
> packages are removed.
> 
> I did an 'apt-get install cmake-data' with others packages. Then cmake
> has been removed. Then I installed cmake again and the install fail.

Yeah, this is weird. dpkg is not supposed to automatically replace directory 
(/usr/share/doc/cmake) with a symlink on upgrades (see #404850). That's why I 
had to add that postinst. So I still do not understand how you ran into your 
current situation.

> The best is to test if /usr/share/doc/cmake is really a directory in the
> postinst.

Yeah, I will do that.

-- 
Modestas Vainius 


signature.asc
Description: This is a digitally signed message part.


Bug#614202: failed to remove `/usr/share/doc/cmake'

2011-02-20 Thread Christian Marillat
Modestas Vainius  writes:

[...]

> Which cmake version did you have before? Did you force upgrade or something 
> like that?

No force option. But I can't do 'apt-get dist-upgrade' for now as some
packages are removed.

I did an 'apt-get install cmake-data' with others packages. Then cmake
has been removed. Then I installed cmake again and the install fail. 

The best is to test if /usr/share/doc/cmake is really a directory in the
postinst.

Christian



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



Bug#614202: failed to remove `/usr/share/doc/cmake'

2011-02-20 Thread Modestas Vainius
Hello,

On sekmadienis 20 Vasaris 2011 13:01:26 Christian Marillat wrote:
> Setting up cmake (2.8.3-4) ...
> rmdir: failed to remove `/usr/share/doc/cmake': Not a directory
> dpkg: error processing cmake (--configure):
>  subprocess installed post-installation script returned error exit status 1
> configured to not write apport reports
>   Errors were encountered while
> processing:
>  cmake

Which cmake version did you have before? Did you force upgrade or something 
like that?

-- 
Modestas Vainius 


signature.asc
Description: This is a digitally signed message part.