电脑技术学习

Solaris培训第四章:软件包管理

dn001

  pkgrm package_name

  用于删除软件包

  # pkgrm SUNWaudio

  The following package is currently installed:

  SUNWaudio Audio applications

  (sparc) 3.6.4,REV=1.98.08.13

  Do you want to remove this package? y

  ## Removing installed package instance

  ## Verifying package dependencIEs.

  WARNING:

  The package depends on the package

  currently being removed.

  WARNING:

  The package depends on the package

  currently being removed.

  WARNING:

  The package depends on the package

  currently being removed.

  WARNING:

  The package depends on the package

  currently being removed.

  Dependency checking failed.

  Do you want to continue with the removal of this package [y,n,?,q]

  如果某个文件被多个包共享,则当最后一个包被删除时才被删除。

  The pkgchk Command

  用于检查已安装的软件包

  Command Format

  pkgchk [ -p path1 ][ path2...] ]

  # pkgchk SUNWaudio

  #

  # pkgchk -p /etc/group

  ERROR: /etc/group

  file size <278> expected <282> actual

  file cksum <23586> expected <24038> actual

  pkgchk命令校验包的属性和内容是否与系统记录的一致。

  这个命令能检测整个包或是某个文件。没有输出表示包已经安装,但未发现不一致。

  admintool图形管理工具

  admintool是Solaris图形管理工具,包括管理软件包、主机名、主机地址、打印机、串口、用户、用户组等

标签: