Determining when to update a package manager software
First Claim
1. A method, comprising:
- inspecting, using a first version of a package manager software, an update to a package prior to installing the update to the package, wherein the package and the package manager software are installed on a client, wherein inspecting the update to the package comprises extracting a version of the package manager software required to install the update to the package from a package repository;
determining, by a processor of the client, in view of the inspection, a dependency between the update to the package and the package manager software, the dependency to indicate that a second version of the package manager software is required to install the update to the package, wherein determining the dependency between the update to the package and the package manager software comprises comparing the second version of the package manager software with the first version of the package manager software; and
updating the package manager software from the first version to the second version prior to installing the update to the package, wherein updating the package manager software from the first version to the second version comprises;
accessing, using the first version of the package manager software, a package comprising the second version of the package manager software;
removing the first version of the package manager software from the client; and
installing the second version of the package manager software on the client, wherein the first version of the package manager software is removed after the second version of the package manager software is installed.
1 Assignment
0 Petitions
Accused Products
Abstract
Updating package manager software on a client. An update tool can interface with a package manager running a first version of the package manager software to inspect an available update to a package installed on the client. The update tool can determine that a second version of the package manager software is required to install the update to the package. The update tool can access the second version of the package manager software, remove the first version of the package manager software from the package manager, and unpack and install the second version of the package manager software on the package manager. Further, the update tool can install the update to the package installed on the client, and can update other resources associated with the client as appropriate.
41 Citations
15 Claims
-
1. A method, comprising:
-
inspecting, using a first version of a package manager software, an update to a package prior to installing the update to the package, wherein the package and the package manager software are installed on a client, wherein inspecting the update to the package comprises extracting a version of the package manager software required to install the update to the package from a package repository; determining, by a processor of the client, in view of the inspection, a dependency between the update to the package and the package manager software, the dependency to indicate that a second version of the package manager software is required to install the update to the package, wherein determining the dependency between the update to the package and the package manager software comprises comparing the second version of the package manager software with the first version of the package manager software; and updating the package manager software from the first version to the second version prior to installing the update to the package, wherein updating the package manager software from the first version to the second version comprises; accessing, using the first version of the package manager software, a package comprising the second version of the package manager software; removing the first version of the package manager software from the client; and installing the second version of the package manager software on the client, wherein the first version of the package manager software is removed after the second version of the package manager software is installed. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system, comprising:
-
an update tool to interface with a package manager; and a processor communicatively coupled to the update tool to; inspect, using a first version of a package manager software, an update to a package prior to installing an update to the package, wherein the package and the package manager software are installed on a client, wherein when inspecting the update to the package, the processor is to extract a version of the package manager software required to install the update to the package from a package repository; determine, in view of the inspection, a dependency between the update to the package and the package manager software, the dependency to indicate that a second version of the package manager software is required to install the update to the package, wherein when determining the dependency between the update to the package and the package manager software, the processor is to compare the second version of the package manager software with the first version of the package manager software; and update the package manager software from the first version to the second version prior to installing the update to the package, wherein the package manager software is further to; access, using the first version of the package manager software, a package comprising the second version of the package manager software; remove the first version of the package manager software from the client; and install the second version of the package manager software on the client, wherein the first version of the package manager software is removed after the second version of the package manager software is installed. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A non-transitory computer readable medium comprising instructions to cause a processor to:
-
inspect, using a first version of a package manager software, an update to a package prior to installing the update to the package, wherein the package and the package manager software are installed on a client, wherein the package manager software is further to extract a version of the package manager software required to install the update to the package from a package repository; determine, by the processor of the client, in view of the inspection, a dependency between the update to the package and the package manager software, the dependency to indicate that a second version of the package manager software is required to install the update to the package, wherein the package manager software is further to compare the second version of the package manager software with the first version of the package manager software; and update the package manager software from the first version to the second version prior to installing the update to the package, wherein the package manager software is further to; access, using the first version of the package manager software, a package comprising the second version of the package manager software; remove the first version of the package manager software from the client and install the second version of the package manager software on the client, wherein the first version of the package manager software is removed after the second version of the package manager software is installed.
-
Specification