Skip to content

Instantly share code, notes, and snippets.

@mdamien
Created May 15, 2016 12:12
Show Gist options
  • Select an option

  • Save mdamien/1e594ea07ecd470900102bc351bf1adf to your computer and use it in GitHub Desktop.

Select an option

Save mdamien/1e594ea07ecd470900102bc351bf1adf to your computer and use it in GitHub Desktop.
{
"cache_update_time":0,
"cache_updated":false,
"changed":false,
"failed":true,
"msg":"'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\" install 'nginx'' failed: E: Sub-process /usr/bin/dpkg returned an error code (1)\n",
"stderr":"E: Sub-process /usr/bin/dpkg returned an error code (1)\n",
"stdout":"Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following extra packages will be installed:\n libgd3 libvpx1 libxpm4 libxslt1.1 nginx-common nginx-full\nSuggested packages:\n libgd-tools fcgiwrap nginx-doc ssl-cert\nThe following NEW packages will be installed:\n libgd3 libvpx1 libxpm4 libxslt1.1 nginx nginx-common nginx-full\n0 upgraded, 7 newly installed, 0 to remove and 68 not upgraded.\nNeed to get 1615 kB of archives.\nAfter this operation, 4328 kB of additional disk space will be used.\nGet:1 http://security.debian.org/ jessie/updates/main libgd3 amd64 2.1.0-5+deb8u1 [147 kB]\nGet:2 http://security.debian.org/ jessie/updates/main nginx-common all 1.6.2-5+deb8u1 [86.7 kB]\nGet:3 http://security.debian.org/ jessie/updates/main nginx-full amd64 1.6.2-5+deb8u1 [430 kB]\nGet:4 http://httpredir.debian.org/debian/ jessie/main libvpx1 amd64 1.3.0-3 [599 kB]\nGet:5 http://security.debian.org/ jessie/updates/main nginx all 1.6.2-5+deb8u1 [72.2 kB]\nGet:6 http://httpredir.debian.org/debian/ jessie/main libxpm4 amd64 1:3.5.11-1+b1 [48.1 kB]\nGet:7 http://httpredir.debian.org/debian/ jessie/main libxslt1.1 amd64 1.1.28-2+b2 [232 kB]\nFetched 1615 kB in 1s (1319 kB/s)\nSelecting previously unselected package libvpx1:amd64.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 37583 files and directories currently installed.)\r\nPreparing to unpack .../libvpx1_1.3.0-3_amd64.deb ...\r\nUnpacking libvpx1:amd64 (1.3.0-3) ...\r\nSelecting previously unselected package libxpm4:amd64.\r\nPreparing to unpack .../libxpm4_1%3a3.5.11-1+b1_amd64.deb ...\r\nUnpacking libxpm4:amd64 (1:3.5.11-1+b1) ...\r\nSelecting previously unselected package libgd3:amd64.\r\nPreparing to unpack .../libgd3_2.1.0-5+deb8u1_amd64.deb ...\r\nUnpacking libgd3:amd64 (2.1.0-5+deb8u1) ...\r\nSelecting previously unselected package libxslt1.1:amd64.\r\nPreparing to unpack .../libxslt1.1_1.1.28-2+b2_amd64.deb ...\r\nUnpacking libxslt1.1:amd64 (1.1.28-2+b2) ...\r\nSelecting previously unselected package nginx-common.\r\nPreparing to unpack .../nginx-common_1.6.2-5+deb8u1_all.deb ...\r\nUnpacking nginx-common (1.6.2-5+deb8u1) ...\r\nSelecting previously unselected package nginx-full.\r\nPreparing to unpack .../nginx-full_1.6.2-5+deb8u1_amd64.deb ...\r\nUnpacking nginx-full (1.6.2-5+deb8u1) ...\r\nSelecting previously unselected package nginx.\r\nPreparing to unpack .../nginx_1.6.2-5+deb8u1_all.deb ...\r\nUnpacking nginx (1.6.2-5+deb8u1) ...\r\nProcessing triggers for systemd (215-17+deb8u3) ...\r\nProcessing triggers for man-db (2.7.0.2-5) ...\r\nSetting up libvpx1:amd64 (1.3.0-3) ...\r\nSetting up libxpm4:amd64 (1:3.5.11-1+b1) ...\r\nSetting up libgd3:amd64 (2.1.0-5+deb8u1) ...\r\nSetting up libxslt1.1:amd64 (1.1.28-2+b2) ...\r\nSetting up nginx-common (1.6.2-5+deb8u1) ...\r\nchown: changing ownership of '/var/log/nginx': Operation not permitted\r\ndpkg: error processing package nginx-common (--configure):\r\n subprocess installed post-installation script returned error exit status 1\r\ndpkg: dependency problems prevent configuration of nginx-full:\r\n nginx-full depends on nginx-common (= 1.6.2-5+deb8u1); however:\r\n Package nginx-common is not configured yet.\r\n\r\ndpkg: error processing package nginx-full (--configure):\r\n dependency problems - leaving unconfigured\r\ndpkg: dependency problems prevent configuration of nginx:\r\n nginx depends on nginx-full (>= 1.6.2-5+deb8u1) | nginx-light (>= 1.6.2-5+deb8u1) | nginx-extras (>= 1.6.2-5+deb8u1); however:\r\n Package nginx-full is not configured yet.\r\n Package nginx-light is not installed.\r\n Package nginx-extras is not installed.\r\n nginx depends on nginx-full (<< 1.6.2-5+deb8u1.1~) | nginx-light (<< 1.6.2-5+deb8u1.1~) | nginx-extras (<< 1.6.2-5+deb8u1.1~); however:\r\n Package nginx-full is not configured yet.\r\n Package nginx-light is not installed.\r\n Package nginx-extras is not installed.\r\n\r\ndpkg: error processing package nginx (--configure):\r\n dependency problems - leaving unconfigured\r\nProcessing triggers for libc-bin (2.19-18+deb8u2) ...\r\nProcessing triggers for systemd (215-17+deb8u3) ...\r\nErrors were encountered while processing:\r\n nginx-common\r\n nginx-full\r\n nginx\r\n",
"stdout_lines":[
"Reading package lists...",
"Building dependency tree...",
"Reading state information...",
"The following extra packages will be installed:",
" libgd3 libvpx1 libxpm4 libxslt1.1 nginx-common nginx-full",
"Suggested packages:",
" libgd-tools fcgiwrap nginx-doc ssl-cert",
"The following NEW packages will be installed:",
" libgd3 libvpx1 libxpm4 libxslt1.1 nginx nginx-common nginx-full",
"0 upgraded, 7 newly installed, 0 to remove and 68 not upgraded.",
"Need to get 1615 kB of archives.",
"After this operation, 4328 kB of additional disk space will be used.",
"Get:1 http://security.debian.org/ jessie/updates/main libgd3 amd64 2.1.0-5+deb8u1 [147 kB]",
"Get:2 http://security.debian.org/ jessie/updates/main nginx-common all 1.6.2-5+deb8u1 [86.7 kB]",
"Get:3 http://security.debian.org/ jessie/updates/main nginx-full amd64 1.6.2-5+deb8u1 [430 kB]",
"Get:4 http://httpredir.debian.org/debian/ jessie/main libvpx1 amd64 1.3.0-3 [599 kB]",
"Get:5 http://security.debian.org/ jessie/updates/main nginx all 1.6.2-5+deb8u1 [72.2 kB]",
"Get:6 http://httpredir.debian.org/debian/ jessie/main libxpm4 amd64 1:3.5.11-1+b1 [48.1 kB]",
"Get:7 http://httpredir.debian.org/debian/ jessie/main libxslt1.1 amd64 1.1.28-2+b2 [232 kB]",
"Fetched 1615 kB in 1s (1319 kB/s)",
"Selecting previously unselected package libvpx1:amd64.",
"(Reading database ... ",
"(Reading database ... 5%",
"(Reading database ... 10%",
"(Reading database ... 15%",
"(Reading database ... 20%",
"(Reading database ... 25%",
"(Reading database ... 30%",
"(Reading database ... 35%",
"(Reading database ... 40%",
"(Reading database ... 45%",
"(Reading database ... 50%",
"(Reading database ... 55%",
"(Reading database ... 60%",
"(Reading database ... 65%",
"(Reading database ... 70%",
"(Reading database ... 75%",
"(Reading database ... 80%",
"(Reading database ... 85%",
"(Reading database ... 90%",
"(Reading database ... 95%",
"(Reading database ... 100%",
"(Reading database ... 37583 files and directories currently installed.)",
"Preparing to unpack .../libvpx1_1.3.0-3_amd64.deb ...",
"Unpacking libvpx1:amd64 (1.3.0-3) ...",
"Selecting previously unselected package libxpm4:amd64.",
"Preparing to unpack .../libxpm4_1%3a3.5.11-1+b1_amd64.deb ...",
"Unpacking libxpm4:amd64 (1:3.5.11-1+b1) ...",
"Selecting previously unselected package libgd3:amd64.",
"Preparing to unpack .../libgd3_2.1.0-5+deb8u1_amd64.deb ...",
"Unpacking libgd3:amd64 (2.1.0-5+deb8u1) ...",
"Selecting previously unselected package libxslt1.1:amd64.",
"Preparing to unpack .../libxslt1.1_1.1.28-2+b2_amd64.deb ...",
"Unpacking libxslt1.1:amd64 (1.1.28-2+b2) ...",
"Selecting previously unselected package nginx-common.",
"Preparing to unpack .../nginx-common_1.6.2-5+deb8u1_all.deb ...",
"Unpacking nginx-common (1.6.2-5+deb8u1) ...",
"Selecting previously unselected package nginx-full.",
"Preparing to unpack .../nginx-full_1.6.2-5+deb8u1_amd64.deb ...",
"Unpacking nginx-full (1.6.2-5+deb8u1) ...",
"Selecting previously unselected package nginx.",
"Preparing to unpack .../nginx_1.6.2-5+deb8u1_all.deb ...",
"Unpacking nginx (1.6.2-5+deb8u1) ...",
"Processing triggers for systemd (215-17+deb8u3) ...",
"Processing triggers for man-db (2.7.0.2-5) ...",
"Setting up libvpx1:amd64 (1.3.0-3) ...",
"Setting up libxpm4:amd64 (1:3.5.11-1+b1) ...",
"Setting up libgd3:amd64 (2.1.0-5+deb8u1) ...",
"Setting up libxslt1.1:amd64 (1.1.28-2+b2) ...",
"Setting up nginx-common (1.6.2-5+deb8u1) ...",
"chown: changing ownership of '/var/log/nginx': Operation not permitted",
"dpkg: error processing package nginx-common (--configure):",
" subprocess installed post-installation script returned error exit status 1",
"dpkg: dependency problems prevent configuration of nginx-full:",
" nginx-full depends on nginx-common (= 1.6.2-5+deb8u1); however:",
" Package nginx-common is not configured yet.",
"",
"dpkg: error processing package nginx-full (--configure):",
" dependency problems - leaving unconfigured",
"dpkg: dependency problems prevent configuration of nginx:",
" nginx depends on nginx-full (>= 1.6.2-5+deb8u1) | nginx-light (>= 1.6.2-5+deb8u1) | nginx-extras (>= 1.6.2-5+deb8u1); however:",
" Package nginx-full is not configured yet.",
" Package nginx-light is not installed.",
" Package nginx-extras is not installed.",
" nginx depends on nginx-full (<< 1.6.2-5+deb8u1.1~) | nginx-light (<< 1.6.2-5+deb8u1.1~) | nginx-extras (<< 1.6.2-5+deb8u1.1~); however:",
" Package nginx-full is not configured yet.",
" Package nginx-light is not installed.",
" Package nginx-extras is not installed.",
"",
"dpkg: error processing package nginx (--configure):",
" dependency problems - leaving unconfigured",
"Processing triggers for libc-bin (2.19-18+deb8u2) ...",
"Processing triggers for systemd (215-17+deb8u3) ...",
"Errors were encountered while processing:",
" nginx-common",
" nginx-full",
" nginx"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment