when g++ NOT installed, apt-get remove g++ wants to install packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Debian) |
Fix Released
|
Unknown
|
|||
apt (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The g++ package is NOT installed on my system.
In 11.10 when I issued the command
sudo apt-get remove g++
I received the expected response "Package g++ is not installed, so not removed"
After using the upgrade process (update-manage -d) to change my 11.10 system to 12.04, when I attempt to remove the uninstalled package g++, apt-get instead wants to install packages. (See excerpt below).
Here is my current system information.
gjohn@Vbubux86-
Linux 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:41:14 UTC 2012 i686 GNU/Linux
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
Here is an example of the problem.
gjohn@Vbubux86-
[sudo] password for gjohn:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
g++-4.6 (4.6.3-1ubuntu4)
libstdc+
Suggested packages:
g++-multilib (4.6.3-1ubuntu5)
g++-4.6-multilib (4.6.3-1ubuntu4)
gcc-4.6-doc (4.6.3-1ubuntu4)
libstdc+
libstdc+
The following NEW packages will be installed:
g++ (4.6.3-1ubuntu5)
g++-4.6 (4.6.3-1ubuntu4)
libstdc+
0 upgraded, 3 newly installed, 0 to remove and 1 not upgraded.
Inst libstdc++6-4.6-dev (4.6.3-1ubuntu4 Ubuntu:
Inst g++-4.6 (4.6.3-1ubuntu4 Ubuntu:
Inst g++ (4:4.6.3-1ubuntu5 Ubuntu:
Conf libstdc++6-4.6-dev (4.6.3-1ubuntu4 Ubuntu:
Conf g++-4.6 (4.6.3-1ubuntu4 Ubuntu:
Conf g++ (4:4.6.3-1ubuntu5 Ubuntu:
gjohn@Vbubux86-
apt:
Installed: 0.8.16~exp12ubuntu8
Candidate: 0.8.16~exp12ubuntu8
Version table:
*** 0.8.16~exp12ubuntu8 0
500 http://
100 /var/lib/
gjohn@Vbubux86-
g++:
Installed: (none)
Candidate: 4:4.6.3-1ubuntu5
Version table:
4:
500 http://
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: apt 0.8.16~exp12ubuntu8
ProcVersionSign
Uname: Linux 3.2.0-23-generic i686
ApportVersion: 2.0.1-0ubuntu3
Architecture: i386
Date: Sun Apr 15 21:41:41 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: apt
UpgradeStatus: Upgraded to precise on 2012-04-16 (0 days ago)
Related branches
Changed in apt (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Medium |
milestone: | none → precise-updates |
Changed in apt (Debian): | |
status: | Unknown → New |
Changed in apt (Debian): | |
status: | New → Fix Released |
I should probably also add that the system I tested this on began as a clean install from the ubuntu- 11.10-desktop- i386.iso image.
After verifying that things worked as expected in 11.10 I initiated the upgrade process for 12.04. Since I never really used this install I think the problem is most likely somewhere in the updates applied for 12.04.