6.16 Wajig Available Packages
The Debian packaging system relies on your local system having some idea of what packages are available. This is initialised when you install your system. You will generally need to update this list of packages with what is currently available from the Debian archives for downloading. If you are staying with the stable release you generally only need to update the list of available packages once. The following command is used to update the information about what is available for downloading:
(In brackets after the wajig command is the underlying command that wajig calls upon to perform the operation.)
This uses entries in the file /etc/apt/sources.list
to know
where to get the list of available packages from and which release of
Debian you wish to follow. You can edit this file with:
You need to understand the format of the file
/etc/apt/sources.list
as explained in the manual page:
It is pretty straightforward and we will see examples in the next section.
If you have a Debian CD-ROM or DVD-ROM then you can tell apt what is available on it using:
If you want to check when you last did an update then:
There are quite a few archives available and you can test for a good connection to one with:
This will write a candidate sources.list in the current directory, which you can then review and add to the system sources.list, if you wish, with
Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0