Oh boy. I really need to fix this in the source packages. It is
possible to recover here, but it requires poking under the covers of
dpkg a bit. You'd want to find ghc-* in /sw/var/lib/dpkg/info and for
each of those files, comment out or delete the line "set -e". At that
point, recursive remove should work.

I'm going to try to get this done in the fink packages this weekend.

pandoc is also built in the bindist, FWIW.

On Friday, 03 October 2014 at 17:24, Lowell Tacconi-Garman wrote:
> Dear Brendan,
> 
> This seems, somehow, to be snowballing.  See the following:
> 
> > ltacconi% fink remove ghc-text
> >Password:
> >Information about 10814 packages read in 1 seconds.
> >Reading buildlock packages...
> >/sw/bin/dpkg-lockwait --remove ghc-text
> >dpkg: dependency problems prevent removal of ghc-text:
> > ghc-blaze-builder depends on ghc-text (>= 0.10).
> > ghc-blaze-builder depends on ghc-text (<< 1.2-1).
> > ghc-blaze-builder depends on ghc-text (>= 0.10).
> > ghc-blaze-builder depends on ghc-text (<< 1.2-1).
> > ghc-hexpat depends on ghc-text (>= 0.5.0.0-1).
> > ghc-hexpat depends on ghc-text (<< 1.2.0.0-1).
> > ghc-hexpat depends on ghc-text (>= 0.5.0.0-1).
> > ghc-hexpat depends on ghc-text (<< 1.2.0.0-1).
> > ghc-blaze-markup depends on ghc-text (>= 0.10-1).
> > ghc-blaze-markup depends on ghc-text (<< 1.2-1).
> > ghc-blaze-markup depends on ghc-text (>= 0.10-1).
> > ghc-blaze-markup depends on ghc-text (<< 1.2-1).
> > ghc-blaze-html depends on ghc-text (>= 0.10-1).
> > ghc-blaze-html depends on ghc-text (<< 1.2-1).
> > ghc-blaze-html depends on ghc-text (>= 0.10-1).
> > ghc-blaze-html depends on ghc-text (<< 1.2-1).
> > ghc-json depends on ghc-text.
> > ghc-parsec depends on ghc-text (>= 0.2-1).
> > ghc-parsec depends on ghc-text (<< 1.2-1).
> > ghc-parsec depends on ghc-text (>= 0.2-1).
> > ghc-parsec depends on ghc-text (<< 1.2-1).
> >/sw/bin/dpkg: error processing ghc-text (--remove):
> > dependency problems - not removing
> >Errors were encountered while processing:
> > ghc-text
> >### execution of /sw/bin/dpkg-lockwait failed, exit code 1
> >ERROR: Can't remove package(s). If the above error message mentions
> >dependency problems, you can try
> >  fink remove --recursive ghc-text
> >This will attempt to remove the package(s) specified as well as ALL
> >packages that depend on it.
> >Failed: can't remove package ghc-text
> 
> >[vitacura-vpn160:~] ltacconi% fink remove --recursive ghc-text
> >Information about 10814 packages read in 1 seconds.
> >/sw/bin/apt-get-lockwait remove ghc-text
> >Reading Package Lists... Done
> >Building Dependency Tree... Done
> >The following packages will be REMOVED:
> >  ghc-blaze-builder ghc-blaze-html ghc-blaze-markup ghc-citeproc-hs
> >ghc-hexpat ghc-highlighting-kate ghc-http ghc-json ghc-network ghc-parsec
> >ghc-text
> >0 packages upgraded, 0 newly installed, 11 to remove and 0 not upgraded.
> >Need to get 0B of archives. After unpacking 108MB will be freed.
> >Do you want to continue? [Y/n]
> >(Reading database ... 134772 files and directories currently installed.)
> >Removing ghc-highlighting-kate ...
> >WARNING: cache is out of date:
> >/sw/lib/ghc-7.8.3/package.conf.d/package.cache
> >Use 'ghc-pkg recache' to fix.
> >ghc-pkg: cannot find package highlighting-kate-0.5.8.1
> >/sw/bin/dpkg: error processing ghc-highlighting-kate (--remove):
> > subprocess pre-removal script returned error exit status 1
> >WARNING: cache is out of date:
> >/sw/lib/ghc-7.8.3/package.conf.d/package.cache
> >Use 'ghc-pkg recache' to fix.
> >Reading package info from stdin ... done.
> >highlighting-kate-0.5.8.1: dependency
> >"base-4.6.0.1-6c351d70a24d3e96f315cba68f3acf57" doesn't exist (use --force
> >to override)
> >highlighting-kate-0.5.8.1: dependency
> >"blaze-html-0.7.0.2-eb92cf1b88b786c02e2e89e109ed9f18" doesn't exist (use
> >--force to override)
> >highlighting-kate-0.5.8.1: dependency
> >"containers-0.5.0.0-ab1dae9a94cd3cc84e7b2805636ebfa2" doesn't exist (use
> >--force to override)
> >highlighting-kate-0.5.8.1: dependency
> >"mtl-2.1.2-94c72af955e94b8d7b2f359dadd0cb62" doesn't exist (use --force to
> >override)
> >highlighting-kate-0.5.8.1: dependency
> >"parsec-3.1.5-6c2c7d2c885c14bb485a620b1df62949" doesn't exist (use --force
> >to override)
> >highlighting-kate-0.5.8.1: dependency
> >"regex-pcre-builtin-0.94.4.8.8.35-4373aecd55053d48f870a38ec48ff657"
> >doesn't exist (use --force to override)
> >highlighting-kate-0.5.8.1: dependency
> >"utf8-string-0.3.7-988747b29c1a25bec5ba334acb49ee9d" doesn't exist (use
> >--force to override)
> >dpkg: error while cleaning up:
> > subprocess post-installation script returned error exit status 1
> >Removing ghc-blaze-html ...
> >WARNING: cache is out of date:
> >/sw/lib/ghc-7.8.3/package.conf.d/package.cache
> >Use 'ghc-pkg recache' to fix.
> >ghc-pkg: cannot find package blaze-html-0.7.0.2
> >/sw/bin/dpkg: error processing ghc-blaze-html (--remove):
> > subprocess pre-removal script returned error exit status 1
> >Removing ghc-blaze-markup ...
> >WARNING: cache is out of date:
> >/sw/lib/ghc-7.8.3/package.conf.d/package.cache
> >Use 'ghc-pkg recache' to fix.
> >ghc-pkg: cannot find package blaze-markup-0.6.1.0
> >/sw/bin/dpkg: error processing ghc-blaze-markup (--remove):
> > subprocess pre-removal script returned error exit status 1
> >Removing ghc-blaze-builder ...
> >WARNING: cache is out of date:
> >/sw/lib/ghc-7.8.3/package.conf.d/package.cache
> >Use 'ghc-pkg recache' to fix.
> >ghc-pkg: cannot find package blaze-builder-0.3.3.2
> >/sw/bin/dpkg: error processing ghc-blaze-builder (--remove):
> > subprocess pre-removal script returned error exit status 1
> >Removing ghc-citeproc-hs ...
> >WARNING: cache is out of date:
> >/sw/lib/ghc-7.8.3/package.conf.d/package.cache
> >Use 'ghc-pkg recache' to fix.
> >ghc-pkg: cannot find package citeproc-hs-0.3.8
> >/sw/bin/dpkg: error processing ghc-citeproc-hs (--remove):
> > subprocess pre-removal script returned error exit status 1
> >Removing ghc-hexpat ...
> >WARNING: cache is out of date:
> >/sw/lib/ghc-7.8.3/package.conf.d/package.cache
> >Use 'ghc-pkg recache' to fix.
> >ghc-pkg: cannot find package hexpat-0.20.6
> >/sw/bin/dpkg: error processing ghc-hexpat (--remove):
> > subprocess pre-removal script returned error exit status 1
> >Removing ghc-http ...
> >WARNING: cache is out of date:
> >/sw/lib/ghc-7.8.3/package.conf.d/package.cache
> >Use 'ghc-pkg recache' to fix.
> >ghc-pkg: cannot find package HTTP-4000.2.15
> >/sw/bin/dpkg: error processing ghc-http (--remove):
> > subprocess pre-removal script returned error exit status 1
> >Removing ghc-json ...
> >WARNING: cache is out of date:
> >/sw/lib/ghc-7.8.3/package.conf.d/package.cache
> >Use 'ghc-pkg recache' to fix.
> >ghc-pkg: cannot find package json-0.7
> >/sw/bin/dpkg: error processing ghc-json (--remove):
> > subprocess pre-removal script returned error exit status 1
> >Removing ghc-network ...
> >WARNING: cache is out of date:
> >/sw/lib/ghc-7.8.3/package.conf.d/package.cache
> >Use 'ghc-pkg recache' to fix.
> >ghc-pkg: cannot find package network-2.5.0.0
> >/sw/bin/dpkg: error processing ghc-network (--remove):
> > subprocess pre-removal script returned error exit status 1
> >Removing ghc-parsec ...
> >WARNING: cache is out of date:
> >/sw/lib/ghc-7.8.3/package.conf.d/package.cache
> >Use 'ghc-pkg recache' to fix.
> >ghc-pkg: cannot find package parsec-3.1.5
> >/sw/bin/dpkg: error processing ghc-parsec (--remove):
> > subprocess pre-removal script returned error exit status 1
> >Removing ghc-text ...
> >WARNING: cache is out of date:
> >/sw/lib/ghc-7.8.3/package.conf.d/package.cache
> >Use 'ghc-pkg recache' to fix.
> >ghc-pkg: cannot find package text-1.1.1.2
> >/sw/bin/dpkg: error processing ghc-text (--remove):
> > subprocess pre-removal script returned error exit status 1
> >Errors were encountered while processing:
> > ghc-highlighting-kate
> > ghc-blaze-html
> > ghc-blaze-markup
> > ghc-blaze-builder
> > ghc-citeproc-hs
> > ghc-hexpat
> > ghc-http
> > ghc-json
> > ghc-network
> > ghc-parsec
> > ghc-text
> >E: Sub-process /sw/bin/dpkg returned an error code (1)
> >### execution of /sw/bin/apt-get-lockwait failed, exit code 100
> >Failed: can't remove package ghc-text
> Any further help would be, well, helpful!
> 
> Thanks,
> Lowell
> 
> 
> >There's a bug in the packaging. The ghc-mods need to depend on the
> >exact point release of the compiler that built them in order to remain
> >known to the ghc package system on upgrade.
> >
> >In this case, you'd have to I think remove ghc-text, then rebuild it
> >so that it registered against current ghc.
> >
> >On Friday, 03 October 2014 at 17:04, Lowell Tacconi-Garman wrote:
> >>Dear Pete,
> >>
> >>Thanks for your e-mail.  See comments below.
> >>>Am 03.10.2014 um 03:01 schrieb Lowell Tacconi-Garman:
> >>>
> >>>>>pandoc
> >>>>>The following 28 additional packages will be installed:
> >>>>>ghc-aeson ghc-attoparsec ghc-conduit ghc-digest ghc-exceptions
> >>>>>ghc-hashable
> >>>>>ghc-hslua ghc-lifted-base ghc-mmorph ghc-monad-control ghc-pandoc-types
> >>>>>ghc-primitive ghc-random ghc-resourcet ghc-scientific ghc-semigroups
> >>>>>ghc-stm
> >>>>>ghc-tagsoup ghc-temporary ghc-texmath ghc-transformers-base
> >>>>>ghc-unordered-containers ghc-vector ghc-void ghc-xml ghc-yaml
> >>>>>ghc-zip-archive ghc-zlib
> >>>Pandoc depends on/uses/needs GHC, the Glasgow Haskell Compiler. Therefore 
> >>>these ghc-* packages are needed and some are later on fetched from the 
> >>>Internet.
> >>>
> >>>>>env LANG=C LC_ALL=C /sw/bin/tar  --no-same-owner --no-same-permissions
> >>>>>-xf /sw/src/attoparsec-0.10.4.0.tar.gz
> >>>>>sudo -u fink-bld [ENV] sh -c /tmp/fink.1SDV3
> >>>>>runghc Setup.lhs configure --prefix=/sw
> >>>>>--docdir=/sw/share/doc/ghc-attoparsec
> >>>>>Configuring attoparsec-0.10.4.0...
> >>>>>Setup.lhs: At least the following dependencies are missing:
> >>>>>text >=0.11.1.5
> >>>Attoparsec is one of the Pandoc/GHC dependencies. Presumingly its INFO 
> >>>file has a typo: Instead of a package named "text" a package named 
> >>>"ghc-text" should be listed as dependency. You could try to find that 
> >>>ghc-attoparsec.info file and change the dependency "text" to "ghc-text" 
> >>>and see whether this cures the failure. (On my old Snow Leopard system I 
> >>>don't see the Haskell packages. Invoking 'fink list | grep text' should 
> >>>list a "ghc-text" package.)
> >>I found the ghc-atoparsec.info file, but there is no obvious reference to a
> >>"free-floating" text (that is, not associated with ghc-text).  Here is the
> >>contents of that file:
> >>
> >>>Package: ghc-attoparsec
> >>>Version: 0.10.4.0
> >>>Revision: 1
> >>>Source:
> >>>http://hackage.haskell.org/package/attoparsec-%v/attoparsec-%v.tar.gz
> >>>Source-MD5: 2b9ec5768797e8c649bf36efa9ef97e2
> >>>SourceDirectory: attoparsec-%v
> >>>
> >>>Depends: <<
> >>>  ghc,
> >>>  ghc-text (>= 0.11.1.5-1)
> >>><<
> >>>
> >>>CompileScript: <<
> >>>runghc Setup.lhs configure --prefix=%p --docdir=%p/share/doc/%n
> >>>runghc Setup.lhs build
> >>>runghc Setup.lhs haddock
> >>>runghc Setup.lhs register --gen-script
> >>>runghc Setup.lhs unregister --gen-script
> >>><<
> >>>InstallScript: runghc Setup.lhs copy --destdir=%d
> >>>
> >>>DocFiles: README.markdown LICENSE register.sh unregister.sh
> >>>
> >>>PostInstScript: %p/share/doc/%n/register.sh
> >>>PreRmScript: sh %p/share/doc/%n/unregister.sh --force
> >>>
> >>>Description: Combinator parsing for bytestrings and text
> >>>DescDetail: <<
> >>>A fast parser combinator library, aimed particularly at dealing
> >>>efficiently with network protocols and complicated text/binary file
> >>>formats.
> >>><<
> >>>Homepage: http://hackage.haskell.org/package/attoparsec
> >>>License: BSD
> >>>Maintainer: Brendan Cully <f...@brendan.cully.org>
> >>And, the command line:
> >>
> >>fink list | grep text | grep ghc
> >>
> >>returns:
> >>
> >>         ghc-attoparsec 0.10.4.0-1      Combinator parsing for bytestrings
> >>and text
> >>*i*     ghc-text        1.1.1.2-1       An efficient packed Unicode text
> >>type
> >>
> >>Thanks in advance for any further help you can give,
> >>Lowell
> >>
> 
> 

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to