LinuxQuestions.org
Help answer threads with 0 replies.
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-02-2013, 03:50 AM   #31
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761

Quote:
Originally Posted by ottavio View Post
Is deb2tgz as bad as rpm2tgz? I've never been able to make any productive package from the latter.
They are both fine for many simple packages and hence can be handy tools for those new to Slackware as it makes a few more packages readily available but indeed they often do not work well with more complex packages, i.e. those that attempt to do a lot in their post install scripts or which have files that get installed to non standard locations.

I must admit I never use either. I manually inspect the package description, dependencies and the install/removal scripts, e.g.

RPM:
Code:
$ rpm -qip example-1.0-1.x86_64.rpm
$ rpm -qRp example-1.0-1.x86_64.rpm
$ rpm -q --scripts -p example-1.0-1.x86_64.rpm
DEB:
Code:
$ bsdtar xOf example_1.0_amd64.deb control.tar.gz | tar x
$ cat control
$ cat preinst 
$ cat postinst
$ cat prerm
$ cat postrm
Then construct slack-desc and doinst.sh based on the information gathered.

Then I unpack the files:

RPM:
Code:
$ bsdtar xf example-1.0-1.x86_64.rpm
DEB:
Code:
$ bsdtar xOf example_1.0_amd64.deb data.tar.* | tar x
With files extracted (and possibly shuffled around a little) plus install/slack-desc and install/doinst.sh files created a package can be made with makepkg. After I have done it once manually I would then generally write a SlackBuild based on what I did to make things easier should I ever need to update the application.
 
1 members found this post helpful.
Old 09-03-2013, 01:59 PM   #32
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
Quote:
Originally Posted by hegira View Post
Just an update. For some reason when I install as above, it still does not work in user, and crashes on reboot. I get a message saying kernel panic an dsomething about attempted to kill init or something like that and there many codes consisting of lots of fs and then some numbers. Anyhow, I reinstalled slackware64 14 and then tried to install astrill (the command line version): https://www.astrill.com/downloads/as....sh?mirror=usa and just tried to install from command line, and the same thing happened. On reboot, it says kernel panic, and crashes. So frustrating!
Sorry for my absence the past few days, very limited availability...

Also sorry to see that this did not work out in the end.

After reviewing this thread again today, and thanks again to the excellent research by ruario, I would have to agree with his conclusion that you would be much better served to try to set up OpenVPN as your client. The Astrill code seems to be in need of much more work than simply setting it up to work on Slackware, and debugging or rewriting it is simply beyound the scope of waht you or any of us can realistically do!

Good luck!
 
  


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
[SOLVED] Problem installing Slackware64 14.0 ferrel Slackware 52 11-07-2012 12:23 AM
problem with slackware64 tinnnysu Slackware 7 10-14-2012 06:17 PM
[SOLVED] googleearth problem in Slackware64-current afreitascs Slackware 6 05-12-2011 08:57 AM
convert deb2tgz... is it possible...? Alexvader Slackware 18 01-17-2010 02:58 PM
[SOLVED] Slackware64-C client wont detect Slackware64-C Samba server slackass Slackware 5 08-07-2009 11:23 PM

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

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