Additional commands for Ubuntu Downloader utility
From the command line, use any of the following commands to obtain additional information.
To display the downloader help file, enter the following command:
debian_downloader.bat -help
To display version information for the downloader, enter the following command:
debian_downloader.bat -version
To list all available debian supported subscriptions, enter the following command:
debian_downloader.bat -listDists
To list all available debian supported subscriptions in the given configuration file, enter the following command:
debian_downloader.bat -listDists <configFile>
This command uses the following variable:
Variable
Description
<configFile>
Name of the configuration file
To generate a filter for the configuration file, enter the following command:
debian_downloader.bat -addAptRepository -configFile <configFile> -debian <flavor> -osVersion <version> -debArch <arch> -debRepo <apt-get repository>This command uses the following variables:
Variable
Description
<configFile>
Name of the configuration file. If the configuration file does not exist, a new file will be created
<flavor>
Flavor of the OS, either 'Debian' or 'Ubuntu'
<version>
Version of OS. For example, '11.10' for Ubuntu
<arch>
OS architecture type, either 'x86' or 'x86_64'. If this option is not mentioned, both architectures will be filtered.
<apt-get repository>
apt-get repository specified in sources.list format: baseURL Distribution [Component1] [Component2]...[Component n]
For example, http://archive.ubuntu.com/ubuntu natty Main Restricted
To delete a distribution from a given configuration file, enter the following command:
debian_downloader.bat -deleteAptRepository -configFile <configFile> -debian <flavor> -osVersion <version> -debArch <arch> -debRepo <apt-get repository>
This command uses the following variables:Variable
Description
<configFile>
Name of the configuration file. If the configuration file does not exist, a new file will be created
<flavor>
Flavor of the OS, either 'Debian' or 'Ubuntu'
<version>
Version of OS. For example, '11.10' for Ubuntu
<arch>
OS architecture type, either 'x86' or 'x86_64'. If this option is not mentioned, both architectures will be filtered.
<apt-get repository>
apt-get repository specified in sources.list format: baseURL Distribution [Component1] [Component2]...[Component n]
For example, http://archive.ubuntu.com/ubuntu natty Main Restricted
Related topic