LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 02-21-2006, 06:53 PM   #1
vbtalent
Member
 
Registered: Aug 2005
Posts: 48

Rep: Reputation: 15
How to revert to earlier version of gcc and c++...


I inadvertantly upgraded gcc and c++ the other day and I need to downgrade to an earlier version.

Currently I'm running 4.0.2-9 or 4.0.3 (prerelease) and I need to downgrade to 4.0.2-8 in order to be compatible with my other boxes for using distcc for distributed compiling which is giving me fits.

Can someone help me with this or point me to some directions on doing this???

Thanks.

AJM,
 
Old 02-21-2006, 11:30 PM   #2
fsateler
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Debian Unstable
Posts: 107

Rep: Reputation: 15
Maybe snapshot.debian.net can help. It has an enormous archive of old debian packages. http://snapshot.debian.net/archive/2006/01/30/debian/ apparently has the gcc version you need, so just add it to your debian sources, and then apt-get it (append =<version> to each package name)
 
Old 02-22-2006, 07:23 AM   #3
vbtalent
Member
 
Registered: Aug 2005
Posts: 48

Original Poster
Rep: Reputation: 15
That helps thanks. I was unaware of how to identify a specific package append =<version>...

I'm abit unfamiliar with snapshot.debian.net how will the sources.list specifically map out if I'm looking at stable?

AJM,
 
Old 02-22-2006, 10:13 AM   #4
dracae
Member
 
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
I to do not know snapshot, but to mix sources but default to stable add the following to /etc/apt/apt.conf

Code:
APT::Default-Release "stable";
 
Old 02-22-2006, 02:59 PM   #5
fsateler
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Debian Unstable
Posts: 107

Rep: Reputation: 15
Quote:
Originally Posted by vbtalent
I'm abit unfamiliar with snapshot.debian.net how will the sources.list specifically map out if I'm looking at stable?
I have never used it, but I guess a line like this would suffice:
Code:
deb http://snapshot.debian.net/archive/YYYY/MM/DD/debian dist main
Where YYYY/MM/DD is the date of the archive you want to look at, and dist is what distribution you use (stable, testing, unstable).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding distribution + kernel version + gcc version + glib version. JCipriani Linux - General 8 04-19-2008 03:54 PM
how to revert back to older version of XFree86? pdmackenzie Linux - Software 3 06-18-2004 09:28 AM
How to remove/reinstall OR revert X to a previous version? C38368 Linux - Newbie 1 05-26-2004 03:57 AM
how to revert back to the previous kernel version? prav_284 Red Hat 3 12-10-2003 04:51 AM
export CC=/usr/bin/gcc-3.2 - switch gcc version? ferreter Linux - Software 1 08-20-2003 01:07 AM


All times are GMT -5. The time now is 11:11 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration