Re: aptitude and apt-get to apt
Hi,
Simon Quigley <tsimonq2@ubuntu.com> wrote:
> Attached is a patch for the Installation Guide.
>
> Aptitude is not used a lot in the guide already, and apt comes
> preinstalled in a Debian system. I also converted apt-get to apt in that
> file.
>
> Let me know if you have any questions.
Thanks for the patch!
I found some more occurences of apt and aptitude.
See patch.
I will commit it shortly, if noone objects.
Thanks
Holger
--
============================================================
Created with Sylpheed 3.5.0 under
D E B I A N L I N U X 8 . 0 " J E S S I E " .
Registered Linux User #311290 - https://linuxcounter.net/
============================================================
Index: en/appendix/chroot-install.xml
===================================================================
--- en/appendix/chroot-install.xml (Revision 70187)
+++ en/appendix/chroot-install.xml (Arbeitskopie)
@@ -238,7 +238,7 @@
install the makedev package, and create a default set of static device files
using (after chrooting)
<informalexample><screen>
-# apt-get install makedev
+# apt install makedev
# mount none /proc -t proc
# cd /dev
# MAKEDEV generic
@@ -468,7 +468,7 @@
deb-src http://security.debian.org/ &releasename;/updates main
</screen></informalexample>
-Make sure to run <userinput>aptitude update</userinput> after you have
+Make sure to run <userinput>apt update</userinput> after you have
made changes to the sources list.
</para>
@@ -483,7 +483,7 @@
and configure it. Currently the use of UTF-8 locales is recommended.
<informalexample><screen>
-# aptitude install locales
+# apt install locales
# dpkg-reconfigure locales
</screen></informalexample>
@@ -490,7 +490,7 @@
To configure your keyboard (if needed):
<informalexample><screen>
-# aptitude install console-setup
+# apt install console-setup
# dpkg-reconfigure keyboard-configuration
</screen></informalexample>
@@ -511,7 +511,7 @@
and a boot loader. Identify available pre-packaged kernels with:
<informalexample><screen>
-# apt-cache search &kernelpackage;
+# apt search &kernelpackage;
</screen></informalexample>
</para><para>
@@ -519,7 +519,7 @@
Then install the kernel package of your choice using its package name.
<informalexample><screen>
-# aptitude install &kernelpackage;-<replaceable>arch-etc</replaceable>
+# apt install &kernelpackage;-<replaceable>arch-etc</replaceable>
</screen></informalexample>
</para>
@@ -531,8 +531,8 @@
To make your &debian-gnu; system bootable, set up your boot loader to load
the installed kernel with your new root partition. Note that
-<command>debootstrap</command> does not install a boot loader, though you
-can use <command>aptitude</command> inside your &debian; chroot to do so.
+<command>debootstrap</command> does not install a boot loader, but you
+can use <command>apt</command> inside your &debian; chroot to do so.
</para><para arch="any-x86">
@@ -551,7 +551,7 @@
Installing and setting up <classname>grub2</classname> is as easy as:
<informalexample><screen>
-# aptitude install grub-pc
+# apt install grub-pc
# grub-install /dev/<replaceable>sda</replaceable>
# update-grub
</screen></informalexample>
@@ -621,7 +621,7 @@
SSH and set up access.
<informalexample><screen>
-# aptitude install ssh
+# apt install ssh
</screen></informalexample>
@@ -669,7 +669,7 @@
# tasksel install standard
</screen></informalexample>
-Of course, you can also just use <command>aptitude</command> to install
+Of course, you can also just use <command>apt</command> to install
packages individually.
</para><para>
@@ -679,7 +679,7 @@
diskspace by running:
<informalexample><screen>
-# aptitude clean
+# apt clean
</screen></informalexample>
</para>
Index: en/boot-installer/trouble.xml
===================================================================
--- en/boot-installer/trouble.xml (Revision 70187)
+++ en/boot-installer/trouble.xml (Arbeitskopie)
@@ -549,7 +549,7 @@
If you have a working &debian; system, the easiest way to send an installation
report is to install the <classname>installation-report</classname> and
<classname>reportbug</classname> packages
-(<command>aptitude install installation-report reportbug</command>),
+(<command>apt install installation-report reportbug</command>),
configure <classname>reportbug</classname> as explained in
<xref linkend="mail-outgoing"/>, and run the command <command>reportbug
installation-reports</command>.
Index: en/howto/installation-howto.xml
===================================================================
--- en/howto/installation-howto.xml (Revision 70187)
+++ en/howto/installation-howto.xml (Arbeitskopie)
@@ -338,7 +338,7 @@
If you successfully managed an installation with &d-i;,
please take time to provide us with a report.
The simplest way to do so is to install the reportbug package
-(<command>aptitude install reportbug</command>), configure
+(<command>apt install reportbug</command>), configure
<classname>reportbug</classname> as explained in
<xref linkend="mail-outgoing"/>, and run
<command>reportbug installation-reports</command>.
Index: en/post-install/orientation.xml
===================================================================
--- en/post-install/orientation.xml (Revision 70187)
+++ en/post-install/orientation.xml (Arbeitskopie)
@@ -59,7 +59,7 @@
</para><para>
One of the best installation methods is apt. You can use the command
-line version <command>apt-get</command> or full-screen text version
+line version of <command>apt</command> or full-screen text version
<application>aptitude</application>. Note apt will also let you merge
main, contrib, and non-free so you can have export-restricted packages
as well as standard versions.
Index: en/preparing/bios-setup/powerpc.xml
===================================================================
--- en/preparing/bios-setup/powerpc.xml (Revision 70187)
+++ en/preparing/bios-setup/powerpc.xml (Arbeitskopie)
@@ -170,11 +170,11 @@
The package qemu-slof is, in fact, a dependency of package
qemu-system-ppc (which also provides the virtual package
qemu-system-ppc64), and can be installed or updated via
-<command>apt-get</command> tool on Debian-based distros.
+<command>apt</command> tool on Debian-based distros.
Like so:
<informalexample><screen>
-# apt-get install qemu-slof
+# apt install qemu-slof
</screen></informalexample>
SLOF can also be installed into rpm-based distribution systems, given
Index: en/preparing/minimum-hardware-reqts.xml
===================================================================
--- en/preparing/minimum-hardware-reqts.xml (Revision 70187)
+++ en/preparing/minimum-hardware-reqts.xml (Arbeitskopie)
@@ -94,7 +94,7 @@
contents, like logfiles. The
<command>dpkg</command> files (with information on all installed
packages) can easily consume 40MB. Also,
-<command>apt-get</command> puts downloaded packages here before they are
+<command>apt</command> puts downloaded packages here before they are
installed. You should
usually allocate at least 200MB for <filename>/var</filename>, and a lot
more if you install a graphical desktop environment.
Index: en/using-d-i/modules/apt-setup.xml
===================================================================
--- en/using-d-i/modules/apt-setup.xml (Revision 70187)
+++ en/using-d-i/modules/apt-setup.xml (Arbeitskopie)
@@ -7,13 +7,13 @@
<para>
One of the tools used to install packages on a &debian-gnu; system is
-a program called <command>apt-get</command>, from the
+the program <command>apt</command>, from the
<classname>apt</classname> package<footnote>
<para>
Note that the program which actually installs the packages is called
<command>dpkg</command>. However, this program is more of a low-level
-tool. <command>apt-get</command> is a higher-level tool, which will
+tool. <command>apt</command> is a higher-level tool, which will
invoke <command>dpkg</command> as appropriate. It knows how to retrieve
packages from your CD, the network, or wherever. It is also able to
automatically install other packages which are required to make the
Reply to: