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
a08d016a
Commit
a08d016a
authored
Aug 16, 2021
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-release_upgrade: add some commands
parent
145247ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
epm-release_upgrade
bin/epm-release_upgrade
+6
-1
No files found.
bin/epm-release_upgrade
View file @
a08d016a
...
...
@@ -214,8 +214,10 @@ __check_system()
docmd epm
--skip-installed
install
systemd
||
fatal
fi
# FIXME: will GUI closed during that changes?
# switch from prefdm: https://bugzilla.altlinux.org/show_bug.cgi?id=26405#c52
if
is_active_systemd systemd
&&
serv display-manager status
>
/dev/null
||
serv prefdm status
>
/dev/null
;
then
# docmd serv dm off
docmd systemctl disable prefdm.service
docmd systemctl disable display-manager.service
docmd systemctl
enable
display-manager.service
...
...
@@ -228,6 +230,7 @@ __check_system()
__epm_ru_update
()
{
docmd epm update
&&
return
# TODO: there can be errors due obsoleted alt-gpgkeys
epm update 2>&1 |
grep
"E: Unknown vendor ID"
||
return
info
"Drop vendor signs"
__alt_replace_sign_name
""
...
...
@@ -422,7 +425,9 @@ __switch_alt_to_distro()
trap
- EXIT
return
1
esac
info
"Done."
epm clean
info
"Note: You can try epm autoremove and epm autoorphans commands to remove obsoleted and unused packages."
info
"Done. The system has been successfully upgraded to the next release."
trap
- EXIT
}
...
...
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