Advertisement
Guest User

dpkg: update-rc.d error

a guest
Oct 23rd, 2013
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.72 KB | None | 0 0
  1. root@host:/tmp# dpkg --debug=10333 -i openssh-sshd_6.1p1-r0_armel.deb
  2. D000010: ensure_pathname_nonexisting '/var/lib/dpkg/tmp.ci'
  3. (Reading database ... 12360 files and directories currently installed.)
  4. Preparing to replace openssh-sshd 6.1p1-r0 (using openssh-sshd_6.1p1-r0_armel.deb) ...
  5. D000200: process_archive conffile '/etc/ssh/sshd_config' in package openssh-sshd:armel - conff ?
  6. D000020: process_archive conffile '/etc/ssh/sshd_config' package=openssh-sshd:armel same hash=newconffile
  7. D000200: oldconffsetflags '/etc/ssh/sshd_config' namenode 0x2c5558 flags 5
  8. D000001: process_archive oldversionstatus=broken due to failed removal or installation
  9. Running useradd commands...
  10. Note: username sshd already exists, not re-creating it
  11. Unpacking replacement openssh-sshd ...
  12. D000010: tarobject ti->name='.' mode=40755 owner=0.0 type=53(d) ti->linkname='' namenode='/.' flags=2 instead='<none>'
  13. D000100: setupvnamevbs main='/.' tmp='/..dpkg-tmp' new='/..dpkg-new'
  14. D000100: tarobject already exists
  15. D000100: tarobject directory exists
  16. D000010: tarobject ti->name='./etc' mode=40755 owner=0.0 type=53(d) ti->linkname='' namenode='/etc' flags=2 instead='<none>'
  17. D000100: setupvnamevbs main='/etc' tmp='/etc.dpkg-tmp' new='/etc.dpkg-new'
  18. D000100: tarobject already exists
  19. D000100: tarobject directory exists
  20. D000010: tarobject ti->name='./etc/ssh' mode=40755 owner=0.0 type=53(d) ti->linkname='' namenode='/etc/ssh' flags=2 instead='<none>'
  21. D000100: setupvnamevbs main='/etc/ssh' tmp='/etc/ssh.dpkg-tmp' new='/etc/ssh.dpkg-new'
  22. D000100: tarobject already exists
  23. D000100: tarobject directory exists
  24. D000010: tarobject ti->name='./etc/ssh/moduli' mode=100644 owner=0.0 type=48(-) ti->linkname='' namenode='/etc/ssh/moduli' flags=2 instead='<none>'
  25. D000100: setupvnamevbs main='/etc/ssh/moduli' tmp='/etc/ssh/moduli.dpkg-tmp' new='/etc/ssh/moduli.dpkg-new'
  26. D000100: tarobject already exists
  27. D000010: ensure_pathname_nonexisting '/etc/ssh/moduli.dpkg-new'
  28. D000010: ensure_pathname_nonexisting '/etc/ssh/moduli.dpkg-tmp'
  29. D000100: tarobject file open size=245058
  30. D000100: tarobject file hash=d8c3f065595c0db6469fde319e0e9604
  31. D000100: tarobject nondirectory, 'link' backup
  32. D000100: tarobject done and installation deferred
  33. D000010: tarobject ti->name='./etc/ssh/sshd_config' mode=100644 owner=0.0 type=48(-) ti->linkname='' namenode='/etc/ssh/sshd_config' flags=7 instead='<none>'
  34. D000200: conffderef in='etc/ssh/sshd_config' current working='/etc/ssh/sshd_config'
  35. D000020: conffderef in='etc/ssh/sshd_config' result='/etc/ssh/sshd_config'
  36. D000020: tarobject fnnf_new_conff deref='etc/ssh/sshd_config'
  37. D000100: setupvnamevbs main='/etc/ssh/sshd_config' tmp='/etc/ssh/sshd_config.dpkg-tmp' new='/etc/ssh/sshd_config.dpkg-new'
  38. D000100: tarobject already exists
  39. D000010: ensure_pathname_nonexisting '/etc/ssh/sshd_config.dpkg-new'
  40. D000010: ensure_pathname_nonexisting '/etc/ssh/sshd_config.dpkg-tmp'
  41. D000100: tarobject file open size=3295
  42. D000100: tarobject file hash=ee3b6057714900530e4c38ec933536ec
  43. D000200: tarobject conffile extracted
  44. D000010: tarobject ti->name='./etc/init.d' mode=40755 owner=0.0 type=53(d) ti->linkname='' namenode='/etc/init.d' flags=2 instead='<none>'
  45. D000100: setupvnamevbs main='/etc/init.d' tmp='/etc/init.d.dpkg-tmp' new='/etc/init.d.dpkg-new'
  46. D000100: tarobject already exists
  47. D000100: tarobject directory exists
  48. D000010: tarobject ti->name='./etc/init.d/sshd' mode=100755 owner=0.0 type=48(-) ti->linkname='' namenode='/etc/init.d/sshd' flags=2 instead='<none>'
  49. D000100: setupvnamevbs main='/etc/init.d/sshd' tmp='/etc/init.d/sshd.dpkg-tmp' new='/etc/init.d/sshd.dpkg-new'
  50. D000100: tarobject already exists
  51. D000010: ensure_pathname_nonexisting '/etc/init.d/sshd.dpkg-new'
  52. D000010: ensure_pathname_nonexisting '/etc/init.d/sshd.dpkg-tmp'
  53. D000100: tarobject file open size=2144
  54. D000100: tarobject file hash=69f9dc000a545d5e44611f96528db7bc
  55. D000100: tarobject nondirectory, 'link' backup
  56. D000100: tarobject done and installation deferred
  57. D000010: tarobject ti->name='./usr' mode=40755 owner=0.0 type=53(d) ti->linkname='' namenode='/usr' flags=2 instead='<none>'
  58. D000100: setupvnamevbs main='/usr' tmp='/usr.dpkg-tmp' new='/usr.dpkg-new'
  59. D000100: tarobject already exists
  60. D000100: tarobject directory exists
  61. D000010: tarobject ti->name='./usr/sbin' mode=40755 owner=0.0 type=53(d) ti->linkname='' namenode='/usr/sbin' flags=2 instead='<none>'
  62. D000100: setupvnamevbs main='/usr/sbin' tmp='/usr/sbin.dpkg-tmp' new='/usr/sbin.dpkg-new'
  63. D000100: tarobject already exists
  64. D000100: tarobject directory exists
  65. D000010: tarobject ti->name='./usr/sbin/sshd' mode=100755 owner=0.0 type=48(-) ti->linkname='' namenode='/usr/sbin/sshd' flags=2 instead='<none>'
  66. D000100: setupvnamevbs main='/usr/sbin/sshd' tmp='/usr/sbin/sshd.dpkg-tmp' new='/usr/sbin/sshd.dpkg-new'
  67. D000100: tarobject already exists
  68. D000010: ensure_pathname_nonexisting '/usr/sbin/sshd.dpkg-new'
  69. D000010: ensure_pathname_nonexisting '/usr/sbin/sshd.dpkg-tmp'
  70. D000100: tarobject file open size=413524
  71. D000100: tarobject file hash=1876ee44ddee6a5995312e05cbc996a8
  72. D000100: tarobject nondirectory, 'link' backup
  73. D000100: tarobject done and installation deferred
  74. D000100: setupvnamevbs main='/etc/ssh/moduli' tmp='/etc/ssh/moduli.dpkg-tmp' new='/etc/ssh/moduli.dpkg-new'
  75. D000100: setupvnamevbs main='/etc/ssh/sshd_config' tmp='/etc/ssh/sshd_config.dpkg-tmp' new='/etc/ssh/sshd_config.dpkg-new'
  76. D000100: setupvnamevbs main='/etc/init.d/sshd' tmp='/etc/init.d/sshd.dpkg-tmp' new='/etc/init.d/sshd.dpkg-new'
  77. D000100: setupvnamevbs main='/usr/sbin/sshd' tmp='/usr/sbin/sshd.dpkg-tmp' new='/usr/sbin/sshd.dpkg-new'
  78. D000010: deferred extract of '/.'
  79. D000010: deferred extract of '/etc'
  80. D000010: deferred extract of '/etc/ssh'
  81. D000010: deferred extract of '/etc/ssh/moduli'
  82. D000100: setupvnamevbs main='/etc/ssh/moduli' tmp='/etc/ssh/moduli.dpkg-tmp' new='/etc/ssh/moduli.dpkg-new'
  83. D000100: deferred extract needs fsync
  84. D000100: deferred extract needs rename
  85. D000100: deferred extract done and installed
  86. D000010: deferred extract of '/etc/ssh/sshd_config'
  87. D000010: deferred extract of '/etc/init.d'
  88. D000010: deferred extract of '/etc/init.d/sshd'
  89. D000100: setupvnamevbs main='/etc/init.d/sshd' tmp='/etc/init.d/sshd.dpkg-tmp' new='/etc/init.d/sshd.dpkg-new'
  90. D000100: deferred extract needs fsync
  91. D000100: deferred extract needs rename
  92. D000100: deferred extract done and installed
  93. D000010: deferred extract of '/usr'
  94. D000010: deferred extract of '/usr/sbin'
  95. D000010: deferred extract of '/usr/sbin/sshd'
  96. D000100: setupvnamevbs main='/usr/sbin/sshd' tmp='/usr/sbin/sshd.dpkg-tmp' new='/usr/sbin/sshd.dpkg-new'
  97. D000100: deferred extract needs fsync
  98. D000100: deferred extract needs rename
  99. D000100: deferred extract done and installed
  100. update-rc.d: /etc/init.d/sshd exists during rc.d purge (use -f to force)
  101. dpkg: warning: subprocess old post-removal script returned error exit status 1
  102. dpkg: trying script from the new package instead ...
  103. update-rc.d: /etc/init.d/sshd exists during rc.d purge (use -f to force)
  104. dpkg: error processing openssh-sshd_6.1p1-r0_armel.deb (--install):
  105. subprocess new post-removal script returned error exit status 1
  106. Running useradd commands...
  107. Note: username sshd already exists, not re-creating it
  108. D000010: cu_installnew '/usr/sbin/sshd' flags=122
  109. D000100: setupvnamevbs main='//usr/sbin/sshd' tmp='//usr/sbin/sshd.dpkg-tmp' new='//usr/sbin/sshd.dpkg-new'
  110. D000100: cu_installnew restoring atomic
  111. D000100: secure_remove '//usr/sbin/sshd.dpkg-new' rmdir No such file or directory
  112. D000010: cu_installnew '/etc/init.d/sshd' flags=122
  113. D000100: setupvnamevbs main='//etc/init.d/sshd' tmp='//etc/init.d/sshd.dpkg-tmp' new='//etc/init.d/sshd.dpkg-new'
  114. D000100: cu_installnew restoring atomic
  115. D000100: secure_remove '//etc/init.d/sshd.dpkg-new' rmdir No such file or directory
  116. D000010: cu_installnew '/etc/ssh/sshd_config' flags=227
  117. D000100: setupvnamevbs main='//etc/ssh/sshd_config' tmp='//etc/ssh/sshd_config.dpkg-tmp' new='//etc/ssh/sshd_config.dpkg-new'
  118. D000100: cu_installnew not restoring
  119. D000100: secure_remove '//etc/ssh/sshd_config.dpkg-new' unlink OK
  120. D000010: cu_installnew '/etc/ssh/moduli' flags=122
  121. D000100: setupvnamevbs main='//etc/ssh/moduli' tmp='//etc/ssh/moduli.dpkg-tmp' new='//etc/ssh/moduli.dpkg-new'
  122. D000100: cu_installnew restoring atomic
  123. D000100: secure_remove '//etc/ssh/moduli.dpkg-new' rmdir No such file or directory
  124. update-rc.d: /etc/init.d/sshd exists during rc.d purge (use -f to force)
  125. dpkg: error while cleaning up:
  126. subprocess new post-removal script returned error exit status 1
  127. D000010: ensure_pathname_nonexisting '/var/lib/dpkg/tmp.ci'
  128. D000010: ensure_pathname_nonexisting running rm -rf '/var/lib/dpkg/tmp.ci'
  129. D000010: ensure_pathname_nonexisting '/var/lib/dpkg/reassemble.deb'
  130. D010000: trigproc_run_deferred
  131. Errors were encountered while processing:
  132. openssh-sshd_6.1p1-r0_armel.deb
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement