【问题标题】:Debian Wheeze, install PHP extensionDebian Wheeze,安装 PHP 扩展
【发布时间】:2020-03-02 22:52:08
【问题描述】:

是的,我知道,Debian Wheeze 已经过时了。

但是有可能使用“apt-get”安装 PHP 扩展吗?

也许我需要为过期的 LTS 使用其他一些源列表?

 Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libdbd-mysql-perl libdbi-perl libhtml-template-perl
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libapache2-mod-php5 libtidy-0.99-0 php5-cli php5-common php5-curl php5-gd php5-imap php5-mcrypt php5-mysql
Suggested packages:
  php-pear
The following NEW packages will be installed:
  libtidy-0.99-0 php5-tidy
The following packages will be upgraded:
  libapache2-mod-php5 php5-cli php5-common php5-curl php5-gd php5-imap php5-mcrypt php5-mysql
8 upgraded, 2 newly installed, 0 to remove and 218 not upgraded.
Need to get 6,273 kB of archives.
After this operation, 535 kB of additional disk space will be used.
Do you want to continue [Y/n]?

WARNING: The following packages cannot be authenticated!
  php5-cli libapache2-mod-php5 php5-mysql php5-imap php5-mcrypt php5-curl php5-gd php5-common libtidy-0.99-0 php5-tidy
Install these packages without verification [y/N]?


Err http://security.debian.org/ wheezy/updates/main php5-cli i386 5.4.45-0+deb7u12
  404  Not Found
Err http://security.debian.org/ wheezy/updates/main libapache2-mod-php5 i386 5.4.45-0+deb7u12
  404  Not Found
Err http://security.debian.org/ wheezy/updates/main php5-mysql i386 5.4.45-0+deb7u12
  404  Not Found
Err http://security.debian.org/ wheezy/updates/main php5-imap i386 5.4.45-0+deb7u12
  404  Not Found
Err http://security.debian.org/ wheezy/updates/main php5-mcrypt i386 5.4.45-0+deb7u12
  404  Not Found
Err http://security.debian.org/ wheezy/updates/main php5-curl i386 5.4.45-0+deb7u12
  404  Not Found
Err http://security.debian.org/ wheezy/updates/main php5-gd i386 5.4.45-0+deb7u12
  404  Not Found
Err http://security.debian.org/ wheezy/updates/main php5-common i386 5.4.45-0+deb7u12
  404  Not Found
Err http://security.debian.org/ wheezy/updates/main libtidy-0.99-0 i386 20091223cvs-1.2+deb7u1
  404  Not Found
Err http://security.debian.org/ wheezy/updates/main php5-tidy i386 5.4.45-0+deb7u12
  404  Not Found
Failed to fetch http://security.debian.org/pool/updates/main/p/php5/php5-cli_5.4.45-0+deb7u12_i386.deb  404  Not Found
Failed to fetch http://security.debian.org/pool/updates/main/p/php5/libapache2-mod-php5_5.4.45-0+deb7u12_i386.deb  404  Not Found
Failed to fetch http://security.debian.org/pool/updates/main/p/php5/php5-mysql_5.4.45-0+deb7u12_i386.deb  404  Not Found
Failed to fetch http://security.debian.org/pool/updates/main/p/php5/php5-imap_5.4.45-0+deb7u12_i386.deb  404  Not Found
Failed to fetch http://security.debian.org/pool/updates/main/p/php5/php5-mcrypt_5.4.45-0+deb7u12_i386.deb  404  Not Found
Failed to fetch http://security.debian.org/pool/updates/main/p/php5/php5-curl_5.4.45-0+deb7u12_i386.deb  404  Not Found
Failed to fetch http://security.debian.org/pool/updates/main/p/php5/php5-gd_5.4.45-0+deb7u12_i386.deb  404  Not Found
Failed to fetch http://security.debian.org/pool/updates/main/p/php5/php5-common_5.4.45-0+deb7u12_i386.deb  404  Not Found
Failed to fetch http://security.debian.org/pool/updates/main/t/tidy/libtidy-0.99-0_20091223cvs-1.2+deb7u1_i386.deb  404  Not Found
Failed to fetch http://security.debian.org/pool/updates/main/p/php5/php5-tidy_5.4.45-0+deb7u12_i386.deb  404  Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

我的来源列表:

deb http://ftp.uk.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ wheezy main contrib non-free

deb http://ftp.uk.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ wheezy-updates main contrib non-free

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

【问题讨论】:

    标签: debian apt-get php-extension


    【解决方案1】:

    请注意Debian 7 (wheezy) is an obsolete stable release(强调已过时)。

    我会建议你不要继续使用它。

    您遇到的错误仅仅是版本过时和存储库不再有效的结果。

    社区为提供Long Term SupportExtended Long Term Support 做出了一些努力,但最好确保您的用例确实需要它。

    为旧版本提供支持的社区工作由 Frexian 协调。

    您可以更新您的来源列表以尝试获取 LTS 软件包,但这需要您准确验证您需要哪些软件包以及哪些软件包正在保持更新。

    您是否有充分的理由不升级到最新版本?

    【讨论】:

      猜你喜欢
      • 2011-02-08
      • 1970-01-01
      • 1970-01-01
      • 2011-10-14
      • 1970-01-01
      • 1970-01-01
      • 2013-09-17
      • 2017-12-03
      • 2016-11-30
      相关资源
      最近更新 更多