LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-15-2019, 06:12 AM   #1
usr345
Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 209
Blog Entries: 1

Rep: Reputation: Disabled
slackpkg change reference to ftp.kernel.org


I am trying to upgrade Slackware 14.1. When I run:

# slackpkg update gpg

It shows this and hangs:

Connecting to mirrors.us.kernel.org (mirrors.us.kernel.org)|149.20.37.36|:21

Naturally, this happens because ftp://mirrors.kernel.org/ service was terminated on December 1, 2017. What should I do now to do the upgrade?
 
Old 10-15-2019, 06:21 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,141

Rep: Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208
you can just change mirror: there are quite a lot listed in /etc/slackpkg/mirrors (leave just one line uncommented there).

Last edited by ponce; 10-15-2019 at 07:27 AM.
 
1 members found this post helpful.
Old 10-16-2019, 03:35 AM   #3
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
@usr345
The /etc/slackpkg/mirrors from Slackware 14.1 could contain some other old/inactive mirrors and before you pick one, as ponce suggested, you could verify its existence in the updated mirror list:
https://mirrors.slackware.com/mirrorlist/
 
Old 10-16-2019, 03:40 AM   #4
franzen
Member
 
Registered: Nov 2012
Distribution: slackware
Posts: 542

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
Quote:
Originally Posted by usr345 View Post
Naturally, this happens because ftp://mirrors.kernel.org/ service was terminated on December 1, 2017. What should I do now to do the upgrade?
I don't use slackpkg, but http://mirrors.kernel.org/ and https://mirrors.kernel.org/ seem to work.
 
Old 10-16-2019, 04:20 AM   #5
usr345
Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 209

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by abga View Post
@usr345
The /etc/slackpkg/mirrors from Slackware 14.1 could contain some other old/inactive mirrors and before you pick one, as ponce suggested, you could verify its existence in the updated mirror list:
https://mirrors.slackware.com/mirrorlist/
You know, ftp.keernel.org is commented in my mirrors list. I uncommented only 1 element, nearest to me, and this mirror works.

Here is the contents of the file:

https://pastebin.com/2ec0uBGB

And here is exactly what I see on screen:

Code:
# slackpkg update gpg
    Downloading ftp://mirrors.us.kernel.org/slackware/slackware-14.1/GPG-KEY...
--2019-10-16 12:21:29--  ftp://mirrors.us.kernel.org/slackware/slackware-14.1/GPG-KEY
      => ‘/tmp/slackpkg.KxE2Au/gpgkey’
Resolving mirrors.us.kernel.org (mirrors.us.kernel.org)... 149.20.37.36, 2001:4f8:4:6f:0:1994:3:14
Connecting to mirrors.us.kernel.org (mirrors.us.kernel.org)|149.20.37.36|:21...

Last edited by usr345; 10-16-2019 at 04:23 AM.
 
Old 10-16-2019, 04:38 AM   #6
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
Indeed, mirrors.us.kernel.org is not valid anymore and according to:
https://mirrors.slackware.com/mirrorlist/
you have mirrors.kernel.org available, although only on https and rsync.

From your old (14.1) /etc/slackpkg/mirrors (that you uploaded on pastebin.com), I picked & tested this one (US based) and it works OK:
ftp://spout.ussg.indiana.edu/linux/s...lackware-14.1/
 
Old 10-16-2019, 07:48 AM   #7
usr345
Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 209

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by abga View Post
Indeed, mirrors.us.kernel.org is not valid anymore and according to:
https://mirrors.slackware.com/mirrorlist/
you have mirrors.kernel.org available, although only on https and rsync.

From your old (14.1) /etc/slackpkg/mirrors (that you uploaded on pastebin.com), I picked & tested this one (US based) and it works OK:
ftp://spout.ussg.indiana.edu/linux/s...lackware-14.1/
I uncommented the mirror, closest to me (Russia). Could you tell me, how to disable automatic usage of ftp.kernel.org? As it seems to ignore mirrors file and tries ftp.kernel.org non the less.
 
Old 10-16-2019, 08:24 AM   #8
bormant
Member
 
Registered: Jan 2008
Posts: 426

Rep: Reputation: 240Reputation: 240Reputation: 240
Quote:
Originally Posted by usr345 View Post
I uncommented the mirror, closest to me (Russia). Could you tell me, how to disable automatic usage of ftp.kernel.org? As it seems to ignore mirrors file and tries ftp.kernel.org non the less.
/etc/slackpkg/mirrors says this:
Quote:
# You only need to select one mirror and uncomment it.
# ONLY ONE mirror can be uncommented.
Check with:
Code:
grep -v '^\s*#\|^\s*$' /etc/slackpkg/mirrors

Last edited by bormant; 10-16-2019 at 08:25 AM.
 
2 members found this post helpful.
Old 10-16-2019, 09:30 AM   #9
usr345
Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 209

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by bormant View Post
ONLY ONE mirror can be uncommented.
[/code]
Yeah, it was line #223. Now it's working.

Last edited by usr345; 10-17-2019 at 03:55 AM.
 
  


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] [ENCHANCEMENT] slackpkg+: do not show the notices "pkglist is older than 24h..." and "remember to re-run 'slackpkg update''..."... yars Slackware 1 01-09-2016 09:56 AM
having trouble after upgrading 14.1 slackware using slackpkg and slackpkg+ [solved] slackartist Slackware 1 12-28-2015 07:28 AM
[SOLVED] Slackpkg, Slackpkg Plus, Slackware 14.1 x86_64 install.log delay or slow to write bamunds Slackware 7 04-22-2014 11:12 AM
[SOLVED] typos in latest /etc/slackpkg/mirrors(.new) [slackpkg-2.82.0-noarch-8.tgz] wailingwailer Slackware 4 09-22-2012 04:04 AM
Slackpkg: missing something in /usr/libexec/slackpkg/functions.d/dialog-functions.sh michelino Slackware 4 03-20-2007 12:22 PM

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

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