banner

[Rule] Rules  [Home] Main Forum  [Portal] Portal  
[Members] Member Listing  [Statistics] Statistics  [Search] Search  [Reading Room] Reading Room 
[Register] Register  
[Login] Loginhttp  | https  ]
 
Forum Index Thảo luận hệ điều hành *nix update libxml2 bằng lệnh yum  XML
  [Question]   update libxml2 bằng lệnh yum 20/05/2011 17:24:55 (+0700) | #1 | 237506
hieukenpro
Member

[Minus]    0    [Plus]
Joined: 19/11/2008 15:48:17
Messages: 75
Offline
[Profile] [PM]
Xin chào,em đang gặp rắc rối khi update libxml2-2.6.26-2.1.2.8.el5_5.1 lên phiên bản 2.7.6,em đã thử yum update libxml2 nhưng nó ko hổ trợ , em cũng đã thử remove cái gói hiện tại để build lại gói mới nhưng mà khi remove thì rất nhiều thư viện khác (hơn 200 gói) sẽ bị remove theo (em dùng lệnh yum remove libxml2),vậy chỉ còn cách duy nhất là update bằng yum thôi,ai rành làm ơn giúp em với
à khi em dùng lệnh yum de update thi nó báo thế này
Code:
yum update libxml2*
Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
 * Webmin: download.webmin.com
 * addons: virror.hanoilug.org
 * base: virror.hanoilug.org
 * epel: mirror.neu.edu.cn
 * extras: virror.hanoilug.org
 * ius: mirror.rackspace.hk
 * rpmforge: apt.sw.be
 * updates: virror.hanoilug.org
Setting up Update Process
Examining libxml2-2.7.6-1.x86_64.rpm: libxml2-2.7.6-1.x86_64
Marking libxml2-2.7.6-1.x86_64.rpm as an update to libxml2-2.6.26-2.1.2.8.el5_5.1.x86_64
Marking libxml2-2.7.6-1.x86_64.rpm as an update to libxml2-2.6.26-2.1.2.8.el5_5.1.i386
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: libxml2.so.2 for package: gnome-pilot
--> Processing Dependency: libxml2.so.2 for package: evolution
--> Processing Dependency: libxml2.so.2 for package: gnome-desktop
--> Processing Dependency: libxml2.so.2 for package: gstreamer
--> Processing Dependency: libxml2.so.2 for package: gtkhtml3
--> Processing Dependency: libxml2.so.2 for package: totem
--> Processing Dependency: libxml2.so.2 for package: eel2
--> Processing Dependency: libxml2.so.2 for package: gstreamer-plugins-base
--> Processing Dependency: libxml2.so.2 for package: libsoup
--> Processing Dependency: libxml2.so.2 for package: gnome-panel
--> Processing Dependency: libxml2.so.2 for package: libgnomecanvas
--> Processing Dependency: libxml2.so.2 for package: gnome-utils
--> Processing Dependency: libxml2.so.2 for package: GConf2
--> Processing Dependency: libxml2.so.2 for package: nautilus-cd-burner
--> Processing Dependency: libxml2.so.2 for package: control-center
--> Processing Dependency: libxml2.so.2 for package: libcroco
--> Processing Dependency: libxml2.so.2 for package: libwmf
--> Processing Dependency: libxml2.so.2 for package: ImageMagick
--> Processing Dependency: libxml2.so.2 for package: libgsf
--> Processing Dependency: libxml2.so.2 for package: libgnomeprintui22
--> Processing Dependency: libxml2.so.2 for package: libxklavier
--> Processing Dependency: libxml2.so.2 for package: evolution-data-server
--> Processing Dependency: libxml2.so.2 for package: libglade2
--> Processing Dependency: libxml2.so.2 for package: libgnomeui
--> Processing Dependency: libxml2.so.2 for package: librsvg2
--> Processing Dependency: libxml2.so.2 for package: libgnomeprint22
--> Processing Dependency: libxml2.so.2 for package: gnome-media
--> Processing Dependency: libxml2.so.2 for package: libbonoboui
--> Processing Dependency: libxml2.so.2 for package: libxslt
--> Processing Dependency: libxml2.so.2 for package: libbonobo
--> Processing Dependency: libxml2.so.2 for package: gnome-vfs2
--> Processing Dependency: libxml2 = 2.6.26 for package: libxml2-python
--> Processing Dependency: libxml2 = 2.6.26 for package: libxml2-python
---> Package libxml2.x86_64 0:2.7.6-1 set to be updated
--> Running transaction check
--> Processing Dependency: libxml2.so.2 for package: gnome-pilot
--> Processing Dependency: libxml2.so.2 for package: evolution
--> Processing Dependency: libxml2.so.2 for package: gnome-desktop
--> Processing Dependency: libxml2.so.2 for package: gstreamer
--> Processing Dependency: libxml2.so.2 for package: gtkhtml3
--> Processing Dependency: libxml2.so.2 for package: eel2
--> Processing Dependency: libxml2.so.2 for package: gstreamer-plugins-base
--> Processing Dependency: libxml2.so.2 for package: libsoup
--> Processing Dependency: libxml2.so.2 for package: gnome-panel
--> Processing Dependency: libxml2.so.2 for package: libgnomecanvas
--> Processing Dependency: libxml2.so.2 for package: gnome-utils
--> Processing Dependency: libxml2.so.2 for package: GConf2
--> Processing Dependency: libxml2.so.2 for package: nautilus-cd-burner
--> Processing Dependency: libxml2.so.2 for package: control-center
--> Processing Dependency: libxml2.so.2 for package: libcroco
--> Processing Dependency: libxml2.so.2 for package: libwmf
--> Processing Dependency: libxml2.so.2 for package: ImageMagick
--> Processing Dependency: libxml2.so.2 for package: libgsf
--> Processing Dependency: libxml2.so.2 for package: libgnomeprintui22
--> Processing Dependency: libxml2.so.2 for package: libxklavier
--> Processing Dependency: libxml2.so.2 for package: evolution-data-server
--> Processing Dependency: libxml2.so.2 for package: libglade2
--> Processing Dependency: libxml2.so.2 for package: libgnomeui
--> Processing Dependency: libxml2.so.2 for package: librsvg2
--> Processing Dependency: libxml2.so.2 for package: totem
--> Processing Dependency: libxml2.so.2 for package: libgnomeprint22
--> Processing Dependency: libxml2.so.2 for package: gnome-media
--> Processing Dependency: libxml2.so.2 for package: libbonoboui
--> Processing Dependency: libxml2.so.2 for package: libxslt
--> Processing Dependency: libxml2.so.2 for package: libbonobo
--> Processing Dependency: libxml2.so.2 for package: gnome-vfs2
--> Processing Dependency: libxml2 = 2.6.26 for package: libxml2-python
--> Processing Dependency: libxml2 = 2.6.26 for package: libxml2-python
---> Package totem.i386 0:2.16.7-7.el5_6.1 set to be updated
---> Package totem.x86_64 0:2.16.7-7.el5_6.1 set to be updated
--> Finished Dependency Resolution
libglade2-2.6.0-2.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package libglade2-2.6.0-2.i386 (installed)
gnome-pilot-2.0.13-16.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package gnome-pilot-2.0.13-16.i386 (installed)
totem-2.16.7-7.el5.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package totem-2.16.7-7.el5_6.1.i386 (updates)
GConf2-2.14.0-9.el5.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package GConf2-2.14.0-9.el5.i386 (installed)
gstreamer-0.10.20-3.el5.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package gstreamer-0.10.20-3.el5.i386 (installed)
librsvg2-2.16.1-1.el5.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package librsvg2-2.16.1-1.el5.i386 (installed)
libbonoboui-2.16.0-1.fc6.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package libbonoboui-2.16.0-1.fc6.i386 (installed)
libxslt-1.1.17-2.el5_2.2.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package libxslt-1.1.17-2.el5_2.2.i386 (installed)
libgnomeprint22-2.12.1-10.el5.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package libgnomeprint22-2.12.1-10.el5.i386 (installed)
libbonobo-2.16.0-1.1.el5_5.1.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package libbonobo-2.16.0-1.1.el5_5.1.i386 (installed)
libxml2-python-2.6.26-2.1.2.8.el5_5.1.x86_64 from installed has depsolving problems
  --> Missing Dependency: libxml2 = 2.6.26 is needed by package libxml2-python-2.6.26-2.1.2.8.el5_5.1.x86_64 (installed)
evolution-2.12.3-19.el5.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package evolution-2.12.3-19.el5.i386 (installed)
libcroco-0.6.1-2.1.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package libcroco-0.6.1-2.1.i386 (installed)
libgnomecanvas-2.14.0-4.1.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package libgnomecanvas-2.14.0-4.1.i386 (installed)
1:gnome-utils-2.16.0-5.el5.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package 1:gnome-utils-2.16.0-5.el5.i386 (installed)
libsoup-2.2.98-2.el5_3.1.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package libsoup-2.2.98-2.el5_3.1.i386 (installed)
libgsf-1.14.1-6.1.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package libgsf-1.14.1-6.1.i386 (installed)
1:control-center-2.16.0-16.el5.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package 1:control-center-2.16.0-16.el5.i386 (installed)
evolution-data-server-1.12.3-18.el5.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package evolution-data-server-1.12.3-18.el5.i386 (installed)
gnome-panel-2.16.1-7.el5.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package gnome-panel-2.16.1-7.el5.i386 (installed)
totem-2.16.7-7.el5_6.1.i386 from updates has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package totem-2.16.7-7.el5_6.1.i386 (updates)
gnome-vfs2-2.16.2-6.el5_5.1.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package gnome-vfs2-2.16.2-6.el5_5.1.i386 (installed)
libgnomeprintui22-2.12.1-6.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package libgnomeprintui22-2.12.1-6.i386 (installed)
gnome-media-2.16.1-3.el5.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package gnome-media-2.16.1-3.el5.i386 (installed)
eel2-2.16.1-1.el5.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package eel2-2.16.1-1.el5.i386 (installed)
gstreamer-plugins-base-0.10.20-3.0.1.el5_3.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package gstreamer-plugins-base-0.10.20-3.0.1.el5_3.i386 (installed)
nautilus-cd-burner-2.16.0-7.el5.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package nautilus-cd-burner-2.16.0-7.el5.i386 (installed)
gtkhtml3-3.16.3-1.el5.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package gtkhtml3-3.16.3-1.el5.i386 (installed)
libgnomeui-2.16.0-5.el5.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package libgnomeui-2.16.0-5.el5.i386 (installed)
libwmf-0.2.8.4-10.2.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package libwmf-0.2.8.4-10.2.i386 (installed)
libxklavier-3.0-3.el5.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package libxklavier-3.0-3.el5.i386 (installed)
gnome-desktop-2.16.0-1.el5.centos.1.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package gnome-desktop-2.16.0-1.el5.centos.1.i386 (installed)
ImageMagick-6.2.8.0-4.el5_5.3.i386 from installed has depsolving problems
  --> Missing Dependency: libxml2.so.2 is needed by package ImageMagick-6.2.8.0-4.el5_5.3.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package libgnomeprint22-2.12.1-10.el5.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package librsvg2-2.16.1-1.el5.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package libgnomecanvas-2.14.0-4.1.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package libbonoboui-2.16.0-1.fc6.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package totem-2.16.7-7.el5_6.1.i386 (updates)
Error: Missing Dependency: libxml2 = 2.6.26 is needed by package libxml2-python-2.6.26-2.1.2.8.el5_5.1.x86_64 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package libgnomeui-2.16.0-5.el5.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package libbonobo-2.16.0-1.1.el5_5.1.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package libcroco-0.6.1-2.1.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package gtkhtml3-3.16.3-1.el5.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package libgnomeprintui22-2.12.1-6.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package nautilus-cd-burner-2.16.0-7.el5.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package 1:gnome-utils-2.16.0-5.el5.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package gstreamer-plugins-base-0.10.20-3.0.1.el5_3.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package gnome-vfs2-2.16.2-6.el5_5.1.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package evolution-2.12.3-19.el5.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package ImageMagick-6.2.8.0-4.el5_5.3.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package GConf2-2.14.0-9.el5.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package libxklavier-3.0-3.el5.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package libgsf-1.14.1-6.1.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package gnome-panel-2.16.1-7.el5.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package gnome-desktop-2.16.0-1.el5.centos.1.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package libglade2-2.6.0-2.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package libsoup-2.2.98-2.el5_3.1.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package gstreamer-0.10.20-3.el5.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package eel2-2.16.1-1.el5.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package evolution-data-server-1.12.3-18.el5.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package libxslt-1.1.17-2.el5_2.2.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package gnome-media-2.16.1-3.el5.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package libwmf-0.2.8.4-10.2.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package gnome-pilot-2.0.13-16.i386 (installed)
Error: Missing Dependency: libxml2.so.2 is needed by package 1:control-center-2.16.0-16.el5.i386 (installed)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

