| 1 |
<!DOCTYPE debiandoc PUBLIC "-//DebianDoc//DTD DebianDoc//EN" [ |
<!DOCTYPE debiandoc PUBLIC "-//DebianDoc//DTD DebianDoc//EN" [ |
| 2 |
<!entity % dynamicdata SYSTEM "../dynamic.ent" > %dynamicdata; |
<!entity % dynamicdata SYSTEM "../dynamic.ent" > %dynamicdata; |
| 3 |
<!entity % shareddata SYSTEM "../release-notes.ent" > %shareddata; |
<!entity % shareddata SYSTEM "../release-notes.ent" > %shareddata; |
| 4 |
<!entity docid "$Id: release-notes.en.sgml,v 1.59 2005-06-13 19:42:47 jfs Exp $"> |
<!entity docid "$Id: release-notes.en.sgml,v 1.60 2005-06-14 16:43:11 fjp Exp $"> |
| 5 |
]> |
]> |
| 6 |
|
|
| 7 |
<!-- Be careful with automatic reformatting. Please note that the indentation |
<!-- Be careful with automatic reformatting. Please note that the indentation |
| 73 |
]]> |
]]> |
| 74 |
</p></item> |
</p></item> |
| 75 |
|
|
| 76 |
|
<item><p><prgn/aptitude/ uses a different method for registering |
| 77 |
|
packages that are on hold than <prgn/apt-get/ and <prgn/dselect/. |
| 78 |
|
Properly document how hold status can be checked and set in |
| 79 |
|
<ref id="upgrading">.</p></item> |
| 80 |
|
|
| 81 |
</list></p> |
</list></p> |
| 82 |
|
|
| 83 |
</sect> |
</sect> |
| 537 |
|
|
| 538 |
<p>It is desirable to remove any holds before upgrading. If any |
<p>It is desirable to remove any holds before upgrading. If any |
| 539 |
package that is essential for the upgrade is on hold, the upgrade |
package that is essential for the upgrade is on hold, the upgrade |
| 540 |
will fail. You can identify packages on hold with |
will fail. |
| 541 |
|
|
| 542 |
|
<![ %has-woody-aptitude [ |
| 543 |
|
Note that <prgn/aptitude/ uses a different method for registering |
| 544 |
|
packages that are on hold than <prgn/apt-get/ and <prgn/dselect/. |
| 545 |
|
You can identify packages on hold for <prgn/aptitude/ with |
| 546 |
|
|
| 547 |
<example> |
<example> |
| 548 |
<!-- FJP: dpkg \-\-audit does not show held packages, at least not for Woody. |
# aptitude search "~ahold" | grep "^.h" |
| 549 |
# dpkg \-\-audit |
</example></p> |
| 550 |
--> |
|
| 551 |
|
<p>If you want to check which packages you had on hold for |
| 552 |
|
<prgn/apt-get/, you should use |
| 553 |
|
]]> |
| 554 |
|
<![ %no-woody-aptitude [ |
| 555 |
|
You can identify packages on hold with |
| 556 |
|
]]> |
| 557 |
|
<example> |
| 558 |
# dpkg --get-selections | grep hold |
# dpkg --get-selections | grep hold |
| 559 |
</example></p> |
</example></p> |
| 560 |
|
|
| 563 |
it from being upgraded. |
it from being upgraded. |
| 564 |
|
|
| 565 |
<![ %has-woody-aptitude [ |
<![ %has-woody-aptitude [ |
| 566 |
The `hold' package state can be changed by using <prgn/aptitude/: |
The "hold" package state for <prgn/aptitude/ can be changed using |
| 567 |
|
(replace <tt/hold/ with <tt/unhold/ to unset the "hold" state): |
| 568 |
|
|
| 569 |
<example> |
<example> |
| 570 |
# aptitude hold | unhold <package name> |
# aptitude hold <var>package_name</var> |
| 571 |
</example> |
</example> |
| 572 |
]]> |
]]> |
| 573 |
<![ %no-woody-aptitude [ |
<![ %no-woody-aptitude [ |
| 942 |
and/or perl. The solution proved to be to <tt>install aptitude perl</tt> |
and/or perl. The solution proved to be to <tt>install aptitude perl</tt> |
| 943 |
instead of <tt>install aptitude</tt>.</p> |
instead of <tt>install aptitude</tt>.</p> |
| 944 |
|
|
| 945 |
|
<![ %no-woody-aptitude [ |
| 946 |
|
<p><prgn/aptitude/ uses a different method for registering packages |
| 947 |
|
that are on hold than <prgn/apt-get/ and <prgn/dselect/. This means |
| 948 |
|
that if you have any packages on hold, you will need to also set |
| 949 |
|
them on hold for <prgn/aptitude/ before proceeding.</p> |
| 950 |
|
|
| 951 |
|
<p>First list packages on hold for <prgn/apt-get/ using: |
| 952 |
|
<example> |
| 953 |
|
# dpkg --get-selections | grep hold |
| 954 |
|
</example></p> |
| 955 |
|
|
| 956 |
|
<p>Next set these same packages on hold for <prgn/aptitude/ with: |
| 957 |
|
<example> |
| 958 |
|
# aptitude hold <var>package_name</var> |
| 959 |
|
</example></p> |
| 960 |
|
|
| 961 |
|
<p>You can check which packages are on hold for <prgn/aptitude/ using: |
| 962 |
|
<example> |
| 963 |
|
# aptitude search "~ahold" | grep "^.h" |
| 964 |
|
</example></p> |
| 965 |
|
]]> |
| 966 |
|
|
| 967 |
</sect1> |
</sect1> |
| 968 |
|
|
| 969 |
<sect1 id="upgrading_doc-base"><heading>Upgrading doc-base</heading> |
<sect1 id="upgrading_doc-base"><heading>Upgrading doc-base</heading> |