LinuxQuestions.org
Visit Jeremy's Blog.
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 02-23-2016, 11:05 AM   #211
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Rep: Reputation: 47

I installed slpkg in Salix-Mate desktop and tried to install 'kolourpaint' - a KDE application. However, slpkg only installed kolourpaint (from slackware repository) and did not install any dependencies. It also did not find any kolourpaint package in Salix repository. I then used 'spi' command of Salix, which installed kolourpaint along with all needed dependencies.

The Salix entry in /etc/slpkg/default-repository file is:
Why slpkg did not find and install dependencies in Salix-Mate?

Last edited by rng; 02-23-2016 at 11:07 AM.
 
Old 02-23-2016, 11:50 AM   #212
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
Possibly you forgot to uncomment the slacky repository in /etc/slpkg/repositories.conf. I have not used slpkg yet (just installed) so I do not know if commenting slack in the same file is needed. Dimitris will tell you.

Also, if you have installed Salix-Mate from their ISO, I don't see the point in using slpkg over slap-get/gslapt/sourcery, as I assume that slpkg is more intended for people running Slackware as a base installation. But I could be wrong, so please Dimitris correct me case occuring.
 
Old 02-23-2016, 02:07 PM   #213
dslackw
Member
 
Registered: Aug 2014
Location: Orestiada, GR
Distribution: Slackware 15.0 x86_64 -stable
Posts: 158

Original Poster
Rep: Reputation: 44
slack repository has not reference to the dependencies.
 
Old 02-23-2016, 02:13 PM   #214
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
... But those do:
http://slackware.uk/salix/i486/slackware-14.1
http://slackware.uk/salix/x86_64/slackware-14.1
 
Old 02-23-2016, 02:22 PM   #215
dslackw
Member
 
Registered: Aug 2014
Location: Orestiada, GR
Distribution: Slackware 15.0 x86_64 -stable
Posts: 158

Original Poster
Rep: Reputation: 44
Quote:
Originally Posted by Didier Spaier View Post

Thank you Didier!

@rmg

try the following:
Code:
slpkg repo-add salix2 URL
slpkg update --only=salix2

slpkg -s salix2 kolourpaint
 
Old 02-23-2016, 03:05 PM   #216
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
@rng: Be aware that two packages with the same name coming from different sources have not necessarily the same content.

