[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: probs installing g++ on unstable



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
> 
> 



Reply to: