Download virtual package

Clash Royale CLAN TAG#URR8PPP up vote
2
down vote
favorite
I'm developing the script that downloads all the packages from Ubuntu repository. I know that Ubuntu repository is open via HTTP. So it's possible to download the entire folders (in my particular case http://archive.ubuntu.com/ubuntu/dists/trusty*). But I would like to download the packages via apt. apt is good choice because it not only downloads the packages but verifies signatures as well.
The steps are the following:
- Get names of all the packages via
apt-cache pkgnames - For each name discovered at the previous step execute
apt-get download <package_name>
It sounds good. But virtual packages are the trap.
I'm aware that virtual package is not a package, e.g. not a deb-file. It's logical group of normal packages or synonym for the certain normal package (so the commands like apt-cache show mail-transport-agent will fail). I suppose that virtual package is actually represented in repository as a file. Such file contains metadata about normal packages the virtual package stands for.
Is it possible to download virtual package metadata file via apt? Where is virtual package metadata located in general?
14.04 apt package-management repository
add a comment |Â
up vote
2
down vote
favorite
I'm developing the script that downloads all the packages from Ubuntu repository. I know that Ubuntu repository is open via HTTP. So it's possible to download the entire folders (in my particular case http://archive.ubuntu.com/ubuntu/dists/trusty*). But I would like to download the packages via apt. apt is good choice because it not only downloads the packages but verifies signatures as well.
The steps are the following:
- Get names of all the packages via
apt-cache pkgnames - For each name discovered at the previous step execute
apt-get download <package_name>
It sounds good. But virtual packages are the trap.
I'm aware that virtual package is not a package, e.g. not a deb-file. It's logical group of normal packages or synonym for the certain normal package (so the commands like apt-cache show mail-transport-agent will fail). I suppose that virtual package is actually represented in repository as a file. Such file contains metadata about normal packages the virtual package stands for.
Is it possible to download virtual package metadata file via apt? Where is virtual package metadata located in general?
14.04 apt package-management repository
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I'm developing the script that downloads all the packages from Ubuntu repository. I know that Ubuntu repository is open via HTTP. So it's possible to download the entire folders (in my particular case http://archive.ubuntu.com/ubuntu/dists/trusty*). But I would like to download the packages via apt. apt is good choice because it not only downloads the packages but verifies signatures as well.
The steps are the following:
- Get names of all the packages via
apt-cache pkgnames - For each name discovered at the previous step execute
apt-get download <package_name>
It sounds good. But virtual packages are the trap.
I'm aware that virtual package is not a package, e.g. not a deb-file. It's logical group of normal packages or synonym for the certain normal package (so the commands like apt-cache show mail-transport-agent will fail). I suppose that virtual package is actually represented in repository as a file. Such file contains metadata about normal packages the virtual package stands for.
Is it possible to download virtual package metadata file via apt? Where is virtual package metadata located in general?
14.04 apt package-management repository
I'm developing the script that downloads all the packages from Ubuntu repository. I know that Ubuntu repository is open via HTTP. So it's possible to download the entire folders (in my particular case http://archive.ubuntu.com/ubuntu/dists/trusty*). But I would like to download the packages via apt. apt is good choice because it not only downloads the packages but verifies signatures as well.
The steps are the following:
- Get names of all the packages via
apt-cache pkgnames - For each name discovered at the previous step execute
apt-get download <package_name>
It sounds good. But virtual packages are the trap.
I'm aware that virtual package is not a package, e.g. not a deb-file. It's logical group of normal packages or synonym for the certain normal package (so the commands like apt-cache show mail-transport-agent will fail). I suppose that virtual package is actually represented in repository as a file. Such file contains metadata about normal packages the virtual package stands for.
Is it possible to download virtual package metadata file via apt? Where is virtual package metadata located in general?
14.04 apt package-management repository
14.04 apt package-management repository
asked Feb 15 at 12:25
flaz14
1417
1417
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1006456%2fdownload-virtual-package%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password