[問題] Apache 無法安裝
sudo apt-get install apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
apache2 : Depends: apache2-bin (= 2.4.18-2ubuntu3.1) but it is not going to be
installed
Depends: apache2-utils (>= 2.4)
Depends: apache2-data (= 2.4.18-2ubuntu3.1) but it is not going to
be installed
libethereum : Depends: libcryptopp-dev but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a
solution).
=======================
如果下這行指令
sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libcryptopp-dev
The following NEW packages will be installed:
libcryptopp-dev
0 upgraded, 1 newly installed, 0 to remove and 72 not upgraded.
3 not fully installed or removed.
Need to get 0 B/1,653 kB of archives.
After this operation, 12.2 MB of additional disk space will be used.
Do you want to continue? [Y/n]
會重複一直出現這段訊息
也沒有安裝好
--
When we toss a coin , we obtain either head or tail. Now we toss a coin 5
times. There are 2^5 possible outcomes. How many of them contain no two
consecutive heads?
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 118.160.135.152
※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1479717946.A.E2F.html
※ 編輯: bjk (118.160.135.152), 11/21/2016 16:48:15
→
11/21 17:03, , 1F
11/21 17:03, 1F
推
11/21 17:10, , 2F
11/21 17:10, 2F
有update
抱歉剛剛忘了貼
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libcryptopp-dev
The following NEW packages will be installed:
libcryptopp-dev
0 upgraded, 1 newly installed, 0 to remove and 72 not upgraded.
3 not fully installed or removed.
Need to get 0 B/1,653 kB of archives.
After this operation, 12.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 332239 files and directories currently installed.)
Preparing to unpack .../libcryptopp-dev_5.6.2+0wily-0ubuntu1_amd64.deb ...
Unpacking libcryptopp-dev (5.6.2+0wily-0ubuntu1) ...
dpkg: error processing archive
/var/cache/apt/archives/libcryptopp-dev_5.6.2+0wily-0ubuntu1_amd64.deb
(--unpack):
trying to overwrite '/usr/lib/libcryptopp.so', which is also in package
libcrypto++-dev 5.6.1-9
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libcryptopp-dev_5.6.2+0wily-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
※ 編輯: bjk (118.160.135.152), 11/21/2016 17:18:55
→
11/21 18:19, , 3F
11/21 18:19, 3F
→
11/21 18:51, , 4F
11/21 18:51, 4F
ubuntu 16.04 lts
→
11/21 19:16, , 5F
11/21 19:16, 5F
→
11/21 19:16, , 6F
11/21 19:16, 6F
→
11/21 19:16, , 7F
11/21 19:16, 7F
→
11/21 19:18, , 8F
11/21 19:18, 8F
→
11/21 19:18, , 9F
11/21 19:18, 9F
照著做後出現這個錯誤http://imgur.com/a/fgXUB
我覺得我現在是libcrypto++-dev 5.6.1-9
這個東西殺不掉~~
※ 編輯: bjk (118.160.135.152), 11/22/2016 14:35:00
→
11/22 20:06, , 10F
11/22 20:06, 10F
→
11/23 16:37, , 11F
11/23 16:37, 11F
→
11/23 18:41, , 12F
11/23 18:41, 12F
→
11/25 07:46, , 13F
11/25 07:46, 13F
→
11/25 07:47, , 14F
11/25 07:47, 14F
→
11/25 09:19, , 15F
11/25 09:19, 15F
→
11/25 09:20, , 16F
11/25 09:20, 16F
→
11/25 09:22, , 17F
11/25 09:22, 17F