指令名称
clock
功能介绍
RTC = real time clock,电子时钟来记录现在的时间。该指令可以显示当前时刻,可以调整电脑硬件时钟。
语法
clock 【-argument】
参数介绍
N/A
基本使用
我linux版本里没有安装, 在试图安装程序包时出现问题,也无法解决。
只好先搁置在此,还希望大牛们指点一二
xbitmaps (安装成功)==》xviewg (不成功)==>xview-clients (不成功)
zzy@ubuntu:~$ clock
The program 'clock' is currently not installed. You can install it by typing:
sudo apt-get install xview-clients
zzy@ubuntu:~$
====================
zzy@ubuntu:~$ sudo apt-get install xview-clients
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
xview-clients:i386 : Depends: xviewg:i386 (>= 3.2p1.4-6) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
zzy@ubuntu:~$
==================
zzy@ubuntu:~$ sudo apt-get install xviewg
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
xviewg:i386 : Depends: xbitmaps:i386 but it is not installable
E: Unable to correct problems, you have held broken packages.
zzy@ubuntu:~$
=====================
zzy@ubuntu:~$ sudo apt-get install xbitmaps
Reading package lists... Done
Building dependency tree
Reading state information... Done
xbitmaps is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
zzy@ubuntu:~$
参考文献
1.《Linux指令从入门到精通》1.35
本文记录了在 Ubuntu Linux 系统中尝试安装并使用 clock 指令的过程及遇到的问题。作者试图通过安装 xview-clients 来启用 clock 功能,但遇到了依赖关系错误,最终未能成功。
16

被折叠的 条评论
为什么被折叠?