THANK !
[Up] [Print Copy]
  [Question]   update libxml2 bằng lệnh yum 20/05/2011 19:13:59 (+0700) | #2 | 237513
[Avatar]
quanta
Moderator

Joined: 28/07/2006 14:44:21
Messages: 7265
Location: $ locate `whoami`
Offline
[Profile] [PM]
yum repolist?
Let's build on a great foundation!
[Up] [Print Copy]
  [Question]   update libxml2 bằng lệnh yum 20/05/2011 20:55:46 (+0700) | #3 | 237521
hieukenpro
Member

[Minus]    0    [Plus]
Joined: 19/11/2008 15:48:17
Messages: 75
Offline
[Profile] [PM]
Đây là list trong file Centos-Base.repo
Code:
# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the 
# remarked out baseurl= line instead.
#
#

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#released updates 
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
#baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
#baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5

em đang tìm cái gpgkey của nó để làm file repo mà tìm mãi ko thấy,anh có cách nào giúp e với
THANK !
[Up] [Print Copy]
  [Question]   update libxml2 bằng lệnh yum 20/05/2011 21:14:33 (+0700) | #4 | 237524
[Avatar]
quanta
Moderator

Joined: 28/07/2006 14:44:21
Messages: 7265
Location: $ locate `whoami`
Offline
[Profile] [PM]
Ý mình là chạy lệnh `yum repolist` rồi gửi kết quả lên đây.
Let's build on a great foundation!
[Up] [Print Copy]
  [Question]   update libxml2 bằng lệnh yum 20/05/2011 21:36:42 (+0700) | #5 | 237525
hieukenpro
Member

[Minus]    0    [Plus]
Joined: 19/11/2008 15:48:17
Messages: 75
Offline
[Profile] [PM]

quanta wrote:
Ý mình là chạy lệnh `yum repolist` rồi gửi kết quả lên đây. 


Code:
[root@ketnoimo ~]# yum repolist
Loaded plugins: fastestmirror, replace
Loading mirror speeds from cached hostfile
 * Webmin: download.webmin.com
 * addons: virror.hanoilug.org
 * base: virror.hanoilug.org
 * epel: mirror.neu.edu.cn
 * extras: virror.hanoilug.org
 * ius: mirror.rackspace.hk
 * rpmforge: apt.sw.be
 * updates: virror.hanoilug.org
Webmin                                                   |  951 B     00:00     
addons                                                   |  951 B     00:00     
base                                                     | 2.1 kB     00:00     
epel                                                     | 3.7 kB     00:00     
Not using downloaded repomd.xml because it is older than what we have:
  Current   : Thu May 19 02:10:38 2011
  Downloaded: Tue May 17 03:32:29 2011
extras                                                   | 2.1 kB     00:00     
ius                                                      | 1.9 kB     00:00     
rpmforge                                                 | 1.1 kB     00:00     
updates                                                  | 1.9 kB     00:00     
utterramblings                                           |  951 B     00:00     
repo id        repo name                                         status
Webmin         Webmin Distribution Neutral                       enabled:     76
addons         CentOS-5 - Addons                                 enabled:      0
base           CentOS-5 - Base                                   enabled:  3,535
epel           Extra Packages for Enterprise Linux 5 - x86_64    enabled:  6,463
extras         CentOS-5 - Extras                                 enabled:    298
ius            IUS Community Packages for Enterprise Linux 5 - x enabled:    255
rpmforge       RHEL 5 - RPMforge.net - dag                       enabled: 10,510
updates        CentOS-5 - Updates                                enabled:    619
utterramblings JasonÂs Utter Ramblings Repo                        enabled:    140
repolist: 21,896


THANK!
[Up] [Print Copy]
  [Question]   update libxml2 bằng lệnh yum 20/05/2011 21:50:49 (+0700) | #6 | 237527
[Avatar]
quanta
Moderator

Joined: 28/07/2006 14:44:21
Messages: 7265
Location: $ locate `whoami`
Offline
[Profile] [PM]
Cái gì bắt bạn phải dùng libxml2-2.7.6 vậy?
Let's build on a great foundation!
[Up] [Print Copy]
  [Question]   update libxml2 bằng lệnh yum 20/05/2011 22:16:31 (+0700) | #7 | 237529
hieukenpro
Member

[Minus]    0    [Plus]
Joined: 19/11/2008 15:48:17
Messages: 75
Offline
[Profile] [PM]
em cũng ko rành nữa,ông anh đang viết ứng dụng nhờ em up lên phiên bản đó dùm
[Up] [Print Copy]
  [Question]   update libxml2 bằng lệnh yum 21/05/2011 11:27:54 (+0700) | #8 | 237553
hieukenpro
Member

[Minus]    0    [Plus]
Joined: 19/11/2008 15:48:17
Messages: 75
Offline
[Profile] [PM]
Ai có cách nào thì giúp em với
THANK !
[Up] [Print Copy]
  [Question]   update libxml2 bằng lệnh yum 21/05/2011 11:39:45 (+0700) | #9 | 237554
Ar0
Member

[Minus]    0    [Plus]
Joined: 14/01/2011 23:20:26
Messages: 165
Offline
[Profile] [PM]
remove chính xác mỗi gói đó thôi rồi cài lại, trog yum hình như có thông số cho phép install và remove đúng gói tin chúng ta muôn thôi mà không đụng gì đến gói phụ thuộc. Nên xem kĩ man yum hoặc là dùng công cụ quản lý gói của fedora mà remove.
[Up] [Print Copy]
  [Question]   update libxml2 bằng lệnh yum 21/05/2011 12:21:03 (+0700) | #10 | 237555
hieukenpro
Member

[Minus]    0    [Plus]
Joined: 19/11/2008 15:48:17
Messages: 75
Offline
[Profile] [PM]

Ar0 wrote:
remove chính xác mỗi gói đó thôi rồi cài lại, trog yum hình như có thông số cho phép install và remove đúng gói tin chúng ta muôn thôi mà không đụng gì đến gói phụ thuộc. Nên xem kĩ man yum hoặc là dùng công cụ quản lý gói của fedora mà remove. 

