On my jaunty system findutils pre-depends on libc6 and libc6 has a
dependency on findutils. So yes, for me the issue still exists, but
this may not affect typical use of the package. I have worked around it
for my purposes by writing a function that modifies the findutils binary
package before attempting to install it into the build environment.
removePreDependsFromFindutils flags deb outputDir =
when (isPrefixOf "findutils_" debName)
(hPutStrLn stderr ("Removing Pre-Depends from " ++ deb) >>
vSystem ("dpkg -x " ++ deb ++ " " ++ tmp) >>
vSystem ("dpkg -e " ++ deb ++ " " ++ tmp ++ "/DEBIAN") >>
vSystem ("sed --in-place 's/Pre-Depends:/Depends:/' " ++ tmp ++
"/DEBIAN/control") >>
vSystem ("dpkg -b " ++ tmp ++ " " ++ deb) >>
vSystem ("rm -f " ++ outputDir ++ "/var/cache/apt/pkgcache.bin " ++
outputDir ++ "/var/cache/apt/srcpkgcache.bin") >>
return ())
where
vSystem s = hPutStrLn stderr ("# " ++ s) >> system s
(archiveDir, debName) = splitFileName deb
tmp = fromJust (lookup "Temp-Dir" flags) ++ "/unpack"
--
coreutils and debianutils dependency cycle on reinstall command
https://bugs.launchpad.net/bugs/124895
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs