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 06-25-2022, 09:25 AM   #1
Tsuga
Member
 
Registered: Jul 2020
Distribution: Slackware64 15.0
Posts: 63

Rep: Reputation: Disabled
Can't sync sbopkg to GitHub -current


I've been trying for multiple days to sync with the GitHub -current repo and keep having this problem:

Quote:
root@:~# rm -rR /var/lib/sbopkg/SBo-git
root@:~# sbopkg -r
Syncing with the remote repository into /var/lib/sbopkg/SBo-git.
fatal: unable to connect to github.com:
github.com[0: 140.82.113.3]: errno=Connection timed out

fatal: not a git repository (or any of the parent directories): .git
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
Initialized empty Git repository in /var/lib/sbopkg/SBo-git/.git/
fatal: unable to connect to github.com:
github.com[0: 140.82.112.4]: errno=Connection timed out


Failed to check out repository, check the URL or your
network connection.
I don't think it's a problem with my network, I'm doing all my other web surfing and everything else without a problem.

These are my current sbopkg settings:
Code:
# Path variables
LOGFILE=${LOGFILE:-/var/log/sbopkg/sbopkg-build-log}
QUEUEDIR=${QUEUEDIR:-/var/lib/sbopkg/queues}
REPO_ROOT=${REPO_ROOT:-/var/lib/sbopkg}
SRCDIR=${SRCDIR:-/var/cache/sbopkg}
BLACKLISTFILE=${BLACKLISTFILE:-/etc/sbopkg/blacklist}
# sbopkg's temporary directory (where its internal temporary files are
# kept and where packages are made prior to being moved to OUTPUT)
# defaults to /tmp/sbopkg.XXXXXX where 'XXXXXX' is a random string. If
# /tmp is not a suitable containing directory, pass in an alternate
# TMPDIR or modify the following variable. This is actually a mktemp(1)
# variable.
export TMPDIR=${TMPDIR:-/tmp}

# Other variables:
CLEANUP=${CLEANUP:-NO}
DEBUG_UPDATES=${DEBUG_UPDATES:-0}
KEEPLOG=${KEEPLOG:-YES}
MKDIR_PROMPT=${MKDIR_PROMPT:-NO}
NICE=${NICE:-10}
REPO_BRANCH=${REPO_BRANCH:-current}
REPO_NAME=${REPO_NAME:-SBo-git}
They seem to match what Ponce recommends. https://github.com/Ponce/slackbuilds...ry-with-sbopkg

I don't use slackpkg update on a regular schedule, but I have run an update in the last month and others before that. My sbopkg directory looks like
Code:
drwxr-xr-x   2 root root 4.0K Feb 27 18:21 repos.d
-rw-r--r--   1 root root 2.3K Mar  3 09:05 sbopkg.conf
-rw-r--r--   1 root root 2.3K Feb 27 18:35 sbopkg.conf.bak
-rw-r--r--   1 root root 2.3K Feb 27 20:23 sbopkg.conf.orig
So I've used the settings for several months. Everything was working fine until the slackpkg update/upgrade I did earlier this week.
 
Old 06-25-2022, 09:42 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,112

Rep: Reputation: 4184Reputation: 4184Reputation: 4184Reputation: 4184Reputation: 4184Reputation: 4184Reputation: 4184Reputation: 4184Reputation: 4184Reputation: 4184Reputation: 4184
- check that you are running the latest sbopkg version (it's available on sbopkg.org), eventually reinstall it from the latest package available

- check that the file /etc/sbopkg/repos.d/60-SBo-current.repo has this content
Code:
# DO NOT EDIT THIS FILE. CHANGES WILL BE OVERWRITTEN. See the README.
# Repo Branch Description Tag Tool Link CheckGPG
SBo-git current "UNSUPPORTED SBo git repository for -current" _SBo git https://github.com/Ponce/slackbuilds.git@current ""
then try syncing again.

NOTE: the repository is usable only with slackware current (also just an handful of things in the repository are patched for that platform, ATM), *NOT* with 15.0 (as some things might break).

Last edited by ponce; 06-25-2022 at 09:46 AM.
 
1 members found this post helpful.
Old 06-25-2022, 10:29 AM   #3
Tsuga
Member
 
Registered: Jul 2020
Distribution: Slackware64 15.0
Posts: 63

Original Poster
Rep: Reputation: Disabled
Thanks, Ponce. I used the "check for latest" option in sbopkg and it says I'm up to date: 0.38.2. The 60-SBo-current.repo file is correct.

Curious, I tried this from terminal as a sort of ping:
Code:
git ls-remote git://github.com/Ponce/slackbuilds.git
And got back:
Quote:
fatal: unable to connect to github.com:
github.com[0: 140.82.112.3]: errno=Connection timed out
I reinstalled sbopkg. That seemed to fix things. I don't know what that did, but sbopkg -r works.
 
Old 06-25-2022, 10:41 AM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,112

Rep: Reputation: 4184Reputation: 4184Reputation: 4184Reputation: 4184Reputation: 4184Reputation: 4184Reputation: 4184Reputation: 4184Reputation: 4184Reputation: 4184Reputation: 4184
Quote:
Originally Posted by Tsuga View Post
Curious, I tried this from terminal as a sort of ping:
Code:
git ls-remote git://github.com/Ponce/slackbuilds.git
And got back:
Quote:
fatal: unable to connect to github.com:
github.com[0: 140.82.112.3]: errno=Connection timed out
that happens because you cannot clone anymore via the git url from github (they disabled it some time ago), you have to use https: that's the reason why I asked you to check the content of that file above (to be sure that it used https when accessing the repo on github).

Last edited by ponce; 06-25-2022 at 10:47 AM.
 
1 members found this post helpful.
  


Reply

Tags
github, sbopkg



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
sbopkg github comments @willysr regdub Slackware 6 02-08-2022 03:59 AM
[SOLVED] -current version of sbopkg on github nobodino Slackware 1 03-12-2021 08:51 PM
LXer: GitHub wants more new contributors, because that's what GitHub is for LXer Syndicated Linux News 0 07-27-2017 06:36 AM
[SOLVED] Can't sync slackbuilds git master repository with sbopkg Daedra Slackware 3 02-04-2016 12:05 AM

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

All times are GMT -5. The time now is 01:10 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
Open Source Consulting | Domain Registration