đây là thông tin khi mình find ra
Code:
/usr/lib64/libxml2.so.2
/usr/lib64/libxml2.so.2.6.26
/usr/lib64/python2.4/site-packages/libxml2.pyo
/usr/lib64/python2.4/site-packages/libxml2mod.so
/usr/lib64/python2.4/site-packages/libxml2.pyc
/usr/lib64/python2.4/site-packages/libxml2.py
/usr/lib64/python2.4/site-packages/libxml2mod.la
/usr/lib64/python2.4/site-packages/libxml2mod.a
/usr/libxml2.so.2.7.8
/usr/libxml2
/usr/doc/libxml2-2.7.8
/usr/libxml2.so.2
/usr/libxml2.so
/usr/libxml2.la
/usr/share/doc/libxml2-2.6.26
/usr/share/doc/libxml2-python-2.6.26
/usr/share/doc/libxml2-python-2.6.26/libxml2class.txt
/usr/gtk-doc/html/libxml2
/usr/gtk-doc/html/libxml2/libxml2-nanohttp.html
/usr/gtk-doc/html/libxml2/libxml2-xmlschemastypes.html
/usr/gtk-doc/html/libxml2/libxml2-xmlregexp.html
/usr/gtk-doc/html/libxml2/libxml2-xmlwriter.html
/usr/gtk-doc/html/libxml2/libxml2-xmlIO.html
/usr/gtk-doc/html/libxml2/libxml2-list.html
/usr/gtk-doc/html/libxml2/libxml2-HTMLparser.html
/usr/gtk-doc/html/libxml2/libxml2-xlink.html
/usr/gtk-doc/html/libxml2/libxml2-globals.html
/usr/gtk-doc/html/libxml2/libxml2-DOCBparser.html
/usr/gtk-doc/html/libxml2/libxml2-nanoftp.html
/usr/gtk-doc/html/libxml2/libxml2-entities.html
/usr/gtk-doc/html/libxml2/libxml2-uri.html
/usr/gtk-doc/html/libxml2/libxml2-schematron.html
/usr/gtk-doc/html/libxml2/libxml2-relaxng.html
/usr/gtk-doc/html/libxml2/libxml2-xmlreader.html
/usr/gtk-doc/html/libxml2/libxml2-parser.html
/usr/gtk-doc/html/libxml2/libxml2-xpath.html
/usr/gtk-doc/html/libxml2/libxml2-xinclude.html
/usr/gtk-doc/html/libxml2/libxml2-valid.html
/usr/gtk-doc/html/libxml2/libxml2-HTMLtree.html
/usr/gtk-doc/html/libxml2/libxml2-xmlsave.html
/usr/gtk-doc/html/libxml2/libxml2-SAX2.html
/usr/gtk-doc/html/libxml2/libxml2-xmlunicode.html
/usr/gtk-doc/html/libxml2/libxml2-catalog.html
/usr/gtk-doc/html/libxml2/libxml2-xmlautomata.html
/usr/gtk-doc/html/libxml2/libxml2-encoding.html
/usr/gtk-doc/html/libxml2/libxml2-xmlstring.html
/usr/gtk-doc/html/libxml2/libxml2-debugXML.html
/usr/gtk-doc/html/libxml2/libxml2-c14n.html
/usr/gtk-doc/html/libxml2/libxml2-xpointer.html
/usr/gtk-doc/html/libxml2/libxml2-pattern.html
/usr/gtk-doc/html/libxml2/libxml2.devhelp
/usr/gtk-doc/html/libxml2/libxml2-dict.html
/usr/gtk-doc/html/libxml2/libxml2-xmlmodule.html
/usr/gtk-doc/html/libxml2/libxml2-tree.html
/usr/gtk-doc/html/libxml2/libxml2-xmlversion.html
/usr/gtk-doc/html/libxml2/libxml2-chvalid.html
/usr/gtk-doc/html/libxml2/libxml2-xmlschemas.html
/usr/gtk-doc/html/libxml2/libxml2-xpathInternals.html
/usr/gtk-doc/html/libxml2/libxml2-SAX.html
/usr/gtk-doc/html/libxml2/libxml2-xmlerror.html
/usr/gtk-doc/html/libxml2/libxml2-xmlexports.html
/usr/gtk-doc/html/libxml2/libxml2-threads.html
/usr/gtk-doc/html/libxml2/libxml2-schemasInternals.html
/usr/gtk-doc/html/libxml2/libxml2-xmlmemory.html
/usr/gtk-doc/html/libxml2/libxml2-hash.html
/usr/gtk-doc/html/libxml2/libxml2-parserInternals.html
/usr/lib/libxml2.so.2
/usr/lib/libxml2.so.2.6.26
/usr/local/share/doc/libxml2-2.7.6
/usr/local/share/doc/libxml2-2.7.8
/usr/local/share/gtk-doc/html/libxml2
/usr/local/share/gtk-doc/html/libxml2/libxml2-nanohttp.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-xmlschemastypes.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-xmlregexp.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-xmlwriter.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-xmlIO.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-list.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-HTMLparser.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-xlink.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-globals.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-DOCBparser.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-nanoftp.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-entities.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-uri.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-schematron.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-relaxng.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-xmlreader.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-parser.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-xpath.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-xinclude.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-valid.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-HTMLtree.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-xmlsave.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-SAX2.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-xmlunicode.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-catalog.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-xmlautomata.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-encoding.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-xmlstring.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-debugXML.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-c14n.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-xpointer.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-pattern.html
/usr/local/share/gtk-doc/html/libxml2/libxml2.devhelp
/usr/local/share/gtk-doc/html/libxml2/libxml2-dict.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-xmlmodule.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-tree.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-xmlversion.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-chvalid.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-xmlschemas.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-xpathInternals.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-SAX.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-xmlerror.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-xmlexports.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-threads.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-schemasInternals.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-xmlmemory.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-hash.html
/usr/local/share/gtk-doc/html/libxml2/libxml2-parserInternals.html
/usr/local/lib/libxml2.so.2.7.6
/usr/local/lib/libxml2.so.2.7.8
/usr/local/lib/libxml2.so.2
/usr/local/lib/libxml2.so
/usr/local/lib/libxml2.la
/usr/local/lib/libxml2.a
/usr/local/include/libxml2
/usr/libxml2.a

