LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack 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
LQ Newbie
 
Registered: Apr 2006
Distribution: Slackware
Posts: 26

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
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,314

Rep: Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816Reputation: 816
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,421

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
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, Slackware-14.1, PCBSD-10.0
Posts: 2,406
Blog Entries: 14

Rep: Reputation: 584Reputation: 584Reputation: 584Reputation: 584Reputation: 584Reputation: 584
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
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,007

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
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: 307Reputation: 307Reputation: 307Reputation: 307
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: Lausanne - Switzerland ( Bordeaux - France / Montreal - QC - Canada)
Distribution: Slackware Leet - 32/64bit
Posts: 271

Rep: Reputation: 87
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
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,007

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
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


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


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