LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 05-17-2007, 10:12 PM   #1
mcs
LQ Newbie
 
Registered: Jan 2006
Posts: 10

Rep: Reputation: 0
transform old testing to stable?


Hello,

I have successfully upgraded a box from sarge to etch, no real problems there. However, I also have a machine that was testing before etch turned to stable and I really want to keep it at etch. If I do an upgrade now, I believe it will turn into testing?
I upgraded some packages and it already did. Has someone got an idea how to prevent this and maybe downgrade?
Cheers

MCS
 
Old 05-17-2007, 11:11 PM   #2
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
It's already Etch! Just make sure all your repos are "stable" now and you should be fine. I did the same with my own testing Etch system. Works fine!

Code:
 $ cat /etc/*release
... should tell you "Debian 4.0".
 
Old 05-17-2007, 11:42 PM   #3
mcs
LQ Newbie
 
Registered: Jan 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by vtel57
It's already Etch! Just make sure all your repos are "stable" now and you should be fine. I did the same with my own testing Etch system. Works fine!

Code:
 $ cat /etc/*release
... should tell you "Debian 4.0".
Unfortunately this file does not exist!
In any case, I have now removed all references to testing in my sources.list and I only had a few upgrades when doing apt-get upgrade, which seems ok. Before there were masses
Thanks for your reply!
Cheers

MCS
 
Old 05-18-2007, 12:25 AM   #4
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Ooops! Typo...

Try:

Code:
 $ cat /etc/*-release
I forgot the hyphen in between * and release. Should work for you now.
 
Old 05-18-2007, 04:11 AM   #5
lurko
Member
 
Registered: Jun 2006
Location: Ontario, Canada
Distribution: Debian
Posts: 448

Rep: Reputation: 35
it's /etc/debian_version on my Etch install, and it reads only '4.0'

if there was a file named xxwhateverxx-release in /etc, '$cat /etc/*release' would pick it up just as well as '$cat /etc/*-release' (the asterisk covers the hyphen too).

Last edited by lurko; 05-18-2007 at 04:12 AM.
 
Old 05-18-2007, 10:47 AM   #6
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Yup! You're absolutely correct about the wildcard, lurko. So many distros on my system... I sometimes forget which methods work where, if you know what I mean.

Checking my Deb from Slackware:

Code:
root@ericsbane03:/home/vtel57# cat /mnt/etc/debian*
4.0
 
Old 05-18-2007, 01:49 PM   #7
mcs
LQ Newbie
 
Registered: Jan 2006
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by lurko
it's /etc/debian_version on my Etch install, and it reads only '4.0'
Indeed.
Cheers

MCS
 
  


Reply



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
Stable to Testing mikieboy Debian 8 12-15-2006 05:54 PM
testing -> stable martine Debian 3 05-18-2005 10:46 AM
stable --> testing? koyi Debian 5 09-05-2004 10:03 AM
Going from testing to stable Bd22 Debian 3 02-08-2004 01:13 PM
stable to testing,.??? ikkuh Debian 2 09-07-2003 07:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration