Safe Haskell | None |
---|
- sourcesList :: FilePath
- type Url = String
- type Section = String
- showSuite :: DebianSuite -> String
- debLine :: DebianSuite -> Url -> [Section] -> Line
- srcLine :: Line -> Line
- stdSections :: [Section]
- binandsrc :: String -> DebianSuite -> [Line]
- debCdn :: DebianSuite -> [Line]
- kernelOrg :: DebianSuite -> [Line]
- stdSourcesList :: DebianSuite -> Property
- setSourcesList :: [Line] -> Property
- runApt :: [String] -> Property
- noninteractiveEnv :: [(String, String)]
- update :: Property
- upgrade :: Property
- type Package = String
- installed :: [Package] -> Property
- installed' :: [String] -> [Package] -> Property
- installedMin :: [Package] -> Property
- removed :: [Package] -> Property
- buildDep :: [Package] -> Property
- buildDepIn :: FilePath -> Property
- robustly :: Property -> Property
- isInstallable :: [Package] -> IO Bool
- isInstalled :: Package -> IO Bool
- isInstalled' :: [Package] -> IO [Bool]
- autoRemove :: Property
- unattendedUpgrades :: RevertableProperty
- reConfigure :: Package -> [(String, String, String)] -> Property
Documentation
showSuite :: DebianSuite -> StringSource
stdSections :: [Section]Source
binandsrc :: String -> DebianSuite -> [Line]Source
debCdn :: DebianSuite -> [Line]Source
kernelOrg :: DebianSuite -> [Line]Source
stdSourcesList :: DebianSuite -> PropertySource
Makes sources.list have a standard content using the mirror CDN, with a particular DebianSuite.
Since the CDN is sometimes unreliable, also adds backup lines using kernel.org.
setSourcesList :: [Line] -> PropertySource
noninteractiveEnv :: [(String, String)]Source
installed' :: [String] -> [Package] -> PropertySource
installedMin :: [Package] -> PropertySource
Minimal install of package, without recommends.
buildDepIn :: FilePath -> PropertySource
Installs the build deps for the source package unpacked in the specifed directory, with a dummy package also installed so that autoRemove won't remove them.
robustly :: Property -> PropertySource
Package installation may fail becuse the archive has changed. Run an update in that case and retry.
isInstallable :: [Package] -> IO BoolSource
isInstalled :: Package -> IO BoolSource
isInstalled' :: [Package] -> IO [Bool]Source
Note that the order of the returned list will not always correspond to the order of the input list. The number of items may even vary. If apt does not know about a package at all, it will not be included in the result list.
unattendedUpgrades :: RevertablePropertySource
Enables unattended upgrades. Revert to disable.