【问题标题】:Error installing GD Toolkit安装 GD Toolkit 时出错
【发布时间】:2012-07-20 14:37:14
【问题描述】:

我一直在尝试在我的 Ubuntu VM 上安装 GD 工具包。操作很简单:

sudo apt-get install php5-gd

但是,当我运行它时,我得到一个包的 404(未找到错误):

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  php5-gd
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 38.8 kB of archives.
After this operation, 163 kB of additional disk space will be used.
Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main php5-gd amd64 5.3.10-1ubuntu3.1
  404  Not Found [IP: 91.189.92.153 80]
Err http://security.ubuntu.com/ubuntu/ precise-security/main php5-gd amd64 5.3.10-1ubuntu3.1
  404  Not Found [IP: 91.189.92.151 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/p/php5/php5-gd_5.3.10-1ubuntu3.1_amd64.deb  404  Not Found [IP: 91.189.92.151 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

有人遇到过这个问题吗?

【问题讨论】:

  • 在尝试安装 GD 库之前,您是否尝试过“sudo apt-get update”?
  • 谢谢,正是我需要的... :-S

标签: php ubuntu gd apt-get php-gd


【解决方案1】:

从 user1190992 那里得到答案 apt-get is just out of date....

这个命令成功了:

sudo apt-get update

【讨论】:

    【解决方案2】:

    互联网可能都坏了。试试

    $ 卷曲 91.189.92.153

    【讨论】:

    • 您的建议返回: Index of /

      /的索引

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-05-04
    • 2017-02-04
    • 2013-11-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多