diff options
Diffstat (limited to 'data/_apt7/arch-errors.diff')
-rw-r--r-- | data/_apt7/arch-errors.diff | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/data/_apt7/arch-errors.diff b/data/_apt7/arch-errors.diff new file mode 100644 index 000000000..66cafc727 --- /dev/null +++ b/data/_apt7/arch-errors.diff @@ -0,0 +1,15 @@ +diff -ur apt/apt-pkg/acquire-item.cc apt+iPhone/apt-pkg/acquire-item.cc +--- apt/apt-pkg/acquire-item.cc 2018-07-30 21:45:07.000000000 -1000 ++++ apt+iPhone/apt-pkg/acquire-item.cc 2018-08-01 23:21:41.000000000 -1000 +@@ -1423,8 +1423,9 @@ + if (TransactionManager->MetaIndexParser->IsArchitectureSupported(arch) == false) + { + new CleanupItem(Owner, TransactionManager, Target); +- _error->Notice(_("Skipping acquire of configured file '%s' as repository '%s' doesn't support architecture '%s'"), +- Target.MetaKey.c_str(), TransactionManager->Target.Description.c_str(), arch.c_str()); ++ if (strcmp(arch.c_str(), "iphoneos-arm64")!=0) ++ _error->Notice(_("Skipping acquire of configured file '%s' as repository '%s' doesn't support architecture '%s'"), ++ Target.MetaKey.c_str(), TransactionManager->Target.Description.c_str(), arch.c_str()); + continue; + } + // if the architecture is officially supported but currently no packages for it available, |