LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 06-04-2005, 07:55 PM   #1
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Using apt-get to upgrade SuSE


I ran apt-get update, and apt-get -d dist-upgrade to download the rpms needed to upgrade 8.2 packages to the highest version prior to doing a version upgrade to 9.x. It took a few days via modem, a few hours each day, but I have the packages.

Question: how do I get apt-get to now upgrade the system? Do run apt-get dist-upgrade (without the -d option), or do I run apt-get --reinstall dist-upgrade? I'm not trying to reinstall, just upgrade the installed packages, install any new packages required by the upgrade, and remove old packages no longer needed. Something on the order of rpm -U, but system-wide, not one package at a time (500+ packages).

I've done a few hours of googling, but haven't found anything which specifically deals with using apt-get after-the-fact on a local archive of files to upgrade.
 
Old 06-04-2005, 09:37 PM   #2
Gay R0b0t
Member
 
Registered: May 2004
Location: Sydney, Australia
Distribution: SUSE 9.3
Posts: 127

Rep: Reputation: 15
you can try simply changing your souces (in /etc/apt/sources.conf), which you have probably already done, to reflect the desired version of SuSE to upgrade to. then run, apt-get dist-upgrade.

this will almost definately leave package inconsistancies, as older packages rely on other old packages, which when you try and upgrade cause breakages. It would be simply easier to download the net-install cd and run that, and tell it to upgrade your system. only problem is, that it would restart the whole process (of downloading packages) again.
 
Old 06-04-2005, 09:49 PM   #3
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 919

Rep: Reputation: 32
Quote:
Originally posted by bigrigdriver
Question: how do I get apt-get to now upgrade the system?
You can attempt to upgrade the pkgs but you can NOT upgrade the system without a CD and/or FTP install. All you'll have at best is an 8.2 system running on some 9.x RPM's. And if you want to also upgrade the kernel then you are really going to need a pick-axe and a scalpel as that will be a whole other battle. In short, I wouldn't advise you even try it unless you are an aspiring mad scientist.

Follow the instructions above. Do the net-install.
 
Old 06-04-2005, 10:46 PM   #4
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Original Poster
Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Thank you both, net-install it is then. Oh, well. Did the downloads the hard way once. Once more won't hurt any more that the first.
 
  


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
apt-get question: dist-upgrade vs upgrade Arodef Fedora 9 06-15-2012 01:33 PM
apt-get upgrade merchtemeagle DamnSmallLinux 9 06-19-2005 05:43 PM
apt-rpm, SuSE 8.2 upgrade, and package conflicts bigrigdriver Linux - Software 2 05-28-2005 03:23 PM
How to apt-get upgrade? lewkh Debian 3 11-10-2004 10:16 AM
What's the difference between apt-get upgrade and apt-get dist-upgrade? davidas Linux - Newbie 4 04-04-2004 08:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 03:00 AM.

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