[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#476075: reopen as wishlist bugs with things needed to be done.



reopen 476075
clone 476075 -1
severity 476075 wishlist
retitle 476075 Simulated message should simulate user prompt. (-s)
retitle -1  Rationale for each package removed needs to be accessible
thanks

Hi,

Now that I tested 
 "sudo apt-get -s remove '^ope*'"
and , 
 "sudo apt-get remove '^ope*'"
I have clearer idea what made the original bug reporter confused.

There are essentially 2 resolvable wishlist bugs:

1.  Simulated message should simulate user prompt. (-s) (wishlist)
2.  Rationale for each package removed needs to be accessible.  (wishlist)

With following description, I hope this bug report is useful to the
maintainer.

=== General ===

I know problem starts that the output message is long.

This is clearly a part of the reason people get upset about apt-get.
Long list of packages before "Use 'apt-get autoremove' to remove them."
are one good example which confuses people.  But these packages are not
removed unless user execute 'apt-get autoremove' by themselves.  

But let's not worry about this since these is no simple fix to it.

=== The 1st issue ===

The simulated removal happens without displaying normal output of:

   Do you want to continue [Y/n]? y

I guess this is because it internally use APT::Get::Assume-Yes=true
despite user setting.

What should happen is:

 * If it really "APT::Get::Assume-Yes" is set to true, current simulated
   output is fine.  (No prompt.)

 * If it is temporary set "APT::Get::Assume-Yes" is set to true for 
   simulated output, it should display as:.

   Do you want to continue [Y/n]? y (simulated)

   This way, user knows they have chance to stop command in normal mode.

=== The 2nd issue ===

Even though I checked long list of output, I only see asell removed in
REMOVED list.  All the long message have no reference to it.  Thus I do
not have easy way to identify why particular package is removed under
apt-get, I do not have good assessment of situation.

So this is another wishlist.  

"Please provide method to identify why one program is removed for remove
operation."

=== Extra Notes ==

Since I can not identify why aspell was chosen by casual inspection.
This is not good enough information for maintainer to look for bug.  I
think we should treat this dependency resolving as not a bug until we
clearly find problem.  I am not even sure aptitude autoinstall status is
synched with general apt.  Some clean documentation will be nice.

=== My check on dependency ===

 ope* matched openoffice.org-thesaurus-en-us and others.

 dictionaries-common was installed by those matched but now they are
 all removed.

=== Test result without -s ===

osamu@snoopy:~$ sudo apt-get remove '^ope*'
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting openoffice.org2-officebean for regex '^ope*'
Note, selecting openoffice.org-officebean instead of openoffice.org2-officebean
... [snip]
Note, selecting openoffice.org-thesaurus-en-us for regex '^ope*'
... [snip]
Note, selecting opensched for regex '^ope*'
The following packages were automatically installed and are no longer required:
  sg3-utils sane-utils libdevel-symdump-perl libadns1-bin tesseract-ocr libnet-ssleay-perl tasksel-data dvidvi aptitude-doc-en automake1.9
  bochsbios libauthen-sasl-perl libgcj8-1 libstdc++6-4.1-dev libgphoto2-port0 xsane gcj-4.2-base gnome-games clamav libgpod-common cupsddk
  libossp-uuid-perl g++-4.1 libsane moinmoin-common libhyphen0 unzoo bsh-gcj libparse-debianchangelog-perl libcrypt-ssleay-perl
  texlive-extra-utils at strace guile-1.8-libs aptitude autoconf ttf-opensymbol wireshark-common libgcj8-jar libsgutils1 bochs
  cdebootstrap clamav-base xsane-common dupload xdialog libclamav3 libfile-desktopentry-perl libgpod3 libfcgi-perl libcwidget3
  libdebian-installer-extra4 libterm-size-perl gnome-cards-data gnuchess-book dvi2tty splint-data gnome-games-extra-data python-qt3 bsh
  libsoap-lite-perl libgmp3c2 python-moinmoin tesseract-ocr-deu python-gtkglext1 python-sip4 libgtkglext1 debian-keyring vgabios
  libdebian-installer4 tesseract-ocr-eng libfile-basedir-perl python-xml devscripts konwert libtest-pod-perl tesseract-ocr-fra
  tesseract-ocr-deu-f libieee1284-3 libpod-escapes-perl bochs-wx tesseract-ocr-ita cupsddk-drivers tesseract-ocr-nld os-prober tasksel
  tesseract-ocr-por bximage tesseract-ocr-spa wireshark libsane-extras clamav-freshclam gnome-games-data libpod-coverage-perl cowdancer
  equivs pbuilder splint gnuchess libadns1 konwert-filters lintian libio-socket-ssl-perl libossp-uuid15 libgcj8-1-awt libjline-java
  lacheck libpod-simple-perl libparse-debcontrol-perl hplip-data libgphoto2-2
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  aspell aspell-en ca-certificates cupsys cupsys-driver-gutenprint dblatex dictionaries-common docbook-dsssl docbook-utils
  foomatic-db-hpijs hpijs hplip hplip-gui iamerican ispell myspell-en-us openjade openoffice.org-base openoffice.org-base-core
  openoffice.org-calc openoffice.org-common openoffice.org-core openoffice.org-draw openoffice.org-evolution
  openoffice.org-filter-binfilter openoffice.org-filter-mobiledev openoffice.org-gnome openoffice.org-gtk openoffice.org-impress
  openoffice.org-java-common openoffice.org-math openoffice.org-officebean openoffice.org-style-andromeda openoffice.org-style-crystal
  openoffice.org-style-hicontrast openoffice.org-style-industrial openoffice.org-style-tango openoffice.org-thesaurus-en-us
  openoffice.org-writer2latex openprinting-ppds opensp openssh-client openssh-server openssl sdm sdm-terminal ssh ssl-cert wamerican
0 upgraded, 0 newly installed, 49 to remove and 1 not upgraded.
After this operation, 351MB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.

The prompt message "Do you want to continue [Y/n]? n" did not happen with -s

Osamu




Reply to: