Page MenuHomeVyOS Platform

Clean up and sanitize package dependencies
Closed, ResolvedPublicBUG

Description

Our packages have missing dependencies as T640 shows, but they have also accumulated unnecessary and misplaced dependencies.
We should clean up and sanitize them to prevent building non-functional images and to prevent packages that no one (or not that package) needs from getting installed. Packages should depend on and only on things they really need.

The decision tree should be as follows:

If it is not used by scripts or templates AND has no use for end users (e.g. a library nothing imports): simply remove it.
Make sure nothing else in the system uses it first!

It something uses it, move it to the appropritate package.

If it is not used by scripts or templates BUT it has use for end users (e.g. utilities like iftop): move to https://github.com/vyos/vyos-build/blob/current/data/live-build-config/package-lists/vyos-utils.list.chroot

If it was once used but the scripts were rewritten, move to vyos-1x

Details

Difficulty level
Hard (possibly days)
Version
1.2.0
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Internal change (not visible to end users)

Event Timeline

syncer triaged this task as Normal priority.Jun 30 2018, 12:35 AM
dmbaturin set Is it a breaking change? to Unspecified (possibly destroys the router).
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.Sep 3 2021, 12:06 PM
dmbaturin set Issue type to Internal change (not visible to end users).
syncer moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.
syncer moved this task from In Progress to Finished on the VyOS 1.3 Equuleus board.