public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* borgbackup 1.2.0 is not working
@ 2022-06-18 16:18 Adolf Belka
  2022-06-23 15:43 ` Michael Tremer
  0 siblings, 1 reply; 2+ messages in thread
From: Adolf Belka @ 2022-06-18 16:18 UTC (permalink / raw)
  To: development

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

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: borgbackup 1.2.0 is not working
  2022-06-18 16:18 borgbackup 1.2.0 is not working Adolf Belka
@ 2022-06-23 15:43 ` Michael Tremer
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Tremer @ 2022-06-23 15:43 UTC (permalink / raw)
  To: development

[-- 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.
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-23 15:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-18 16:18 borgbackup 1.2.0 is not working Adolf Belka
2022-06-23 15:43 ` Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox