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
Nurlan
eepm
Commits
75fbf08c
Commit
75fbf08c
authored
Sep 05, 2021
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-release_upgrade: add downgrade after upgrade to Sisyphus
parent
4246c093
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
epm-release_upgrade
bin/epm-release_upgrade
+6
-5
No files found.
bin/epm-release_upgrade
View file @
75fbf08c
...
...
@@ -401,7 +401,7 @@ __switch_alt_to_distro()
# glibc-core coflicts libcrypt
docmd epm downgrade apt rpm pam pam0_passwdqc glibc-core libcrypt-
||
fatal
fi
docmd epm downgrade
docmd epm downgrade
||
fatal
"Check the error and run '# epm downgrade'"
end_change_alt_repo
__check_system
"
$TO
"
docmd epm upgrade
||
fatal
...
...
@@ -416,7 +416,7 @@ __switch_alt_to_distro()
# # glibc-core coflicts libcrypt
# docmd epm downgrade apt rpm pam pam0_passwdqc glibc-core libcrypt- || fatal
#fi
docmd epm downgrade
docmd epm downgrade
||
fatal
"Check the error and run '# epm downgrade'"
end_change_alt_repo
__check_system
"
$TO
"
docmd epm upgrade
||
fatal
...
...
@@ -428,7 +428,7 @@ __switch_alt_to_distro()
rm
-fv
/etc/rpm/macros.d/p10
__epm_ru_update
||
fatal
docmd epm downgrade rpm apt
"
$(
get_fix_release_pkg
--force
"
$TO
"
)
"
||
fatal
"Check the errors and run '# epm release-upgrade' again"
docmd epm downgrade
docmd epm downgrade
||
fatal
"Check the error and run '# epm downgrade'"
end_change_alt_repo
__check_system
"
$TO
"
docmd epm upgrade
||
fatal
...
...
@@ -440,7 +440,7 @@ __switch_alt_to_distro()
[
"
$TO
"
=
"p10"
]
&&
echo
'%_priority_distbranch p10'
>
/etc/rpm/macros.d/p10
__epm_ru_update
||
fatal
docmd epm
install
rpm apt
"
$(
get_fix_release_pkg
--force
"
$TO
"
)
"
||
fatal
"Check the errors and run '# epm release-upgrade' again"
docmd epm downgrade
docmd epm downgrade
||
fatal
"Check the error and run '# epm downgrade'"
end_change_alt_repo
__check_system
"
$TO
"
docmd epm upgrade
||
fatal
...
...
@@ -457,7 +457,8 @@ __switch_alt_to_distro()
#local ADDPKG
#ADDPKG=$(epm -q --short make-initrd sssd-ad 2>/dev/null)
#docmd epm install librpm7 librpm rpm apt $ADDPKG "$(get_fix_release_pkg --force "$TO")" ConsoleKit2- || fatal "Check an error and run again"
docmd epm upgrade
||
fatal
"Check the error and run '# epm release-upgrade' or just '# epm upgrade' again"
docmd epm upgrade
||
fatal
"Check the error and run '# epm release-upgrade' again or just '# epm upgrade'"
docmd epm downgrade
end_change_alt_repo
__check_system
"
$TO
"
docmd epm update-kernel
||
fatal
...
...
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