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 11-05-2005, 01:34 PM   #1
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Rep: Reputation: 30
upgrade to stable 64bit sarge


Would I be able to just upgrade from unstable to stable or would I have to start from sractch
 
Old 11-09-2005, 04:57 AM   #2
Que_273
Member
 
Registered: Nov 2005
Location: South coast
Distribution: Debian /AMD64
Posts: 48

Rep: Reputation: 15
Unfortunately, you really need to start from scratch because the 64bit files are incompatible with 32bit ones.
However, if you have free space on you disk and can create a new partition (resizing the old one if necessary) then you can use your current 32bit system as a 'chroot' for running 32bit mozilla/firefox for flash/java plugins and for Openoffice (until v2 comes out) and other programs that need 32 bit libraries.
If you don't think you'll need lots of 32 bit programs there are packages of 32bit libraries that can be installed within the 64bit userland, meaning you can eclim back all you're hard disk space.

Hugh

PS Check out the debian-amd64 mailing list. There's plenty of people there who have helped make the amd64 port work well and they can often help with hardware and software problems.
 
Old 11-09-2005, 09:35 AM   #3
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Original Poster
Rep: Reputation: 30
I thought there was a stable 64bit port
 
Old 11-09-2005, 10:39 AM   #4
Que_273
Member
 
Registered: Nov 2005
Location: South coast
Distribution: Debian /AMD64
Posts: 48

Rep: Reputation: 15
Sorry, I should read more carefully. I consider a move from unstable to stable a "downgrade" so assumed it was a move to 64bit.
Apologies.

If you put the stable entries into sources.list then you can explicitly ask for a stable version of something such as
apt-get install xserver-xfree86/stable
but this does not resolve dependancies so other packages are not automatically downgraded with it, packages are set to be removed if they coflict.

Have a look at the following script
Code:
apt-get install --reinstall `dpkg --get-selections | sed --expression="s/\(\S*\)\(.*\)/\1\/stable/"`
It should get the list of all installed packages and then request the reinstallation of the stable versions of everything. However since not everything has a corresponding stable version eg xserver-xorg, cpp-4.0, another way would be to save the list and remove all the entries that have no stable version and uninstall/downgrade those packages manually
Code:
dpkg --get-selections | sed --expression="s/\(\S*\)\(.*\)/\1\/stable/" > package_list
... edit file...
apt-get install --reinstall `cat package_list`
Note that downgrading the xserver from xserver-xorg to xserver-xfree86 in stable may need some re-tweaking to get x working again.

I hope thats helpful
 
  


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
after all changes with sarge getting stable hyllplan Debian 5 06-18-2005 05:17 PM
What will you do after Sarge has become the new stable? Sabazios3 Debian 13 05-16-2005 04:27 AM
What happens when Sarge becomes stable? hdo781 Debian 5 03-09-2005 03:00 AM
how can i upgrade my squid 2.5 stable 1 to stable 3 in RH9? debloxie Linux - Networking 0 05-12-2004 09:49 PM
how can i upgrade my squid 2.5 stable 1 to stable 3 in RH9? debloxie Linux - Networking 0 05-12-2004 12:25 PM


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