| 965 | まずは nginx-core をアンインストールします… |
| 966 | |
| 967 | {{{ |
| 968 | #!console |
| 969 | root@ik1-314-17353:~# apt remove nginx-core |
| 970 | Reading package lists... Done |
| 971 | Building dependency tree |
| 972 | Reading state information... Done |
| 973 | The following packages were automatically installed and are no longer required: |
| 974 | apache2-data apache2-utils linux-headers-4.4.0-138 linux-headers-4.4.0-138-generic linux-headers-4.4.0-62 |
| 975 | linux-headers-4.4.0-62-generic linux-headers-4.4.0-78 linux-headers-4.4.0-78-generic linux-image-4.4.0-138-generic |
| 976 | linux-image-4.4.0-62-generic linux-image-4.4.0-78-generic linux-image-extra-4.4.0-138-generic |
| 977 | linux-image-extra-4.4.0-62-generic linux-image-extra-4.4.0-78-generic |
| 978 | Use 'apt autoremove' to remove them. |
| 979 | The following additional packages will be installed: |
| 980 | nginx-full |
| 981 | Suggested packages: |
| 982 | nginx-doc |
| 983 | The following packages will be REMOVED: |
| 984 | nginx-core |
| 985 | The following NEW packages will be installed: |
| 986 | nginx-full |
| 987 | 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. |
| 988 | Need to get 454 kB of archives. |
| 989 | After this operation, 71.7 kB of additional disk space will be used. |
| 990 | Do you want to continue? [Y/n] |
| 991 | }}} |
| 992 | |
| 993 | なんと、驚くべきことに、ここで nginx-core だけを消そうとすると、 nginx の依存性解決のために、代わりに nginx-full をインストールするというメッセージが表示されます。まさにやろうとしていたことがこれだけで解決されるようです。素晴らしい… (想像もしていなかった挙動 !^_!^;)。 |
| 994 | |
| 995 | やってしまいましょう。 |