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 > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-14-2004, 12:16 AM   #1
moger
Member
 
Registered: Sep 2002
Distribution: Fedora Core 3
Posts: 247

Rep: Reputation: 30
Is it safe to upgrade everything to Slackware Current?


I just installed Slackware and want to upgrade the system to the slackware current branch. I did a swaret --update and then a swaret --upgrade . There is a bunch of stuff to upgrade and I said yes to all. I'm wondering if this was safe or not? Would some stuff need to be recompiled if some packages were upgraded and such?
 
Old 01-14-2004, 12:52 AM   #2
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
If you did not change the /etc/swaret.conf to current level (default is 9.1) then it will only be Slackware-9.1 with patch packages.

Is it save? I screwed up my Slackware 9.0 with swaret upgrade to current.
 
Old 01-14-2004, 12:57 AM   #3
moger
Member
 
Registered: Sep 2002
Distribution: Fedora Core 3
Posts: 247

Original Poster
Rep: Reputation: 30
Well I changed 9.1 in /etc/swaret.conf to current and upgraded everything. Am I doomed?
 
Old 01-14-2004, 02:22 AM   #4
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
Quote:
Originally posted by moger
Well I changed 9.1 in /etc/swaret.conf to current and upgraded everything. Am I doomed?
Most likely, you're pretty much safe. The only things you might possibly screw up majorly are lilo and the kernel.

If you replaced any one of these, you better run lilo before rebooting. However, if I'm not mistaken, these two things are in the default swaret exclude list.
 
Old 01-14-2004, 02:24 AM   #5
moger
Member
 
Registered: Sep 2002
Distribution: Fedora Core 3
Posts: 247

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Azmeen
Most likely, you're pretty much safe. The only things you might possibly screw up majorly are lilo and the kernel.

If you replaced any one of these, you better run lilo before rebooting. However, if I'm not mistaken, these two things are in the default swaret exclude list.
I didn't upgrade LILO or the kernel. So good; I'm glad to know this is safe.
 
Old 01-14-2004, 03:44 AM   #6
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Rep: Reputation: 31
Those are excluded by default. I have used swaret in the past without any problems. Prefer slapt-get nowadays but that's about the same.
 
Old 01-17-2004, 09:55 PM   #7
dirstyGuy
Member
 
Registered: Jan 2004
Posts: 67

Rep: Reputation: 15
After reinstalled 9.1 I've not let rc.hattpd to start at boot, yesterday as I tried to bring httpd to run it complained about not able to find "libexec/mod_vhost_alias.so" etc..

I do "ls -la /usr/libexec" and found the xxx.so modules are not in /usr/libexec, but they are on "/usr/libexec/apache", so just replace all the libexec/mod_xxx.so with libexec/apache/mod_xxx.so will do it. Tha apply also to similar thing in /etc/apache/mod_ssl.conf ..

Just a notice in case someone stucked with ..
 
Old 01-17-2004, 10:02 PM   #8
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Yeah, I'm having problems getting apache to load up on my rig, too. As soon as I boot it up and get on the internet with it, I'll post the error messages. All I know off the top of my head is when I run "apachectl start" or --start, whichever switch it is, it complains about some file being missing or something.
 
Old 01-17-2004, 10:24 PM   #9
dirstyGuy
Member
 
Registered: Jan 2004
Posts: 67

Rep: Reputation: 15
the command for starting apache-httpd is apachectl start just look at /etc/rc.d/rc.httpd. Make a chomd 755 /etc/rc.d/rc.httpd then it will be started at boot..

Edit ur /etc/apache/httpd.conf n make a "query replace" from "libexec" with "libexec/apache" then it will be fine I bet. Do it also with /etc/apache/mod_ssl.conf if u had enabled mod_ssl at the bottom of httpd.conf ..

