LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-07-2011, 01:14 PM   #1
scam
Member
 
Registered: Jun 2011
Location: UK
Distribution: Slackware 13.1, Slackware 13.37
Posts: 92

Rep: Reputation: Disabled
Updating Slackware


Hi all, I was reading this http://lwn.net/Articles/457899/rss which made me update slackpkg, which said changelog.txt was up to date. But looking at http://www.slackware.com/security/vi...ecurity.450340 my version of firefox isn't the version shown in the patches?

/var/log/packages/mozilla-firefox-5.0.1-i486-1_slack13.37

Can anyone explain why? ...thanks
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 09-07-2011, 01:21 PM   #2
apeitheo
Member
 
Registered: Apr 2006
Location: /home/apeitheo
Distribution: Slackware, Fedora, Ubuntu, openSUSE
Posts: 30

Rep: Reputation: 8
The mirror that you have selected in /etc/slackpkg/mirrors probably hasn't synced with the official slackware server yet, so either give it a few days or try picking another mirror. I'm using the mirrors.usc.edu mirror, and it has the latest security patches.
 
4 members found this post helpful.
Old 09-07-2011, 01:24 PM   #3
scam
Member
 
Registered: Jun 2011
Location: UK
Distribution: Slackware 13.1, Slackware 13.37
Posts: 92

Original Poster
Rep: Reputation: Disabled
Thanks apeitheo, I'll try another mirror.
 
Old 09-07-2011, 02:50 PM   #4
Konphine
Member
 
Registered: Jul 2011
Location: Phoenix, New York
Distribution: Slackware 13.37
Posts: 376

Rep: Reputation: 11
I don't think that's it.

If you look under /etc/slackpkg/mirrors you'll see that the mirror link is probably something like:

Code:
ftp://ftp.isu.edu.tw/pub/Linux/Slackware/slackware64-13.37/
What you need is:

Code:
ftp://ftp.isu.edu.tw/pub/Linux/Slackware/slackware-current/
slackware-current is the mirror that contains the newest releases of certain programs, including Mozilla Firefox (6.0.2 is in slackware-current).
 
0 members found this post helpful.
Old 09-07-2011, 02:53 PM   #5
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
probably because it's a security update, mozilla-firefox-6.0.2 is also between 13.37 patches.

Last edited by ponce; 09-07-2011 at 02:55 PM.
 
Old 09-07-2011, 09:09 PM   #6
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
Quote:
Originally Posted by Konphine View Post
I don't think that's it.

If you look under /etc/slackpkg/mirrors you'll see that the mirror link is probably something like:

Code:
ftp://ftp.isu.edu.tw/pub/Linux/Slackware/slackware64-13.37/
What you need is:

Code:
ftp://ftp.isu.edu.tw/pub/Linux/Slackware/slackware-current/
slackware-current is the mirror that contains the newest releases of certain programs, including Mozilla Firefox (6.0.2 is in slackware-current).
You should be very careful doing this, or not do it at all. Many (most?) packages from current will not run on 13.37, and you will easily bork your system this way. I think that Firefox is a repackaged binary, so it _might_ work in this case, but for the most part mixing 13.37 and current is just asking for trouble. 6.02 is available in the /patches directory for 13.37. If you really want the newest releases of programs which are in current but not 13.37 you should either try to build them yourself on your 13.37 system or upgrade the whole system to current with the understanding that current is by its nature unstable.

Brian
 
1 members found this post helpful.
Old 09-07-2011, 10:38 PM   #7
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Did you run "slackpkg update" before running "slackpkg upgrade-all"?

And yes, use the tree that came with your distribution. If you have 13.37 use 13.37. If you have Current use Current. Never mix and match.

Last edited by ReaperX7; 09-07-2011 at 10:39 PM.
 
2 members found this post helpful.
Old 09-07-2011, 10:43 PM   #8
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by Konphine View Post

Code:
ftp://ftp.isu.edu.tw/pub/Linux/Slackware/slackware-current/
No. That is poor advice as the OP will then inadvertently upgrade his/her unit to slackware-current (the development branch of slackware). The best advice is to wait until your present mirror syncs with the official slackware mirror or choose a more up to date mirror. I use this mirror for slackware 13.37.

http://mirrors.usc.edu/pub/linux/dis...ackware-13.37/
 
Old 09-07-2011, 10:46 PM   #9
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
You haven't inadvertently changed your PRIORITY in your slackpkg.conf?

Code:
PRIORITY=( patches %PKGMAIN extra pasture testing )
 
Old 09-08-2011, 02:09 AM   #10
scam
Member
 
Registered: Jun 2011
Location: UK
Distribution: Slackware 13.1, Slackware 13.37
Posts: 92

Original Poster
Rep: Reputation: Disabled
The only things I alter are /etc/slackpkg/slackpkg.conf
line #77
DELALL=off

And uncomment a mirror in /etc/slackpkg/mirrors. I've never noticed this before, just reading http://lwn.net/Articles/457899/rss made me notice my version of firefox wasn't the same as the patch. When I update I do...

slackpkg update
slackpkg upgrade-all
slackpkg install-new

But once I changed mirrors it worked.
 
Old 09-08-2011, 02:38 AM   #11
NoStressHQ
Member
 
Registered: Apr 2010
Location: Geneva - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware 14.2 - 32/64bit
Posts: 609

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by scam View Post
When I update I do...

slackpkg update
slackpkg upgrade-all
slackpkg install-new
Wrong order... You should instead (moreover when you're on current):

Code:
slackpkg update
slackpkg install-new    # <- this first is recommended
slackpkg upgrade-all
install-new might installs dependencies or tools required for the following upgrade-all

And optional:
Code:
slackpkg clean-system   # <- if on current or upgrading from a previous version...
Btw, you can upgrade from versions using slackpkg, but you should first upgrade packages in a specific order which should be explained in the UPGRADE.TXT. And as said, it's not recommended to work with current, although if you don't rush on the last minutes updates and check this forum, you should be able to maximize your chance to have something quite solid .

Last edited by NoStressHQ; 09-08-2011 at 02:40 AM.
 
2 members found this post helpful.
Old 09-08-2011, 03:29 AM   #12
scam
Member
 
Registered: Jun 2011
Location: UK
Distribution: Slackware 13.1, Slackware 13.37
Posts: 92

Original Poster
Rep: Reputation: Disabled
Will do in future NoStressHQ, thanks
 
Old 09-08-2011, 06:56 AM   #13
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Quote:
Originally Posted by NoStressHQ View Post
And as said, it's not recommended to work with current, although if you don't rush on the last minutes updates and check this forum, you should be able to maximize your chance to have something quite solid .
Agreed. If you're going to run slackware-current you are expected to be able to trouble shoot and solve some problems on your own. It is a very good idea to read the current changelog before you add new updates as there will on occasion be information to help you to avoid pitfalls, gotchas.
 
  


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
updating slackware 13.0 to slackware-current (+some housekeeping) logicalfuzz Slackware 6 05-17-2010 02:26 AM
Help updating slackware..what is the best way? maniac matt Slackware 6 01-15-2008 07:47 AM
Updating Slackware? JCdude2525 Linux - Software 2 08-15-2004 04:08 PM
Updating Slackware Toth Slackware 1 06-17-2004 11:50 AM
updating slackware andrewlkho Slackware 5 08-19-2003 03:57 AM

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

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