Differences between revisions 1 and 24 (spanning 23 versions)
Revision 1 as of 2006-06-14 14:39:35
Size: 1931
Editor: ?stoned
Comment:
Revision 24 as of 2020-05-06 07:41:42
Size: 4258
Editor: PaulWise
Comment: update example texts
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#language en

~-[[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[it/IRC/DpkgBot|Italiano]] -~
----

= DpkgBot on #debian =
Line 3: Line 10:
DpkgBot is a blootbot running in #debian on Freenode IRC (irc.freenode.net) and OFTC (irc.oftc.net). The bot's nickname is dpkg. It is a blootbot that stores and retrieves factoids and answers to frequently asked questions. !DpkgBot is a bot running in #debian on Freenode IRC (irc.freenode.net) and OFTC (irc.oftc.net). The bot's nickname is dpkg. It is an infobot that stores and retrieves factoids and answers to frequently asked questions. The dpkg bot is an excellent resource.
Line 5: Line 12:
The dpkg bot is an excellent resource. If your question does not pertain to a particularly specific problem, then it may fall under the FAQ category. For example, if you wish to know how to install Java Runtime Env. for debian, instead of asking in the channel, you can type #debian's resources are there for your to search, read, learn, and investigate on your own. When you have exhausted every avenue and still are unable to find a solution to your problem, or you believe that your problem might NOT fall under the FAQ (Frequently Asked Questions) category, please feel free to ask in the #debian IRC channel on OFTC (irc.debian.org) or on Freenode IRC (irc.freenode.net).
Line 7: Line 14:
/msg dpkg java ----
As an example, if you wish to know how to install Java Runtime Environment for Debian, instead of asking in the channel, you can type
Line 9: Line 17:
OR '''''/msg dpkg java''''' OR '''''/msg dpkg install java'''''
Line 11: Line 19:
/msg dpkg install java

The replies you recieve from dpkg will sometimes contain additional keywords you should look up as well. These keywords will appear in angle brackets <>.
The replies you receive from dpkg will sometimes contain additional keywords you should look up as well. These keywords will appear in angle brackets <>.
Line 17: Line 23:
/msg dpkg install java '''''/msg dpkg install java'''''
Line 19: Line 25:
dpkg> from memory, install java is First, read <java licensing>. Free java implementations available in debian can be seen by running "apt-cache search java-virtual-machine". if you need to run software not supported by one of the free java implementations (anything not in main), the java-package package (needs a contrib source), then ask me about <java-package> or install the sun-java5-jdk package from non-free if you're using unstable. <dpkg> To install the java runtime environment (JRE) to run java programs, install 'default-jre'; to compile java sources, install 'default-jdk'. You will often find additional openjdk-$X-jre or openjdk-$X-jre versions in <backports>. See also <java alternatives>, <java plugin>.
Line 22: Line 28:
This contains the keywords <java licensing> and upon asking dpkg we get This contains the keywords <java alternatives> and upon asking dpkg we get
Line 24: Line 30:
/msg dpkg java licensing '''''/msg dpkg java alternatives'''''
Line 26: Line 32:
dpkg> read the faq at http://www.debian.org/doc/manuals/debian-java-faq/ch5.html#s-license-concerns <dpkg>Rather than using update-alternatives (or galternatives) to set each individual alternative for java (and there are lots of them!), use update-java-alternatives. To see a list of the valid java alternatives, use "update-java-alternatives --list". To select the amd64 openjdk-7 java runtime environment, "update-java-alternatives --set java-1.7.0-openjdk-amd64".
                 (copied and pasted verbatim from the dpkg bot output)

----
If you are not sure whether your question has already been covered by the FAQ or not, you can use the search functions.

'''''/msg dpkg listkeys'''''
to search the keys part of the database

'''''/msg dpkg listvals'''''
to search within the values of all keys

For more information on dpkg commands see the (possibly outdated) [[http://www.infobot.org/guide-0.43.x.html|Infobot Guide]] or the [[https://sourceforge.net/p/infobot/code/HEAD/tree/trunk/doc/USAGE|USAGE documentation]].

----

There are times when the bot is experiencing network problems, for any number of reasons, and might be unavailable or offline. In instances like these, you can use the factoid database of backup bots.

These are the botnames of the backup bots, which operate just as dpkg does.

'''dselect''' ( /msg dselect ''keyword here'' ) This bot's factoid database is normally a daily snapshot of dpkg's and the bot normally only appears when someone notices dpkg has gone missing.

'''NOTE:''' The backup bots are not always online
Line 29: Line 57:
If you are not sure weather your question has already been covered by the FAQ or not, you can use the search functions. There are times when none of the bots are online. In a situation like this, you can get all your factoid information from the following website.
Line 31: Line 59:
/msg dpkg listkeys
to search the keys part of the database
 http://ircbots.debian.net/
Line 34: Line 61:
OR This website's factoid database is updated daily. It provides a textbox control where you can enter search terms or queries including wildcards (*). It also allows you to search the factoid database like the bots do, that is, you can search by factoid name (key), or by the information contained in a particular factoid (value), or by the nickname of the author who contributed a certain factoid.
Line 36: Line 63:
/msg dpkg listvals
to search within the values of all keys
A nightly dump of the factoid database is available from https://dpkg.donarmstrong.com/ Dumps from the last 18 days are also available.

----

See also:

 * [[http://ircbots.debian.net/judd/|judd]] #debian's window into the [[UltimateDebianDatabase|Ultimate Debian Database]]

Translation(s): English - Italiano


DpkgBot on #debian

Some questions are asked repeatedly, and in order to save time and wasteful effort, automated systems of information retrieval have been setup for use in #debian.

DpkgBot is a bot running in #debian on Freenode IRC (irc.freenode.net) and OFTC (irc.oftc.net). The bot's nickname is dpkg. It is an infobot that stores and retrieves factoids and answers to frequently asked questions. The dpkg bot is an excellent resource.

#debian's resources are there for your to search, read, learn, and investigate on your own. When you have exhausted every avenue and still are unable to find a solution to your problem, or you believe that your problem might NOT fall under the FAQ (Frequently Asked Questions) category, please feel free to ask in the #debian IRC channel on OFTC (irc.debian.org) or on Freenode IRC (irc.freenode.net).


As an example, if you wish to know how to install Java Runtime Environment for Debian, instead of asking in the channel, you can type

/msg dpkg java OR /msg dpkg install java

The replies you receive from dpkg will sometimes contain additional keywords you should look up as well. These keywords will appear in angle brackets <>.

For example, here is the output of <install java>

/msg dpkg install java

<dpkg> To install the java runtime environment (JRE) to run java programs, install 'default-jre'; to compile java sources, install 'default-jdk'. You will often find additional openjdk-$X-jre or openjdk-$X-jre versions in <backports>. See also <java alternatives>, <java plugin>.

  • (copied and pasted verbatim from the dpkg bot output)

This contains the keywords <java alternatives> and upon asking dpkg we get

/msg dpkg java alternatives

<dpkg>Rather than using update-alternatives (or galternatives) to set each individual alternative for java (and there are lots of them!), use update-java-alternatives. To see a list of the valid java alternatives, use "update-java-alternatives --list". To select the amd64 openjdk-7 java runtime environment, "update-java-alternatives --set java-1.7.0-openjdk-amd64".

  • (copied and pasted verbatim from the dpkg bot output)


If you are not sure whether your question has already been covered by the FAQ or not, you can use the search functions.

/msg dpkg listkeys to search the keys part of the database

/msg dpkg listvals to search within the values of all keys

For more information on dpkg commands see the (possibly outdated) Infobot Guide or the USAGE documentation.


There are times when the bot is experiencing network problems, for any number of reasons, and might be unavailable or offline. In instances like these, you can use the factoid database of backup bots.

These are the botnames of the backup bots, which operate just as dpkg does.

dselect ( /msg dselect keyword here ) This bot's factoid database is normally a daily snapshot of dpkg's and the bot normally only appears when someone notices dpkg has gone missing.

NOTE: The backup bots are not always online

There are times when none of the bots are online. In a situation like this, you can get all your factoid information from the following website.

This website's factoid database is updated daily. It provides a textbox control where you can enter search terms or queries including wildcards (*). It also allows you to search the factoid database like the bots do, that is, you can search by factoid name (key), or by the information contained in a particular factoid (value), or by the nickname of the author who contributed a certain factoid.

A nightly dump of the factoid database is available from https://dpkg.donarmstrong.com/ Dumps from the last 18 days are also available.


See also: