Re: Re: Re: Reg: Error in apt-get install in libstdc++ package
Dear Greg, I am not getting your point "How can it say the existing package is the latest if no such package exists to begin with?". Do you mean there is no such package like libstdc++? Actually Debian say's 'libstdc++6 is already the newest version' but it has some more confusing statements like 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 libstdc++6-4.6-doc : Conflicts: libstdc++6-4.4-doc but 4.4.7-2 is to be installed libstdc++6-4.7-dbg : Conflicts: libstdc++6-4.4-dbg but 4.4.7-2 is to be installed Conflicts: libstdc++6-4.6-dbg but 4.6.3-14 is to be installed libstdc++6-4.7-doc : Conflicts: libstdc++6-4.4-doc but 4.4.7-2 is to be installed Conflicts: libstdc++6-4.6-doc but 4.6.3-14 is to be installed E: Unable to correct problems, you have held broken packages. I have copied the messages of apt-get below for more understanding. I have just ran the commands on a fresh install of Debian 7 (Wheezy) 64-bit system. 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+' Note, selecting 'libstdc++6-4.7-pic' for regex 'libstdc+' Note, selecting 'libstdc++5' for regex 'libstdc+' Note, selecting 'libstdc++6' for regex 'libstdc+' Note, selecting 'libstdc++6-4.1-dbg' for regex 'libstdc+' Note, selecting 'libstdc++6-4.1-doc' for regex 'libstdc+' Note, selecting 'libstdc++2.9-dev' for regex 'libstdc+' Note, selecting 'libstdc++6-4.4-pic' for regex 'libstdc+' Note, selecting 'libstdc++6-4.5-dbg' for regex 'libstdc+' Note, selecting 'libstdc++6-4.5-doc' for regex 'libstdc+' Note, selecting 'libstdc++-dev' for regex 'libstdc+' Note, selecting 'libstdc++2.10-dev' for regex 'libstdc+' Note, selecting 'libstdc++2.9-glibc2.1-dev' for regex 'libstdc+' Note, selecting 'libstdc++6-4.2-dbg' for regex 'libstdc+' Note, selecting 'libstdc++6-4.2-doc' for regex 'libstdc+' Note, selecting 'libstdc++6-4.6-dbg' for regex 'libstdc+' Note, selecting 'libstdc++6-4.6-dev' for regex 'libstdc+' Note, selecting 'libstdc++6-4.6-doc' for regex 'libstdc+' Note, selecting 'libstdc++5-dbg' for regex 'libstdc+' Note, selecting 'libstdc++5-doc' for regex 'libstdc+' Note, selecting 'libstdc++6-4.3-dbg' for regex 'libstdc+' Note, selecting 'libstdc++6-4.3-dev' for regex 'libstdc+' Note, selecting 'libstdc++6-4.3-doc' for regex 'libstdc+' Note, selecting 'libstdc++6-4.6-pic' for regex 'libstdc+' Note, selecting 'libstdc++6-4.0-dbg' for regex 'libstdc+' Note, selecting 'libstdc++6-4.0-doc' for regex 'libstdc+' Note, selecting 'libstdc++2.8-dev' for regex 'libstdc+' Note, selecting 'libstdc++5-3.3-dbg' for regex 'libstdc+' Note, selecting 'libstdc++6-4.7-dbg' for regex 'libstdc+' Note, selecting 'libstdc++6-4.7-dev' for regex 'libstdc+' Note, selecting 'libstdc++5-3.3-doc' for regex 'libstdc+' Note, selecting 'libstdc++3.0-dev' for regex 'libstdc+' Note, selecting 'libstdc++6-4.7-doc' for regex 'libstdc+' Note, selecting 'libstdc++6-dbg' for regex 'libstdc+' Note, selecting 'libstdc++6-doc' for regex 'libstdc+' Note, selecting 'libstdc++6-4.4-dbg' for regex 'libstdc+' Note, selecting 'libstdc++6-4.4-dev' for regex 'libstdc+' _libstdc++6 is already the newest version._ Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: 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 libstdc++6-4.6-doc : Conflicts: libstdc++6-4.4-doc but 4.4.7-2 is to be installed libstdc++6-4.7-dbg : Conflicts: libstdc++6-4.4-dbg but 4.4.7-2 is to be installed Conflicts: libstdc++6-4.6-dbg but 4.6.3-14 is to be installed libstdc++6-4.7-doc : Conflicts: libstdc++6-4.4-doc but 4.4.7-2 is to be installed Conflicts: libstdc++6-4.6-doc but 4.6.3-14 is to be installed E: Unable to correct problems, you have held broken packages. Thanks and Regards, Balamurugan R On 09/07/2013 04:37 AM, Gregory Nowak wrote: On Thu, Sep 05, 2013 at 07:37:03PM +0530, Balamurugan wrote: I tried 'apt-get update' but didn't tried 'apt-get dist-upgrade'. I have simply installed the Debian 7.0(Wheezy), imported the debian repositories near to india and just ran the below: apt-get update apt-get install libstdc++ It had libstdc++6 installed already. I expected either it would update to the latest libstdc++ else say the existing package itself is latest but unfortunately it gave the mentioned error. How can it say the existing package is the latest if no such package exists to begin with? I have another machine which has CentOS 6.4. In that I ran 'yum i
Re: Re: Reg: Error in apt-get install in libstdc++ package
On Thu, Sep 05, 2013 at 07:37:03PM +0530, Balamurugan wrote: > I tried 'apt-get update' but didn't tried 'apt-get dist-upgrade'. I > have simply installed the Debian 7.0(Wheezy), imported the debian > repositories near to india and just ran the below: > > apt-get update > apt-get install libstdc++ > > It had libstdc++6 installed already. I expected either it would > update to the latest libstdc++ else say the existing package itself > is latest but unfortunately it gave the mentioned error. How can it say the existing package is the latest if no such package exists to begin with? > > I have another machine which has CentOS 6.4. In that I ran 'yum > install libstdc++' and it said the existing package is the latest. CentOS and debian are two different distributions which do various things differently. > Hence I felt something is wrong in my Debian 7.0 (Wheezy). No, nothing wrong unless you're seeing a specific problem related to the standard c++ library. > > Doesn't the command 'apt-get dist-upgrade' will do Debian version > upgrade (distribution) or will it upgrade libstdc++? > It will do both if there is a newer version of the standard c++ library. The apt-get man page explains all this. > Sorry for too many confusions in my mail. I am new in using the > debian package maintenance system. No problem, we were all new at this at one time. Greg -- web site: http://www.gregn..net gpg public key: http://www.gregn..net/pubkey.asc skype: gregn1 (authorization required, add me to your contacts list first) -- Free domains: http://www.eu.org/ or mail dns-mana...@eu.org -- 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/20130906230735.ga31...@gregn.net
Re: Re: Reg: Error in apt-get install in libstdc++ package
Dear Ralf, I tried 'apt-get update' but didn't tried 'apt-get dist-upgrade'. I have simply installed the Debian 7.0(Wheezy), imported the debian repositories near to india and just ran the below: apt-get update apt-get install libstdc++ It had libstdc++6 installed already. I expected either it would update to the latest libstdc++ else say the existing package itself is latest but unfortunately it gave the mentioned error. I have another machine which has CentOS 6.4. In that I ran 'yum install libstdc++' and it said the existing package is the latest. Hence I felt something is wrong in my Debian 7.0 (Wheezy). Doesn't the command 'apt-get dist-upgrade' will do Debian version upgrade (distribution) or will it upgrade libstdc++? Sorry for too many confusions in my mail. I am new in using the debian package maintenance system. Thanks and Regards, Balamurugan R On 09/03/2013 11:36 PM, Ralf Mardorf wrote: On Tue, 03 Sep 2013 18:15:46 +0200, Balamurugan wrote: I installed Debian 7.0 (64-bit) - Wheezy (stable release) in one of my system. Installation went smooth without any issues. After installing, I was about to install g++. Before installing g++, I tried installing libstdc++ and I got the below error. Can anyone help? libstdc++6 is already the newest version. 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 libstdc++6-4.6-doc : Conflicts: libstdc++6-4.4-doc but 4.4.7-2 is to be installed libstdc++6-4.7-dbg : Conflicts: libstdc++6-4.4-dbg but 4.4.7-2 is to be installed Conflicts: libstdc++6-4.6-dbg but 4.6.3-14 is to be installed libstdc++6-4.7-doc : Conflicts: libstdc++6-4.4-doc but 4.4.7-2 is to be installed Conflicts: libstdc++6-4.6-doc but 4.6.3-14 is to be installed E: Unable to correct problems, you have held broken packages. Did you run apt-get update apt-get dist-upgrade before you tried to install anything? -- 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/52289007.9090...@gmail.com
Re: Reg: Error in apt-get install in libstdc++ package
Hi On Tue, 03 Sep 2013 22:08:51 +0200 Sven Joachim wrote: > 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: Just a small nit - libstdc++ is a virtual package provided by libstdc++. One can see this by invoking: apt-cache policy libstdc++ apt-get tries to do what it is told - install all those (see apt-cache policy output) at once, and fails. Reco -- 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/20130904231822.e705ed452ed062ce50732...@gmail.com
Re: Reg: Error in apt-get install in libstdc++ package
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
Re: Reg: Error in apt-get install in libstdc++ package
On Tue, 03 Sep 2013 18:15:46 +0200, Balamurugan wrote: I installed Debian 7.0 (64-bit) - Wheezy (stable release) in one of my system. Installation went smooth without any issues. After installing, I was about to install g++. Before installing g++, I tried installing libstdc++ and I got the below error. Can anyone help? libstdc++6 is already the newest version. 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 libstdc++6-4.6-doc : Conflicts: libstdc++6-4.4-doc but 4.4.7-2 is to be installed libstdc++6-4.7-dbg : Conflicts: libstdc++6-4.4-dbg but 4.4.7-2 is to be installed Conflicts: libstdc++6-4.6-dbg but 4.6.3-14 is to be installed libstdc++6-4.7-doc : Conflicts: libstdc++6-4.4-doc but 4.4.7-2 is to be installed Conflicts: libstdc++6-4.6-doc but 4.6.3-14 is to be installed E: Unable to correct problems, you have held broken packages. Did you run apt-get update apt-get dist-upgrade before you tried to install anything? -- 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/op.w2ukk3vuqhadp0@suse11-2
Reg: Error in apt-get install in libstdc++ package
Hi All, I installed Debian 7.0 (64-bit) - Wheezy (stable release) in one of my system. Installation went smooth without any issues. After installing, I was about to install g++. Before installing g++, I tried installing libstdc++ and I got the below error. Can anyone help? Regards, Balamurugan R == ERROR 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+' Note, selecting 'libstdc++6-4.7-pic' for regex 'libstdc+' Note, selecting 'libstdc++5' for regex 'libstdc+' Note, selecting 'libstdc++6' for regex 'libstdc+' Note, selecting 'libstdc++6-4.1-dbg' for regex 'libstdc+' Note, selecting 'libstdc++6-4.1-doc' for regex 'libstdc+' Note, selecting 'libstdc++2.9-dev' for regex 'libstdc+' Note, selecting 'libstdc++6-4.4-pic' for regex 'libstdc+' Note, selecting 'libstdc++6-4.5-dbg' for regex 'libstdc+' Note, selecting 'libstdc++6-4.5-doc' for regex 'libstdc+' Note, selecting 'libstdc++-dev' for regex 'libstdc+' Note, selecting 'libstdc++2.10-dev' for regex 'libstdc+' Note, selecting 'libstdc++2.9-glibc2.1-dev' for regex 'libstdc+' Note, selecting 'libstdc++6-4.2-dbg' for regex 'libstdc+' Note, selecting 'libstdc++6-4.2-doc' for regex 'libstdc+' Note, selecting 'libstdc++6-4.6-dbg' for regex 'libstdc+' Note, selecting 'libstdc++6-4.6-dev' for regex 'libstdc+' Note, selecting 'libstdc++6-4.6-doc' for regex 'libstdc+' Note, selecting 'libstdc++5-dbg' for regex 'libstdc+' Note, selecting 'libstdc++5-doc' for regex 'libstdc+' Note, selecting 'libstdc++6-4.3-dbg' for regex 'libstdc+' Note, selecting 'libstdc++6-4.3-dev' for regex 'libstdc+' Note, selecting 'libstdc++6-4.3-doc' for regex 'libstdc+' Note, selecting 'libstdc++6-4.6-pic' for regex 'libstdc+' Note, selecting 'libstdc++6-4.0-dbg' for regex 'libstdc+' Note, selecting 'libstdc++6-4.0-doc' for regex 'libstdc+' Note, selecting 'libstdc++2.8-dev' for regex 'libstdc+' Note, selecting 'libstdc++5-3.3-dbg' for regex 'libstdc+' Note, selecting 'libstdc++6-4.7-dbg' for regex 'libstdc+' Note, selecting 'libstdc++6-4.7-dev' for regex 'libstdc+' Note, selecting 'libstdc++5-3.3-doc' for regex 'libstdc+' Note, selecting 'libstdc++3.0-dev' for regex 'libstdc+' Note, selecting 'libstdc++6-4.7-doc' for regex 'libstdc+' Note, selecting 'libstdc++6-dbg' for regex 'libstdc+' Note, selecting 'libstdc++6-doc' for regex 'libstdc+' Note, selecting 'libstdc++6-4.4-dbg' for regex 'libstdc+' Note, selecting 'libstdc++6-4.4-dev' for regex 'libstdc+' libstdc++6 is already the newest version. Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: 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 libstdc++6-4.6-doc : Conflicts: libstdc++6-4.4-doc but 4.4.7-2 is to be installed libstdc++6-4.7-dbg : Conflicts: libstdc++6-4.4-dbg but 4.4.7-2 is to be installed Conflicts: libstdc++6-4.6-dbg but 4.6.3-14 is to be installed libstdc++6-4.7-doc : Conflicts: libstdc++6-4.4-doc but 4.4.7-2 is to be installed Conflicts: libstdc++6-4.6-doc but 4.6.3-14 is to be installed E: Unable to correct problems, you have held broken packages. -- 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/52260b32.1030...@gmail.com