[packages] Drop urpmi support
This code is essentially untested and unused, as OpenMandriva has been using DNF for three years now. Reference: https://www.openmandriva.org/en/news/article/switching-to-rpmv4
This commit is contained in:
parent
cb67c79203
commit
d39f2b8c3e
@ -356,26 +356,6 @@ class PMPortage(PackageManager):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class PMUrpmi(PackageManager):
|
|
||||||
backend = "urpmi"
|
|
||||||
|
|
||||||
def install(self, pkgs, from_local=False):
|
|
||||||
check_target_env_call(["urpmi", "--download-all", "--no-suggests",
|
|
||||||
"--no-verify-rpm", "--fastunsafe",
|
|
||||||
"--ignoresize", "--nolock",
|
|
||||||
"--auto"] + pkgs)
|
|
||||||
|
|
||||||
def remove(self, pkgs):
|
|
||||||
check_target_env_call(["urpme", "--auto"] + pkgs)
|
|
||||||
|
|
||||||
def update_db(self):
|
|
||||||
check_target_env_call(["urpmi.update", "-a"])
|
|
||||||
|
|
||||||
def update_system(self):
|
|
||||||
# Doesn't need to update the system explicitly
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
class PMXbps(PackageManager):
|
class PMXbps(PackageManager):
|
||||||
backend = "xbps"
|
backend = "xbps"
|
||||||
|
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
# - pacman - Pacman
|
# - pacman - Pacman
|
||||||
# - pamac - Manjaro package manager
|
# - pamac - Manjaro package manager
|
||||||
# - portage - Gentoo package manager
|
# - portage - Gentoo package manager
|
||||||
# - urpmi - Mandriva package manager
|
|
||||||
# - yum - Yum RPM frontend
|
# - yum - Yum RPM frontend
|
||||||
# - zypp - Zypp RPM frontend
|
# - zypp - Zypp RPM frontend
|
||||||
#
|
#
|
||||||
|
@ -17,7 +17,6 @@ properties:
|
|||||||
- pacman
|
- pacman
|
||||||
- pamac
|
- pamac
|
||||||
- portage
|
- portage
|
||||||
- urpmi
|
|
||||||
- yum
|
- yum
|
||||||
- zypp
|
- zypp
|
||||||
- dummy
|
- dummy
|
||||||
|
Loading…
Reference in New Issue
Block a user