Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Turris Build Turris Build
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 73
    • Issues 73
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Turris
  • Turris OS
  • Turris BuildTurris Build
  • Merge requests
  • !15

Merged
Created Jun 15, 2019 by Josef Schlehofer@jschlehoferMaintainer

patches: luci: dont use opkg --force-overwrite

  • Overview 3
  • Commits 1
  • Changes 1

In case of installing ntpd package in LuCI, which is in conflict due to file, which is provided by another package (in this case busybox). It uses opkg install ntpd --force-overwrite. When you want to use switch-branch hbs from hbk it will fail because of collision.

DIE:
[string "transaction"]:330: [string "transaction"]:153: Collisions:
• /sbin/ntpd: busybox (new-file), ntpd (existing-file)
Aborted

All the details are included in the commit message of the patch.

Forum thread: https://forum.turris.cz/t/recommended-way-to-install-additional-packages/10338
Github issue: https://github.com/openwrt/luci/issues/2771
(Upstream doesn't seem that they want to change the behavior as it is intended by them. Already for 7 years)

The patch is marked as wip not as hack, because it would be nice, if we (or maybe someon else) could improve a little bit LuCI to be more user-friendly. At least to provide choice, if the user wants to overwrite it or not.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: luci_opkg_force_overwrite