For instance (borrowed to gapan from a recent email exchange) hplip shipped in Salix doesn't include a qt GUI because Salix doesn't install QT by default (and in my opinion, it is a wise decision as it wouldn't make sense to add this extra weight for QT to the Mate Salix ISO just to ship a GUI for hplip).
 
Old 02-23-2016, 07:33 PM   #217
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Rep: Reputation: 47
Slacky is enabled in repositories.conf.

Regarding spi in Salix, I agree spi is very good but it builds sbo packages from source which takes time, while with slpkg I can install binaries from slackonly repository. Also other repositories like msb are available.

I added 'salix2' repository with http://slackware.uk/salix/i486/slackware-14.1, updated slpkg for it, removed kolourpaint with removepkg and tried to install kolourpaint with slpkg (now all dependencies are already installed, but I wanted to see if slpkg finds them). However, slpkg ended with following repeated error:

Code:
....
  File "/usr/lib/python2.7/site-packages/slpkg/binary/dependency.py", line 58, in binary
    self.binary(dep, flag)
  File "/usr/lib/python2.7/site-packages/slpkg/binary/dependency.py", line 58, in binary
    self.binary(dep, flag)
  File "/usr/lib/python2.7/site-packages/slpkg/binary/dependency.py", line 58, in binary
    self.binary(dep, flag)
  File "/usr/lib/python2.7/site-packages/slpkg/binary/dependency.py", line 58, in binary
    self.binary(dep, flag)
  File "/usr/lib/python2.7/site-packages/slpkg/binary/dependency.py", line 58, in binary
    self.binary(dep, flag)
  File "/usr/lib/python2.7/site-packages/slpkg/binary/dependency.py", line 49, in binary
    requires = Requires(name, self.repo).get_deps()
RuntimeError: maximum recursion depth exceeded

Last edited by rng; 02-23-2016 at 07:50 PM.
 
Old 02-23-2016, 09:15 PM   #218
dslackw
Member
 
Registered: Aug 2014
Location: Orestiada, GR
Distribution: Slackware 15.0 x86_64 -stable
Posts: 158

Original Poster
Rep: Reputation: 44
Unfortunately at the moment, slpkg can't work with this repository because it has many circular references to the same dependencies.
 
Old 02-23-2016, 11:10 PM   #219
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,058

Rep: Reputation: Disabled
The main purpose of this repository is to help Salix users find a dependency when needed (as Salix default installation does not include all Slackware packages), so it would be interesting to know why/how the behavior of slpkg vs slapt-get differ when using it.

Last edited by Didier Spaier; 02-23-2016 at 11:28 PM.
 
Old 02-24-2016, 12:19 AM   #220
dslackw
Member
 
Registered: Aug 2014
Location: Orestiada, GR
Distribution: Slackware 15.0 x86_64 -stable
Posts: 158

Original Poster
Rep: Reputation: 44
A example when try to install package 'A':

For this repository (salix2):
(we see mentioned dependence 'D' two times)
Code:
PACKAGE: A
REQUIRE: Z, X, D

PACKAGE: Z
REQUIRE: D, S

PACKAGE: X
REQUIRE: G, C, V

PACKAGE: D
REQUIRE: S
for normal Slackware repositories:
Code:
PACKAGE: A
REQUIRE: Z, X

PACKAGE: Z
REQUIRE: D

PACKAGE: X
REQUIRE: G, C, V

PACKAGE: D
REQUIRE: S

and now see the references dependencies in package kolourpaint:

Code:
PACKAGE NAME:  kolourpaint-4.10.5-i486-1.txz
PACKAGE LOCATION:  ./slackware/kde
PACKAGE SIZE (compressed):  1132 K
PACKAGE SIZE (uncompressed):  2050 K
PACKAGE REQUIRED:  acl,attica,attr,bzip2,cxxlibs|gcc-g++,expat,fontconfig,freetype,gamin,gcc,glib2,kdelibs,libICE,libSM,libX11,libXScrnSaver,libXau,libXcursor,libXdmcp,libXext,libXfixes,libXft,libXi,libXpm,libXrender,libXtst,libdbusmenu-qt,libffi,libpng,libxcb,libxml2,qca,qimageblitz,qt,soprano,strigi,udev,util-linux,xz,zlib
PACKAGE CONFLICTS:  
PACKAGE SUGGESTS:  
PACKAGE DESCRIPTION:
kolourpaint: kolourpaint (easy to use paint program)
kolourpaint:
kolourpaint: KolourPaint is a easy-to-use paint program for KDE. It aims to be
kolourpaint: conceptually simply to understand; providing a level of functionality
kolourpaint: targeted towards the average user. It's designed for tasks like: 
kolourpaint: * Painting - drawing diagrams and "finger painting".
kolourpaint: * Image Manipulation - editing screenshots and photos, and
kolourpaint:   applying effects
kolourpaint: * Icon Editing - drawing clipart and logos with transparency.
kolourpaint:
kolourpaint: For more information, visit:  http://www.kde.org
As seen from this repository slapt-get work in a different way.

Last edited by dslackw; 02-24-2016 at 12:28 AM.
 
Old 02-24-2016, 01:22 AM   #221
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Rep: Reputation: 47
For using slpkg in Salix, can I put following URLs in /etc/slpkg/default-repositories ?

Code:
slack2       http://salix.hostingxtreme.com/i486/slackware-14.1/
slack2-extra http://salix.hostingxtreme.com/i486/slackware-14.1/extra/
salix3       http://salix.hostingxtreme.com/i486/14.1/

Last edited by rng; 02-24-2016 at 01:23 AM.
 
Old 02-24-2016, 01:26 AM   #222
dslackw
Member
 
Registered: Aug 2014
Location: Orestiada, GR
Distribution: Slackware 15.0 x86_64 -stable
Posts: 158

Original Poster
Rep: Reputation: 44
Not in the default-repositories but in the custom-repositories
 
Old 03-13-2016, 08:56 PM   #223
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Rep: Reputation: 47
For many package upgrade or installation, slpkg lists cairo as a dependency to be upgraded, even though the latest version (1.12.16) is installed on my system. It is unnecessary to be downloaded and installed every time. Where is the problem and how can this be corrected?
 
Old 04-13-2016, 09:05 PM   #224
rng
Senior Member
 
Registered: Aug 2011
Posts: 1,198

Rep: Reputation: 47
It will be very useful if the find commands (-f and -F) could also print out one line information about the packages.
 
Old 07-26-2016, 02:19 PM   #225
Bourbon
Member
 
Registered: Dec 2011
Location: Gaborone Botswana
Distribution: Linux-Mint 18.3 amd64 Cinnamon
Posts: 108

Rep: Reputation: Disabled
@ dslackw: - Hi! - I write to you here because I have been unable to find a way for personal message
Wishing to tell you that I discovered "slpkg" and "SUN" thanking this thread of yours long time ago. I have been keeping the link because I like the way you have been introducing your "children" and I have been installing both of them on my new Slackware 14.2 KDE 64 Bit.
I have been always managing packages installation and dependencies manually but I want say that a tool like "slpkg" is a big pleasure, so I use it.
The point is: or is me (am not a teenager so my mind can be funny sometime), or "slpkg" is inattentive some times. I mean: more than a time using the function
# slpkg -F package-name I don't get the wanted one and... going to visit a repository (SlackBuilds.org, for instance) I see the package there.
I gone through for instance with RawTherapee:
http://www.linuxquestions.org/questi...39#post5581639
Writing to you with a lot of respect just wishing you know that and maybe checking if something is wrong or the fault is mine.
Coming to my mind also that the "SUN" package which I have been downloading from:
https://github.com/dslackw/sun
refuses installation with this process:
tar xvf sun-1.2.1.tar.gz
cd sun-1.2.1
./install.sh
(I did as "root")
Got it by SlackBuild

Thank you for your great job

Best Regards
 
  


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
Install Advanced Packaging Tool on a linux from scratch machine ledzepp4eva Linux - Newbie 7 12-16-2011 09:13 AM
Upgrading Slackware (packaging questions) jrdioko Slackware 5 08-17-2005 07:23 PM
Slackware packaging wombat53 Slackware - Installation 16 07-08-2005 11:44 AM
Packaging manager for Slackware 9.1 ??? Fernando534 Linux - Newbie 4 05-07-2004 02:26 PM

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

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