Safe Haskell | None |
---|
- sourcesList :: FilePath
- type Url = String
- type Section = String
- data Suite
- = Stable
- | Testing
- | Unstable
- | Experimental
- showSuite :: Suite -> String
- debLine :: Suite -> Url -> [Section] -> Line
- srcLine :: Line -> Line
- stdSections :: [Section]
- debCdn :: Suite -> [Line]
- stdSourcesList :: Suite -> Property
- setSourcesList :: [Line] -> Property
- runApt :: [String] -> Property
- update :: Property
- upgrade :: Property
- type Package = String
- installed :: [Package] -> Property
- removed :: [Package] -> Property
- isInstallable :: [Package] -> IO Bool
- isInstalled :: Package -> IO Bool
- isInstalled' :: [Package] -> IO [Bool]
- autoRemove :: Property
- unattendedUpgrades :: Bool -> Property
- reConfigure :: Package -> [(String, String, String)] -> Property
Documentation
stdSections :: [Section]Source
stdSourcesList :: Suite -> PropertySource
Makes sources.list have a standard content using the mirror CDN, - with a particular Suite.
setSourcesList :: [Line] -> PropertySource
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.