范文健康探索娱乐情感热点
投稿投诉
热点动态
科技财经
情感日志
励志美文
娱乐时尚
游戏搞笑
探索旅游
历史星座
健康养生
美丽育儿
范文作文
教案论文
国学影视

跟老韩学UbuntuServer2204,aptfile帮助手册

  apt-file 帮助手册
  apt-file帮助手册如下。root@hanyw:~# man apt-file | grep -Ev "^#39; APT-FILE(1)                  User Contributed Perl Documentation                 APT-FILE(1) NAME        apt-file -- APT package searching utility -- command-line interface SYNOPSIS        apt-file [options] search pattern        apt-file [options] show package DESCRIPTION        apt-file is a command line tool for searching files in packages for the APT package        management system.        Some actions are required to run the search:        find            Alias for search.        list            List the contents of a package. This action is very close to the dpkg -L command            except the package does not need to be installed or fetched.            By default, the list action interprets its pattern as if --fixed-string was            specified.        list-indices            List the known Content indices and their status in a human readable format.            These indices can be searched via the -I option (when enabled and after fetching            the indices).  The output is subject to change without notice and is therefore            unsuited for script usage / automation.            For a machine-readable formats (e.g. automation), please use apt-config dump            (search for options starting with Acquire::IndexTargets) and apt-get indextargets            for checking the cache (Look for entries with an Identifier field starting with            Contents-).            Note that inpidual sources.list entries can override the global default.            Please consult sources.list(5) for more information on advanced configuration of            the sources.list files.        search            Search in which package a file is included. A list of all packages containing the            pattern pattern is returned.            Since Contents files does not contain directories, the pattern must match (part            of a) file name.            By default, the search action interprets its pattern as if --substring-match was            specified.        show            Alias for list.        update            This action that just calls apt update or apt-get update (depending on whether a            tty is available).            The only advantage using this over a regular apt update or apt-get update            directly is for the case where you have configured an apt-file specific            configuration (via the Dir::Etc::apt-file-main configuration option).  In that            case, said configuration will be included automatically. OPTIONS        The following options are available:        -a, --architecture architecture[,...]            This option is useful if you search a package for a different architecture from            the one installed on your system.            It can be a comma-separated list for searching on multiple architectures.        -c, --config-file APT config-file            Configuration File; Specify a configuration file to use. The program will read            the default configuration file and then this configuration file. If configuration            settings need to be set before the default configuration files are parsed specify            a file with the APT_CONFIG environment variable. See apt.conf(5) for syntax            information.            The configuration file will be read relative to when it appears on the command            line and can overwrite options that appear before it.            Note that the config file will also be passed to all APT tools called by apt-            file.        -D, --from-deb            Use contents of the given .deb archives(s) as patterns.  Useful for searching for            file conflicts with other packages.  Implies -F.        -f, --from-file            Read patterns from the given file(s), one per line.  Use - as filename for stdin.            If no files are given, then the list will be read from stdin.  This is much            faster than invoking apt-file many times.        --filter-origins origin[,...]            Only search indices from the listed origins (e.g. "Debian").            This filter matches against the name listed in the Origin field from the Release            file.            If set to "*", this filter will be disabled (mostly useful for overriding the            setting in a configuration file)            Alias of the APT config option: apt-file::Search-Filter::Origin        --filter-suites suite[,...]            Only search indices from the listed suites or codenames (e.g. "unstable").            This filter matches against the name listed in the Codename and Suite fields from            the Release file.  This means that either "unstable" or "sid" will match Debian"s            unstable suite.            If set to "*", this filter will be disabled (mostly useful for overriding the            setting in a configuration file)            Alias of the APT config option: apt-file::Search-Filter::Suite        -F, --fixed-string            Do not expand search pattern with generic characters at pattern"s start and end.            This is default for show and list actions.        --index-names type[,...], -I type[,...]            Only search indexes of the given name(s). If set to the special value ALL (case-            sensitive), then all apt-file indices are searched.            The name(s) must match one or more of the identifiers used in the APT            configuration (minus leading "Contents-").  Example if the configuration has the            following snippets:             Acquire::IndexTargets::deb::Contents-deb { ... };             Acquire::IndexTargets::deb-src::Contents-dsc { ... };             Acquire::IndexTargets::deb::Contents-udeb { ... };             Acquire::IndexTargets::deb::Contents-deb-legacy {                # Explicitly named to "Contents-deb"                Identifier "Contents-deb";                ...;             };            Then, apt-file will recognise "deb", "dsc" and "udeb" as index names.            This option defaults to the value of the "apt-file::Index-Names" apt config            option (or "deb" if omitted).        -i, --ignore-case            Ignore case when searching for pattern.        -l, --package-only            Only display package name; do not display file names.        -o, --option APT::Option=Value            Set a Configuration Option; This will set an arbitrary configuration option. The            syntax is -o APT::Option=Value.  -o and --option can be used multiple times to            set different options.            This option can be used to overwrite other command line options (e.g. "-o            apt-file::Search-Filter::Origin=Debian" is effectively the same as            "--filter-origins Debian").            Note that the config options passed via this option will also be passed to all            APT tools called by apt-file.        --substring-match            Match if the given search pattern is a substring of a path or package.            This is default for search and find actions.        -v, --verbose            Run apt-file in verbose/debug mode.        -x, --regexp            Treat pattern as a (perl) regular expression. See perlreref(1) for details.            Without this option, pattern is treated as a literal string to search for.            Be advised that this option can be rather slow.  If performance is an issue,            consider giving apt-file non-regex pattern matching too much and pipe the output            to perl -ne "//".  This enables apt-file to use more optimizations            and leaves less work to the "slower" regex.        -h, --help            Display a short help screen. CONFIGURATION FILES        The apt-file command relies on the APT configuration.  Notably, the default        configuration makes apt fetch Contents files by default during a call to apt update.        For information on how to configure APT to fetch more or fewer Contents files, please        refer to /usr/share/doc/apt-file/README.md.gz.        The following files are notably interesting:        /etc/apt/apt-file.conf            Note this path is actually configurable by changing the value of the APT            configuration called "Dir::Etc::apt-file-main".  The listed value is merely the            default value of that option.            If this file is present, apt-file will read this file after all default APT            configuration files.  Any config file -c or option (-o) will be evaluated before            this file (and can override options set in it).            The file will also be passed on to all APT tools called by apt-file.        /etc/apt/apt.conf.d/50apt-file.conf            Chooses which Contents files to download.  Note that apt-file recognises only            "Acquire" targets that starts with "Contents-".    Special configurations similar to apt-file 2        Here are some apt-file 2 related work flows and how to (almost) emulate them with        apt-file 3.  They are documented as a starting point for people, who are attached to        these.        The emulation may not be perfect for you out of the box.  Patches are welcome to keep        the examples updated as long as the examples remain "trivial".        •   Only make apt-file update fetch Contents files            If you are accustomed to apt update not fetching Contents files, then you can run            /usr/share/doc/apt-file/examples/apt-file-2-update.sh.  This script will            configure apt and apt-file accordingly after best effort.            Please read the resulting /etc/apt/apt-file.conf.        •   Creating/using "user" caches            Previous versions of apt-file had a "--cache" option, which could be used to            denote a directory to store the Contents files.  This can be emulated by doing:              # Setup              $ mkdir -p ~/.cache/apt-file ~/.config              $ touch ~/.cache/apt-file/dpkg-status              $ sed "/^Dir::State/ d; /^Dir::Cache/ d;"                 /usr/share/doc/apt-file/examples/apt-file.conf                 > ~/.config/apt-file.conf              $ cat <> ~/.config/apt-file.conf            Dir::State "$HOME/.cache/apt-file";            Dir::Cache "$HOME/.cache/apt-file";            Dir::State::status "$HOME/.cache/apt-file/dpkg-status";            EOF              # Update the cache              $ apt-file -c ~/.config/apt-file.conf update              # Search using the cache              $ apt-file -c ~/.config/apt-file.conf show apt-file              # Removal of the cache + config              $ rm -fr ~/.cache/apt-file ~/.config/apt-file.conf            (You will probably want to add an alias apt-file in your ~/.bashrc)            Please read the resulting ./apt-file-user-cache.conf. BUGS, QUIRKS        There are some known issues or "quirks" that are good to keep in mind.        •   The Contents files do not include a leading slash on paths.  This means that            /bin/ls is listed as bin/ls in the Contents file.  If you are looking for            something in a top-level directory, it is often better to omit the leading slash.            The search algorithm will attempt to work around the leading slash, but it will            not work in all cases.  As a workaround, try to pull the leading slash to the            beginning of regular expressions.  For example, use "/(?:usr/bin/vim|sbin/lvm)"            instead of  "/usr/bin/vim|/sbin/lvm".        •   When a new line has been added to the sources.list and apt update has not been            run, apt-file does not print a warning message.        •   By default, apt-file assumes that Contents files do not include a descriptive            header (explaining what the file is and how to interpret it).  However, some            tools have generated them with such a header (e.g. for old versions of Contents            files for the Debian archive or Contents files generated by reprepro prior to            version 5.2.0).            If you search such files, you will want to set            apt-file::Parser::Check-For-Description-Header to true (e.g. in            /etc/apt/apt.conf.d/50apt-file.conf) to have apt-file properly filter out the            headers to avoid false matches.            The reason this is not the default is that it costs a factor 2 in overhead while            most common Contents files no longer have the header.  (see #881405 for more            details).        •   Not all APT repositories have Contents files.  Notably common install media (CDs            etc.) may omit them to conserve space.            The default configuration by apt-file marks Contents files as optional and will            just silently fail to search in Contents files in such repositories. EXIT CODES        apt-file has the following defined exit codes, which can be used for scripting        purposes.        0   apt-file returned successfully.  If the command was a search, there was at least            one result.        1   apt-file completed a search successfully, but it had no results.        2   An error occurred (including invalid/conflicting user options).        3   apt-file could not complete the command because the cache was empty.  Please            ensure there are indices enabled in the APT config and run apt update to fetch            them.        4   apt-file could not complete the command because the cache does not have any files            matching the restrictions.  Either change the restrictions (e.g. --index-names)            or configure apt to fetch the relevant files and run apt update.        255 There was an internal errors / uncaught exception in apt-file.  Please file a bug            against apt-file.        Any other exit code is reserved for future use. SEE ALSO        apt(1), apt-cache(8), apt.conf(5)        The APT users guide in /usr/share/doc/apt/        The example config in /usr/share/doc/apt-file/examples        The README at /usr/share/doc/apt-file/README.md.gz perl v5.28.1                             2019-02-09                              APT-FILE(1)

