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
5b8ad933
Commit
5b8ad933
authored
May 17, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit packed 3.64.28
parent
40d8f8d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
6 deletions
+22
-6
epm.sh
packed/epm.sh
+21
-5
serv.sh
packed/serv.sh
+1
-1
No files found.
packed/epm.sh
View file @
5b8ad933
...
@@ -34,7 +34,7 @@ SHAREDIR="$PROGDIR"
...
@@ -34,7 +34,7 @@ SHAREDIR="$PROGDIR"
# will replaced with /etc/eepm during install
# will replaced with /etc/eepm during install
CONFIGDIR
=
"
$PROGDIR
/../etc"
CONFIGDIR
=
"
$PROGDIR
/../etc"
export
EPMVERSION
=
"3.64.2
7
"
export
EPMVERSION
=
"3.64.2
8
"
# package, single (file), pipe, git
# package, single (file), pipe, git
EPMMODE
=
"package"
EPMMODE
=
"package"
...
@@ -3395,6 +3395,7 @@ epm_desktop() {
...
@@ -3395,6 +3395,7 @@ epm_desktop() {
__epm_add_alt_apt_downgrade_preferences
()
__epm_add_alt_apt_downgrade_preferences
()
{
{
set_sudo
[
-r
/etc/apt/preferences
]
&&
fatal
"/etc/apt/preferences already exists"
[
-r
/etc/apt/preferences
]
&&
fatal
"/etc/apt/preferences already exists"
cat
<<
EOF
| sudocmd tee /etc/apt/preferences
cat
<<
EOF
| sudocmd tee /etc/apt/preferences
Package: *
Package: *
...
@@ -3417,6 +3418,7 @@ EOF
...
@@ -3417,6 +3418,7 @@ EOF
__epm_add_deb_apt_downgrade_preferences
()
__epm_add_deb_apt_downgrade_preferences
()
{
{
set_sudo
[
-r
/etc/apt/preferences
]
&&
fatal
"/etc/apt/preferences already exists"
[
-r
/etc/apt/preferences
]
&&
fatal
"/etc/apt/preferences already exists"
info
"Running with /etc/apt/preferences:"
info
"Running with /etc/apt/preferences:"
cat
<<
EOF
| sudorun tee /etc/apt/preferences
cat
<<
EOF
| sudorun tee /etc/apt/preferences
...
@@ -3441,6 +3443,7 @@ __epm_remove_apt_downgrade_preferences()
...
@@ -3441,6 +3443,7 @@ __epm_remove_apt_downgrade_preferences()
epm_downgrade
()
epm_downgrade
()
{
{
arg
=
"
$1
"
local
CMD
local
CMD
# it is useful for first time running
# it is useful for first time running
...
@@ -3456,6 +3459,16 @@ epm_downgrade()
...
@@ -3456,6 +3459,16 @@ epm_downgrade()
case
$BASEDISTRNAME
in
case
$BASEDISTRNAME
in
alt
)
alt
)
if
[
"
$arg
"
=
"archive"
]
;
then
__epm_add_alt_apt_downgrade_preferences
||
return
docmd epm repo save
docmd epm repo
set
archive
"
$2
"
shift
2
epm_Upgrade
"
$2
"
docmd epm repo restore
__epm_remove_apt_downgrade_preferences
return
fi
# pass pkg_filenames too
# pass pkg_filenames too
if
[
-n
"
$pkg_names
"
]
;
then
if
[
-n
"
$pkg_names
"
]
;
then
__epm_add_alt_apt_downgrade_preferences
||
return
__epm_add_alt_apt_downgrade_preferences
||
return
...
@@ -9426,7 +9439,10 @@ get_next_release()
...
@@ -9426,7 +9439,10 @@ get_next_release()
__do_upgrade
()
__do_upgrade
()
{
{
docmd epm
$non_interactive
$force_yes
upgrade
||
fatal
"Check the errors and run '#
$0
' again"
docmd epm
$non_interactive
$force_yes
upgrade
&&
return
docmd epm
$non_interactive
$force_yes
fix
docmd epm
$non_interactive
$force_yes
upgrade
&&
return
fatal
"Check the errors and run '#
$0
' after fix."
}
}
__switch_alt_to_distro
()
__switch_alt_to_distro
()
...
@@ -9524,7 +9540,7 @@ __switch_alt_to_distro()
...
@@ -9524,7 +9540,7 @@ __switch_alt_to_distro()
docmd epm
install
rpm apt
$(
get_fix_release_pkg
"
$TO
"
)
||
fatal
"Check the errors and run '# epm release-upgrade' again"
docmd epm
install
rpm apt
$(
get_fix_release_pkg
"
$TO
"
)
||
fatal
"Check the errors and run '# epm release-upgrade' again"
__check_system
"
$TO
"
__check_system
"
$TO
"
# will update to kernel 6.6
# will update to kernel 6.6
docmd epm update-kernel
||
fatal
docmd epm update-kernel
-t
6.12
||
fatal
;;
;;
"c10f1 c10f2"
|
"c10f2 c10f3"
)
"c10f1 c10f2"
|
"c10f2 c10f3"
)
info
"Upgrade all packages to current
$FROM
repository"
info
"Upgrade all packages to current
$FROM
repository"
...
@@ -13883,7 +13899,7 @@ EOF
...
@@ -13883,7 +13899,7 @@ EOF
RES
=
$?
RES
=
$?
clean_store_output
clean_store_output
return
$RES
;;
return
$RES
;;
dnf-rpm
)
dnf-rpm
|dnf5-rpm
)
set_sudo
set_sudo
store_output sudocmd dnf
--assumeno
install
$filenames
store_output sudocmd dnf
--assumeno
install
$filenames
__check_yum_result
$RC_STDOUT
$?
__check_yum_result
$RC_STDOUT
$?
...
@@ -14784,7 +14800,7 @@ epm_upgrade_alt_tasks()
...
@@ -14784,7 +14800,7 @@ epm_upgrade_alt_tasks()
[
-n
"
$verbose
"
]
&&
info
"Packages to upgrade:
$installlist
"
[
-n
"
$verbose
"
]
&&
info
"Packages to upgrade:
$installlist
"
if
[
-z
"
$installlist
"
]
;
then
if
[
-z
"
$installlist
"
]
;
then
warning
'There is no installed packages for upgrade from task
$*'
warning
'There is no installed packages for upgrade from task
'
"
$*
"
return
22
return
22
fi
fi
...
...
packed/serv.sh
View file @
5b8ad933
...
@@ -34,7 +34,7 @@ SHAREDIR=$PROGDIR
...
@@ -34,7 +34,7 @@ SHAREDIR=$PROGDIR
# will replaced with /etc/eepm during install
# will replaced with /etc/eepm during install
CONFIGDIR
=
$PROGDIR
/../etc
CONFIGDIR
=
$PROGDIR
/../etc
EPMVERSION
=
"3.64.2
7
"
EPMVERSION
=
"3.64.2
8
"
# package, single (file), pipe, git
# package, single (file), pipe, git
EPMMODE
=
"package"
EPMMODE
=
"package"
...
...
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