LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   pkgtool doesn't support txz? (https://www.linuxquestions.org/questions/slackware-14/pkgtool-doesnt-support-txz-727348/)

zyli2006 05-20-2009 01:56 PM

pkgtool doesn't support txz?
 
I just download MPlayer-r29301-i486-1.txz, and want to install it using pkgtool, but it seems that pkgtool doesn't recognize the txz file. What can I do?

My slackware version is 12.2, from dvd.

Thanks!

MS3FGX 05-20-2009 02:09 PM

You are trying to use packages from -current on a stable release of Slackware (12.2), which is not a good idea and in this particular case won't work. The default Slackware package format (or more accurately, the compression used on the package) has changed in -current, and is not compatible with the old pkgtools.

samac 05-20-2009 02:11 PM

You are trying to install a package from current onto 12.2 with the 12.2 package manager. txz packages are only in current and only supported by the pkgtool in current at the moment, so you will have to get a tgz package or uncompress it and rebuild it as a tgz.

samac

MannyNix 05-20-2009 02:19 PM

Quote:

Originally Posted by zyli2006 (Post 3547254)
...What can I do?

Use Mplayer from slackbuilds.org and maybe mplayer-codecs-all too.
HowTo (just in case)
gl

zyli2006 05-20-2009 02:25 PM

Thanks for your reply.

If I want to "upgrade" my system to the -current branch, what tutorials should I follow?

Quote:

Originally Posted by samac (Post 3547273)
You are trying to install a package from current onto 12.2 with the 12.2 package manager. txz packages are only in current and only supported by the pkgtool in current at the moment, so you will have to get a tgz package or uncompress it and rebuild it as a tgz.

samac


MannyNix 05-20-2009 02:42 PM

Quote:

Originally Posted by zyli2006 (Post 3547301)
If I want to "upgrade" my system to the -current branch, what tutorials should I follow?

Here's the official one --> UPGRADE.TXT
Always good to read CURRENT.WARNING first.
There are some recent posts on the forum, just use the search tool.
gl

chess 05-20-2009 02:55 PM

Bear in mind that if you decide to run Slackware -current, which is a constantly moving target, it is not a supported 'release' and things like the SlackBuild scripts at SlackBuilds.org are not guaranteed to work. Many of them might work just fine, but essentially if you run -current you are on your own. Slackware -current is the development tree for the future release of Slackware. If you are new to Slackware, I would not recommend running -current on a production machine since breakage, although rare, can happen. Otherwise, I would recommend sticking with a supported release like 12.2. And if you want mplayer for 12.2, I would use the SlackBuild scripts that MannyNix pointed out.

zyli2006 05-20-2009 03:31 PM

Thank you so much. Yes I am a new slacker, and I will stay on 12.2.

I just noticed that people here are excited about the new features in the -current branch so I was curious about it.

Now I will stay on my 12.2, it's good enough!

Quote:

Originally Posted by chess (Post 3547330)
Bear in mind that if you decide to run Slackware -current, which is a constantly moving target, it is not a supported 'release' and things like the SlackBuild scripts at SlackBuilds.org are not guaranteed to work. Many of them might work just fine, but essentially if you run -current you are on your own. Slackware -current is the development tree for the future release of Slackware. If you are new to Slackware, I would not recommend running -current on a production machine since breakage, although rare, can happen. Otherwise, I would recommend sticking with a supported release like 12.2. And if you want mplayer for 12.2, I would use the SlackBuild scripts that MannyNix pointed out.


rg3 05-20-2009 03:56 PM

Quote:

Originally Posted by MannyNix (Post 3547320)
Here's the official one --> UPGRADE.TXT
Always good to read CURRENT.WARNING first.
There are some recent posts on the forum, just use the search tool.
gl

As I mentioned in another thread, those instructions are not yet updated. You need to install xz and pkgtools first, and now packages can be in both tgz and txz format, so the commands mentioned in UPGRADE.TXT would need to be adapted. The glibc-solibs package is in txz format, hence the need to upgrade xz and pkgtools first.


All times are GMT -5. The time now is 08:17 AM.