/usr/share/doc/python-apt/html/library/apt.debfile.html is in python-apt-doc 0.9.3.5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>apt.debfile — Classes related to debian package files — python-apt 0.9.3.5 documentation</title>
<link rel="stylesheet" href="../_static/default.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
VERSION: '0.9.3.5',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="top" title="python-apt 0.9.3.5 documentation" href="../index.html" />
<link rel="up" title="Python APT Library" href="index.html" />
<link rel="next" title="apt.package — Classes for package handling" href="apt.package.html" />
<link rel="prev" title="apt.cdrom - Functionality like in apt-cdrom" href="apt.cdrom.html" />
<link rel="shortcut icon" type="image/png" href="../_static/py.png" />
</head>
<body>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="apt.package.html" title="apt.package — Classes for package handling"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="apt.cdrom.html" title="apt.cdrom - Functionality like in apt-cdrom"
accesskey="P">previous</a> |</li>
<li><img src="../_static/py.png" alt=""
style="vertical-align: middle; margin-top: -1px"/></li>
<li><a href="../index.html">python-apt 0.9.3.5 documentation</a> »</li>
<li><a href="index.html" accesskey="U">Python APT Library</a> »</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body">
<div class="section" id="apt-debfile-classes-related-to-debian-package-files">
<h1><a class="reference internal" href="#module-apt.debfile" title="apt.debfile"><tt class="xref py py-mod docutils literal"><span class="pre">apt.debfile</span></tt></a> — Classes related to debian package files<a class="headerlink" href="#apt-debfile-classes-related-to-debian-package-files" title="Permalink to this headline">¶</a></h1>
<p>The <a class="reference internal" href="#module-apt.debfile" title="apt.debfile"><tt class="xref py py-mod docutils literal"><span class="pre">apt.debfile</span></tt></a> provides classes to work with locally available
debian packages, or source packages.</p>
<span class="target" id="module-apt.debfile"></span><div class="section" id="binary-packages">
<h2>Binary packages<a class="headerlink" href="#binary-packages" title="Permalink to this headline">¶</a></h2>
<dl class="class">
<dt id="apt.debfile.DebPackage">
<em class="property">class </em><tt class="descclassname">apt.debfile.</tt><tt class="descname">DebPackage</tt><big>(</big><em>filename=None</em>, <em>cache=None</em><big>)</big><a class="headerlink" href="#apt.debfile.DebPackage" title="Permalink to this definition">¶</a></dt>
<dd><p>A Debian Package (.deb file).</p>
<p>The <a class="reference internal" href="#apt.debfile.DebPackage" title="apt.debfile.DebPackage"><tt class="xref py py-class docutils literal"><span class="pre">DebPackage</span></tt></a> class is a class for working with ‘.deb’ files,
also known as Debian packages.</p>
<p>It provides methods and attributes to get a list of the files in the
package, to install the package and much more.</p>
<p>If you specify <em>cache</em> it has to point to an <a class="reference internal" href="apt.cache.html#apt.cache.Cache" title="apt.cache.Cache"><tt class="xref py py-class docutils literal"><span class="pre">apt.cache.Cache()</span></tt></a>
object.</p>
<div class="versionchanged">
<p><span class="versionmodified">Changed in version 0.7.9: </span>Introduce all new methods (everything except for <a class="reference internal" href="#apt.debfile.DebPackage.open" title="apt.debfile.DebPackage.open"><tt class="xref py py-meth docutils literal"><span class="pre">open()</span></tt></a> and
<a class="reference internal" href="#apt.debfile.DebPackage.filelist" title="apt.debfile.DebPackage.filelist"><tt class="xref py py-attr docutils literal"><span class="pre">filelist</span></tt></a>)</p>
</div>
<dl class="attribute">
<dt id="apt.debfile.DebPackage.VERSION_NEWER">
<tt class="descname">VERSION_NEWER</tt><em class="property"> = 3</em><a class="headerlink" href="#apt.debfile.DebPackage.VERSION_NEWER" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="apt.debfile.DebPackage.VERSION_NONE">
<tt class="descname">VERSION_NONE</tt><em class="property"> = 0</em><a class="headerlink" href="#apt.debfile.DebPackage.VERSION_NONE" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="apt.debfile.DebPackage.VERSION_OUTDATED">
<tt class="descname">VERSION_OUTDATED</tt><em class="property"> = 1</em><a class="headerlink" href="#apt.debfile.DebPackage.VERSION_OUTDATED" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="apt.debfile.DebPackage.VERSION_SAME">
<tt class="descname">VERSION_SAME</tt><em class="property"> = 2</em><a class="headerlink" href="#apt.debfile.DebPackage.VERSION_SAME" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="apt.debfile.DebPackage.check">
<tt class="descname">check</tt><big>(</big><big>)</big><a class="headerlink" href="#apt.debfile.DebPackage.check" title="Permalink to this definition">¶</a></dt>
<dd><p>Check if the package is installable.</p>
</dd></dl>
<dl class="method">
<dt id="apt.debfile.DebPackage.check_breaks_existing_packages">
<tt class="descname">check_breaks_existing_packages</tt><big>(</big><big>)</big><a class="headerlink" href="#apt.debfile.DebPackage.check_breaks_existing_packages" title="Permalink to this definition">¶</a></dt>
<dd><p>check if installing the package would break exsisting
package on the system, e.g. system has:
smc depends on smc-data (= 1.4)
and user tries to installs smc-data 1.6</p>
</dd></dl>
<dl class="method">
<dt id="apt.debfile.DebPackage.check_conflicts">
<tt class="descname">check_conflicts</tt><big>(</big><big>)</big><a class="headerlink" href="#apt.debfile.DebPackage.check_conflicts" title="Permalink to this definition">¶</a></dt>
<dd><p>Check if there are conflicts with existing or selected packages.</p>
<p>Check if the package conflicts with a existing or to be installed
package. Return True if the pkg is OK.</p>
</dd></dl>
<dl class="method">
<dt id="apt.debfile.DebPackage.compare_to_version_in_cache">
<tt class="descname">compare_to_version_in_cache</tt><big>(</big><em>use_installed=True</em><big>)</big><a class="headerlink" href="#apt.debfile.DebPackage.compare_to_version_in_cache" title="Permalink to this definition">¶</a></dt>
<dd><p>Compare the package to the version available in the cache.</p>
<p>Checks if the package is already installed or availabe in the cache
and if so in what version, returns one of (VERSION_NONE,
VERSION_OUTDATED, VERSION_SAME, VERSION_NEWER).</p>
</dd></dl>
<dl class="attribute">
<dt id="apt.debfile.DebPackage.conflicts">
<tt class="descname">conflicts</tt><a class="headerlink" href="#apt.debfile.DebPackage.conflicts" title="Permalink to this definition">¶</a></dt>
<dd><p>List of package names conflicting with this package.</p>
</dd></dl>
<dl class="method">
<dt id="apt.debfile.DebPackage.control_content">
<tt class="descname">control_content</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#apt.debfile.DebPackage.control_content" title="Permalink to this definition">¶</a></dt>
<dd><p>return the content of a specific control.tar.gz file</p>
</dd></dl>
<dl class="attribute">
<dt id="apt.debfile.DebPackage.control_filelist">
<tt class="descname">control_filelist</tt><a class="headerlink" href="#apt.debfile.DebPackage.control_filelist" title="Permalink to this definition">¶</a></dt>
<dd><p>return the list of files in control.tar.gt</p>
</dd></dl>
<dl class="method">
<dt id="apt.debfile.DebPackage.data_content">
<tt class="descname">data_content</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#apt.debfile.DebPackage.data_content" title="Permalink to this definition">¶</a></dt>
<dd><p>return the content of a specific control.tar.gz file</p>
</dd></dl>
<dl class="attribute">
<dt id="apt.debfile.DebPackage.debug">
<tt class="descname">debug</tt><em class="property"> = 0</em><a class="headerlink" href="#apt.debfile.DebPackage.debug" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="apt.debfile.DebPackage.depends">
<tt class="descname">depends</tt><a class="headerlink" href="#apt.debfile.DebPackage.depends" title="Permalink to this definition">¶</a></dt>
<dd><p>List of package names on which this package depends on.</p>
</dd></dl>
<dl class="attribute">
<dt id="apt.debfile.DebPackage.filelist">
<tt class="descname">filelist</tt><a class="headerlink" href="#apt.debfile.DebPackage.filelist" title="Permalink to this definition">¶</a></dt>
<dd><p>return the list of files in the deb.</p>
</dd></dl>
<dl class="method">
<dt id="apt.debfile.DebPackage.install">
<tt class="descname">install</tt><big>(</big><em>install_progress=None</em><big>)</big><a class="headerlink" href="#apt.debfile.DebPackage.install" title="Permalink to this definition">¶</a></dt>
<dd><p>Install the package.</p>
</dd></dl>
<dl class="attribute">
<dt id="apt.debfile.DebPackage.missing_deps">
<tt class="descname">missing_deps</tt><a class="headerlink" href="#apt.debfile.DebPackage.missing_deps" title="Permalink to this definition">¶</a></dt>
<dd><p>Return missing dependencies.</p>
</dd></dl>
<dl class="method">
<dt id="apt.debfile.DebPackage.open">
<tt class="descname">open</tt><big>(</big><em>filename</em><big>)</big><a class="headerlink" href="#apt.debfile.DebPackage.open" title="Permalink to this definition">¶</a></dt>
<dd><p>open given debfile</p>
</dd></dl>
<dl class="attribute">
<dt id="apt.debfile.DebPackage.provides">
<tt class="descname">provides</tt><a class="headerlink" href="#apt.debfile.DebPackage.provides" title="Permalink to this definition">¶</a></dt>
<dd><p>List of virtual packages which are provided by this package.</p>
</dd></dl>
<dl class="attribute">
<dt id="apt.debfile.DebPackage.replaces">
<tt class="descname">replaces</tt><a class="headerlink" href="#apt.debfile.DebPackage.replaces" title="Permalink to this definition">¶</a></dt>
<dd><p>List of packages which are replaced by this package.</p>
</dd></dl>
<dl class="method">
<dt id="apt.debfile.DebPackage.replaces_real_pkg">
<tt class="descname">replaces_real_pkg</tt><big>(</big><em>pkgname</em>, <em>oper</em>, <em>ver</em><big>)</big><a class="headerlink" href="#apt.debfile.DebPackage.replaces_real_pkg" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True if a given non-virtual package is replaced.</p>
<p>Return True if the deb packages replaces a real (not virtual)
packages named (pkgname, oper, ver).</p>
</dd></dl>
<dl class="attribute">
<dt id="apt.debfile.DebPackage.required_changes">
<tt class="descname">required_changes</tt><a class="headerlink" href="#apt.debfile.DebPackage.required_changes" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the changes required to satisfy the dependencies.</p>
<p>Returns: a tuple with (install, remove, unauthenticated)</p>
</dd></dl>
<dl class="method">
<dt id="apt.debfile.DebPackage.satisfy_depends_str">
<tt class="descname">satisfy_depends_str</tt><big>(</big><em>dependsstr</em><big>)</big><a class="headerlink" href="#apt.debfile.DebPackage.satisfy_depends_str" title="Permalink to this definition">¶</a></dt>
<dd><p>Satisfy the dependencies in the given string.</p>
</dd></dl>
<dl class="staticmethod">
<dt id="apt.debfile.DebPackage.to_hex">
<em class="property">static </em><tt class="descname">to_hex</tt><big>(</big><em>in_data</em><big>)</big><a class="headerlink" href="#apt.debfile.DebPackage.to_hex" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="staticmethod">
<dt id="apt.debfile.DebPackage.to_strish">
<em class="property">static </em><tt class="descname">to_strish</tt><big>(</big><em>in_data</em><big>)</big><a class="headerlink" href="#apt.debfile.DebPackage.to_strish" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
</div>
<div class="section" id="source-packages">
<h2>Source packages<a class="headerlink" href="#source-packages" title="Permalink to this headline">¶</a></h2>
<dl class="class">
<dt id="apt.debfile.DscSrcPackage">
<em class="property">class </em><tt class="descclassname">apt.debfile.</tt><tt class="descname">DscSrcPackage</tt><big>(</big><em>filename=None</em>, <em>cache=None</em><big>)</big><a class="headerlink" href="#apt.debfile.DscSrcPackage" title="Permalink to this definition">¶</a></dt>
<dd><p>A locally available source package.</p>
<p>Provide functionality to work with locally available source packages,
especially with their ‘.dsc’ file.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 0.7.9.</span></p>
</div>
<dl class="attribute">
<dt id="apt.debfile.DscSrcPackage.VERSION_NEWER">
<tt class="descname">VERSION_NEWER</tt><em class="property"> = 3</em><a class="headerlink" href="#apt.debfile.DscSrcPackage.VERSION_NEWER" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="apt.debfile.DscSrcPackage.VERSION_NONE">
<tt class="descname">VERSION_NONE</tt><em class="property"> = 0</em><a class="headerlink" href="#apt.debfile.DscSrcPackage.VERSION_NONE" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="apt.debfile.DscSrcPackage.VERSION_OUTDATED">
<tt class="descname">VERSION_OUTDATED</tt><em class="property"> = 1</em><a class="headerlink" href="#apt.debfile.DscSrcPackage.VERSION_OUTDATED" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="apt.debfile.DscSrcPackage.VERSION_SAME">
<tt class="descname">VERSION_SAME</tt><em class="property"> = 2</em><a class="headerlink" href="#apt.debfile.DscSrcPackage.VERSION_SAME" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="apt.debfile.DscSrcPackage.check">
<tt class="descname">check</tt><big>(</big><big>)</big><a class="headerlink" href="#apt.debfile.DscSrcPackage.check" title="Permalink to this definition">¶</a></dt>
<dd><p>Check if the package is installable..</p>
</dd></dl>
<dl class="method">
<dt id="apt.debfile.DscSrcPackage.check_breaks_existing_packages">
<tt class="descname">check_breaks_existing_packages</tt><big>(</big><big>)</big><a class="headerlink" href="#apt.debfile.DscSrcPackage.check_breaks_existing_packages" title="Permalink to this definition">¶</a></dt>
<dd><p>check if installing the package would break exsisting
package on the system, e.g. system has:
smc depends on smc-data (= 1.4)
and user tries to installs smc-data 1.6</p>
</dd></dl>
<dl class="method">
<dt id="apt.debfile.DscSrcPackage.check_conflicts">
<tt class="descname">check_conflicts</tt><big>(</big><big>)</big><a class="headerlink" href="#apt.debfile.DscSrcPackage.check_conflicts" title="Permalink to this definition">¶</a></dt>
<dd><p>Check if there are conflicts with existing or selected packages.</p>
<p>Check if the package conflicts with a existing or to be installed
package. Return True if the pkg is OK.</p>
</dd></dl>
<dl class="method">
<dt id="apt.debfile.DscSrcPackage.compare_to_version_in_cache">
<tt class="descname">compare_to_version_in_cache</tt><big>(</big><em>use_installed=True</em><big>)</big><a class="headerlink" href="#apt.debfile.DscSrcPackage.compare_to_version_in_cache" title="Permalink to this definition">¶</a></dt>
<dd><p>Compare the package to the version available in the cache.</p>
<p>Checks if the package is already installed or availabe in the cache
and if so in what version, returns one of (VERSION_NONE,
VERSION_OUTDATED, VERSION_SAME, VERSION_NEWER).</p>
</dd></dl>
<dl class="attribute">
<dt id="apt.debfile.DscSrcPackage.conflicts">
<tt class="descname">conflicts</tt><a class="headerlink" href="#apt.debfile.DscSrcPackage.conflicts" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the dependencies of the package</p>
</dd></dl>
<dl class="method">
<dt id="apt.debfile.DscSrcPackage.control_content">
<tt class="descname">control_content</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#apt.debfile.DscSrcPackage.control_content" title="Permalink to this definition">¶</a></dt>
<dd><p>return the content of a specific control.tar.gz file</p>
</dd></dl>
<dl class="attribute">
<dt id="apt.debfile.DscSrcPackage.control_filelist">
<tt class="descname">control_filelist</tt><a class="headerlink" href="#apt.debfile.DscSrcPackage.control_filelist" title="Permalink to this definition">¶</a></dt>
<dd><p>return the list of files in control.tar.gt</p>
</dd></dl>
<dl class="method">
<dt id="apt.debfile.DscSrcPackage.data_content">
<tt class="descname">data_content</tt><big>(</big><em>name</em><big>)</big><a class="headerlink" href="#apt.debfile.DscSrcPackage.data_content" title="Permalink to this definition">¶</a></dt>
<dd><p>return the content of a specific control.tar.gz file</p>
</dd></dl>
<dl class="attribute">
<dt id="apt.debfile.DscSrcPackage.debug">
<tt class="descname">debug</tt><em class="property"> = 0</em><a class="headerlink" href="#apt.debfile.DscSrcPackage.debug" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="apt.debfile.DscSrcPackage.depends">
<tt class="descname">depends</tt><a class="headerlink" href="#apt.debfile.DscSrcPackage.depends" title="Permalink to this definition">¶</a></dt>
<dd><p>Return the dependencies of the package</p>
</dd></dl>
<dl class="attribute">
<dt id="apt.debfile.DscSrcPackage.filelist">
<tt class="descname">filelist</tt><a class="headerlink" href="#apt.debfile.DscSrcPackage.filelist" title="Permalink to this definition">¶</a></dt>
<dd><p>return the list of files in the deb.</p>
</dd></dl>
<dl class="method">
<dt id="apt.debfile.DscSrcPackage.install">
<tt class="descname">install</tt><big>(</big><em>install_progress=None</em><big>)</big><a class="headerlink" href="#apt.debfile.DscSrcPackage.install" title="Permalink to this definition">¶</a></dt>
<dd><p>Install the package.</p>
</dd></dl>
<dl class="attribute">
<dt id="apt.debfile.DscSrcPackage.missing_deps">
<tt class="descname">missing_deps</tt><a class="headerlink" href="#apt.debfile.DscSrcPackage.missing_deps" title="Permalink to this definition">¶</a></dt>
<dd><p>Return missing dependencies.</p>
</dd></dl>
<dl class="method">
<dt id="apt.debfile.DscSrcPackage.open">
<tt class="descname">open</tt><big>(</big><em>file</em><big>)</big><a class="headerlink" href="#apt.debfile.DscSrcPackage.open" title="Permalink to this definition">¶</a></dt>
<dd><p>Open the package.</p>
</dd></dl>
<dl class="attribute">
<dt id="apt.debfile.DscSrcPackage.provides">
<tt class="descname">provides</tt><a class="headerlink" href="#apt.debfile.DscSrcPackage.provides" title="Permalink to this definition">¶</a></dt>
<dd><p>List of virtual packages which are provided by this package.</p>
</dd></dl>
<dl class="attribute">
<dt id="apt.debfile.DscSrcPackage.replaces">
<tt class="descname">replaces</tt><a class="headerlink" href="#apt.debfile.DscSrcPackage.replaces" title="Permalink to this definition">¶</a></dt>
<dd><p>List of packages which are replaced by this package.</p>
</dd></dl>
<dl class="method">
<dt id="apt.debfile.DscSrcPackage.replaces_real_pkg">
<tt class="descname">replaces_real_pkg</tt><big>(</big><em>pkgname</em>, <em>oper</em>, <em>ver</em><big>)</big><a class="headerlink" href="#apt.debfile.DscSrcPackage.replaces_real_pkg" title="Permalink to this definition">¶</a></dt>
<dd><p>Return True if a given non-virtual package is replaced.</p>
<p>Return True if the deb packages replaces a real (not virtual)
packages named (pkgname, oper, ver).</p>
</dd></dl>
<dl class="attribute">
<dt id="apt.debfile.DscSrcPackage.required_changes">
<tt class="descname">required_changes</tt><a class="headerlink" href="#apt.debfile.DscSrcPackage.required_changes" title="Permalink to this definition">¶</a></dt>
<dd><p>Get the changes required to satisfy the dependencies.</p>
<p>Returns: a tuple with (install, remove, unauthenticated)</p>
</dd></dl>
<dl class="method">
<dt id="apt.debfile.DscSrcPackage.satisfy_depends_str">
<tt class="descname">satisfy_depends_str</tt><big>(</big><em>dependsstr</em><big>)</big><a class="headerlink" href="#apt.debfile.DscSrcPackage.satisfy_depends_str" title="Permalink to this definition">¶</a></dt>
<dd><p>Satisfy the dependencies in the given string.</p>
</dd></dl>
<dl class="staticmethod">
<dt id="apt.debfile.DscSrcPackage.to_hex">
<em class="property">static </em><tt class="descname">to_hex</tt><big>(</big><em>in_data</em><big>)</big><a class="headerlink" href="#apt.debfile.DscSrcPackage.to_hex" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="staticmethod">
<dt id="apt.debfile.DscSrcPackage.to_strish">
<em class="property">static </em><tt class="descname">to_strish</tt><big>(</big><em>in_data</em><big>)</big><a class="headerlink" href="#apt.debfile.DscSrcPackage.to_strish" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
</div>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar">
<div class="sphinxsidebarwrapper">
<h3><a href="../contents.html">Table Of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#"><tt class="docutils literal"><span class="pre">apt.debfile</span></tt> — Classes related to debian package files</a><ul>
<li><a class="reference internal" href="#binary-packages">Binary packages</a></li>
<li><a class="reference internal" href="#source-packages">Source packages</a></li>
</ul>
</li>
</ul>
<h4>Previous topic</h4>
<p class="topless"><a href="apt.cdrom.html"
title="previous chapter"><tt class="docutils literal"><span class="pre">apt.cdrom</span></tt> - Functionality like in apt-cdrom</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="apt.package.html"
title="next chapter"><tt class="docutils literal"><span class="pre">apt.package</span></tt> — Classes for package handling</a></p>
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="../_sources/library/apt.debfile.txt"
rel="nofollow">Show Source</a></li>
</ul>
<div id="searchbox" style="display: none">
<h3>Quick search</h3>
<form class="search" action="../search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
<p class="searchtip" style="font-size: 90%">
Enter search terms or a module, class or function name.
</p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="apt.package.html" title="apt.package — Classes for package handling"
>next</a> |</li>
<li class="right" >
<a href="apt.cdrom.html" title="apt.cdrom - Functionality like in apt-cdrom"
>previous</a> |</li>
<li><img src="../_static/py.png" alt=""
style="vertical-align: middle; margin-top: -1px"/></li>
<li><a href="../index.html">python-apt 0.9.3.5 documentation</a> »</li>
<li><a href="index.html" >Python APT Library</a> »</li>
</ul>
</div>
<div class="footer">
© Copyright 2009-2010, Julian Andres Klode <jak@debian.org>.
Last updated on Apr 02, 2014.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.2.
</div>
</body>
</html>
|