LinuxQuestions.org
Help answer threads with 0 replies.
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 06-01-2009, 03:26 PM   #1
nima0102
Member
 
Registered: Nov 2006
Posts: 209

Rep: Reputation: 30
lenny "testing to stable"


Hi
I want to upgrade lenny testing to lenny stable,May this upgrade risk my enterprise server ??
thanks for any help or guidance
 
Old 06-01-2009, 03:31 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
If your sources.list file already says "lenny" then you're safe and you've already made the change (assuming you've been doing any security updates).

If your sources.list says "testing" and you've been doing updates, you can't go back to stable.

If your sources.list says "testing" but you haven't done any updates since Lenny became stable, you should be able to just change "testing" to "lenny" and then do an upgrade.

Upgrades are always a risk to production environments. Make sure you have a good backup handy before you start.
 
Old 06-01-2009, 03:32 PM   #3
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
Quote:
Originally Posted by nima0102 View Post
Hi
I want to upgrade lenny testing to lenny stable,May this upgrade risk my enterprise server ??
thanks for any help or guidance
Could you paste a copy of your /etc/apt/sources.list ?

In all likelihood if you specified lenny directly and have been updating software, you ARE running lenny stable.

If you specified testing and have been updating, you're not running lenny anymore you're running squeeze (if memory serves me) and attempting to downgrade from squeeze to lenny would probably not be a pleasant experience.

IMO you really shouldn't use the non-distribution specific monikers in a production environment.

Last edited by rweaver; 06-01-2009 at 03:45 PM.
 
Old 06-02-2009, 04:04 AM   #4
nima0102
Member
 
Registered: Nov 2006
Posts: 209

Original Poster
Rep: Reputation: 30
thanks for your reply
Quote:
Originally Posted by rweaver View Post
Could you paste a copy of your /etc/apt/sources.list ?
deb http://ftp.debian.org/debian testing main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free

dear pljvaldez,is there anyway to find that any update have been done??
Does not apt have any history ??
I think,history is necessary for apt,Do not you think? if so suggest to developer of apt

thanks for any guide or instruction

Last edited by nima0102; 06-02-2009 at 05:58 AM.
 
Old 06-02-2009, 11:39 AM   #5
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
You can try looking at /var/log/dpkg.log and see if there has been any activity since February 14, 2009 (when lenny was released as stable). If there has, you're probably stuck and have to use squeeze (current testing).
 
Old 06-02-2009, 12:23 PM   #6
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Hi Nima,
Updates are not done automatically (unless you've configured an event that does it yourself). If you have not executed something like
Code:
sudo aptitude update && sudo aptitude safe-upgrade
then there haven't been any updates. Do you recall executing such a command in the last 4 months?
cheers,
jdk
 
Old 06-02-2009, 01:09 PM   #7
nima0102
Member
 
Registered: Nov 2006
Posts: 209

Original Poster
Rep: Reputation: 30
thanks for your attention

Quote:
Originally Posted by jdkaye View Post
Hi Nima,
UDo you recall executing such a command in the last 4 months?
jdk
unfortunately I was not admin for this server,because I remember executed commands

if I change source.list to lenny and update repository package and after that I run upgrade,Is determined which packages will be updated or upgraded ?? Is prompt me for accept that??

thanks for any help or instruction
 
Old 06-02-2009, 01:55 PM   #8
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Yes, if you use aptitude it will always tell you want it is going to do and ask if you agree before doing it. If there are dependency problems, aptitude will alert you and even offer solutions. I would avoid using a gui for updating/ugrading packages. You get much more information using the CLI and aptitude.
cheers,
jdk
 
Old 06-02-2009, 04:46 PM   #9
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
Quote:
Originally Posted by nima0102 View Post
thanks for your reply

deb http://ftp.debian.org/debian testing main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free

dear pljvaldez,is there anyway to find that any update have been done??
Does not apt have any history ??
I think,history is necessary for apt,Do not you think? if so suggest to developer of apt

thanks for any guide or instruction
If you didn't have a broken system and you updated with that sources list you may now.

Code:
# Main Debian Mirror
deb http://ftp.us.debian.org/debian/ lenny main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ lenny main contrib non-free

# Security Updates Mirror
deb http://security.debian.org/ lenny/updates main contrib non-free
#deb-src http://security.debian.org/ lenny/updates main contrib non-free
What you want is something like this.

You're actually referencing two different distributions... squeeze and lenny.

They should both specify lenny or both specify testing/stable/unstable. They should never reference different versions.
 
Old 02-13-2010, 07:55 PM   #10
wearetheborg
Member
 
Registered: Sep 2004
Distribution: Mint 19.1
Posts: 298

Rep: Reputation: 41
Quote:
Originally Posted by rweaver View Post
Code:
# Main Debian Mirror
deb http://ftp.us.debian.org/debian/ lenny main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ lenny main contrib non-free

# Security Updates Mirror
deb http://security.debian.org/ lenny/updates main contrib non-free
#deb-src http://security.debian.org/ lenny/updates main contrib non-free
What you want is something like this.

You're actually referencing two different distributions... squeeze and lenny.

They should both specify lenny or both specify testing/stable/unstable. They should never reference different versions.
If I want to install squeeze now, and have my source list file as
Code:
# Main Debian Mirror
deb http://ftp.us.debian.org/debian/ squeeze main contrib non-free
#deb-src http://ftp.us.debian.org/debian/ squeeze main contrib non-free

# Security Updates Mirror
deb http://security.debian.org/ squeeze/updates main contrib non-free
#deb-src http://security.debian.org/ squeeze/updates main contrib non-free
Then, when squeeze becomes stable, will I have to do any changes ?
 
Old 02-13-2010, 08:56 PM   #11
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
no.
 
  


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
Installing Debian Testing Lenny (stable) in DELL notebook - Inspiron 1720 doraimom Debian 12 12-08-2008 12:59 PM
Whats your stable /etc/apt/sources.list for testing/lenny debian ? frenchn00b Debian 6 11-03-2008 11:17 AM
if [ "$VAR"="string" ] always testing TRUE JohnE1 Programming 2 08-05-2008 08:35 PM
Is Debian 3.1r4 "stable" really stable or it just called that? General Debian 22 01-29-2007 05:18 PM
Installing KDE3.1.3 on stable system using the "stable" mirror at download.kde.org preben Debian 8 08-28-2003 07:02 AM

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

All times are GMT -5. The time now is 05:50 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