Re: probs installing g++ on unstable

2007-01-27 Thread Jhair Tocancipa Triana
michael  writes:

 I have an unstable system on which I'm trying to install g++ but I've
 been getting the below dependency problem for about a month. Could
 somebody highlight whether this is just an 'unstable' some packages
 just not ready issue or something deeper? I've included what I think is
 all the required info. Thanks, Michael

Seems to be a problem in your environment. g++ works fine here:

$ dpkg -l | egrep ^ii.*'(libstdc\+\+|g\+\+)'
ii  g++  4.1.1-15
ii  g++-4.1  4.1.1-21
ii  libstdc++6   4.1.1-21
ii  libstdc++6-4.1-dev   4.1.1-21

 The following packages have unmet dependencies:
   libc6-dev: Depends: libc6 (= 2.3.6.ds1-10) but 2.3.6-15 is to be
 installed
 E: Broken packages
[snip]
 ii  libc6  2.3.6-15   GNU C Library: Shared libraries

This a *very* outdated version of libc6 (released on Juny 2006). When
was your last upgrade?

-- 
-- Jhair


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: probs installing g++ on unstable

2007-01-27 Thread Roberto C. Sanchez
On Sat, Jan 27, 2007 at 02:21:52PM +, michael wrote:
 I have an unstable system on which I'm trying to install g++ but I've
 been getting the below dependency problem for about a month. Could
 somebody highlight whether this is just an 'unstable' some packages
 just not ready issue or something deeper? I've included what I think is
 all the required info. Thanks, Michael
 
 Script started on Sat 27 Jan 2007 14:18:36 GMT
 ~$ sudo apt-get install g++

Please use aptitude.

Regards,

-Roberto
-- 
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com


signature.asc
Description: Digital signature


Re: probs installing g++ on unstable

2007-01-27 Thread michael
On Sat, 2007-01-27 at 14:51 +0100, Jhair Tocancipa Triana wrote:
 michael  writes:
 
  I have an unstable system on which I'm trying to install g++ but I've
  been getting the below dependency problem for about a month. Could
  somebody highlight whether this is just an 'unstable' some packages
  just not ready issue or something deeper? I've included what I think is
  all the required info. Thanks, Michael
 
 Seems to be a problem in your environment. g++ works fine here:
 
 $ dpkg -l | egrep ^ii.*'(libstdc\+\+|g\+\+)'
 ii  g++  4.1.1-15
 ii  g++-4.1  4.1.1-21
 ii  libstdc++6   4.1.1-21
 ii  libstdc++6-4.1-dev   4.1.1-21

For which I get:
~$ dpkg -l | egrep ^ii.*'(libstdc\+\+|g\+\+)'
ii  libstdc++5   3.3.6-13  The GNU
Standard C++ Library v3
ii  libstdc++6   4.1.1-21  The GNU
Standard C++ Library v3


 
  The following packages have unmet dependencies:
libc6-dev: Depends: libc6 (= 2.3.6.ds1-10) but 2.3.6-15 is to be
  installed
  E: Broken packages
 [snip]
  ii  libc6  2.3.6-15   GNU C Library: Shared libraries
 
 This a *very* outdated version of libc6 (released on Juny 2006). When
 was your last upgrade?

today!

~$ sudo apt-get update  sudo apt-get install libc6
Hit http://ftp.uk.debian.org unstable/main Packages
Hit http://ftp.uk.debian.org unstable/main Release
Hit http://ftp.uk.debian.org unstable/non-free Packages
Hit http://ftp.uk.debian.org unstable/non-free Release
Hit http://ftp.uk.debian.org unstable/contrib Packages
Hit http://ftp.uk.debian.org unstable/contrib Release
Reading Package Lists... Done
Reading Package Lists... Done
Building Dependency Tree... Done
libc6 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 255 not upgraded.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: probs installing g++ on unstable

2007-01-27 Thread michael
On Sat, 2007-01-27 at 09:45 -0500, Roberto C. Sanchez wrote:
 On Sat, Jan 27, 2007 at 02:21:52PM +, michael wrote:
  I have an unstable system on which I'm trying to install g++ but I've
  been getting the below dependency problem for about a month. Could
  somebody highlight whether this is just an 'unstable' some packages
  just not ready issue or something deeper? I've included what I think is
  all the required info. Thanks, Michael
  
  Script started on Sat 27 Jan 2007 14:18:36 GMT
  ~$ sudo apt-get install g++
 
 Please use aptitude.

Please excuse my ignorance but I was under the impression that aptitude
and apt did the same thing, so how would using aptitude solve my problem
(and presumably it would be possible to solve it using apt-get in a
similar manner...)? Thanks again, Michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: probs installing g++ on unstable

2007-01-27 Thread Roberto C. Sanchez
On Sat, Jan 27, 2007 at 02:45:55PM +, michael wrote:
 
 today!
 
 ~$ sudo apt-get update  sudo apt-get install libc6
 Hit http://ftp.uk.debian.org unstable/main Packages
 Hit http://ftp.uk.debian.org unstable/main Release
 Hit http://ftp.uk.debian.org unstable/non-free Packages
 Hit http://ftp.uk.debian.org unstable/non-free Release
 Hit http://ftp.uk.debian.org unstable/contrib Packages
 Hit http://ftp.uk.debian.org unstable/contrib Release
 Reading Package Lists... Done
 Reading Package Lists... Done
 Building Dependency Tree... Done
 libc6 is already the newest version.
 0 upgraded, 0 newly installed, 0 to remove and 255 not upgraded.
 

Please use aptitude and start doing dist-upgrade instead of updating
individual packages.  That is simply asking for trouble if you are
running Sid.

Regards,

