aptitude prints duplicate warnings, status messages for install actions

Bug #205915 reported by Dmitri Nikulin
4
Affects Status Importance Assigned to Milestone
aptitude
Fix Released
Unknown
aptitude (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

dirk@kosmos ~ $ sudo aptitude -v install hdparm sdparm
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
hdparm is already installed at the requested version (7.7-1ubuntu1)
sdparm is already installed at the requested version (1.02-1)
hdparm is already installed at the requested version (7.7-1ubuntu1)
sdparm is already installed at the requested version (1.02-1)

dirk@kosmos ~ $ lsb_release -rd
Description: Ubuntu hardy (development branch)
Release: 8.04

dirk@kosmos ~ $ aptitude --version
aptitude 0.4.9 compiled at Feb 2 2008 08:17:07

Revision history for this message
Dmitri Nikulin (dnikulin) wrote :

Also applies to "no candidate version" packages. I suspect the package list gets checked through twice instead of once.

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

I can confirm this behavior in the latest Hardy.

Changed in aptitude:
status: New → Confirmed
Revision history for this message
Daniel Hartwig (wigs) wrote :

Due to the internal processing model of command-line actions, this applies to most warnings and status messages that can occur during install, upgrade, remove, forbid-version, etc.

Other examples:

Couldn't find any package whose name or description matched "foo"
Package foo is not upgradable, cannot forbid an upgrade

summary: - Hardy aptitude prints duplicate "already installed" packages
+ aptitude prints duplicate warnings, status messages for install actions
Changed in aptitude:
status: Unknown → New
Changed in aptitude:
status: New → Confirmed
Daniel Hartwig (wigs)
Changed in aptitude:
importance: Unknown → Medium
Changed in aptitude:
importance: Medium → Unknown
Changed in aptitude:
status: Confirmed → Fix Committed
Changed in aptitude:
status: Fix Committed → Fix Released
Revision history for this message
Paul White (paulw2u) wrote :

Upstream bug closed 2016-02-21
Fixed in aptitude 0.7.6-1
Ubuntu changelog checked
Marking as "Fix Released" to close

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.