We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27315bc commit 74963a4Copy full SHA for 74963a4
libioc/Pkg.py
@@ -142,7 +142,9 @@ def _mirror_packages(
142
)
143
144
if (stderr is not None) and (len(stderr) > 0):
145
- raise libioc.errors.PkgNotFound(stderr, logger=self.logger)
+ lines = stderr.split("\n")
146
+ if not all((line.startswith("pkg: Warning: ") for line in lines)):
147
+ raise libioc.errors.PkgNotFound(stderr, logger=self.logger)
148
149
def _build_mirror_index(self, release_major_version: int) -> None:
150
pkg_ds = self._get_release_pkg_dataset(release_major_version)
0 commit comments