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
Vladislav
eepm
Commits
c20a88b0
Commit
c20a88b0
authored
Apr 06, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm release-upgrade: improved for ROSA and Mageia
parent
a46b587c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
6 deletions
+20
-6
epm-release_upgrade
bin/epm-release_upgrade
+20
-6
No files found.
bin/epm-release_upgrade
View file @
c20a88b0
...
...
@@ -485,6 +485,26 @@ epm_release_upgrade()
;;
esac
case
$DISTRNAME
in
"Mageia"
)
epm repo remove all
sudocmd urpmi.addmedia
--distrib
--mirrorlist
'http://mirrors.mageia.org/api/mageia.8.$DISTRARCH.list'
sudocmd urpmi
--auto-update
$non_interactive
$force
return
;;
"ROSA"
)
urpm-rpm
)
# TODO: move to distro related upgrade
#epm repo remove all
# FIXME: don't work:
#epm repo add "http://mirror.rosalinux.ru/rosa/rosa2021.1/repository/$DISTRARCH"
#showcmd urpmi.addmedia --distrib http://mirror.yandex.ru/mandriva/devel/2010.2/i586/
#sudocmd urpmi --auto-update --replacefiles
return
*
)
;;
esac
case
$PMTYPE
in
apt-rpm
)
#docmd epm update
...
...
@@ -582,12 +602,6 @@ epm_release_upgrade()
sudocmd dnf distro-sync
--releasever
=
$RELEASEVER
info
"You can run '# epm autoorphans' to remove orphaned packages"
;;
urpm-rpm
)
sudocmd urpmi.removemedia
-av
info
"Try do manually"
showcmd urpmi.addmedia
--distrib
http://mirror.yandex.ru/mandriva/devel/2010.2/i586/
sudocmd urpmi
--auto-update
--replacefiles
;;
zypper-rpm
)
docmd epm repolist
# TODO
...
...
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