[Aptitude-devel] Bug#999766: Bug#999766: aptitude: in the TUI, with "+m" on a piA package, aptitude doesn't remember the manually installed state

Axel Beckert abe at debian.org
Wed Nov 17 11:17:59 GMT 2021


Control: tag -1 + confirmed

Hi Vincent,

thanks for the detailed bug report with all the steps to reproduce.

Vincent Lefevre wrote:
> With ksh 2020.0.0+really93u+20120801-10 installed and ksh93u+m not yet
> installed, I have the following issue (always reproducible):
> 
> # aptitude
> 
> 1. I type 'U' to upgrade. I get
> 
> aptitude 0.8.13 @ cventin   #Broken: 1   Disk: -151 MB         DL: 123 MB/123 MB
> 
> [1(1)/...] Actions: 7 keeps
> e: Examine  !: Apply  .: Next  ,: Previous
> 
> 2. I type 'g' to perform the pending operations, keeping these
> unrelated packages. This gives:
> 
> --\ Packages to be upgraded (1)
> iu  ksh              -3312 kB  2020.0.0+really93u+20120 20210511
> --\ Packages being automatically installed to satisfy dependencies (1)
> piA ksh93u+m         +3284 kB  <none>                   1.0.0~beta.1-1
> 
> 3. Over ksh93u+m, I type '+m' (the '+' does nothing but it is actually
> important to reproduce the bug), where 'm' now declares ksh93u+m as to
> be manually installed.
[...]
> --\ Packages being removed because they are no longer used (1)
> idA ksh93u+m         -3284 kB  1.0.0~beta.1-1           1.0.0~beta.1-1
> 
> while this package should have been considered manually installed
> due to step 3.

Correct, I can reproduce it, also with just pressing "U" again instead
of quitting, i.e. it seems as if every action which writes down and
rereads the current state triggers this unexpected behaviour.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



More information about the Aptitude-devel mailing list