王朝网络
分享
 
 
 

debianAPT的超级牛功能

王朝other·作者佚名  2008-05-18
宽屏版  字体: |||超大  

The Super Cow Powers in Debian APT

呵呵,Debian 的 apt-get 说它有 Super Cow Powers 。

neo@zircon:~$ apt-get --help

apt 0.5.28.6 for linux i386 compiled on Mar 22 2005 07:17:03

Usage: apt-get [options] command

apt-get [options] install|remove pkg1 [pkg2 ...]

apt-get [options] source pkg1 [pkg2 ...]

apt-get is a simple command line interface for downloading and

installing packages. The most frequently used commands are update

and install.

Commands:

update - Retrieve new lists of packages

upgrade - Perform an upgrade

install - Install new packages (pkg is libc6 not libc6.deb)

remove - Remove packages

source - Download source archives

build-dep - Configure build-dependencies for source packages

dist-upgrade - Distribution upgrade, see apt-get(8)

dselect-upgrade - Follow dselect selections

clean - Erase downloaded archive files

autoclean - Erase old downloaded archive files

check - Verify that there are no broken dependencies

Options:

-h This help text.

-q Loggable output - no progress indicator

-qq No output except for errors

-d Download only - do NOT install or unpack archives

-s No-act. Perform ordering simulation

-y Assume Yes to all queries and do not prompt

-f Attempt to continue if the integrity check fails

-m Attempt to continue if archives are unlocatable

-u Show a list of upgraded packages as well

-b Build the source package after fetching it

-V Show verbose version numbers

-c=? Read this configuration file

-o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp

See the apt-get(8), sources.list(5) and apt.conf(5) manual

pages for more information and options.

This APT has Super Cow Powers.

neo@zircon:~$ apt-get moo

(__)

(oo)

/------\/

/ | ||

* /\---/~~ ~~

...."Have you mooed today?"...

跳舞牛……

neo@zircon:~$ apt-build -v

apt-build version 0.11.10

neo@zircon:~$ apt-build moo

(__) ~

(oo) /

_____\/___/

/ /\ / /

~ / * /

/ ___/

*----// / /

~ ~

..."Have you danced today? Discow!"...

Aptitude 说它没有 Super Cow Powers 。贪心不足蛇吞象……

neo@zircon:~$ aptitude --help

aptitude 0.2.15.9

Usage: aptitude [-S fname] [-u|-i]

aptitude [options] ...

Actions (if none is specified, aptitude will enter interactive mode):

install - Install/upgrade packages

remove - Remove packages

purge - Remove packages and their configuration files

hold - Place packages on hold

unhold - Cancel a hold command for a package

markauto - Mark packages as having been automatically installed

unmarkauto - Mark packages as having been manually installed

forbid-version - Forbid aptitude from upgrading to a specific package version.

update - Download lists of new/upgradable packages

upgrade - Perform a safe upgrade

dist-upgrade - Perform an upgrade, possibly installing and removing packages

forget-new - Forget what packages are "new"

search - Search for a package by name and/or expression

show - Display detailed information about a package

clean - Erase downloaded package files

autoclean - Erase old downloaded package files

changelog - View a package's changelog

download - Download the .deb file for a package

Options:

-h This help text

-s Simulate actions, but do not actually perform them.

-d Only download packages, do not install or remove anything.

-P Always prompt for confirmation or actions

-y Assume that the answer to simple yes/no questions is 'yes'

-F format Specify a format for displaying search results; see the manual

-O order Specify how search results should be sorted; see the manual

-w width Specify the display width for formatting search results

-f Aggressively try to fix broken packages.

-V Show which versions of packages are to be installed.

-D Show the dependencies of automatically changed packages.

-Z Show the change in installed size of each package.

-v Display extra information. (may be supplied multiple times)

-t [release] Set the release from which packages should be installed

-o key=val Directly set the configuration option named 'key'

--with(out)-recommends Specify whether or not to treat recommends as

strong dependencies

-S fname: Read the aptitude extended status info from fname.

-u : Download new package lists on startup.

-i : Perform an install run on startup.

This aptitude does not have Super Cow Powers.

neo@zircon:~$ aptitude moo

There are no Easter Eggs in this program.

neo@zircon:~$ aptitude -v moo

There really are no Easter Eggs in this program.

neo@zircon:~$ aptitude -vv moo

Didn't I already tell you that there are no Easter Eggs in this program?

neo@zircon:~$ aptitude -vvv moo

Stop it!

neo@zircon:~$ aptitude -vvvv moo

Okay, okay, if I give you an Easter Egg, will you go away?

neo@zircon:~$ aptitude -vvvvv moo

All right, you win.

/-----------/ / / |

-----------------/ ------------------------------------------------------

Happy?

neo@zircon:~$ aptitude -vvvvvv moo

What is it? It's an elephant being eaten by a snake, of course.

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
>>返回首页<<
推荐阅读
 
 
频道精选
 
静静地坐在废墟上,四周的荒凉一望无际,忽然觉得,凄凉也很美
© 2005- 王朝网络 版权所有