và mình cung đã dùng thử rpm nhưng sao ko dc ?
Code:
rpm -Uvh libxml2*
Preparing...                ########################################### [100%]
        file /usr/share/man/man1/xmlcatalog.1.gz from install of libxml2-2.7.6-1.x86_64 conflicts with file from package libxml2-2.6.26-2.1.2.8.el5_5.1.i386
        file /usr/share/man/man1/xmllint.1.gz from install of libxml2-2.7.6-1.x86_64 conflicts with file from package libxml2-2.6.26-2.1.2.8.el5_5.1.i386
[root@ketnoimo ~]# rpm -qa libxml2
libxml2-2.6.26-2.1.2.8.el5_5.1
libxml2-2.6.26-2.1.2.8.el5_5.1

THANK
[Up] [Print Copy]
  [Question]   update libxml2 bằng lệnh yum 22/05/2011 09:30:30 (+0700) | #11 | 237607
[Avatar]
DarkOS
Member

[Minus]    0    [Plus]
Joined: 17/04/2011 01:17:01
Messages: 26
Location: /dev/null
Offline
[Profile] [PM]

hieukenpro wrote:

[root@ketnoimo ~]# rpm -qa libxml2
libxml2-2.6.26-2.1.2.8.el5_5.1
libxml2-2.6.26-2.1.2.8.el5_5.1
 


Cái này bồ mới chỉ list các gói libxml2 ra thôi mà, bồ thử dùng lệnh sau gỡ libxml2 ra rồi cài lại thử xem:

Code:
rpm -e --nodeps libxml2-2.6.26-2.1.2.8.el5_5.1


lệnh này chỉ gỡ mỗi gói libxml2-2.6.26-2.1.2.8.el5_5.1 và không verify package dependencies
[Up] [Print Copy]
  [Question]   update libxml2 bằng lệnh yum 23/05/2011 05:30:42 (+0700) | #12 | 237664
hieukenpro
Member

[Minus]    0    [Plus]
Joined: 19/11/2008 15:48:17
Messages: 75
Offline
[Profile] [PM]
cam ơn bạn nhưng nó báo
Code:
[root@ketnoimo ~]# rpm -e --nodeps libxml2-2.6.26-2.1.2.8.el5_5.1
error: "libxml2-2.6.26-2.1.2.8.el5_5.1" specifies multiple packages

vậy mình phải làm sao ?
THANK!
[Up] [Print Copy]
  [Question]   update libxml2 bằng lệnh yum 23/05/2011 22:38:14 (+0700) | #13 | 237722
[Avatar]
DarkOS
Member

[Minus]    0    [Plus]
Joined: 17/04/2011 01:17:01
Messages: 26
Location: /dev/null
Offline
[Profile] [PM]

hieukenpro wrote:

Code:
[root@ketnoimo ~]# rpm -e --nodeps libxml2-2.6.26-2.1.2.8.el5_5.1
error: "libxml2-2.6.26-2.1.2.8.el5_5.1" specifies multiple packages

 


Bạn thử chạy lệnh sau rồi show kết quả lên xem:

Code:
rpm -qa --queryformat "%{name}.%{version}.%{release}.%{arch}\n" | grep "libxml2"


[Up] [Print Copy]
[digg] [delicious] [google] [yahoo] [technorati] [reddit] [stumbleupon]
Go to: 
 Users currently in here 
1 Anonymous

Powered by JForum - Extended by HVAOnline
 hvaonline.net  |  hvaforum.net  |  hvazone.net  |  hvanews.net  |  vnhacker.org
1999 - 2013 © v2012|0504|218|