[debian-edu-commits] [Debian Wiki] Update of "DebianEdu/Documentation/en/ITIL/UsefulCommands" by PetterReinholdtsen

Debian Wiki debian-www at lists.debian.org
Sun May 17 07:33:20 UTC 2015


Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Debian Wiki" for change notification.

The "DebianEdu/Documentation/en/ITIL/UsefulCommands" page has been changed by PetterReinholdtsen:
https://wiki.debian.org/DebianEdu/Documentation/en/ITIL/UsefulCommands?action=diff&rev1=12&rev2=13

  
  To install packages one need to tell from where they should be fetched. In other words, which package archive to use.
  
- One can specify package archives in the file <tt>/etc/apt/sources.list</tt>
+ One can specify package archives in the file `/etc/apt/sources.list`
  
  You can work with package management at the command line. It is more graphical applications like for example KPackage [[#!UsefulCommands--kpackage|7]] or Webmin [[#!UsefulCommands--webmin|12]]
  
@@ -309, +309 @@

  }}}
  Just press '''Enter''' or 'Y' and '''Enter'''. The packages will be downloaded and installed automatically. One will get a change log when the upgrade begins.
  
- Once you have upgraded, you can delete the packages downloaded in the directory<tt>/var/cache/apt/archives/</tt>. Use the command
+ Once you have upgraded, you can delete the packages downloaded in the directory`/var/cache/apt/archives/`. Use the command
  
  '''apt-get clean'''
  
- to clear the archive. This should be done occasionally. Otherwise <tt>/var</tt> becomes filled up.
+ to clear the archive. This should be done occasionally. Otherwise `/var` becomes filled up.
  
  === Warning ===
  
@@ -463, +463 @@

       0.3.8-1 0
          500 http://ftp.debian.org sarge/main Packages
  }}}
- One sees package kdissert is not installed, but available for installation in version 0.3.8-1 from <tt>http://ftp.debian.org
+ One sees package kdissert is not installed, but available for installation in version 0.3.8-1 from `http://ftp.debian.org
- sarge/main</tt>
+ sarge/main`
  
  == Installation of packages ==
  
@@ -789, +789 @@

  
  finding which package a file came from. One can extract the package to get back the systems file like we show here.
  
- First you need to fetch the deb package in question. This can be done by placing it in the <tt>/tmp</tt> directory. Use this command to unpack the files in this directory
+ First you need to fetch the deb package in question. This can be done by placing it in the `/tmp` directory. Use this command to unpack the files in this directory
  
  '''dpkg --vextract <package name> /tmp'''
  
- . Then the required directories will be created in <tt>/tmp</tt> and the files are placed there.
+ . Then the required directories will be created in `/tmp` and the files are placed there.
  
  '''dpkg --vextract <package name> /tmp'''
  
@@ -815, +815 @@

  
  '''dpkg-scanpackages dpkg /dev/null | gzip -9c > dpkg/Packages.gz'''
  
- After this a new line is added to the file <tt>/etc/apt/sources.list</tt>:
+ After this a new line is added to the file `/etc/apt/sources.list`:
  
  {{{
  deb file:///var/www dpkg/
@@ -873, +873 @@

  RSA host key for 10.0.2.1 has changed and you have requested strict checking.
  Host key verification failed.
  }}}
- This is most likely because one logged in earlier into another machine with the IP address 10.0.2.1, or because the network card in Coyote Linux has been changed. It could also be an attack from a unknown man in the middle. The solution is to remove the key, in this case line number 27 in the <tt>/skole/tjener/home0/klaus/.ssh/known_hosts</tt> file.
+ This is most likely because one logged in earlier into another machine with the IP address 10.0.2.1, or because the network card in Coyote Linux has been changed. It could also be an attack from a unknown man in the middle. The solution is to remove the key, in this case line number 27 in the `/skole/tjener/home0/klaus/.ssh/known_hosts` file.
  
  === Exception handling ===
  



More information about the debian-edu-commits mailing list