public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: borgbackup 1.2.0 is not working
Date: Thu, 23 Jun 2022 16:43:36 +0100	[thread overview]
Message-ID: <A97330F1-7260-40D2-8115-C725386DBFC7@ipfire.org> (raw)
In-Reply-To: <60c0a19c-515e-a0b2-3025-8a866880dbe8@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 2080 bytes --]

Hello Adolf,

This looks like borgbackup is looking for the pip metadata:

https://git.ipfire.org/?p=ipfire-2.x.git;a=blob;f=config/rootfiles/packages/borgbackup;h=a27b7c11cc6aca89261b7f6330817e37999c8bc3;hb=HEAD#l94

The egg-info stuff from line 94.

If you add that to the package it might work.

-Michael

> On 18 Jun 2022, at 17:18, Adolf Belka <adolf.belka(a)ipfire.org> wrote:
> 
> Hallo all,
> 
> In the forum it has been flagged up that borgbackup is not working  in CU168.
> 
> I cloned a CU168 vm in my testbed system and installed borgbackup and ran borg -h and replicated the posters error. The following message occurred:-
> 
> borg -h
> Traceback (most recent call last):
>   File "/usr/bin/borg", line 33, in <module>
>     sys.exit(load_entry_point('borgbackup==1.2.0', 'console_scripts', 'borg')())
>   File "/usr/bin/borg", line 22, in importlib_load_entry_point
>     for entry_point in distribution(dist_name).entry_points
>   File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 919, in distribution
>     return Distribution.from_name(distribution_name)
>   File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 518, in from_name
>     raise PackageNotFoundError(name)
> importlib.metadata.PackageNotFoundError: No package metadata was found for borgbackup
> 
> I have done searches about the error message and have not been able to find anything that helps.
> 
> The build for borgbackup-1.2.0 ran without any problems and there are no error messages in the logs for the build that I have been able to find.
> 
> Does anyone have a clue what is going on here.
> 
> 
> At first I thought that the package importlib-metadata was missing for the execution but then I thought the message was more related to not being able to find metadata about borgbackup but I haven't been able to find any clues about that either in my searches.
> 
> 
> Looking for any inspiration or good guesses otherwise I will raise it as an issue on the borgbackup git repository.
> 
> 
> Regards,
> 
> Adolf.
> 


      reply	other threads:[~2022-06-23 15:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-18 16:18 Adolf Belka
2022-06-23 15:43 ` Michael Tremer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A97330F1-7260-40D2-8115-C725386DBFC7@ipfire.org \
    --to=michael.tremer@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox