LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-18-2017, 08:46 PM   #1
bilbod
Member
 
Registered: Mar 2003
Posts: 134

Rep: Reputation: 33
Problem with slackrepo and searchmonkey


Using Slackware 14.2 and slackrepo both version 0.2.0rc1 and current github version. Same problem with both.

searchmonkey was recently upgraded from 0.8.1 to 2.0.0.

Code:
slackrepo update
Does not upgrade search monkey? If I remove searchmonkey from my repo and run

Code:
slackrepo build searchmonkey
It tries to build searchmonkey 0.8.1 but fails because the source is not there anymore. Only searchmonkey 2.0.0 is in the 14.2 branch.

Is this a bug in slackrepo?

Can anybody duplicate this?
 
Old 06-18-2017, 10:09 PM   #2
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,098
Blog Entries: 4

Rep: Reputation: 1456Reputation: 1456Reputation: 1456Reputation: 1456Reputation: 1456Reputation: 1456Reputation: 1456Reputation: 1456Reputation: 1456Reputation: 1456
Edit: What info did it print at the top of the 'slackrepo update' and the 'slackrepo build' runs? They should still be around in your log directory. Something like

Code:
git repo: /home/sbo/slackrepo/review/slackbuilds
branch:   14.2
date:     Sat 17 Jun 01:33:57 BST 2017
revision: 0696d96f12e5182a50c904794f84dc1831418b5a
title:    Public www update: Sat Jun 17 00:33:32 UTC 2017.
If it hasn't updated properly for a while, maybe you need to edit your .git/config for the new SBo server URL? That file (which is hidden in the slackbuilds directory, probably at /var/lib/slackrepo/SBo/slackbuilds/.git/config) should contain something like this (in the middle of a lot of other stuff):

Code:
[remote "origin"]
	url = git@git.slackbuilds.org:slackbuilds.git
	fetch = +refs/heads/*:refs/remotes/origin/*
If the red 'git.' isn't there, that's the problem. Edit the file to add it.

Last edited by 55020; 06-19-2017 at 07:19 AM.
 
1 members found this post helpful.
Old 06-19-2017, 01:40 PM   #3
bilbod
Member
 
Registered: Mar 2003
Posts: 134

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by 55020 View Post
Edit: What info did it print at the top of the 'slackrepo update' and the 'slackrepo build' runs? They should still be around in your log directory. Something like

Code:
git repo: /home/sbo/slackrepo/review/slackbuilds
branch:   14.2
date:     Sat 17 Jun 01:33:57 BST 2017
revision: 0696d96f12e5182a50c904794f84dc1831418b5a
title:    Public www update: Sat Jun 17 00:33:32 UTC 2017.
If it hasn't updated properly for a while, maybe you need to edit your .git/config for the new SBo server URL? That file (which is hidden in the slackbuilds directory, probably at /var/lib/slackrepo/SBo/slackbuilds/.git/config) should contain something like this (in the middle of a lot of other stuff):

Code:
[remote "origin"]
	url = git@git.slackbuilds.org:slackbuilds.git
	fetch = +refs/heads/*:refs/remotes/origin/*
If the red 'git.' isn't there, that's the problem. Edit the file to add it.
I replaced the URL with what you recommended:

Code:
cat /var/lib/slackrepo/SBo/slackbuilds/.git/config
[core]
	repositoryformatversion = 0
	filemode = true
	bare = false
	logallrefupdates = true
[remote "origin"]
	url = git@git.slackbuilds.org:slackbuilds.git
	fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
	remote = origin
	merge = refs/heads/master
[branch "14.2"]
	remote = origin
	merge = refs/heads/14.2
I ran
Code:
slackrepo -v update
Result:

Code:
git repo: /var/lib/slackrepo/SBo/slackbuilds
branch:   14.2
date:     Fri May 12 20:02:00 EDT 2017
revision: 67d37cde5106dcfea8f868ea69ca323f88b4f38f (DIRTY)
title:    Public www update: Sat May 13 00:01:17 UTC 2017.
Code:
================================================================================
desktop/searchmonkey                                                    14:25:33
================================================================================

Calculating dependencies ... none.

desktop/searchmonkey is up-to-date (version 0.8.1).
It still wants to use searchmonkey 0.8.1
 
Old 06-19-2017, 02:28 PM   #4
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,098
Blog Entries: 4

Rep: Reputation: 1456Reputation: 1456Reputation: 1456Reputation: 1456Reputation: 1456Reputation: 1456Reputation: 1456Reputation: 1456Reputation: 1456Reputation: 1456
If you needed to do that edit, it's a complete explanation of your problem.

However, as documented, to prevent sucking up bandwidth slackrepo will automatically sync with SlackBuilds.org at most once every 24 hours, so it's not going to fix itself straight away. You can either wait a day, or you can do the sync manually:

Code:
cd /var/lib/slackrepo/SBo/slackbuilds   # (by default)
git fetch --all
git merge origin/14.2
 
1 members found this post helpful.
Old 06-20-2017, 02:37 PM   #5
bilbod
Member
 
Registered: Mar 2003
Posts: 134

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by 55020 View Post
If you needed to do that edit, it's a complete explanation of your problem.

However, as documented, to prevent sucking up bandwidth slackrepo will automatically sync with SlackBuilds.org at most once every 24 hours, so it's not going to fix itself straight away. You can either wait a day, or you can do the sync manually:

Code:
cd /var/lib/slackrepo/SBo/slackbuilds   # (by default)
git fetch --all
git merge origin/14.2
I had a problem trying that.

Code:
cd /var/lib/slackrepo/SBo/slackbuilds
git fetch --all
Fetching origin
The authenticity of host 'git.slackbuilds.org (208.94.237.148)' can't be established.
ECDSA key fingerprint is SHA256:vaXkrKMLQHgXZPVCFk0GOYc/2+LVDsvlcaVbigsnKI4.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'git.slackbuilds.org,208.94.237.148' (ECDSA) to the list of known hosts.
Permission denied (publickey,keyboard-interactive).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
error: Could not fetch origin
 
Old 06-21-2017, 03:02 AM   #6
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,098
Blog Entries: 4

Rep: Reputation: 1456Reputation: 1456Reputation: 1456Reputation: 1456Reputation: 1456Reputation: 1456Reputation: 1456Reputation: 1456Reputation: 1456Reputation: 1456
oops, sorry, that should be git://git.slackbuilds.org/slackbuilds.git

Code:
[remote "origin"]
	url = git://git.slackbuilds.org/slackbuilds.git
 
Old 06-21-2017, 08:56 AM   #7
bilbod
Member
 
Registered: Mar 2003
Posts: 134

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by 55020 View Post
oops, sorry, that should be git://git.slackbuilds.org/slackbuilds.git

Code:
[remote "origin"]
	url = git://git.slackbuilds.org/slackbuilds.git
I think that was what was there originally. Anyway the manual method updated the files.

How can I tell if
Code:
slackrepo update
is updating those files?
 
  


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
How to use slackrepo with a VM bilbod Slackware 1 05-06-2017 12:53 PM
[SOLVED] Problem with slackrepo and slackpkg+? bilbod Slackware 6 05-05-2017 11:24 PM
[SOLVED] slackrepo Problem with gpg bilbod Slackware 5 04-28-2017 06:54 AM
[SOLVED] How To Install Slackrepo? bilbod Slackware 16 04-26-2017 09:56 PM
LXer: Searchmonkey balances command-line power and desktop ease of use LXer Syndicated Linux News 0 11-06-2006 10:54 PM

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

All times are GMT -5. The time now is 11:15 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration