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
899c0ee5
Commit
899c0ee5
authored
Jun 25, 2016
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve ALT Linux release upgrade
parent
6283491a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
epm-release_upgrade
bin/epm-release_upgrade
+9
-5
No files found.
bin/epm-release_upgrade
View file @
899c0ee5
...
...
@@ -103,8 +103,8 @@ __update_to_the_distro()
p8
)
docmd epm update
||
fatal
if
!
docmd epm
install
apt rpm apt-conf-branch
$(
get_fix_release_pkg p8
)
;
then
# error: execution of %post scriptlet from glibc-core-2.23-alt1.eter1
docmd
epm erase
glibc-core-2.17
||
fatal
"Check an error and run epm release-upgrade again"
#
Hack for
error: execution of %post scriptlet from glibc-core-2.23-alt1.eter1
docmd
rpm
-ev
glibc-core-2.17
||
fatal
"Check an error and run epm release-upgrade again"
docmd epm
install
apt rpm apt-conf-branch
$(
get_fix_release_pkg p8
)
||
fatal
"Check an error and run epm release-upgrade again"
fi
__alt_repofix
...
...
@@ -187,8 +187,12 @@ epm_release_upgrade()
# try to detect current release by repo
if
[
"
$DISTRVERSION
"
=
"Sisyphus"
]
||
[
-z
"
$DISTRVERSION
"
]
;
then
DISTRVERSION
=
"
$(
__detect_alt_release_by_repo
)
"
[
"
$DISTRVERSION
"
!=
"Sisyphus"
]
&&
info
"Detected running
$DISTRNAME
$DISTRVERSION
(according to using repos)"
local
dv
dv
=
"
$(
__detect_alt_release_by_repo
)
"
if
[
-n
"
$dv
"
]
&&
[
"
$dv
"
!=
"
$DISTRVERSION
"
]
;
then
DISTRVERSION
=
"
$dv
"
info
"Detected running
$DISTRNAME
$DISTRVERSION
(according to using repos)"
fi
fi
__alt_repofix
...
...
@@ -207,7 +211,7 @@ epm_release_upgrade()
case
$PMTYPE
in
apt-rpm
)
docmd epm update
#
docmd epm update
info
"Have no idea how to upgrade
$DISTRNAME
"
;;
*
-dpkg
)
...
...
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