On 2013-09-03 18:15 +0200, Balamurugan wrote: > After installing, I was about to install g++. Before installing g++, I > tried installing libstdc++ and I got the below error. Can anyone help? > > root@debian:/home/user# apt-get install libstdc++ > Reading package lists... Done > Building dependency tree > Reading state information... Done > Note, selecting 'libstdc++6-4.4-doc' for regex 'libstdc+'
Apparently, since there is no libstdc++ package, apt-get takes this as a regular expression. The manpage does not really state that, although it mentions regular expressions: ,---- | If no package matches the given expression and the expression | contains one of '.', '?' or '*' then it is assumed to be a POSIX | regular expression, and it is applied to all package names in the | database. Any matches are then installed (or removed). `---- It's also not obvious to me why the trailing '+' gets removed in the process. Does anybody have an explanation? > The following packages have unmet dependencies: > libstdc++6-4.6-dbg : Conflicts: libstdc++6-4.4-dbg but 4.4.7-2 is to > be installed This is rather clear: since not all packages matching 'libstdc+' could be installed together, apt-get bails out. Cheers, Sven -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/878uzdd5ws....@turtle.gmx.de