pastebin

Error running local cuttlefish
  1. "acloud setup --host" failed, but provided reason:
  2.  
  3. ...
  4.  
  5. Start to install cuttlefish-common :
  6. git clone https://github.com/google/android-cuttlefish.git /tmp/tmpT5OIau/cf-common
  7. cd /tmp/tmpT5OIau/cf-common
  8. yes | sudo mk-build-deps -i -r -B
  9. dpkg-buildpackage -uc -us
  10. sudo apt-get install -y -f ../cuttlefish-common_*_amd64.deb
  11. Press 'y' to continue or anything else to do it myself and run acloud again[y/N]: y
  12. Run command: git clone https://github.com/google/android-cuttlefish.git /tmp/tmpT5OIau/cf-common
  13. cd /tmp/tmpT5OIau/cf-common
  14. yes | sudo mk-build-deps -i -r -B
  15. dpkg-buildpackage -uc -us
  16. sudo apt-get install -y -f ../cuttlefish-common_*_amd64.deb
  17. Cloning into '/tmp/tmpT5OIau/cf-common'...
  18. remote: Enumerating objects: 37, done.
  19. remote: Counting objects: 100% (37/37), done.
  20. remote: Compressing objects: 100% (29/29), done.
  21. remote: Total 2361 (delta 16), reused 19 (delta 8), pack-reused 2324
  22. Receiving objects: 100% (2361/2361), 623.77 KiB | 780.00 KiB/s, done.
  23. Resolving deltas: 100% (1338/1338), done.
  24. [sudo] password for dwhea:
  25. mk-build-deps: warning:     debian/changelog(l13): badly formatted trailer line
  26. LINE:  -- Alistair Delva <adelva@google.com> Tue, 03 Mar 2020 03:18:25 -0800
  27. Starting pkgProblemResolver with broken count: 0
  28. Starting 2 pkgProblemResolver with broken count: 0
  29. Done
  30. yes: standard output: Broken pipe
  31. dpkg-buildpackage: warning:     debian/changelog(l13): badly formatted trailer line
  32. LINE:  -- Alistair Delva <adelva@google.com> Tue, 03 Mar 2020 03:18:25 -0800
  33.  dpkg-source --before-build .
  34. dpkg-source: warning: cf-common/debian/changelog(l13): badly formatted trailer line
  35. LINE:  -- Alistair Delva <adelva@google.com> Tue, 03 Mar 2020 03:18:25 -0800
  36.  fakeroot debian/rules clean
  37.  dpkg-source -b .
  38. dpkg-source: warning: cf-common/debian/changelog(l13): badly formatted trailer line
  39. LINE:  -- Alistair Delva <adelva@google.com> Tue, 03 Mar 2020 03:18:25 -0800
  40.  debian/rules build
  41.  fakeroot debian/rules binary
  42. dpkg-parsechangelog: warning:     debian/changelog(l13): badly formatted trailer line
  43. LINE:  -- Alistair Delva <adelva@google.com> Tue, 03 Mar 2020 03:18:25 -0800
  44. dh_installchangelogs: warning:     debian/changelog(l13): badly formatted trailer line
  45. LINE:  -- Alistair Delva <adelva@google.com> Tue, 03 Mar 2020 03:18:25 -0800
  46. dh_installchangelogs: warning:     debian/changelog(l13): badly formatted trailer line
  47. LINE:  -- Alistair Delva <adelva@google.com> Tue, 03 Mar 2020 03:18:25 -0800
  48. dpkg-gencontrol: warning:     debian/changelog(l13): badly formatted trailer line
  49. LINE:  -- Alistair Delva <adelva@google.com> Tue, 03 Mar 2020 03:18:25 -0800
  50. dpkg-gencontrol: warning:     debian/changelog(l13): badly formatted trailer line
  51. LINE:  -- Alistair Delva <adelva@google.com> Tue, 03 Mar 2020 03:18:25 -0800
  52. dpkg-gencontrol: warning: package cuttlefish-integration: substitution variable ${shlibs:Depends} unused, but is defined
  53. dpkg-gencontrol: warning:     debian/changelog(l13): badly formatted trailer line
  54. LINE:  -- Alistair Delva <adelva@google.com> Tue, 03 Mar 2020 03:18:25 -0800
  55. dpkg-gencontrol: warning: package cuttlefish-integration: substitution variable ${shlibs:Depends} unused, but is defined
  56.  dpkg-genbuildinfo
  57. dpkg-genbuildinfo: warning:     debian/changelog(l13): badly formatted trailer line
  58. LINE:  -- Alistair Delva <adelva@google.com> Tue, 03 Mar 2020 03:18:25 -0800
  59. dpkg-genbuildinfo: warning:     debian/changelog(l13): badly formatted trailer line
  60. LINE:  -- Alistair Delva <adelva@google.com> Tue, 03 Mar 2020 03:18:25 -0800
  61.  dpkg-genchanges  >../cuttlefish-common_0.9.13_amd64.changes
  62. dpkg-genchanges: warning:     debian/changelog(l13): badly formatted trailer line
  63. LINE:  -- Alistair Delva <adelva@google.com> Tue, 03 Mar 2020 03:18:25 -0800
  64. dpkg-genchanges: warning:     debian/changelog(l13): badly formatted trailer line
  65. LINE:  -- Alistair Delva <adelva@google.com> Tue, 03 Mar 2020 03:18:25 -0800
  66. dpkg-genchanges: info: including full source code in upload
  67.  dpkg-source --after-build .
  68. dpkg-source: warning: cf-common/debian/changelog(l13): badly formatted trailer line
  69. LINE:  -- Alistair Delva <adelva@google.com> Tue, 03 Mar 2020 03:18:25 -0800
  70. E: Unable to correct problems, you have held broken packages.
  71. Traceback (most recent call last):
  72.   File "/tmp/Soong.python_OdiCog/acloud/public/acloud_main.py", line 431, in <module>
  73.     EXIT_CODE, EXCEPTION_STACKTRACE = main(sys.argv[1:])
  74.   File "/tmp/Soong.python_OdiCog/acloud/public/acloud_main.py", line 410, in main
  75.     setup.Run(args)
  76.   File "/tmp/Soong.python_OdiCog/acloud/setup/setup.py", line 68, in Run
  77.     subtask.Run(force_setup=args.force)
  78.   File "/tmp/Soong.python_OdiCog/acloud/setup/base_task_runner.py", line 99, in Run
  79.     self._Run()
  80.   File "/tmp/Soong.python_OdiCog/acloud/setup/host_setup_runner.py", line 153, in _Run
  81.     setup_common.CheckCmdOutput(cmd, shell=True)
  82.   File "/tmp/Soong.python_OdiCog/acloud/setup/setup_common.py", line 53, in CheckCmdOutput
  83.     return subprocess.check_output(cmd, **kwargs)
  84.   File "/usr/lib/python2.7/subprocess.py", line 223, in check_output
  85.     raise CalledProcessError(retcode, cmd, output=output)
  86. subprocess.CalledProcessError: Command 'git clone https://github.com/google/android-cuttlefish.git /tmp/tmpT5OIau/cf-common
  87. cd /tmp/tmpT5OIau/cf-common
  88. yes | sudo mk-build-deps -i -r -B
  89. dpkg-buildpackage -uc -us
  90. sudo apt-get install -y -f ../cuttlefish-common_*_amd64.deb' returned non-zero exit status 100
  91.  
  92. The last command is failing on my distribution (Ubuntu 20.04):
  93.  
  94. $ sudo apt-get install -y -f ../cuttlefish-common_*_amd64.deb
  95. Reading package lists... Done
  96. Building dependency tree      
  97. Reading state information... Done
  98. Note, selecting 'cuttlefish-common' instead of '../cuttlefish-common_0.9.13_amd64.deb'
  99. Some packages could not be installed. This may mean that you have
  100. requested an impossible situation or if you are using the unstable
  101. distribution that some required packages have not yet been created
  102. or been moved out of Incoming.
  103. The following information may help to resolve the situation:
  104.  
  105. The following packages have unmet dependencies:
  106.  cuttlefish-common : Depends: python but it is not installable
  107. E: Unable to correct problems, you have held broken packages.
  108.  
  109. This is likely related to Ubuntu 20.04 removing "python" package from  Python2. See https://github.com/RadeonOpenCompute/ROC-smi/issues/83 for similar issue.
  110.  
  111. Perhaps changing cuttlefish-common project deb package dependency from python to version specific python dependency (python3 if supported, python2 otherwise) as well as the cuttlefish-common script shebangs would fix this.
  112.  
  113. Thanks,
  114.  
  115.  
  116. On Wednesday, March 11, 2020 at 6:40:27 PM UTC+11, Kevin Cheng wrote:
  117. Ah, could you try running `acloud setup --host`?
  118.  
  119. That should install some required packages (I was expecting acloud to automatically kick off setup the first time you run `acloud create ...` but maybe we have a bug there).
  120.  
  121. And after you run `acloud setup --host`, you will need to reboot your host (I'm sorry) for some changes to take.
  122.  
  123. If that still doesn't work, could you provide your system's details? (OS and version). Thanks for bearing with me on this and sorry this has been such a hassle.
  124.  
  125.  
  126.  
  127.  
  128.  
Parsed in 0.031 seconds