From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: borgbackup 1.2.0 is not working Date: Thu, 23 Jun 2022 16:43:36 +0100 Message-ID: In-Reply-To: <60c0a19c-515e-a0b2-3025-8a866880dbe8@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1648617248501320241==" List-Id: --===============1648617248501320241== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello Adolf, This looks like borgbackup is looking for the pip metadata: https://git.ipfire.org/?p=3Dipfire-2.x.git;a=3Dblob;f=3Dconfig/rootfiles/pack= ages/borgbackup;h=3Da27b7c11cc6aca89261b7f6330817e37999c8bc3;hb=3DHEAD#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 wrote: >=20 > Hallo all, >=20 > In the forum it has been flagged up that borgbackup is not working in CU16= 8. >=20 > I cloned a CU168 vm in my testbed system and installed borgbackup and ran b= org -h and replicated the posters error. The following message occurred:- >=20 > borg -h > Traceback (most recent call last): > File "/usr/bin/borg", line 33, in > sys.exit(load_entry_point('borgbackup=3D=3D1.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 d= istribution > return Distribution.from_name(distribution_name) > File "/usr/lib/python3.10/importlib/metadata/__init__.py", line 518, in f= rom_name > raise PackageNotFoundError(name) > importlib.metadata.PackageNotFoundError: No package metadata was found for = borgbackup >=20 > I have done searches about the error message and have not been able to find= anything that helps. >=20 > The build for borgbackup-1.2.0 ran without any problems and there are no er= ror messages in the logs for the build that I have been able to find. >=20 > Does anyone have a clue what is going on here. >=20 >=20 > 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 t= o find metadata about borgbackup but I haven't been able to find any clues ab= out that either in my searches. >=20 >=20 > Looking for any inspiration or good guesses otherwise I will raise it as an= issue on the borgbackup git repository. >=20 >=20 > Regards, >=20 > Adolf. >=20 --===============1648617248501320241==--