Hi Andrei, On 05-05-2019 20:35, Andrei POPESCU wrote: > On Vi, 03 mai 19, 22:01:23, Paul Gevers wrote: >> >> 3) in upgrading.dbk there is a section about aptitude. It feels really >> outdated as since 2010 we recommend updating with apt(-get). I never >> used aptitude, is this section still relevant and up-to-date? > > I'm assuming you are referring to <section id="review actions">. Yes, that. [...] > Suggestions > ----------- > > 1. At a minimum the sentence about mixing apt and aptitude should be > removed as it's not applicable anymore. > > 2. The general recommendation to make sure the system is up-to-date and > "clean" (including checking for pending actions in aptitude, synaptic > and other package managers) should be kept.[*] > > 3. The detailed instructions on how to check for pending actions can > probably be removed as aptitude users will be familiar with that and apt > users don't need to care. > > > [*] I seem to remember a section recommending to upgrade the system to > the latest point release/security updates before the dist-upgrade. It > would probably make more sense to have it there instead, if that section > still exists. I gave it a shot, but it looks clumsy. Any ideas for a better text (or location)? > Hope this helps, It did. Paul
diff --git a/en/upgrading.dbk b/en/upgrading.dbk index 9083aac4..abd0e39a 100644 --- a/en/upgrading.dbk +++ b/en/upgrading.dbk @@ -296,6 +296,18 @@ $ apt-forktracer | sort release of &oldreleasename;. If you have not done this or are unsure, follow the instructions in <xref linkend="old-upgrade"/>. </para> + <para> + You should also make sure the system is <quote>clean</quote> before + proceeding with the upgrade. If you are a user of another package manager + like <systemitem role="package">aptitude</systemitem> or <systemitem + role="package">synaptic</systemitem>, review any pending actions. If a + package is scheduled for removal or update in the package manager, it might + negatively impact the upgrade procedure. Note that correcting this is only + possible if your APT source-list files still point to + <emphasis>&oldreleasename;</emphasis> and not to + <emphasis>stable</emphasis> or <emphasis>&releasename;</emphasis>; see + <xref linkend="old-sources"/>. + </para> <section id="proposed-updates"> <title>The proposed-updates section</title> @@ -330,36 +342,6 @@ $ apt-forktracer | sort </para> </section> - <section id="review-actions"> - <title>Review actions pending in aptitude if you use that package manager</title> - <programlisting condition="fixme"> - TODO: [elbrus, 2019]: is this still such a thing? Since 2010 apt-get is - recommended and the text below was mostly already there in 2008. - </programlisting> - <para> - In some cases, the use of <command>apt</command> for installing packages - instead of <command>aptitude</command> might make <command>aptitude</command> - consider a package as <quote>unused</quote> and schedule it for removal. In general, you - should make sure the system is fully up-to-date and <quote>clean</quote> before proceeding - with the upgrade. - </para> - <para> - Because of this you should review if there are any pending actions in the - package manager <command>aptitude</command>. If a package is scheduled - for removal or update in the package manager, it might negatively impact - the upgrade procedure. Note that correcting this is only possible if - your APT source-list files still point to <emphasis>&oldreleasename;</emphasis> - and not to <emphasis>stable</emphasis> or <emphasis>&releasename;</emphasis>; see - <xref linkend="old-sources"/>. - </para> - <para> - To perform this review, launch <command>aptitude</command> in full-terminal mode and - press <keycap>g</keycap> (<quote>Go</quote>). If it shows any actions, you should review them and either fix - them or implement the suggested actions. If no actions are suggested you will - be presented with a message saying <quote>No packages are scheduled to be installed, - removed, or upgraded</quote>. - </para> - </section> <section id="disable-apt-pinning"> <title>Disabling APT pinning</title>
Attachment:
signature.asc
Description: OpenPGP digital signature