如何移除所有安裝的DRBL程式與設定? |
請執行
/usr/share/drbl/setup/drblsrv -u
然後依照詢問的步驟回答即可。詳細的例子如下:
-----------------------------------------
[fc3]~/>/usr/share/drbl/setup/drblsrv -u
******************************************************
******************************************************
The version number of OS in this DRBL server is FC3.
Language | 語言| 隤閮 ?
[0]: English
[1]: Chinese Traditional (Big5) - Taiwan | 中文 (大五碼) - 台灣
[2]: Chinese Traditional (UTF-8, Unicode) - Taiwan | ä¸æ (¬åæ¨æºç¢¼) - 0
[0] 1
正在分析rpm程式的資訊...這可能需要幾分鐘...
******************************************************
提示! 當有yes/no選項的時候,預設的值是大寫的字母。例如 (y/N), 預設值是 "N", 當你按 "Enter"的時候,程式使用的值就是 "N"。如果你不確認選用那個好的時候,直接按"Enter"鍵是一個保險的方式。
******************************************************
現在準備 uninstall DRBL伺服器所需的檔案!
你是否要繼續?
回答"no"或是"n"來結束程式,或是其他任何字母來繼續!
[Y/n]
******************************************************
開始進行...
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
authconfig-gtk clonezilla dhcp drbl-script firstboot mkinitrd-net nfs-utils
ntp system-config-date tftp-server yp-tools ypbind ypserv
0 upgraded, 0 newly installed, 13 removed and 0 not upgraded.
Need to get 0B of archives.
After unpacking 12.3MB disk space will be freed.
Do you want to continue? [Y/n]
Committing changes...
Preparing... ########################################### [100%]
warning: /var/lib/dhcp/dhcpd.leases saved as /var/lib/dhcp/dhcpd.leases.rpmsave
warning: /etc/sysconfig/dhcpd saved as /etc/sysconfig/dhcpd.rpmsave
Shutting down NFS mountd: [ OK ]
Shutting down NFS daemon: [ OK ]
Shutting down NFS quotas: [ OK ]
Shutting down NFS services: [ OK ]
Stopping NFS statd: [ OK ]
Shutting down NFS4 idmapd: [ OK ]
warning: /var/lib/nfs/etab saved as /var/lib/nfs/etab.rpmsave
warning: /var/lib/ntp/drift saved as /var/lib/ntp/drift.rpmsave
warning: /etc/ntp.conf saved as /etc/ntp.conf.rpmsave
warning: /etc/xinetd.d/tftp saved as /etc/xinetd.d/tftp.rpmsave
warning: /etc/yp.conf saved as /etc/yp.conf.rpmsave
Done.
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package drbl-driver-.*
Reading Package Lists... Done
Building Dependency Tree... Done
Package drbl-script is not installed, so not removed
Package clonezilla is not installed, so not removed
Selecting rh-9-netinstall for 'rh-.*-netinstall'
Selecting rh-8.0-netinstall for 'rh-.*-netinstall'
Selecting rh-FC3-x86-64-netinstall for 'rh-.*-netinstall'
Selecting rh-FC3-netinstall for 'rh-.*-netinstall'
Selecting rh-FC2-netinstall for 'rh-.*-netinstall'
Selecting rh-FC1-netinstall for 'rh-.*-netinstall'
Selecting rh-FC2-x86-64-netinstall for 'rh-.*-netinstall'
Selecting mdk-10.1-netinstall for 'mdk-.*-netinstall'
Selecting mdk-10.0-netinstall for 'mdk-.*-netinstall'
Selecting mdk-9.2-netinstall for 'mdk-.*-netinstall'
The following packages will be REMOVED:
ddrescue dos2unix drbl-gdm etherboot freedos mdk-10.0-netinstall
mdk-10.1-netinstall mdk-9.2-netinstall memtest86+ partimage
perl-IO-LockedFile rh-8.0-netinstall rh-9-netinstall rh-FC1-netinstall
rh-FC2-netinstall rh-FC2-x86-64-netinstall rh-FC3-netinstall
rh-FC3-x86-64-netinstall socket syslinux woody-netinstall
0 upgraded, 0 newly installed, 21 removed and 0 not upgraded.
Need to get 0B of archives.
After unpacking 106MB disk space will be freed.
Do you want to continue? [Y/n]
Committing changes...
Preparing... ########################################### [100%]
Done.
`/var/yp/securenets' -> `/var/yp/securenets.drblsave'
你是否要移除drbl-setup這個程式?
[y/N] y
你是否要移除 apt ?
[y/N] y
warning: /etc/apt/sources.list saved as /etc/apt/sources.list.rpmsave
warning: /etc/apt/apt.conf saved as /etc/apt/apt.conf.rpmsave
正在清除 apt 的快取檔案...
******************************************************,
移除 /tftpboot 下的檔案... 這可能需要幾分鐘...
******************************************************,
完成!!!
******************************************************
現在將記憶體中的資料寫入硬碟中...
******************************************************
執行完畢!
 |
|