作者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/cn.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