In VIM u will do it like this (supposed the x is the line number where the libexec/.. is n y is the last line number where it apperead, then:

:x,ys/libexec/libexec\/apache/g

That will replace the appearances of "libexec" with "libexec/apache from line number x through y in the file u are editing with VIM.
 
Old 01-18-2004, 12:55 AM   #10
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
I have a secondary server that was installed with 8.0 and I've pretty much upgraded everything manually to Current with no problems.. not sure how swaret works as I like to do it manually but you shouldn't really have any problems upgrading to Current.
 
Old 01-18-2004, 04:31 AM   #11
dirstyGuy
Member
 
Registered: Jan 2004
Posts: 67

Rep: Reputation: 15
I have looked back to my /etc/swaret.conf, I have found one possible bugs of my self:

VERSION=9.1
ROOT=file:/home/ftp/slw/current
#ROOT=ftp://ftp.slackware.at/slackware-$VERSION

If I were upgrading from a ftp/http-site, swaret would fetch from a slackware-9.1 tree, which is correct. But if I used "ROOT=file:/home/ftp/slw/current" swaret will be fetching from a current-tree. That could have caused the inharmony between packages for "current" and "9.1".
 
Old 01-18-2004, 08:15 AM   #12
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
Another problem that came up a few months ago with swaret and programs of such ilk. If you look throught the current changelogs, there was a withdraw of an update because of a bug, they recommended that you go back to the old version. Of course the auto updaters could not do that not knowing they should. So even if you use an auto update program you need to watch the change logs and know what is going on with your system.
 
Old 01-18-2004, 08:20 AM   #13
little_ball
Member
 
Registered: Oct 2003
Location: teddy bears Land
Distribution: Slackware 10
Posts: 176

Rep: Reputation: 30
well if this comment is helpfully for you, I must say I always upgrade my package of slack 9.1 whit the packages of slackware current, and until today noting has gone wrong. But i don't upgrade it whit swaret i do it manually, from slackware.com but i don't think that's make a different. anyway, I haven't upgrade kernel or lilo from my slack 9.1 to slackware current, but i did upgrade my KDE whit kde 3.2 from kde.org and it didn't miss up nothing. So I think you could use slackware current packages =P
 
Old 01-18-2004, 08:37 AM   #14
dirstyGuy
Member
 
Registered: Jan 2004
Posts: 67

Rep: Reputation: 15
I had had several partition of slackwares. I used to upgrade them from the current-tree also previously. But I used swaret 1.3 at that time. Due to a bad partition I'd deleted all of the slackware partitions and did a new install directly from the current-tree (actual of 5 days ago).

I usaually use rsync to actualize my current-tree. So my current-tree should be identical to the current-tree from the official slackware site b4 I did the reinstall. It installed kernel 2.4.24, kernel 2.4.23 was deleted by rsync already. I believe I did swaret --update/--upgrade after reboot. But after booting-up it looked modules from /lib/modules/2.4.23, which is not available ..

So I just let that partition, n now installed the slackware 9.1 on another partition. Do swaret update/upgrade after that. For both of the partition I used swaret 1.6.0.5 now. I don't know is that the problem of swaret or it is my missconfiguration of swaret.

I remembered to have had installed directly from current-tree also, at that time it had kernel 2.4.23 and I used swaret 1.3. So really don't what was problem swaret version 1.6 or .. ??
 
Old 01-18-2004, 10:13 AM   #15
dfowensby
Member
 
Registered: Dec 2003
Location: OceanView Virginia, gem of the Southern Shore
Distribution: OpenSuSE Tumbleweed
Posts: 194
Blog Entries: 1

Rep: Reputation: 30
i have Slack 9.1, edited the etc/swaret.conf, entered version=current, commented out the kernel exclude, then entered swaret --update && swaret --upgrade -u && swaret --purge in my root crontab for 2300 nitely.
the boot this morning complained about gstreamer files not being ELF format, and refused to start up apache (as noted above), but everything else is really good, and when i checked my ./machine-update -i script, is says i'm running 2.4.24 kernel.
Sweet.
 
  


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
How to upgrade from Slackware 10.1 to current? Basel Slackware 21 07-18-2005 07:00 AM
Is it safe to upgrade Slackware thru swaret? mikebalcos Slackware 5 07-09-2005 02:11 PM
Slackware-Current: Qt upgrade issues Neruocomp Slackware 1 04-03-2005 12:24 PM
No Xwindows after upgrade to Slackware-current R_Shackleford Slackware 3 06-22-2004 01:48 AM
Slackware-current kdemultimedia upgrade? roastpork Slackware 2 01-19-2004 05:32 PM

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

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