让你远离幸福的五个信念定义幸福是困难的,但更难的是意识到幸福不是获得的东西,而是生活的东西我们都在寻求幸福,这是我们的最终目标,但有时当我们可能找不到幸福的秘密时,在别人身上看到幸福会让我们烦恼。但是,孩子一觉醒来,突然说耳朵听不清了?医院一查结果笑了耳屎太多如果说眼睛是心灵的窗户,那么耳朵就是思维的大门,通过眼睛我们能看到多彩的世界,而通过耳朵我们能够聆听世界的声音。耳朵和眼睛协同合作,才能让世界多姿又多彩,给万物赋予属于自己的声音和教你六道家常小菜,简单味美又下饭,学会这些菜从此不用点外卖哈喽,大家好,我是探险家!今天给大家带来一个家常小菜做法教程的合集,教你六道家常小菜,不仅好吃下饭,而且简单易做,好吃好做还省钱,还不快来学一学?第一道麻婆豆腐食材老豆腐葱末姜末蒜奶奶给百天宝宝办开荤仪式,结果孙子进医院,这种仪式感是坑吗?在我国的历史长河中,有很多习俗一直流传到现在,其中不乏有些糟粕习俗已经被摒弃,但是更多的习俗都是寓意着我们的生活,可以更幸福更有仪式感。就比如说现在的小孩子们,我们比较了解的就是抓王震之子王军执掌中信27年从无败绩,退休后奔赴新疆,投资3年王军2019年6月,中信集团原董事长王军离世,享年78岁,众人沉痛哀悼。人们印象中,王军的人生似乎一帆风顺,出生于显赫的家庭,有着成功的事业,快意自在。难以想象,看似光鲜亮丽的王军1994年东北农民2次和外星女友约会,60年后混血儿将在木星出生三体中说,在宇宙中,你再快都有人比你更快,浩瀚宇宙没有边界,远超地球的文明不计其数,外星人或许早已到访过这颗蔚蓝色的星球,但是人类太过渺小,对这类接触还不够清楚,只能任其沦为悬案。医院很少开的12种中成药,既实用又便宜,家庭必备,健康首选1风寒感冒伤风停胶囊。用于外感风寒,恶寒发热,头痛,鼻塞,鼻流清涕,肢体酸重,喉痒咳嗽,咳嗽痰清稀,及上呼吸道感染,感冒鼻炎等见上述症候者。2痰湿咳嗽羚贝止咳糖浆。成分主要是由紫菀50岁李亚鹏又当爹,90后娇妻8月孕肚首次曝光,他一副大男人做派服装款式的选择,和本身的体型有着直接联系,除了正常发福外,孕期体型的变化,更是直接带来了着装款式的改变。久违露面的李亚鹏,携带90后娇妻亮相医院产检,海哈金喜明显已经到了孕后期,走李春江下狠手!CBA国手被弃用,或重返新疆男篮这场比赛开局大家投入不够,下半场有所改进,我一再强调,比赛是一场场去打,希望队伍能够意识到这个问题,输球我是有责任的。输给吉林队,李春江主动揽责,最近上海队因为更衣室问题被不少辽宁胃不好的人,别再这样喝粥了最近季节交替,天气忽冷忽热,导致我们的胃格外容易闹毛病胃痛胃胀胃部肌肉抽搐等问题接踵而至。于是,很多人会喝粥吃面条来养胃。但其实,对于健康的人而言,经常喝粥反而容易引起胃功能减退。不负春光甘霖干府记漹三2020级八美女神节不负春光甘霖干府记漹三2020级八美女神节文字编辑王莉李玲黄秀琴李文利图片编辑赵晓娟李雪芬张琴何静多情的三月,也抵不过一场油菜花的绽放。黄灿灿的油菜花,在微风的温拂下,花海似潮,跌
生育假又延长一个月,有的女职工却说更不敢生孩子了最近多地宣布修改计划生育条例,加码生育福利,延长生育假期。大多数地区将女性产假增至158天,配偶陪产假大多为15天。江西青海女性产假达到188天。此外,一些省份还延长了生二孩三孩的1000元人民币,去泰国旅游是一种什么体验?听听当地姑娘怎么说提到东南亚旅行,相信很多游客都会联想到泰国这个国家,再加上现在互联网发展迅速,很多游客都在网上了解了泰国的旅游风貌。(此处已添加小程序,请到今日头条客户端查看)下面我们就详细来了解年假清零去哪儿?主题酒店沉浸式度假出圈2021年已经余额不足,你的年假清零了吗?在主题酒店沉浸式度假成为越来越多人的选择。途牛旅游网数据显示,10月份以来,带有亲子电竞乐园温泉等标签的主题酒店日均搜索预订量持续攀升。主艾嘉仁男女生冬季养生有哪些不同随着人们健康意识的逐步深入,近年来我们总能看到各种各样的养生信息。冬季养生是大部分人比较好的选择,但其实冬季养生男女生是存在一定差别的。具体体现在哪些地方呢,下面就来看看吧。首先相张继科晒全家福,妈妈皮肤白皙颜值高,父子俩顽皮比剪刀手张继科妈妈生日,一家三口一起度过了一个美好的夜晚。张继科拿出一张全家福照片,与大家分享这份美好。此外,他充满诗意,用一首诗祝福了夜晚的寿星天生聪慧温柔,生活舒适无忧。按快门设置这个前八一小将未来值不值得一个锋线名额?一赵睿持球到前场一个大斜线传给了埋伏在左侧底角的孙铭徽,后者一个大甩接着传给了45度角的徐杰徐中锋一个横传又把球给回到了同样在45度角的赵睿,一个回合三次传球应该差不多了,但是赵睿艾弗森假如奥尼尔在76人,我也能夺冠,并且我做得比科比还好最近艾弗森发表言论,我2001年总决赛是非常难忘的一场总决赛,但是那场总决赛我并不是输给科比的,而是输给了奥尼尔,非常遗憾,他太强大了,如果我拥有奥尼尔,我也能夺取冠军,至于几个我快本回归不顺利,录节目占用图书馆引热议,主持人或将大换血快乐大本营已经停播有六个周之久,在这六个周当中很多的粉丝都非常期待着他的回归。尤其是看到另外一档老牌节目天天向上回归之后,对快本重新上架的信心再一次被占满。近日,网上爆料,快乐大本被群嘲上有老下有小还有能赚钱的李湘嫂的王岳伦真离了?前几天都被王岳伦宣布离婚又秒删微博的新闻刷屏,说实话,一点也不惊讶,感觉意料中的事,只是时间早晚而已。王岳伦可能也是这种感觉吧,十有八九会离,只是到来的时间早晚而已。犹犹豫豫想发微48岁郭德纲开老婆豪车下班,累到背都直不起来,被徒弟簇拥气场强11月30日,有网友在天津德云社门口偶遇郭德纲下班。他被一群徒弟簇拥在中间,气场超强。48岁的郭德纲身穿一件黑色的棉衣,打扮得非常朴素低调。他戴着口罩包裹严实,走在徒弟的中间一声不4种食物是胃部修复剂,胃不好多吃点,胃部或可更健康俗话说十人九胃,就是说10个人中有9个人,胃部有毛病。由此看来胃部毛病存在于普遍性。像食欲不振呕吐胃痛一样,都是胃部不适的表现。胃部是人体中最为重要的消化器官,人们有正常的生物钟,