[Aptitude-devel] Bug#472701: aptitude: wipes some of config file on error

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Tue Nov 17 18:44:30 UTC 2015


Control: tags -1 + pending


Hi both,

2008-03-25 21:12 Steve Greenland:
>Package: aptitude
>Version: 0.4.10-1+b1
>Severity: normal
>
>Because editing the grouping in the menu didn't seem to work, I added an
>entry for Aptitude::UI::Default-Grouping into the .aptitude/config file,
>putting after the other ::UI:: entries. I got the syntax wrong, and when
>I started aptitude, it detected the error. Okay so far. However, when I
>quit aptitude, it rewrote the config file, saving only the values it had
>successfully read, and thus wiping out about half the file. So, instead
>of being able to simply add a comma to the new value, I need to recreate
>a big chunk of the file. This strikes me as less than desirable; if the
>config file has an error, just don't re-write it.


2009-02-08 17:04 Allan Wind:
>If you comment something out in .aptitude/config it also removes the
>comments.

Fixed in VCS, will be present in the next release, so marking as +pending.


Cheers.
-- 
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>



More information about the Aptitude-devel mailing list