Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

All programmers are playwrights and all computers are lousy actors.


computers / alt.os.linux.slackware / Re: slackpkg clean-system problem

SubjectAuthor
* slackpkg clean-system problemJoseph Rosevear
+* Re: slackpkg clean-system problemHenrik Carlqvist
|`- Re: slackpkg clean-system problemJoseph Rosevear
+- Re: slackpkg clean-system problemRinaldi
`* Re: slackpkg clean-system problemJimmy Johnson
 `- Re: slackpkg clean-system problemJoseph Rosevear

1
slackpkg clean-system problem

<td4maq$u7r$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=1353&group=alt.os.linux.slackware#1353

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!aioe.org!ulrtuccGB03o+mfWreJUGQ.user.46.165.242.91.POSTED!not-for-mail
From: Mai...@JoesLife.org (Joseph Rosevear)
Newsgroups: alt.os.linux.slackware
Subject: slackpkg clean-system problem
Date: Fri, 12 Aug 2022 04:52:42 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <td4maq$u7r$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="30971"; posting-host="ulrtuccGB03o+mfWreJUGQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Pan/0.149 (Bellevue; 4c157ba git@gitlab.gnome.org:GNOME/pan.git)
X-Notice: Filtered by postfilter v. 0.9.2
 by: Joseph Rosevear - Fri, 12 Aug 2022 04:52 UTC

Hi Folks!

I have a relatively new Slackware64 15.0, and I'm trying to run "slackpkg
clean-system" on it. In the usual way, because I haven't before used
slackpkg on this installation, it asked me to select a mirror. I did
that, ultimately trying several (one at a time) including these:

https://mirrors.slackware.com/slackware/slackware64-15.0/
http://mirrors.us.kernel.org/slackware/slackware64-15.0/

It failed it seems in the same way each time. Here is the last bit of
output which gives the error message:

vvv
/tmp/slackpkg.d7inKy/CHECKSUMS.md5.asc 100%
[=========================================================================
============================>] 163 --.-KB/s in 0s

2022-08-11 19:58:13 (12.7 MB/s) - ‘/tmp/slackpkg.d7inKy/
CHECKSUMS.md5.asc’ saved [163/163]

ERROR: Verification of the gpg signature on CHECKSUMS.md5
failed! This could mean that the file is out of
date
or has been tampered with. If you use
mirrors.slackware.com
as your mirror, this could also mean that the
mirror to
which you got redirected is not yet updated with
the most
recent changes in the Slackware tree.
^^^

Can anyone help?

-Joe

Re: slackpkg clean-system problem

<td4ouu$2eaof$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=1354&group=alt.os.linux.slackware#1354

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: Henrik.C...@deadspam.com (Henrik Carlqvist)
Newsgroups: alt.os.linux.slackware
Subject: Re: slackpkg clean-system problem
Date: Fri, 12 Aug 2022 05:37:34 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <td4ouu$2eaof$1@dont-email.me>
References: <td4maq$u7r$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 12 Aug 2022 05:37:34 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="4b44b179c92a630518b567acb809d983";
logging-data="2566927"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ZazDf73NdM2ay1YREI6xE"
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
git://git.gnome.org/pan2)
Cancel-Lock: sha1:5ibMmiyU/hdwCbuxEo4DVW1lL/c=
 by: Henrik Carlqvist - Fri, 12 Aug 2022 05:37 UTC

On Fri, 12 Aug 2022 04:52:42 +0000, Joseph Rosevear wrote:

> Hi Folks!
> I'm trying to run "slackpkg clean-system"

I haven't used slackpkg myself.

> It failed it seems in the same way each time. Here is the last bit of
> output which gives the error message:
>
> vvv /tmp/slackpkg.d7inKy/CHECKSUMS.md5.asc 100%

Those .asc files contain a signature created using the file (in this case
CHECKSUMS.md5) and a gnupg private key. You can use gnupg together with
the public key from Slackware to verify that the file CHECKSUMS.md5
really comes from Slackware and has not been tampered with.

> ERROR: Verification of the gpg signature on
> CHECKSUMS.md5 failed!

I suppose that slackpkg simply calls gpg to validate the gnupg
signatures. However, before you are able to validate signatures you will
have to install the public key in your gpg keyring.

What output do you get if you stand in the directory where you have
CHECKSUMS.md5 and CHECKSUMS.md5.asc and type:

gpg --verify CHECKSUMS.md5.asc
echo $?

regards Henrik

Re: slackpkg clean-system problem

<d819aaa8-aebf-288a-afcf-b9cf7c92f711@invalid.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=1355&group=alt.os.linux.slackware#1355

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!aioe.org!3tuGVL1BYJFeAzxG71kAWg.user.46.165.242.75.POSTED!not-for-mail
From: rm...@nunya.inv (Rinaldi)
Newsgroups: alt.os.linux.slackware
Subject: Re: slackpkg clean-system problem
Date: Fri, 12 Aug 2022 12:29:49 -0500
Organization: Shirley Eugeste
Message-ID: <d819aaa8-aebf-288a-afcf-b9cf7c92f711@invalid.com>
References: <td4maq$u7r$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="56953"; posting-host="3tuGVL1BYJFeAzxG71kAWg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.12.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Rinaldi - Fri, 12 Aug 2022 17:29 UTC

slackpkg [OPTIONS] update [gpg] ?

On 8/11/22 23:52, Joseph Rosevear wrote:
> Hi Folks!
>
> I have a relatively new Slackware64 15.0, and I'm trying to run "slackpkg
> clean-system" on it. In the usual way, because I haven't before used
> slackpkg on this installation, it asked me to select a mirror. I did
> that, ultimately trying several (one at a time) including these:
>
> https://mirrors.slackware.com/slackware/slackware64-15.0/
> http://mirrors.us.kernel.org/slackware/slackware64-15.0/
>
> It failed it seems in the same way each time. Here is the last bit of
> output which gives the error message:
>
> vvv
> /tmp/slackpkg.d7inKy/CHECKSUMS.md5.asc 100%
> [=========================================================================
> ============================>] 163 --.-KB/s in 0s
>
> 2022-08-11 19:58:13 (12.7 MB/s) - ‘/tmp/slackpkg.d7inKy/
> CHECKSUMS.md5.asc’ saved [163/163]
>
>
> ERROR: Verification of the gpg signature on CHECKSUMS.md5
> failed! This could mean that the file is out of
> date
> or has been tampered with. If you use
> mirrors.slackware.com
> as your mirror, this could also mean that the
> mirror to
> which you got redirected is not yet updated with
> the most
> recent changes in the Slackware tree.
> ^^^
>
> Can anyone help?
>
> -Joe
>

--
Critic, n.:
A person who boasts himself hard to please because nobody tries
to please him. -- Ambrose Bierce, "The Devil's Dictionary"

Re: slackpkg clean-system problem

<td63f8$7rv$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=1356&group=alt.os.linux.slackware#1356

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!aioe.org!aioZ0bImk1W6iXhakPXh2A.user.46.165.242.75.POSTED!not-for-mail
From: Jim...@disposable.invalid (Jimmy Johnson)
Newsgroups: alt.os.linux.slackware
Subject: Re: slackpkg clean-system problem
Date: Fri, 12 Aug 2022 10:43:02 -0700
Organization: Aioe.org NNTP Server
Message-ID: <td63f8$7rv$1@gioia.aioe.org>
References: <td4maq$u7r$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="8063"; posting-host="aioZ0bImk1W6iXhakPXh2A.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:4.8) Goanna/20210402
Interlink/52.9.7762
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Jimmy Johnson - Fri, 12 Aug 2022 17:43 UTC

On 08/11/2022 09:52 PM, Joseph Rosevear wrote:
> Hi Folks!
>
> I have a relatively new Slackware64 15.0, and I'm trying to run "slackpkg
> clean-system" on it.
>
> Can anyone help?

Hi,

You need to read this:
https://docs.slackware.com/slackware:beginners_guide

You can skip down to slackpkg instructions if you want, but I suggest
you read as much as you can and then if you still have questions come on
back, you're always welcome. :)
--
Jimmy Johnson

Alien Linux - AMD A8-7600 - EXT4 at sda9
Registered Linux User #380263

Re: slackpkg clean-system problem

<td9ce4$1mag$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=1358&group=alt.os.linux.slackware#1358

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!aioe.org!ulrtuccGB03o+mfWreJUGQ.user.46.165.242.91.POSTED!not-for-mail
From: Mai...@JoesLife.org (Joseph Rosevear)
Newsgroups: alt.os.linux.slackware
Subject: Re: slackpkg clean-system problem
Date: Sat, 13 Aug 2022 23:34:28 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <td9ce4$1mag$1@gioia.aioe.org>
References: <td4maq$u7r$1@gioia.aioe.org> <td4ouu$2eaof$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="55632"; posting-host="ulrtuccGB03o+mfWreJUGQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Pan/0.149 (Bellevue; 4c157ba git@gitlab.gnome.org:GNOME/pan.git)
X-Notice: Filtered by postfilter v. 0.9.2
 by: Joseph Rosevear - Sat, 13 Aug 2022 23:34 UTC

On Fri, 12 Aug 2022 05:37:34 -0000 (UTC), Henrik Carlqvist wrote:

> On Fri, 12 Aug 2022 04:52:42 +0000, Joseph Rosevear wrote:
>
>> Hi Folks!
>> I'm trying to run "slackpkg clean-system"
>
> I haven't used slackpkg myself.
>
>> It failed it seems in the same way each time. Here is the last bit of
>> output which gives the error message:
>>
>> vvv /tmp/slackpkg.d7inKy/CHECKSUMS.md5.asc 100%
>
> Those .asc files contain a signature created using the file (in this
> case CHECKSUMS.md5) and a gnupg private key. You can use gnupg together
> with the public key from Slackware to verify that the file CHECKSUMS.md5
> really comes from Slackware and has not been tampered with.
>
>> ERROR: Verification of the gpg signature on
>> CHECKSUMS.md5 failed!
>
> I suppose that slackpkg simply calls gpg to validate the gnupg
> signatures. However, before you are able to validate signatures you will
> have to install the public key in your gpg keyring.

Inspired by your patient words of explanation, I figured it out. It
works now.

I should add, however, that I started by writing a different reply
altogether. I had written a bunch of questions asking how gpg worked.
In the process of writing my questions I turned to the man pages for gpg,
did some online searching, and tried a few tests.

Here are steps of my, not insignificant, journey:

-I played with the .gnupg dir. I moved root/.gnupg to a different
name to see what would happen. It didn't break anything. I think that
it simply took away whatever had previously been setup.

-First as root, and then as user joe, I did "gpg --gen-key" to make a
key pair. I took the defaults, provided an email address, and a
passphrase. Incidentally, I made a mistake when entering my full name
the first time (for root)--how can I fix it?

-As user joe I did "gpg --list-keys" before and after doing the
above. Three entries appeared for pub, uid and sub. Hmmm. I don't know
what "pub", "uid" and "sub" mean.

-As user joe I did "gpg --sign-key 40102233". This prompted me for
the passphrase I had entered above. It worked.

-Note that as joe, I wasn't able easily to run slackpkg, so I didn't
try. I did, however, try what you suggested "gpg --verify
CHECKSUM.md5.asc" after first making the .asc and .md5 files from what I
got from the mirror. It worked! Incidentally I had also attempted this
as both joe and root before, per your suggestion, without success.

-I still needed to get "slackpkg clean-system" working, so... I did
"gpg --list-keys" as root and got pub, uid and sub lines.

-I don't know if I previously had a pub line for Slackware Linux
Project, but if so, then it went away when I moved .gnupg to a new name.
So I went online and found the public key that I needed. I saved it to a
file. Then, as root, I did "gpg --import <file>". Afterwards it
appeared as a second set of pub, uid and sub lines in the output from
"gpg --list-keys".

-As root I did "gpg --sign-key 40102233", exactly as I did before as
user joe, except I used the root passphrase.

-Now confident, I didn't bother to test with "gpg --verify ...". I
went to a console and ran as root "slackpkg clean-system". It worked!

> regards Henrik

Thank you, Henrik.

-Joe

Re: slackpkg clean-system problem

<tdcijr$nom$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=1359&group=alt.os.linux.slackware#1359

  copy link   Newsgroups: alt.os.linux.slackware
Path: i2pn2.org!i2pn.org!aioe.org!ulrtuccGB03o+mfWreJUGQ.user.46.165.242.91.POSTED!not-for-mail
From: Mai...@JoesLife.org (Joseph Rosevear)
Newsgroups: alt.os.linux.slackware
Subject: Re: slackpkg clean-system problem
Date: Mon, 15 Aug 2022 04:38:19 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <tdcijr$nom$1@gioia.aioe.org>
References: <td4maq$u7r$1@gioia.aioe.org> <td63f8$7rv$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="24342"; posting-host="ulrtuccGB03o+mfWreJUGQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Pan/0.149 (Bellevue; 4c157ba git@gitlab.gnome.org:GNOME/pan.git)
X-Notice: Filtered by postfilter v. 0.9.2
 by: Joseph Rosevear - Mon, 15 Aug 2022 04:38 UTC

On Fri, 12 Aug 2022 10:43:02 -0700, Jimmy Johnson wrote:

> On 08/11/2022 09:52 PM, Joseph Rosevear wrote:
>> Hi Folks!
>>
>> I have a relatively new Slackware64 15.0, and I'm trying to run
>> "slackpkg clean-system" on it.
>>
>> Can anyone help?
>
> Hi,
>
> You need to read this:
> https://docs.slackware.com/slackware:beginners_guide
>
> You can skip down to slackpkg instructions if you want, but I suggest
> you read as much as you can and then if you still have questions come on
> back, you're always welcome. :)

Hi Jimmy,

I have not often run slackpkg on a new installation. I can't remember
what I did before--perhaps the problem I had this time didn't crop up, or
maybe I stumbled onto the information that I needed and forgot to make a
note of it.

Anyway, your tip is valuable--thank you!

-Joe

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor