debian-3.17.1: Modules for working with the Debian package systemSource codeContentsIndex
Debian.Repo.AptImage
Description
The AptImage object represents a partial OS image which is capable of running apt-get, and thus obtaining repository info and source code packages.
Synopsis
prepareAptEnv :: CIO m => FilePath -> SourcesChangedAction -> NamedSliceList -> AptIOT m AptImage
updateAptEnv :: CIO m => AptImage -> AptIOT m AptImage
aptGetSource :: (AptCache t, CIO m) => EnvPath -> t -> PkgName -> Maybe DebianVersion -> m DebianBuildTree
Documentation
prepareAptEnv :: CIO m => FilePath -> SourcesChangedAction -> NamedSliceList -> AptIOT m AptImageSource
updateAptEnv :: CIO m => AptImage -> AptIOT m AptImageSource
Run apt-get update and then retrieve all the packages referenced by the sources.list. The source packages are sorted so that packages with the same name are together with the newest first.
aptGetSource :: (AptCache t, CIO m) => EnvPath -> t -> PkgName -> Maybe DebianVersion -> m DebianBuildTreeSource
Retrieve a source package via apt-get.
Produced by Haddock version 2.4.2