-Roberto

-- 
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com


signature.asc
Description: Digital signature


Re: probs installing g++ on unstable

2007-01-27 Thread Roberto C. Sanchez
On Sat, Jan 27, 2007 at 03:35:47PM +, michael wrote:
 
 Please excuse my ignorance but I was under the impression that aptitude
 and apt did the same thing, so how would using aptitude solve my problem
 (and presumably it would be possible to solve it using apt-get in a
 similar manner...)? Thanks again, Michael
 
It is recommended because aptitude has better dependency resolution
logic.

Regards,

-Roberto

-- 
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com


signature.asc
Description: Digital signature


Re: probs installing g++ on unstable

2007-01-27 Thread Jhair Tocancipa Triana
michael  writes:

 On Sat, 2007-01-27 at 14:51 +0100, Jhair Tocancipa Triana wrote:
 michael  writes:
  ii  libc6  2.3.6-15   GNU C Library: Shared libraries
 
 This a *very* outdated version of libc6 (released on Juny 2006). When
 was your last upgrade?

 today!
 ~$ sudo apt-get update  sudo apt-get install libc6
 Hit http://ftp.uk.debian.org unstable/main Packages
 Hit http://ftp.uk.debian.org unstable/main Release
 Hit http://ftp.uk.debian.org unstable/non-free Packages
 Hit http://ftp.uk.debian.org unstable/non-free Release
 Hit http://ftp.uk.debian.org unstable/contrib Packages
 Hit http://ftp.uk.debian.org unstable/contrib Release
 Reading Package Lists... Done
 Reading Package Lists... Done
 Building Dependency Tree... Done
 libc6 is already the newest version.
 0 upgraded, 0 newly installed, 0 to remove and 255 not upgraded.

Latest libc6 version in unstable is 2.3.6.ds1-10 though. What does

apt-cache policy libc6

say?

-- 
-- Jhair


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: probs installing g++ on unstable

2007-01-27 Thread michael
On Sat, 2007-01-27 at 15:08 +0100, Jhair Tocancipa Triana wrote:
 michael  writes:
 
  On Sat, 2007-01-27 at 14:51 +0100, Jhair Tocancipa Triana wrote:
  michael  writes:
   ii  libc6  2.3.6-15   GNU C Library: Shared libraries
  
  This a *very* outdated version of libc6 (released on Juny 2006). When
  was your last upgrade?
 
  today!
  ~$ sudo apt-get update  sudo apt-get install libc6
  Hit http://ftp.uk.debian.org unstable/main Packages
  Hit http://ftp.uk.debian.org unstable/main Release
  Hit http://ftp.uk.debian.org unstable/non-free Packages
  Hit http://ftp.uk.debian.org unstable/non-free Release
  Hit http://ftp.uk.debian.org unstable/contrib Packages
  Hit http://ftp.uk.debian.org unstable/contrib Release
  Reading Package Lists... Done
  Reading Package Lists... Done
  Building Dependency Tree... Done
  libc6 is already the newest version.
  0 upgraded, 0 newly installed, 0 to remove and 255 not upgraded.
 
 Latest libc6 version in unstable is 2.3.6.ds1-10 though. What does
 
 apt-cache policy libc6
 
 say?
 

aha!
~$ apt-cache policy libc6
libc6:
  Installed: 2.3.6-15
  Candidate: 2.3.6-15
  Package pin: 2.3.6-15
  Version table:
 2.3.6.ds1-10 1000
500 http://ftp.uk.debian.org unstable/main Packages
 *** 2.3.6-15 1000
100 /var/lib/dpkg/status

which I presume means I've pinned it in the past...

And removing said entry from /etc/apt/preferences and I'm away:
~$ sudo apt-get install g++
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  g++-4.1 libc6 libc6-dev libstdc++6-4.1-dev locales
Suggested packages:
  gcc-4.1-doc lib64stdc++6 glibc-doc manpages-dev libstdc++6-4.1-doc
The following NEW packages will be installed
  g++ g++-4.1 libc6-dev libstdc++6-4.1-dev
The following packages will be upgraded:
  libc6 locales
2 upgraded, 4 newly installed, 0 to remove and 249 not upgraded.
Need to get 15.7MB of archives.
After unpacking 26.3MB of additional disk space will be used.
Do you want to continue [Y/n]?

Many thanks! (Shame that apt-get doesn't tell me I've something pinned
and thus why won't be upgraded.)

Mega Thanks, M

 -- 
 -- Jhair
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: probs installing g++ on unstable

2007-01-27 Thread Jhair Tocancipa Triana
michael  writes:
 On Sat, 2007-01-27 at 15:08 +0100, Jhair Tocancipa Triana wrote:
 Latest libc6 version in unstable is 2.3.6.ds1-10 though. What does
 
 apt-cache policy libc6
 
 say?
 

 aha!
 ~$ apt-cache policy libc6
 libc6:
   Installed: 2.3.6-15
   Candidate: 2.3.6-15
   Package pin: 2.3.6-15
   Version table:
  2.3.6.ds1-10 1000
 500 http://ftp.uk.debian.org unstable/main Packages
  *** 2.3.6-15 1000
 100 /var/lib/dpkg/status

 which I presume means I've pinned it in the past...

Yes, that was the source of your problem.

 The following packages will be upgraded:
   libc6 locales
 2 upgraded, 4 newly installed, 0 to remove and 249 not upgraded.
 Need to get 15.7MB of archives.
 After unpacking 26.3MB of additional disk space will be used.
 Do you want to continue [Y/n]?

 Many thanks! (Shame that apt-get doesn't tell me I've something pinned
 and thus why won't be upgraded.)

You are welcome,

-- 
-- Jhair


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]