{"id":770,"date":"2018-07-17T21:13:44","date_gmt":"2018-07-17T12:13:44","guid":{"rendered":"https:\/\/yuis-programming.com\/?p=770"},"modified":"2018-07-14T04:17:07","modified_gmt":"2018-07-13T19:17:07","slug":"virtualbox%e3%81%a7%e5%85%b1%e6%9c%89%e3%83%95%e3%82%a9%e3%83%ab%e3%83%80%ef%bc%8f%e3%83%9d%e3%83%bc%e3%83%88%e3%83%95%e3%82%a9%e3%83%af%e3%83%bc%e3%83%87%e3%82%a3%e3%83%b3%e3%82%b0%ef%bc%8fssh","status":"publish","type":"post","link":"https:\/\/yuis-programming.com\/?p=770","title":{"rendered":"virtualbox\u3067\u5171\u6709\u30d5\u30a9\u30eb\u30c0\uff0f\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\uff0fSSH\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u3092\u8a2d\u5b9a\u3057\u3066\u30db\u30b9\u30c8\u5b8c\u7d50\u306eRails\u958b\u767a\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u3088\u3046"},"content":{"rendered":"<p>\u30b5\u30d6\u30bf\u30a4\u30c8\u30eb\uff1aRails\u5bfe\u7b56 virtualbox\u81ea\u4f53\u3092\u4f7f\u3063\u3066\u751f\u306eubuntu\u3067rails\u3092\u52d5\u304b\u305d\u3046<\/p>\n<p>docker\u306f\u3001\u7c21\u5358\u305d\u3046\u306b\u898b\u3048\u308b\u304c\u3001\u3084\u3063\u3066\u3044\u308b\u3053\u3068\u306f\u9055\u3046\u3053\u3068\u306a\u308f\u3051\u306a\u306e\u3067\u3001\u4f55\u304b\u3092\u3084\u308b\u306b\u3057\u3066\u3082\u65e2\u5b58\u306e\u65b9\u6cd5\u304c\u901a\u3058\u306a\u3044\u3002\u65b0\u3057\u304f\u8abf\u3079\u3066\u3084\u308b\u3057\u304b\u306a\u3044\u3057\u3001\u305d\u308c\u3082\u3046\u307e\u304f\u9032\u6357\u3059\u308b\u3068\u306f\u9650\u3089\u306a\u3044\u3002\u4eca\u56de\u306e\u4ef6\u306e\u3088\u3046\u306b\u3002<\/p>\n<p>virtualbox\u81ea\u4f53\u3092\u4f7f\u3063\u3066\u751f\u306eubuntu\u3067rails\u3092\u52d5\u304b\u305b\u3070\u3001\u307e\u3041\u5f53\u7136\u52d5\u304b\u305b\u308b\u306f\u305a\u3067\u3042\u308b\u3002<\/p>\n<p>\u30d5\u30a9\u30eb\u30c0\u306e\u30de\u30a6\u30f3\u30c8\u3068\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u3055\u3048\u3067\u304d\u308c\u3070\u3001\u3053\u3063\u3061\u306e\u3082\u306e\u3060\u3002<br \/>\n\u3042\u3068SSH\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u3082\u51fa\u6765\u306a\u3044\u3068\u30c0\u30e1\u304b\u3002<\/p>\n<div id=\"toc_container\" class=\"no_bullets\"><p class=\"toc_title\">Contents<\/p><ul class=\"toc_list\"><li><a href=\"#intel_rapl_no_valid_rapl_domains_found_in_package_0\"><span class=\"toc_number toc_depth_1\">1<\/span> intel_rapl no valid rapl domains found in package 0\u30a8\u30e9\u30fc<\/a><\/li><li><a href=\"#i\"><span class=\"toc_number toc_depth_1\">2<\/span> \u5171\u6709\u30d5\u30a9\u30eb\u30c0\u306e\u8a2d\u5b9a<\/a><ul><li><a href=\"#vboxsf_mounting_failed\"><span class=\"toc_number toc_depth_2\">2.1<\/span> vboxsf mounting failed\u30a8\u30e9\u30fc<\/a><\/li><\/ul><\/li><li><a href=\"#SSH\"><span class=\"toc_number toc_depth_1\">3<\/span> SSH\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u8a2d\u5b9a<\/a><\/li><li><a href=\"#i-2\"><span class=\"toc_number toc_depth_1\">4<\/span> \u30ed\u30fc\u30ab\u30eb\u30db\u30b9\u30c8\u3092\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0<\/a><\/li><li><a href=\"#Rails\"><span class=\"toc_number toc_depth_1\">5<\/span> Rails\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u3066\u958b\u767a\u3057\u3066\u307f\u308b<\/a><\/li><li><a href=\"#Rails-2\"><span class=\"toc_number toc_depth_1\">6<\/span> \u65e2\u5b58\u306eRails\u30a2\u30d7\u30ea\u3092\u958b\u767a\u3059\u308b\u306b\u306f<\/a><\/li><li><a href=\"#apt-get\"><span class=\"toc_number toc_depth_1\">7<\/span> apt-get\u3067\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f<\/a><\/li><li><a href=\"#virtualbox\"><span class=\"toc_number toc_depth_1\">8<\/span> virtualbox\u3067\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306e\u5171\u6709\u3092\u6709\u52b9\u306b\u3059\u308b<\/a><\/li><li><a href=\"#apt-get_E_Problem_executing_scripts_APTUpdatePost-Invoke-Success\"><span class=\"toc_number toc_depth_1\">9<\/span> apt-get \u3067E: Problem executing scripts APT::Update::Post-Invoke-Success\u30a8\u30e9\u30fc<\/a><\/li><\/ul><\/div>\n<h1><span id=\"intel_rapl_no_valid_rapl_domains_found_in_package_0\">intel_rapl no valid rapl domains found in package 0\u30a8\u30e9\u30fc<\/span><\/h1>\n<p>\u74b0\u5883\u8a2d\u5b9a > \u30b7\u30b9\u30c6\u30e0 > \u30d7\u30ed\u30bb\u30c3\u30b5\u30fc > PAE\/NX  \u3092\u6709\u52b9\u306b\u3057\u3066\u4fdd\u5b58\u3057\u3066\u30b2\u30b9\u30c8\u3092\u518d\u8d77\u52d5\u3002<\/p>\n<p>https:\/\/askubuntu.com\/questions\/449574\/intel-rapl-no-valid-rapl-domains-message-upon-boot<\/p>\n<h1><span id=\"i\">\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u306e\u8a2d\u5b9a<\/span><\/h1>\n<p>\u53c2\u8003<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"UjY9L4wtQ6\"><p><a href=\"https:\/\/www.slothparadise.com\/create-shared-folder-virtualbox\/\">How to Create Shared Folder on VirtualBox &#8211; Windows and Ubuntu<\/a><\/p><\/blockquote>\n<p><iframe title=\"&#8220;How to Create Shared Folder on VirtualBox &#8211; Windows and Ubuntu&#8221; &#8212; slothparadise\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"https:\/\/www.slothparadise.com\/create-shared-folder-virtualbox\/embed\/#?secret=UjY9L4wtQ6\" data-secret=\"UjY9L4wtQ6\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><br \/>\nhttps:\/\/www.howtogeek.com\/189974\/how-to-share-your-computers-files-with-a-virtual-machine\/<\/p>\n<p>\u3053\u308c\u3060\u3051\u3060\u3068\u51fa\u6765\u306a\u3044\u3002\u30a8\u30e9\u30fc\u304c\u51fa\u307e\u3059\u3002<br \/>\n\u30b9\u30c6\u30c3\u30d76\u307e\u3067\u51fa\u6765\u305f\u3089\u4ee5\u4e0b\u3092\u5b9f\u884c\u3002<\/p>\n<h2><span id=\"vboxsf_mounting_failed\">vboxsf mounting failed\u30a8\u30e9\u30fc<\/span><\/h2>\n<pre><code>cd \/opt\/VBoxGuestAdditions-*\/init  \nsudo .\/vboxadd setup\n\n## share\u30d5\u30a9\u30eb\u30c0\u3092\u30db\u30b9\u30c8\u306b\u4f5c\u6210\uff0b\u30b2\u30b9\u30c8\u3067\u5272\u5f53\u8a2d\u5b9a\n\n## \u30b2\u30b9\u30c8\u3092\u518d\u8d77\u52d5\n\nsudo mount -t vboxsf -o uid=1000,gid=1000 share \/home\/username\/host\n# or\nsudo mount -t vboxsf -o share \/home\/username\/host\n<\/code><\/pre>\n<p>https:\/\/stackoverflow.com\/questions\/28328775\/virtualbox-mount-vboxsf-mounting-failed-with-the-error-no-such-device<\/p>\n<h1><span id=\"SSH\">SSH\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u306e\u8a2d\u5b9a<\/span><\/h1>\n<ol>\n<li>\u30db\u30b9\u30c8\u5074\u3067OpenSSH\u306e\u8a2d\u5b9a\u3092\u3057\u3066\u3001SSH\u63a5\u7d9a\u3092\u53ef\u80fd\u306b\u3059\u308b\u3002(windows powershell\u306e\u5834\u5408)<\/li>\n<\/ol>\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\uff1a<a href=\"https:\/\/github.com\/PowerShell\/Win32-OpenSSH\/wiki\/Install-Win32-OpenSSH\">Install Win32 OpenSSH \u00b7 PowerShell\/Win32-OpenSSH Wiki<\/a><\/p>\n<p>\u89e3\u7b54\u3057\u3066\u3001C:\/OpenSSH \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3001\u305d\u3053\u306b\u4e2d\u8eab\u3092\u5168\u3066\u30b3\u30d4\u30fc\u3002<\/p>\n<p>Powershell\u3092\u518d\u8d77\u52d5\u3059\u308c\u3070\u3001<code>ssh<\/code>\u30b3\u30de\u30f3\u30c9\u304c\u4f7f\u7528\u3067\u304d\u308b\u3002<\/p>\n<ol>\n<li>virtualbox\u306e\u8a2d\u5b9a<\/li>\n<\/ol>\n<p>\u8a2d\u5b9a > \u30cd\u30c3\u30c8\u30ef\u30fc\u30af > \u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0 \u3067\u4ee5\u4e0b\u3092\u8ffd\u52a0\u3002<\/p>\n<blockquote>\n<p>Host port 3022, guest port 22, name ssh, other left blank.<\/p>\n<\/blockquote>\n<p>\u30b2\u30b9\u30c8\u30dd\u30fc\u30c822\u3092\u30db\u30b9\u30c8\u30dd\u30fc\u30c83022\u3078\u9001\u308b\u8a2d\u5b9a\u3067\u3042\u308b\u3002<\/p>\n<ol>\n<li>\u30b2\u30b9\u30c8\u3067SSH\u30dd\u30fc\u30c8\u3092\u958b\u304f\u8a2d\u5b9a\u3092\u3059\u308b<\/li>\n<\/ol>\n<pre><code>sudo apt-get -y install openssh-server\nsudo apt-get update\n<\/code><\/pre>\n<p>update\u3067\u3082\u3057E: Problem executing scripts APT::Update::Post-Invoke-Success\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u3089\u3001<code>sudo apt-get remove libappstream3<\/code>\u3067\u89e3\u6c7a\u53ef\u80fd\u3002<\/p>\n<ol>\n<li>\u63a5\u7d9a\u691c\u8a3c<\/li>\n<\/ol>\n<pre><code>ssh -p 3022 user@127.0.0.1\n<\/code><\/pre>\n<p>user\u3092\u30e6\u30fc\u30b6\u30fc\u540d\u3078\u5909\u66f4\u3002<br \/>\nIP\u30a2\u30c9\u30ec\u30b9\u306f\u3001\u30db\u30b9\u30c8\u3067ifconfig\u3092\u3057\u3066\u78ba\u8a8d\u3002<\/p>\n<ol>\n<li>connection refused\u30a8\u30e9\u30fc<\/li>\n<\/ol>\n<p>IP\u30a2\u30c9\u30ec\u30b9\u304c\u9593\u9055\u3063\u3066\u3044\u305f\u308a\u3059\u308b\u3068\u8d77\u3053\u308b\u3002<\/p>\n<p>\u30db\u30b9\u30c8\u3001\u30b2\u30b9\u30c8\u3067\u305d\u308c\u305e\u308c\u3001ifconfig\/ipconfig\u3067IP\u30a2\u30c9\u30ec\u30b9\u3092\u78ba\u8a8d\u3057\u3066\u3001\u540c\u3058\u304b\u78ba\u304b\u3081\u3066\u307f\u3088\u3046\u3002<\/p>\n<p>\u30b2\u30b9\u30c8\u2192\u30db\u30b9\u30c8\u3078\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0\u3055\u308c\u308b\u308f\u3051\u306a\u306e\u3067\u3001\u30db\u30b9\u30c8\u3067ipconfig\u3057\u3066\u51fa\u3066\u304d\u305f<code>\u30a4\u30fc\u30b5\u30cd\u30c3\u30c8 \u30a2\u30c0\u30d7\u30bf\u30fc VirtualBox Host-Only Network<\/code>\u3092\u898b\u3066\u305d\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u6253\u3061\u8fbc\u3093\u3067\u3044\u3051\u3070\u3001\u63a5\u7d9a\u3067\u304d\u308b\u306f\u305a\u3002<\/p>\n<blockquote>\n<p>You can verify by doing ipconfig \/ ifconfig on both.<\/p>\n<\/blockquote>\n<h1><span id=\"i-2\">\u30ed\u30fc\u30ab\u30eb\u30db\u30b9\u30c8\u3092\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0<\/span><\/h1>\n<p>Rails\u3067\u4f7f\u7528\u3059\u308b\u3001localhost:3000\u3092\u3001\u30db\u30b9\u30c8\u3067\u95b2\u89a7\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u5148\u7a0b\u540c\u69d8\u3001<\/p>\n<p>\u8a2d\u5b9a > \u30cd\u30c3\u30c8\u30ef\u30fc\u30af > \u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c7\u30a3\u30f3\u30b0 \u3067\u3001<\/p>\n<p>rails,TCP,0.0.0.0,3000,0.0.0.0,3000<\/p>\n<p>\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3001\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<p>\u518d\u8d77\u52d5\u304c\u5fc5\u8981\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<h1><span id=\"Rails\">Rails\u74b0\u5883\u3092\u69cb\u7bc9\u3057\u3066\u958b\u767a\u3057\u3066\u307f\u308b<\/span><\/h1>\n<p>\u3053\u308c\u3067\u6e96\u5099\u306f\u6574\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u74b0\u5883\u306f\u5b8c\u5168\u306b\u4eee\u60f3\u74b0\u5883\u306eUbuntu\u3067\u3001\u958b\u767a\u306f\u5b8c\u5168\u306b\u30db\u30b9\u30c8\u3067\u3001\u3068\u3044\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u308f\u3051\u3067\u3059\u3002<\/p>\n<p>Rails\u95a2\u9023\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<pre><code><br \/>sudo apt-get update\nsudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev nodejs\n\nsudo apt-get install -y ruby-dev ruby\n\nsudo gem install bundler\nsudo gem install rails\n<\/code><\/pre>\n<p>\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3057\u3066\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3092\u4f5c\u6210<\/p>\n<pre><code>cd ~\/share\nsudo rails new app\ncd app\nsudo rails g controller pages index\n<\/code><\/pre>\n<p>\u4f5c\u3063\u305f\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u304c\u6b63\u3057\u304f\u52d5\u4f5c\u3059\u308b\u304b\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><a href=\"http:\/\/localhost:3000\/pages\/index\">App<\/a><\/p>\n<p>\u8868\u793a\u3055\u308c\u3066\u308c\u3070\u304a\uff4b\u3067\u3059\u306d\u3002<\/p>\n<h1><span id=\"Rails-2\">\u65e2\u5b58\u306eRails\u30a2\u30d7\u30ea\u3092\u958b\u767a\u3059\u308b\u306b\u306f<\/span><\/h1>\n<p>\u65e2\u5b58\u306eRails\u30a2\u30d7\u30ea\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u3001\u5171\u6709\u30d5\u30a9\u30eb\u30c0\u306b\u5165\u308c\u307e\u3059\u3002<br \/>\nSSH\u3067\u3001Rails\u30a2\u30d7\u30ea\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3078<code>cd<\/code>\u3057\u307e\u3059\u3002<br \/>\n\u3053\u3053\u3067<code>bundle install<\/code>\u3068\u304b<code>rails s<\/code>\u3063\u3066\u3084\u308b\u3068\uff4b\u3084\u306f\u308a\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u306e\u3067\u3001\u74b0\u5883\u8a2d\u5b9a\u3092\u5c11\u3005\u3084\u308a\u307e\u3059\u3002<\/p>\n<p>rbenv\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<pre><code># [How To Install Ruby on Rails with rbenv on Ubuntu 16.04 | DigitalOcean](https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-install-ruby-on-rails-with-rbenv-on-ubuntu-16-04)\n\n<\/code><\/pre>\n<p>Rails\u30a2\u30d7\u30ea\u306eRuby\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u78ba\u8a8d\u3057\u3066\u3001rbenv\u3067\u305d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306eRuby\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\n\u3053\u3053\u3067\u306f\u30012.4.2\u3092\u6307\u5b9a\u3002<\/p>\n<pre><code>$ rbenv global  2.4.2\n$ rbenv local  2.4.2\n$ ruby -v\nruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux]\n$ rbenv rehash\n<\/code><\/pre>\n<p>\u3053\u3053\u307e\u3067\u6765\u3066\u3001bundle install\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code>rbenv exec bundle install\n<\/code><\/pre>\n<p>\u6bce\u56de<code>rbenv exec<\/code>\u3059\u308b\u306e\u9762\u5012\u306a\u306e\u3067\u3001\u30a8\u30a4\u30ea\u30a2\u30b9\u767b\u9332\u3057\u3068\u304d\u307e\u3059\u3002(\u5834\u5408\u306b\u3088\u3063\u3066\u306f.bashrc\u306b\u8ffd\u8a18\u3057\u3066\u304f\u3060\u3055\u3044)<\/p>\n<pre><code>alias rails='rbenv exec rails'\nalias bundle='rbenv exec bundle'\n<\/code><\/pre>\n<p>\u3053\u308c\u3067\u3001<code>bundle install<\/code>,<code>rails s<\/code>\u306e\u3088\u3046\u306b\u5b9f\u884c\u3057\u3066\u3084\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<\/p>\n<h1><span id=\"apt-get\">apt-get\u3067\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f<\/span><\/h1>\n<p><code>=<\/code>\u3067\u6307\u5b9a\u3057\u3066\u3084\u308b\u3002<\/p>\n<pre><code>apt-get install apache2=2.2.8-1\n<\/code><\/pre>\n<h1><span id=\"virtualbox\">virtualbox\u3067\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306e\u5171\u6709\u3092\u6709\u52b9\u306b\u3059\u308b<\/span><\/h1>\n<p>\u8a2d\u5b9a > \u4e00\u822c > \u30a2\u30c9\u30d0\u30f3\u30b9\u30c9 > \u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306e\u5171\u6709 \u3092\u9078\u629e\u3002<\/p>\n<p><a href=\"https:\/\/www.liberiangeek.net\/2013\/09\/copy-paste-virtualbox-host-guest-machines\/\">Copy And Paste Between VirtualBox Host And Guest Machines | Liberian Geek<\/a><\/p>\n<h1><span id=\"apt-get_E_Problem_executing_scripts_APTUpdatePost-Invoke-Success\">apt-get \u3067E: Problem executing scripts APT::Update::Post-Invoke-Success\u30a8\u30e9\u30fc<\/span><\/h1>\n<blockquote>\n<p>E: Problem executing scripts APT::Update::Post-Invoke-Success &#8216;if \/usr\/bin\/test -w \/var\/cache\/app-info -a -e \/usr\/bin\/appstreamcli; then appstreamcli refresh > \/dev\/null; fi&#8217; E: Sub-process returned an error code<\/p>\n<\/blockquote>\n<p>\u89e3\u6c7a\u6cd5\uff1a<\/p>\n<pre><code>sudo apt-get remove libappstream3\n<\/code><\/pre>\n<p><a href=\"https:\/\/askubuntu.com\/questions\/942895\/e-problem-executing-scripts-aptupdatepost-invoke-success\">appstream &#8211; E: Problem executing scripts APT::Update::Post-Invoke-Success &#8211; Ask Ubuntu<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30b5\u30d6\u30bf\u30a4\u30c8\u30eb\uff1aRails\u5bfe\u7b56 virtualbox\u81ea\u4f53\u3092\u4f7f\u3063\u3066\u751f\u306eubuntu\u3067rails\u3092\u52d5\u304b\u305d\u3046 dock [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[1],"tags":[],"acf":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8Rxwo-cq","_links":{"self":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/770"}],"collection":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=770"}],"version-history":[{"count":1,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/770\/revisions"}],"predecessor-version":[{"id":771,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=\/wp\/v2\/posts\/770\/revisions\/771"}],"wp:attachment":[{"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=770"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=770"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yuis-programming.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=770"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}