LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   slackpkg vs. third-party package repository (https://www.linuxquestions.org/questions/slackware-14/slackpkg-vs-third-party-package-repository-4175427364/)

Raveriux 07-05-2013 09:09 AM

Quote:

Originally Posted by Slax-Dude (Post 4984683)
My point is: if the ktown is not part of the alienbob repository, it will not be managed by slackpkg+, so you will have to install them manually if you want them in your slackware.
Since you are already manually installing them, it would be of no consequence to you if you add "kde" to the slackpkg blacklist.
This way, slackpkg+ will not try to "upgrade" the ktown packages to the official slackware kde packages.

I hope it is clearer now :)

The problem is that the package group "kde" does not cover all the packages that are in Ktown.

Slax-Dude 07-05-2013 09:38 AM

Quote:

Originally Posted by Raveriux (Post 4984691)
The problem is that the package group "kde" does not cover all the packages that are in Ktown.

It doesn't have to.
Just has to cover the kde packages in the official repository.

Just add "kde" to the blacklist then issue "slackpkg search kde" and you will see your troubles are gone, unless I misunderstood the problem you were trying to fix.

Raveriux 07-05-2013 01:48 PM

Quote:

Originally Posted by Slax-Dude (Post 4984704)
It doesn't have to.
Just has to cover the kde packages in the official repository.

Just add "kde" to the blacklist then issue "slackpkg search kde" and you will see your troubles are gone, unless I misunderstood the problem you were trying to fix.

But the packages in ktown /deps and /tools will be upgraded to stock distribution when you run slackpkg.

Alien Bob 07-05-2013 03:52 PM

I added a bit of extra fluff to my ktown repository just now. Below the Slackware version directories ('13.37', '14.0' and soon again 'current') I have added a symlink which I guarantee points to the latest version of KDE which I have available for that Slackware release. I call that symlink 'latest'.

Now, if you are running Slackware 14.0 64-bit with multilib, use slackpkg+ and want to keep up to date with the latest KDE from 'ktown', yuo should mention 'ktown' in /etc/slackpkg/slackpkgplus.conf like this (at the moment, taper.alienbase.nl and alien.slackbook .org are the only repositories with the new file structure):
Code:

PKGS_PRIORITY=( multilib:.* ktown:.* restricted:vlc )
REPOPLUS=( slackpkgplus ktown multilib alienbob restricted )
MIRRORPLUS['ktown']=http://taper.alienbase.nl/mirrors/alien-kde/14.0/latest/x86_64/

... and then run "slackpkg update" you will be able to upgrade to the latest KDE, and the deps will be upgraded too.

For 32-bit Slackware 13.37 and if you do not care about vlc, that would become:
Code:

PKGS_PRIORITY=( ktown:.* )
REPOPLUS=( slackpkgplus ktown alienbob restricted )
MIRRORPLUS['ktown']=http://taper.alienbase.nl/mirrors/alien-kde/13.37/latest/x86/

Try it! Give me your feedback.

Eric

Raveriux 07-09-2013 02:58 AM

I think in http://taper.alienbase.nl/mirrors/al...latest/x86_64/ GPG key is missing. Everything else works well.

Slax-Dude 07-09-2013 07:10 AM

It works great!
Thanks Eric!

I updated KDE to your latest build on my test slackware64_14 system and it went smooth as silk.
No problems whatsoever.

HUGE thanks to zerouno for creating this wonderful plugin :)
With it, slackware is much more extensible than before by adding third party repositories to the official one.

Alien Bob 07-09-2013 07:19 AM

Quote:

Originally Posted by Raveriux (Post 4986779)
I think in http://taper.alienbase.nl/mirrors/al...latest/x86_64/ GPG key is missing. Everything else works well.

Ah, a small omission in my updated gen_repos_files.sh script. I will fix that and have the GPG-KEY files in every repository.

Cheers, Eric

samac 07-09-2013 04:23 PM

Thanks all for this really great plugin.

@Alien Bob

Just followed your instructions for ktown repository and everything seemed to go OK but nepomuk-widgets were not installed. I have fixed the problem with Dolphin, but I thought that I should let you know.

samac

Alien Bob 07-09-2013 04:31 PM

Quote:

Originally Posted by samac (Post 4987276)
Just followed your instructions for ktown repository and everything seemed to go OK but nepomuk-widgets were not installed

Well how exactly did you install KDE then? Can you show the commands you used?

Eric

samac 07-09-2013 04:35 PM

I added the repository information to slackpkg+ then ran slackpkg update, slackpkg install-new, slackpkg upgrade-all.

samac

samac 07-09-2013 04:48 PM

I just ran slackpkg install kde and it picked up all the games and several libraries.

I was upgrading from 4.9.2 and because of the changes in the file structure I guess that upgrading via slackpkg+ could throw up some difficulties.

samac

Alien Bob 07-09-2013 04:48 PM

Quote:

Originally Posted by samac (Post 4987286)
I added the repository information to slackpkg+ then ran slackpkg update, slackpkg install-new, slackpkg upgrade-all.

samac

Well, like it was explained earlier, "slackpkg install-new" only works for official Slackware packages and only for those packages which were added to the specific release of Slackware that you have configured in slackpkg.
What should work (repeating the information of others, but I dit not test this myself) is running "slackpkg install ktown".

Eroc

samac 07-09-2013 05:00 PM

Quote:

What should work (repeating the information of others, but I dit not test this myself) is running "slackpkg install ktown".
This didn't work for me but "slackpkg install kde" did pick up the new packages, but I'm not sure about the deps I will have to look at that from the command line with an "upgradepkg --install-new *.t?z" in the deps directory.

samac

samac 07-09-2013 05:15 PM

Addendum: Not all the dependencies were installed. I guess that I must have deleted them at some point when I was experimenting.

Anyway everything looks OK now. Thanks for the help.

samac

Slax-Dude 07-10-2013 05:18 AM

Quote:

Originally Posted by Alien Bob (Post 4984902)
Try it! Give me your feedback.
Eric

Hmmm...
Something wierd:
Code:

bash-4.2# slackpkg search sip
DONE

The list below shows all packages with name matching "sip".
[ Status          ] [ Repository              ] [ Package
  upgrade                                          sip-4.14.2-x86_64-1alien --> sip-4.13.2-x86_64-2
  installed          ktown                        sip-4.14.2-x86_64-1alien

You can search specific files using "slackpkg file-search file".

Yet,
Code:

bash-4.2# slackpkg upgrade sip

Checking local integrity... DONE
Looking for sip in package list. Please wait... DONE

No packages match the pattern for upgrade. Try:

        /usr/sbin/slackpkg install|reinstall



All times are GMT -5. The time now is 03:12 PM.