← Back to issue list

where does the python3 symlink come from?

View original Github issue

Metadata

Project
rockcraft
Number
#401
Type
issue
State
open
Author
cjdcordeiro
Labels
Created
2023-11-03 09:22:44+00:00
Updated
2025-08-15 15:12:42+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### Bug Description When installing the stage package `python3.8-venv`, the `python3` symlink will be set (even though it is not a part of that package). OTOH, if installing `python3.8` instead (which is a dependency on `python3.8-venv`), that symlink won't be there. I can't put my finger on where that symlink comes from, but since these are stage packages, it shouldn't be from the maintainer scripts. Plus, the fact that the symlink is there for the former pkg but not the latter, is also concerning ### To Reproduce Pack the rock. First with the yaml provided below. Then change `python3.8-venv` to `python3.8`, and pack again ### Environment Latest rockcraft ### rockcraft.yaml ```shell name: app base: ubuntu@20.04 version: '0.1' summary: rock description: | some rock license: GPL-3.0 platforms: amd64: parts: python-flask: plugin: nil stage-packages: - python3.8-venv ``` ### Relevant log output ```shell n/a ```

Evaluation history

No evaluation history available.