作者bjk (Up2u)
看板Linux
標題Apache
時間Mon Nov 21 16:45:39 2016
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://webptt.com/m.aspx?n=bbs/Linux/M.1479717946.A.E2F.html
※ 編輯: bjk (118.160.135.152), 11/21/2016 16:48:15
1F:→ kenwufederer: 那你選擇Y之後出現甚麼… 11/21 17:03
2F:推 hirokofan: ....有先update嗎? 11/21 17:10
有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
3F:→ kenwufederer: error 1 是? 11/21 18:19
4F:→ Vdragon: 作業系統散佈版版本? 11/21 18:51
ubuntu 16.04 lts
6F:→ kenwufederer: ess-usr-bin-dpkg-returned-an-error-code-1-relate 11/21 19:16
7F:→ kenwufederer: d-to-google-chrom 11/21 19:16
8F:→ kenwufederer: 抱歉 沒縮 11/21 19:18
照著做後出現這個錯誤
http://imgur.com/a/fgXUB
我覺得我現在是libcrypto++-dev 5.6.1-9
這個東西殺不掉~~
※ 編輯: bjk (118.160.135.152), 11/22/2016 14:35:00
10F:→ kenduest: 那手動 dpkg -r 方式移除掉呢 11/22 20:06
11F:→ bjk: 我後來受不了就重灌了 11/23 16:37
12F:→ kenduest: 哦? 11/23 18:41
13F:→ fashionjack: Linux越做越回去了,Apache本就應該內建,不用就別開 11/25 07:46
14F:→ fashionjack: 它,硬碟如此大根本不差這一點。 11/25 07:47
15F:→ danny8376: apache內建? linux不跑web server多的是 內建幹啥 11/25 09:19
16F:→ danny8376: 然後硬碟如此大? AWS上你就是錢如此多不差那一點了 11/25 09:20
17F:→ danny8376: 喔 還有 這是ubuntu的問題 一竿子打linux... 算了 11/25 09:22