View Full Version : Hỏi về lệnh up2date
Các Bác làm ơn cho hỏi muốn sử dụng lệnh up2date này phải làm những thao tác nào vậy. Tui có làm theo hướng dẫn trong website rhn.redhat.com nhưng nó không chạy, dù đã cài file mới vào rồi.
Cảm ơn các Bác nhiều
Đầu tiên để chạy up2date bạn phải có Internet connection online:
Bạn làm như sau:
- chạy up2date-config để chỉnh thông số (để default là ok rồi).
- chạy up2date -i để download và cài đặt (máy sẽ tự dowload pkg về bỏ vào $StorageDIR cài đặt rồi xóa bạn chỉ việc ngồi chơi xơi nước, cái này tự động như microsoft update ấy)
*Nếu không có Internet online, thì bạn copy từng package về rồi chạy rpm, đừng dùng up2date làm gì.
Không biết bạn xài RH mấy, hiện nay up2date của RH bị lỗi (URL expired), có khi bạn phải làm nhiều bước như sau mới mong up2date được:
RH8: chạy:
wget https://download-3.rhn.redhat.com/download/1063868834/b312174620840b35fadf93ec40cad55258f983a4/0/0/rhn/repository/NULL/up2date/3.0.7.2-1/i386/up2date-3.0.7.2-1.i386.rpm
wget https://download-3.rhn.redhat.com/download/1063868834/12dbbfaa57c3f24527bcb4d3405bca1d2e9062e5/0/0/rhn/repository/NULL/up2date-gnome/3.0.7.2-1/i386/up2date-gnome-3.0.7.2-1.i386.rpm
RH 9 chạy :
wget https://download-3.rhn.redhat.com/download/1063868834/5b729574ddb07473d92bebb426511a53b4a935a2/0/0/rhn/repository/NULL/up2date/3.1.23.2-1/i386/up2date-3.1.23.2-1.i386.rpm
wget https://download-3.rhn.redhat.com/download/1063868834/7ef77abcecbd6b2e3e2f1f1008d0def5d70a6253/0/0/rhn/repository/NULL/up2date-gnome/3.1.23.2-1/i386/up2date-gnome-3.1.23.2-1.i386.rpm
(make sure bạn đang online)
sau đó chạy:
rpm -Fvh up2date-*
(cái này update up2date graphic tool trong X, còn CLI thì chưa chắc)
------------------------------------
Good luck !
Powered by vBulletin® Version 4.1.9 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.