devcontainers / devcontainers/features
Feature trigger installation of older / unwanted version of packages, i.e. rust install lldb default for ubuntu even when higher version installed
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Shell
- Estrellas
- 1.5k
- Forks
- 622
- Merge medio
- 6 d 53 min
- PR fusionados (30 d)
- 9
Descripción
This is not particular to rust feature, but I have a docker image using clang-18, lldb-18, etc. The default for Ubuntu 20.04 is clang-10, lldb-10, etc.
When I add the rust feature I get the wrong version installed because apt install lldb doesn't seem to be aware that lldb-18 already met that requirement.
I think this is more an apt issue than a devcontainer but I am hitting this issue most with devcontainer features since they are not aware of the pre-existing installation.
One potential solution is to have a LLVM version variable added to rust so that it tries to install the desired version (18 in this case) instead of the default lldb.
Another option would be for rust not to install lldb if not requested.
I was wondering if there was a solution at the apt level where I could tell apt that "lldb" is same as "lldb-18" as to preven this for non llvm recipe as well if I detect similar issue.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza con el punto de entrada de instalación de paquetes de la feature rust y reproduce el comportamiento en una imagen de Docker de Ubuntu 20.04 que ya tenga clang-18 y lldb-18. Compara los resultados propuestos —instalar la versión correspondiente de LLVM u omitir lldb salvo que se solicite— y define qué comportamiento se acepta; el issue no menciona archivos ni tests.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- docker, rust, shell
- Área
- devops, infrastructure, tooling
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 30/100