Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
69d39d88
Commit
69d39d88
authored
2 years ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm install: add workaround for --noscripts when using apt for additional requires
parent
5cafd5c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
epm-install
bin/epm-install
+15
-0
No files found.
bin/epm-install
View file @
69d39d88
...
...
@@ -334,6 +334,21 @@ epm_install_files()
# if run with --nodeps, do not fallback on hi level
[
-n
"
$nodeps
"
]
&&
return
$RES
# try install via apt if we could't install package file via rpm (we guess we need install requirements firsly)
# TODO: use it always (apt can install version from repo instead of a file package)
if
[
-n
"
$noscripts
"
]
;
then
info
"Workaround for install packages via apt with --noscripts (see https://bugzilla.altlinux.org/44670)"
info
"Firstly install package requrements …"
# TODO: can we install only requires via apt?
epm
install
$(
epm req
--short
$files
)
||
return
# retry with rpm
sudocmd rpm
-Uvh
$force
$noscripts
$nodeps
$files
&&
save_installed_packages
$files
return
fi
# common fallback
;;
esac
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment