[Debian GNUstep maintainers] Bug#825618: gnustep-dl2-postgresql-adaptor: fails to upgrade from wheezy to jessie to stretch: cannot switch directory to symlink

Andreas Beckmann anbe at debian.org
Sat May 28 15:08:01 UTC 2016


On 2016-05-28 16:43, Eric Heintzmann wrote:
> But is it possible to have more info ?

Let me see ...

> Le 28/05/2016 à 10:33, Andreas Beckmann a écrit :
>>   dpkg-maintscript-helper: error: directory '/usr/lib/GNUstep/Frameworks/PostgreSQLEOAdaptor.framework/Resources/LoginPanel.bundle/Resources' contains files not owned by package gnustep-dl2-postgresql-adaptor:amd64, cannot switch to symlink
> 
> witch files ?
> Owned by what package ?

# ls -la /usr/lib/GNUstep/Frameworks/PostgreSQLEOAdaptor.framework/Resources/LoginPanel.bundle/Resources
total 64
drwxr-xr-x 2 root root    80 May 28 14:52 .
drwxr-xr-x 3 root root   100 May 28 14:52 ..
-rw-r--r-- 1 root root   152 Apr 21  2013 Info-gnustep.plist
-rw-r--r-- 1 root root 57916 Apr 21  2013 postgreslogo.tif

# dpkg -S /usr/lib/GNUstep/Frameworks/PostgreSQLEOAdaptor.framework/Resources/LoginPanel.bundle/Resources/*
dpkg-query: no path found matching pattern /usr/lib/GNUstep/Frameworks/PostgreSQLEOAdaptor.framework/Resources/LoginPanel.bundle/Resources/Info-gnustep.plist
dpkg-query: no path found matching pattern /usr/lib/GNUstep/Frameworks/PostgreSQLEOAdaptor.framework/Resources/LoginPanel.bundle/Resources/postgreslogo.tif

# readlink -f /usr/lib/GNUstep/Frameworks/PostgreSQLEOAdaptor.framework/Resources/LoginPanel.bundle/Resources
/usr/lib/GNUstep/Frameworks/PostgreSQLEOAdaptor.framework/Versions/0/Resources/LoginPanel.bundle/Resources

# ls -lad /usr/lib/GNUstep/Frameworks/PostgreSQLEOAdaptor.framework/Resources                  
lrwxrwxrwx 1 root root 26 Apr 21  2013 /usr/lib/GNUstep/Frameworks/PostgreSQLEOAdaptor.framework/Resources -> Versions/Current/Resources

# ls -lad /usr/lib/GNUstep/Frameworks/PostgreSQLEOAdaptor.framework/Versions/Current          
lrwxrwxrwx 1 root root 1 Apr 21  2013 /usr/lib/GNUstep/Frameworks/PostgreSQLEOAdaptor.framework/Versions/Current -> 0

# dpkg -S /usr/lib/GNUstep/Frameworks/PostgreSQLEOAdaptor.framework/Versions/0/Resources/LoginPanel.bundle/Resources/*
gnustep-dl2-postgresql-adaptor: /usr/lib/GNUstep/Frameworks/PostgreSQLEOAdaptor.framework/Versions/0/Resources/LoginPanel.bundle/Resources/Info-gnustep.plist
gnustep-dl2-postgresql-adaptor: /usr/lib/GNUstep/Frameworks/PostgreSQLEOAdaptor.framework/Versions/0/Resources/LoginPanel.bundle/Resources/postgreslogo.tif

So you are applying the dir_to_symlink at the wrong path, since that is already behind some symlink ...


Andreas



More information about the pkg-GNUstep-maintainers mailing list