Supercharge Your Innovation With Domain-Expert AI Agents!

Method simultaneously supporting two software package managers and supporting software package interdependence and conflict detection

A conflict detection and interdependence technology, applied in software maintenance/management, version control, etc., can solve problems such as inability to solve user habits, inability to detect conflicts, installation script conversion errors, etc.

Pending Publication Date: 2021-01-15
KYLIN CORP
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] 1. After installing the relevant package manager, there is no data of the installed package in the database of the package manager
[0010] 2. Mutual query is not supported
The software package information installed by dpkg cannot be queried using rpm; the software package information installed by rpm cannot be queried by dpkg
[0011] 3. Does not support interdependence processing
In the process of using rpm to install the rpm package, the situation that the rpm package depends on the deb package cannot be handled; in the process of using dpkg to install the deb format package, the situation that the deb package depends on the rpm package cannot be handled
[0012] 4. Does not support mutual conflict handling
This approach cannot detect conflicting cases, cannot handle conflicting cases
[0013] 5. Packaging tools do not support interdependence
[0014] 6. The yum installation of the rpm package cannot depend on the deb package, and cannot handle the conflict between the rpm package and the installed deb package; the apt installation of the deb package cannot depend on the rpm package, and cannot handle the deb package and the installed rpm package conflict between
[0016] 1. The method of converting the software package format cannot support rpm and dpkg at the same time, which cannot solve the problem of user habits
[0017] 2. Using Alien to convert the software package, there is information loss during the conversion process, which may cause installation failure or failure to install, uninstall and upgrade normally. For example, the software package converted by Alien lacks dependency information, and the installation script may convert incorrectly

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method simultaneously supporting two software package managers and supporting software package interdependence and conflict detection
  • Method simultaneously supporting two software package managers and supporting software package interdependence and conflict detection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to have a further understanding of the technical solution and beneficial effects of the present invention, the technical solution of the present invention and its beneficial effects will be described in detail below in conjunction with the accompanying drawings.

[0030] figure 1 It is a general idea diagram of the present invention, such as figure 1 As shown, the present invention realizes that the operating system can support both rpm and dpkg in the following manner, and the rpm software package and the deb software can realize interdependence and mutual conflict detection: a unified database is established to store the rpm software package information and the deb software package information. Create a unified processing dynamic library, referred to as the unified processing library, the unified processing library operates the unified database, and encapsulates the operation of processing information related to rpm and dpkg into an interface for external pr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a method simultaneously supporting two software package managers and supporting software package interdependence and conflict detection, which comprises the following steps of: establishing a unified database, and storing rpm software package information and deb software package information; creating a unified processing dynamic library to operate the unified database, andpackaging the operation of processing the information associated with rpm and dpkg into an interface to be called by an external program; transforming rpm and dpkg, changing the original operation ofrpm and dpkg on respective databases into the operation of calling a unified database interface to operate the unified database, and recording software package information into the unified database;modifying a packaging tool, and changing the original operation on respective databases in the packaging process into calling a unified database interface to operate the unified database; modifying yum and apt, and changing the original operation of a network packet manager on respective databases into the operation of calling the unified database interface to operate the unified database; and making an initialization tool, wherein the initialization tool is used for importing database information of the original software package manager of the system into the unified database.

Description

technical field [0001] The invention relates to the technical field of computer software package compatibility, in particular to a method for simultaneously supporting two software package managers and supporting software package interdependence and conflict detection. Background technique [0002] Among the distributions of the Linux operating system, there are two relatively mainstream distributions, namely the redhat-based distribution represented by centos, and the debian-based distribution represented by ubuntu. Among them, the redhat-based distribution uses rpm as the package manager to install, uninstall, update, and query rpm-format software packages; the debian-based distribution uses dpkg as the package manager to manage deb-format software packages. [0003] The usage habits of users such as the command format, output format and packaging method of rpm and dpkg management software are quite different. Users who are used to the rpm package manager are usually not ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F8/71
CPCG06F8/71Y02D10/00
Inventor 穆瑞超薛炜林超超常涛张希鹏张茜丁丽丽李震宁
Owner KYLIN CORP
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More