Aptitude don't show recommendeds and suggests packages

Bug #69558 reported by Guilherme Gondim (semente)
6
Affects Status Importance Assigned to Milestone
aptitude (Baltix)
Fix Released
Undecided
Unassigned
aptitude (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: aptitude

Aptitude doesn't show recommendeds and suggests packages when install some package.

$ LANG=POSIX sudo aptitude show anjuta
Package: anjuta
State: not installed
[...]
Recommends: gcc | g++, make, cvs, gnome-terminal, yelp, automake, autoconf,
            autogen, indent, gdb, ctags, devhelp, gnome-devel, libtool
Suggests: libgtk2.0-dev, libgtkmm2.0-dev, libgnome2-dev,
[...]

$ LANG=POSIX sudo aptitude install anjuta
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following NEW packages will be automatically installed:
  anjuta-common libgbf-1-0 libgbf-1-common
The following NEW packages will be installed:
  anjuta anjuta-common libgbf-1-0 libgbf-1-common
0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/3875kB of archives. After unpacking 14.1MB will be used.
Do you want to continue? [Y/n/?]

It is a bug? In Debian, aptitude show the packages recommendeds:

Example:

[...]
The following packages are recommeds:
  cvs, autogen...
[...]

Thanks and sorry for my english!

Revision history for this message
Craig Sampson (ubuntu-psi-aus) wrote :

Yes, something has been broken with Aptitude for almost all the Gutsy development cycle. Its getting confused with Recommends. If you install a package you -will- get recommends installed, whether you want them or not (already reported this bug) and they won't be marked 'A' as dependency installs either (sigh....).

We've got about 10 days left until Gutsy ships, I'd say there is almost no chance Aptitude is going to be fixed in time.

Cheers,
Craig

Revision history for this message
Craig Sampson (ubuntu-psi-aus) wrote :

Forget the above by me. Found the answer to my problem (and possibly the OP's as well). Delete /etc/apt/apt.conf.d/01Ubuntu

Regards,
Craig

Revision history for this message
Matthew Woerly (nattgew) wrote :

Is this still an issue? I'm not sure what you're looking for. I don't have aptitude showing recommends, but it does list the packages that will be automatically installed.
Do you want it to show more like apt-get?

The following extra packages will be installed:
  anjuta-common devhelp-common libapr1 libaprutil1 libdevhelp-1-0 libgbf-1-1
  libgbf-1-common libgladeui-1-7 libpq5 libsvn1
Suggested packages:
  devhelp-books glade-3 glade-gnome-3 libgnome2-dev libgnomemm2.0-dev
  libgtk2.0-dev libgtkmm2.0-dev
Recommended packages:
  autoconf autogen automake ctags cvs devhelp gcc g++ indent libtool yelp
The following NEW packages will be installed:
  anjuta anjuta-common devhelp-common libapr1 libaprutil1 libdevhelp-1-0
  libgbf-1-1 libgbf-1-common libgladeui-1-7 libpq5 libsvn1
0 upgraded, 11 newly installed, 0 to remove and 1 not upgraded.
Need to get 7890kB of archives.
After this operation, 34.8MB of additional disk space will be used.
Do you want to continue [Y/n]?

Revision history for this message
Matthew Woerly (nattgew) wrote :

I can confirm this.

Changed in aptitude:
status: New → Confirmed
Revision history for this message
Przemek K. (azrael) wrote :

Is this still an issue in Ubuntu 9.10?

Revision history for this message
Przemek K. (azrael) wrote :

It works in Karmic.

azrael@ubukarmic:~$ aptitude show anjuta
Package: anjuta
State: not installed
Version: 2:2.28.0.0-0ubuntu3
Priority: optional
Section: universe/gnome
Maintainer: Ubuntu MOTU Developers <email address hidden>
Uncompressed Size: 4,428k
Depends: libatk1.0-0 (>= 1.20.0), libc6 (>= 2.7), libcairo2 (>= 1.2.4),
         libdevhelp-1-0 (>= 0.14), libfontconfig1 (>= 2.4.0), libfreetype6 (>=
         2.2.1), libgconf2-4 (>= 2.23.2), libgda-4.0-4, libgdl-1-3,
         libgladeui-1-9 (>= 3.6.1), libglib2.0-0 (>= 2.16.0), libgtk2.0-0 (>=
         2.16.0), libgtksourceview2.0-0 (>= 2.7.2), libpango1.0-0 (>= 1.14.0),
         libsoup2.4-1 (>= 2.27.92), libunique-1.0-0 (>= 1.0.0), libvte9 (>=
         1:0.22.0), libwebkit-1.0-2 (>= 1.1.1), libwnck22 (>= 2.22.0), libxml2
         (>= 2.7.4), libxslt1.1 (>= 1.1.18), zlib1g (>= 1:1.1.4), scrollkeeper,
         anjuta-common (= 2:2.28.0.0-0ubuntu3), exuberant-ctags
Recommends: gcc | g++, make, yelp, automake, autoconf, autogen, intltool, gdb,
            libtool
Suggests: libgtk2.0-dev, libgtkmm2.0-dev, libgnome2-dev, libgnomemm2.0-dev,
          glade-gnome
Conflicts: libgbf-1-2
Replaces: anjuta-common (< 2:2.4.2-1), libgbf-1-2
(...)
azrael@ubukarmic:~$ sudo aptitude install anjuta
[sudo] password for azrael:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Initializing package states... Done
Writing extended state information... Done
The following NEW packages will be installed:
  anjuta anjuta-common{a} autoconf{a} autogen{a} automake{a} autotools-dev{a} cvs{a} devhelp-common{a} doc-base{a} docbook-xml{a}
  exuberant-ctags{a} gconf2{a} gconf2-common{a} gettext{a} gnome-doc-utils{a} guile-1.8-libs{a} intltool{a} launchpad-integration{a}
  libcanberra0{a} libcroco3{a} libdevhelp-1-0{a} libfreezethaw-perl{a} libgail18{a} libgconf2-4{a} libgda-4.0-4{a} libgda-4.0-common{a}
  libgdl-1-3{a} libgdl-1-common{a} libgladeui-1-9{a} libgtksourceview2.0-0{a} libgtksourceview2.0-common{a} libidl0{a}
  liblaunchpad-integration1{a} libltdl-dev{a} libmldbm-perl{a} libopts25{a} libopts25-dev{a} liborbit2{a} librarian0{a} libsoup2.4-1{a}
  libstartup-notification0{a} libtdb1{a} libtool{a} libunique-1.0-0{a} libuuid-perl{a} libvte-common{a} libvte9{a} libwebkit-1.0-2{a}
  libwebkit-1.0-common{a} libwnck-common{a} libwnck22{a} libxcb-atom1{a} libxcb-aux0{a} libxcb-event1{a} libxres1{a} m4{a} patch{a}
  python-libxml2{a} rarian-compat{a} sgml-data{a} xsltproc{a} xulrunner-1.9.1{a} yelp{a}
The following packages will be upgraded:
  libgtk2.0-0
1 packages upgraded, 63 newly installed, 0 to remove and 124 not upgraded.
Need to get 36.5MB of archives. After unpacking 138MB will be used.
Do you want to continue? [Y/n/?] n
Abort.

As you can see the Recommends are getting installed. Those which are not being installed are already installed on the system (ie. gdb).
I'm closing this bug.

Changed in aptitude (Baltix):
status: New → Fix Released
Changed in aptitude (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.