[Debian GNUstep maintainers] Bug#825618: gnustep-dl2-postgresql-adaptor: fails to upgrade from wheezy to jessie to stretch: cannot switch directory to symlink
Eric Heintzmann
heintzmann.eric at free.fr
Sat May 28 15:22:22 UTC 2016
Le 28/05/2016 à 17:08, Andreas Beckmann a écrit :
>> 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 ...
OK, I think I see the problem.
I will repackage it as soon as GNUstep Core packages will be uploaded in
sid.
(I'm currently working on gnustep-gui)
Thanks for your help.
Eric
More information about the pkg-GNUstep-maintainers
mailing list