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
69014b14
Commit
69014b14
authored
Dec 03, 2024
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix options order for dnf5
parent
4b0ce3ec
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
epm-install
bin/epm-install
+1
-1
epm-install-print-command
bin/epm-install-print-command
+1
-1
epm-release_upgrade
bin/epm-release_upgrade
+2
-2
No files found.
bin/epm-install
View file @
69014b14
...
...
@@ -224,7 +224,7 @@ epm_ni_install_names()
sudocmd yum
-y
$YUMOPTIONS
install
$(
echo
"
$*
"
| exp_with_arch_suffix
)
return
;;
dnf-rpm
)
sudocmd dnf
-y
--allowerasing
$YUMOPTIONS
install
$(
echo
"
$*
"
| exp_with_arch_suffix
)
sudocmd dnf
install
-y
--allowerasing
$YUMOPTIONS
$(
echo
"
$*
"
| exp_with_arch_suffix
)
return
;;
urpm-rpm
)
sudocmd urpmi
--auto
$URPMOPTIONS
$@
...
...
bin/epm-install-print-command
View file @
69014b14
...
...
@@ -104,7 +104,7 @@ epm_print_install_names_command()
echo
"yum -y
$YUMOPTIONS
install
$*
"
return
;;
dnf-rpm
)
echo
"dnf
-y
$YUMOPTIONS
--allowerasing install
$*
"
echo
"dnf
install -y
$YUMOPTIONS
--allowerasing
$*
"
return
;;
urpm-rpm
)
echo
"urpmi --auto
$URPMOPTIONS
$*
"
...
...
bin/epm-release_upgrade
View file @
69014b14
...
...
@@ -528,7 +528,7 @@ epm_release_upgrade()
;;
"OpenMandrivaLx"
)
sudocmd dnf clean all
sudocmd dnf
--allowerasing
distro-sync
sudocmd dnf
distro-sync
--allowerasing
return
;;
"ROSA"
)
...
...
@@ -616,7 +616,7 @@ epm_release_upgrade()
[
-n
"
$RELEASEVER
"
]
||
RELEASEVER
=
$((
$DV
+
1
))
confirm_info
'Upgrade to $DISTRNAME/$RELEASEVER'
sudocmd dnf
-y
--releasever
=
$RELEASEVER
--allowerasing
--setopt
=
deltarpm
=
false
distro-sync
sudocmd dnf
distro-sync
-y
--releasever
=
$RELEASEVER
--allowerasing
--setopt
=
deltarpm
=
false
sudocmd rpm
--rebuilddb
epm upgrade
info
"You can run '# epm autoorphans' to remove orphaned packages"
...
...
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