LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 04-14-2010, 05:51 PM   #1
clifford227
Member
 
Registered: Dec 2009
Distribution: Slackware 14
Posts: 282

Rep: Reputation: 64
upgrading to 13.1


Hi,

I know this type of upgrade question is asked regularly so I apologise in advance if its annoying.

Im currently running 12.2, and Im wondering when 13.1 may be available? have there been many problems with 13.0? I've been working quite alot so havent been checking in that often lately.

also, would my old .tgz packages work with 13.1, or would I need to rebuild them as .txz?
 
Old 04-14-2010, 05:58 PM   #2
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,428

Rep: Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867
sorry in advance from me too for the super-quick answers:

- there's no release schedule: it will be released when Patrick Volderding will think it's ready.

- your old packages will work also on the new slackware.
 
Old 04-14-2010, 06:04 PM   #3
clifford227
Member
 
Registered: Dec 2009
Distribution: Slackware 14
Posts: 282

Original Poster
Rep: Reputation: 64
super, thankyou
 
Old 04-14-2010, 06:27 PM   #4
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,428

Rep: Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867
ah, sorry, I reread my answer and your question, I was thinking you were speaking about the package format: it's not sure that your old packages will work on the new slackware.
It depends on which libraries they are built on: if, for instance, they are built on an older version of libpng than 1.4 (the one in -current), thay will probably not work. same thing for libjpeg (it has been upgraded in -current) and so on.
you have to check if their dependencies are updated from slackware-12.2 and slackware-current and than consider rebuilding/updating/patching the packages (but you can still use the .tgz format instead of .txz for creating packages).
but if you just need prebuilt packages or build scripts for -current/future-13.1 there is a lot of -maintained- stuff around.

Last edited by ponce; 04-15-2010 at 06:25 AM.
 
Old 04-14-2010, 06:29 PM   #5
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
- your old packages will work also on the new slackware.
Thats far from true for 99% of packages.
Yes you can still use .tgz as the file extension but since most libraries will have been updated in next Slackware release, furthermore from 12.2, you will have to rerbuild them in order for them to work.

edit: ponce added another answer in the meantime..
 
Old 04-14-2010, 06:32 PM   #6
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,428

Rep: Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867
yes, sorry for misunderstanding at first...
 
Old 04-15-2010, 07:17 AM   #7
clifford227
Member
 
Registered: Dec 2009
Distribution: Slackware 14
Posts: 282

Original Poster
Rep: Reputation: 64
I see, thanks for the clarification ponce and sahko, I did actually ask simply about the .tgz format working on the .txz system, I didnt think at all about the libraries, I just assumed everything would be backward compatable.

having said that its not too much of a problem to build the programs again, most are from slackbuilds (thanks slackbuilds.org). I have a few programs that I have to build myself, but I made notes on them the first time I built them, so thats not a problem. also I have made it my preference to choose gtk2 apps over qt or programs that require 5+ dependancies simply for the sake of eye candy so it shouldnt be too bad.


another question I would like to ask is this:

is building a .txz package yourself (when theres no slackbuild available), still the same procedure as with .tgz package building? is it just the compression thats different?

(I use this procedure from Linuxpackages.net:

http://www.linuxpackages.net/howto.p...=Package+Howto)
 
Old 04-15-2010, 07:25 AM   #8
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,428

Rep: Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867
the procedure and the command switches for makepkg are the same, simply change the name of the output package so it ends with .txz instead of .tgz: makepkg should spot the extension and compress it differently.

FYI, have a look also at slackbuilds.org's templates: it's all well commented
 
Old 04-15-2010, 08:08 AM   #9
clifford227
Member
 
Registered: Dec 2009
Distribution: Slackware 14
Posts: 282

Original Poster
Rep: Reputation: 64
I did take a look at creating my own slackbuild template files a while ago, but I got lost somewhere and gave up, but that template file from slackbuilds.org looks pretty easy to understand, and I do have a couple of programs like Transmission that are updated almost weekly, but that I dont update simply because it would require my building the package manually everytime. I think I'll have another go at slackbuild templates, before I reinstall slack tomorrow.

just one final question:

Can you tell me where the file is that lists installed non-system packages? (the packages I've built from slackbuilds.org, and those that I have built and installed through pkgtool).
 
Old 04-15-2010, 08:14 AM   #10
koenigdavidmj
Member
 
Registered: Oct 2009
Posts: 73

Rep: Reputation: 25
Quote:
Originally Posted by clifford227 View Post
Can you tell me where the file is that lists installed non-system packages? (the packages I've built from slackbuilds.org, and those that I have built and installed through pkgtool).
There exists a file for every package in the directory /var/log/packages . SlackBuilds contain a 'tag' of _SBo, unless you tell it otherwise:

Code:
ls /var/log/packages/*_SBo
And of course this would get you the original system packages:

Code:
ls /var/log/packages | grep -v SBo
 
Old 04-15-2010, 09:04 AM   #11
clifford227
Member
 
Registered: Dec 2009
Distribution: Slackware 14
Posts: 282

Original Poster
Rep: Reputation: 64
thanks
 
Old 04-15-2010, 09:53 AM   #12
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 227Reputation: 227Reputation: 227
Quote:
Can you tell me where the file is that lists installed non-system packages? (the packages I've built from slackbuilds.org, and those that I have built and installed through pkgtool).
Code:
ls /var/log/packages/*_SBo
The trouble with this is :
Quote:
SlackBuilds contain a 'tag' of _SBo, unless you tell it otherwise:
as possibly not all custom built packages will follow this naming convention. A way out it to use the "hidden" functionality in slackpkg. First you need to enable a correct mirror in /etc/slackpkg/mirrors the run :
Code:
su -c "slackpkg update && slackpkg -batch=on -default_answer=no -dialog=off clean-system > non_standard.txt"
to create the file non_standard.txt which will contain the names off any packages not in the standard Slackware package tree.
 
1 members found this post helpful.
Old 04-15-2010, 04:52 PM   #13
rigelan
Member
 
Registered: Jul 2005
Location: Iowa
Distribution: Slackware
Posts: 172

Rep: Reputation: 19
Using

Code:
slackpkg clean-system
you can identify all non-standard packages currently listed in /var/log/packages/. Slackpkg will then prompt you to remove them all -- if of course you want them removed.

If you don't want them removed, then don't remove them!
 
  


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
upgrading to 9.04 mobinskariya Ubuntu 2 08-21-2009 04:03 AM
upgrading from 2.4.31 to 2.6.17.9 sharathg786 Slackware 12 08-26-2006 05:25 AM
Upgrading to Badger! Can't login anymore after upgrading? BellaSha87 Ubuntu 1 12-03-2005 12:09 PM
upgrading (or not upgrading) glibc richarde Slackware 9 09-12-2005 12:56 AM
upgrading? clericvash Mandriva 2 09-23-2004 08:42 AM


All times are GMT -5. The time now is 06:55 AM.

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