在Debian Squeeze上升级phpmyadmin(和其他软件包) [英] Upgrading phpmyadmin (and other packages) on Debian Squeeze

查看:124
本文介绍了在Debian Squeeze上升级phpmyadmin(和其他软件包)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚用Debian Squeeze(最新的稳定版本6.0.4)设置了一个新的虚拟机。我正在为一个网络服务器,所以我安装了通常的... apache,php5,mysql,phpmyadmin等。



一切顺利,一切正常。 p>

我的问题是关于升级包。我注意到phpmyadmin版本是3.3.7 ...最新的是3.4.10.1。执行apt-get更新/升级不会升级软件包。



如果apt-get更新/升级不起作用,如何在Debian Squeeze服务器上升级软件包



谢谢!

解决方案

您可以从官方页面,并按照压缩文件内的说明进行安装。



或者,如果要使用debian存储库,可以添加

  deb http:// ftp。 us.debian.org/debian测试主要contrib非免费

在文件/ etc / apt / source.list



还添加

 包:* 
Pin:release n = testing
Pin-Priority:500

in / etc / apt / preferences



这样做,你将拥有测试版本的所有软件包,但它们不会是inst除非你指定它,所以运行

  apt-get update 
apt-get install< package name> = < version>

例如

 code> apt-get install phpmyadmin = 3.4.10.1-1 

你可以检查不同的

  apt-cache showpkg phpmyadmin 


I just setup a new VM with Debian Squeeze (latest stable release, 6.0.4). I am going for a webserver, so I installed the usual... apache, php5, mysql, phpmyadmin, etc.

Everything went well, everything is working.

My question is about upgrading packages. I noticed the phpmyadmin version is 3.3.7... the latest is 3.4.10.1. Doing apt-get update/upgrade does not upgrade the package.

How does one go about upgrading packages on a Debian Squeeze server if apt-get update/upgrade does not work?

Thanks!

解决方案

You can download the latest version from the official page and follow the instrucctions inside the compress file for the installation.

Alternatively if you want to use the debian repositories, you can add

deb http://ftp.us.debian.org/debian testing main contrib non-free

in the file /etc/apt/source.list

Also add

Package: *
Pin: release n=testing
Pin-Priority: 500

in /etc/apt/preferences

doing this you will have all the packages for the testing version, but they're not going to be installed unless you specify it, so run

apt-get update
apt-get install <package name>=<version>

for example

apt-get install phpmyadmin=3.4.10.1-1

you can check the different versions with

apt-cache showpkg phpmyadmin

这篇关于在Debian Squeeze上升级phpmyadmin(和其他软件包)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