Advertisement
s243a

debugging preinst

Aug 1st, 2018
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.73 KB | None | 0 0
  1. root@localhost:/deb/extract/fontconfig-config# export DPKG_MAINTSCRIPT_NAME=preinst
  2. root@localhost:/deb/extract/fontconfig-config# export_MAINTSCRIPT_ARCH=ALLn
  3. root@localhost:/deb/extract/fontconfig-config# export DPKG_MAINTSCRIPT_PACKAGE=fontconfig-config_2.11.0-6.7
  4. root@localhost:/deb/extract/fontconfig-config# bash -x  dpkg-maintscript-helper rm_conffile /etc/fonts/fonts.dtd 2.10 -- -i
  5. Display all 261 possibilities? (y or n)
  6. root@localhost:/deb/extract/fontconfig-config# bash -x  dpkg-maintscript-helper rm_conffile /etc/fonts/fonts.dtd 2.10 -- -i
  7. + set -e
  8. ++ basename dpkg-maintscript-helper
  9. + PROGNAME=dpkg-maintscript-helper
  10. + version=1.18.25
  11. + command=rm_conffile
  12. + '[' 5 -gt 0 ']'
  13. + shift
  14. + case "$command" in
  15. + rm_conffile /etc/fonts/fonts.dtd 2.10 -- -i
  16. + local CONFFILE=/etc/fonts/fonts.dtd
  17. + local LASTVERSION=2.10
  18. + local PACKAGE=--
  19. + '[' 2.10 = -- ']'
  20. + '[' -- = -- -o -z -- ']'
  21. + PACKAGE=fontconfig-config_2.11.0-6.7
  22. + '[' /etc/fonts/fonts.dtd '!=' -- -a 4 -gt 0 ']'
  23. + shift
  24. + '[' 2.10 '!=' -- -a 3 -gt 0 ']'
  25. + shift
  26. + '[' -- '!=' -- -a 2 -gt 0 ']'
  27. + '[' 2 -gt 0 ']'
  28. + shift
  29. + '[' -n fontconfig-config_2.11.0-6.7 ']'
  30. + '[' -n -i ']'
  31. + '[' -n preinst ']'
  32. + '[' /etc/fonts/fonts.dtd '!=' etc/fonts/fonts.dtd ']'
  33. + validate_optional_version 2.10
  34. + local VERSION=2.10
  35. + '[' -z 2.10 ']'
  36. ++ dpkg --validate-version -- 2.10
  37. + VERSIONCHECK='dpkg: unrecognized option '\''--validate-version'\''
  38. BusyBox v1.27.2 (Debian 1:1.27.2-2) multi-call binary.
  39.  
  40. Usage: dpkg [-ilCPru] [-F OPT] PACKAGE
  41.  
  42. Install, remove and manage Debian packages
  43.  
  44.     -i,--install    Install the package
  45.     -l,--list   List of installed packages
  46.     --configure Configure an unpackaged package
  47.     -P,--purge  Purge all files of a package
  48.     -r,--remove Remove all but the configuration files for a package
  49.     --unpack    Unpack a package, but don'\''t configure it
  50.     --force-depends Ignore dependency problems
  51.     --force-confnew Overwrite existing config files when installing
  52.     --force-confold Keep old config files when installing'
  53. + error 'dpkg: unrecognized option '\''--validate-version'\''
  54. BusyBox v1.27.2 (Debian 1:1.27.2-2) multi-call binary.
  55.  
  56. Usage: dpkg [-ilCPru] [-F OPT] PACKAGE
  57.  
  58. Install, remove and manage Debian packages
  59.  
  60.     -i,--install    Install the package
  61.     -l,--list   List of installed packages
  62.     --configure Configure an unpackaged package
  63.     -P,--purge  Purge all files of a package
  64.     -r,--remove Remove all but the configuration files for a package
  65.     --unpack    Unpack a package, but don'\''t configure it
  66.     --force-depends Ignore dependency problems
  67.     --force-confnew Overwrite existing config files when installing
  68.     --force-confold Keep old config files when installing'
  69. + echo 'dpkg-maintscript-helper: error: dpkg: unrecognized option '\''--validate-version'\''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement