Package: aptitude
Version: 0.2.15.9-2
Severity: normal

I would like to suggest that aptitude starts making backups of its
package state file, /var/lib/aptitude/pkgstates.  As it is now,
there's no going back to an old configuration when you've exited
aptitude with "q".

The story: I accidentally pressed "_" on my "Installed Packages" group
and aptitude started asking me if I really wanted to remove all my
essential packages.  Of course I didn't want to, and after pressing
"Cancel" 10 times or so I was left with the package selection screen
now suggesting to free 1.5 GiB.

At this point I should just have pressed Ctrl-c, but I just wanted to
get out of aptitude as quickly as possible so I exited with "q" as
usual...

Upon restarting I was sad to see that aptitude had remembered my
request to purge my system.  I figured that I could restore my system
by pressing "+" on the "Installed Packages" --- that worked in the
sense that no packages were suggested to be purged.

But at the same time it removed all information about which packages
were installed automatically as a dependency and which were really
wanted.

So I would also like to suggest that aptitude stops allowing
operations on package groups ("Upgradable Packages", "Installed
Packages", etc) since I think it's dangerous.  Or at least display a
warning or make it configurable.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6.3-5-3 0.5.28.6     Advanced front-end for dpkg
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.4.3-13   GCC support library
ii  libncurses5                 5.4-7        Shared libraries for terminal hand
ii  libsigc++-1.2-5c102         1.2.5-4      type-safe Signal Framework for C++
ii  libstdc++5                  1:3.3.5-13   The GNU Standard C++ Library v3

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to