> On Apr 20, 2016, at 10:19, Smith, Phillip R. <smith...@nyumc.org> wrote:
> 
>> The “no script in the new version of the package” message suggests that you 
>> might indeed possibly have a mis-built qt5-mac-qttools-dev-tools.  Try “fink 
>> rebuild qt5-mac-qttools-dev-tools ; fink install qt5-mac-qttools-dev-tools” 
>> and see if you get the same error again.
> 
> Tried  “fink rebuild qt5-mac-qttools-dev-tools”  This did a lot of work and, 
> by the look of it, completed without error…
> 
> …
> Setting up qt5-mac-qthelp-shlibs (5.6.0-1) ...
> 
> Setting up qt5-mac-designer (5.6.0-1) ...
> 
> Setting up qt5-mac-qttools (5.6.0-1) ...
> Clearing dependency_libs of .la files being installed
> 
> Updating the list of locally available binary packages.
> Scanning dists/stable/main/binary-darwin-x86_64
> Changed package: 
> dists/stable/main/binary-darwin-x86_64/libs/qt5-mac-assistant_5.6.0-1_darwin-x86_64.deb
> Changed package: 
> dists/stable/main/binary-darwin-x86_64/libs/qt5-mac-designer_5.6.0-1_darwin-x86_64.deb
> Changed package: 
> dists/stable/main/binary-darwin-x86_64/libs/qt5-mac-linguist_5.6.0-1_darwin-x86_64.deb
> Changed package: 
> dists/stable/main/binary-darwin-x86_64/libs/qt5-mac-qtclucene-shlibs_5.6.0-1_darwin-x86_64.deb
> Changed package: 
> dists/stable/main/binary-darwin-x86_64/libs/qt5-mac-qtdesigner-shlibs_5.6.0-1_darwin-x86_64.deb
> Changed package: 
> dists/stable/main/binary-darwin-x86_64/libs/qt5-mac-qtdesignercomponents-shlibs_5.6.0-1_darwin-x86_64.deb
> Changed package: 
> dists/stable/main/binary-darwin-x86_64/libs/qt5-mac-qthelp-shlibs_5.6.0-1_darwin-x86_64.deb
> Changed package: 
> dists/stable/main/binary-darwin-x86_64/libs/qt5-mac-qttools-dev-tools_5.6.0-1_darwin-x86_64.deb
> Changed package: 
> dists/stable/main/binary-darwin-x86_64/libs/qt5-mac-qttools_5.6.0-1_darwin-x86_64.deb
> smithp01-MB-28>
> 
> However the next step: "fink install qt5-mac-qttools-dev-tools” yielded the 
> same errors as before.
> 
> smithp01-MB-28> fink install qt5-mac-qttools-dev-tools
> Information about 9057 packages read in 1 seconds.
> The following package will be installed or updated:
> qt5-mac-qttools-dev-tools
> Reading buildlock packages...
> /sw/bin/dpkg-lockwait -i 
> /sw/fink/dists/stable/main/binary-darwin-x86_64/libs/qt5-mac-qttools-dev-tools_5.6.0-1_darwin-x86_64.deb
> (Reading database ... 231296 files and directories currently installed.)
> Preparing to replace qt5-mac-qttools-dev-tools 5.5.1-1 (using 
> .../qt5-mac-qttools-dev-tools_5.6.0-1_darwin-x86_64.deb) ...
> rm: /sw/lib/qt5-mac/bin/pixeltool.app/Contents/PkgInfo: No such file or 
> directory
> dpkg: warning - old pre-removal script returned error exit status 1
> dpkg - trying script from the new package instead ...
> /sw/bin/dpkg: error processing 
> /sw/fink/dists/stable/main/binary-darwin-x86_64/libs/qt5-mac-qttools-dev-tools_5.6.0-1_darwin-x86_64.deb
>  (--install):
> there is no script in the new version of the package - giving up
> Errors were encountered while processing:
> /sw/fink/dists/stable/main/binary-darwin-x86_64/libs/qt5-mac-qttools-dev-tools_5.6.0-1_darwin-x86_64.deb
> ### execution of /sw/bin/dpkg-lockwait failed, exit code 1
> Failed: can't install package qt5-mac-qttools-dev-tools-5.6.0-1
> smithp01-MB-29>
> 
> Thanks!

What OS version are you on, by the way?

We have to hack the install process for foo.app/Contents/PkgInfo because Apple 
decided at 10.10 (I think) to make those files not allow overwrites.  It looks 
like the prior PreRmScript doesn’t fail gracefully if the file is absent.

Can you do “fink remove qt5-mac-qttools-dev-tools” ?

—akh
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to