Re: [ALFS Trac] #1730: Improve the dependency system
| Newsgroups | gmane.linux.lfs.automated |
|---|---|
| Message-ID | <[email protected]> |
#1730: Improve the dependency system
-----------------------------+------------------------------
Reporter: Pierre Labastie | Owner: Pierre Labastie
Type: enhancement | Status: accepted
Priority: normal | Milestone:
Component: ablfs | Version: GIT
Severity: normal | Resolution:
Keywords: |
-----------------------------+------------------------------
Description changed by Pierre Labastie:
Old description:
> Currently, the dependencies are only installed if either:
> - (i) they are not already installed
> - (ii) their version is higher than the installed version
> If a dependency is installed, its dependencies are not considered.
>
> But it may happen that a dependency (depB) of a dependency (depA) is in
> case (i) or (ii) (most likely), but not depA. In this case, depB is not
> considered, although it might happen that it is needed for the requested
> package.
>
> So the dependency system should be changed to always compute the full
> dependency chain, and another function should be created to remove
> packages not in case (i) or (ii) from the list of generated dependencies.
New description:
Currently, the dependencies are only installed if either:
- (i) they are not already installed
- (ii) their version is higher than the installed version
If a dependency is not in any of those states, its dependencies are not
considered.
But it may happen that a dependency (depB) of a dependency (depA) is in
state (i) or (ii) (most likely), but not depA. In this case, depB is not
considered, although it might happen that it is needed for the requested
package.
So the dependency system should be changed to always compute the full
dependency chain, and another function should be created to remove
packages not in case (i) or (ii) from the list of generated dependencies.
--
--
Ticket URL: <https://wiki.linuxfromscratch.org/alfs /ticket/1730#comment:6>
ALFS Trac <https://wiki.linuxfromscratch.org/alfs/>
Automated Linux From Scratch
--
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page