Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • S slapos.package
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedi
  • slapos.package
  • Merge requests
  • !172

Open
Created Sep 30, 2022 by Jérome Perrin@jeromeOwner
  • Report abuse
Report abuse

repository: remove old http repository to prevent a warning

  • Overview 9
  • Commits 1
  • Changes 1

In 6a03cf9e (playbook: use https for OBS, 2022-09-02) we added https repository, but without removing the old http repository, as a consequence, when re-running the playbook, we end up with two lines:

$ cat /etc/apt/sources.list.d/download_opensuse_org_repositories_home_VIFIBnexedi_Debian_11.list
deb http://download.opensuse.org/repositories/home:/VIFIBnexedi//Debian_11/ ./
deb https://download.opensuse.org/repositories/home:/VIFIBnexedi//Debian_11/ ./

and running apt update issues warning:

W: Target Packages (Packages) is configured multiple times in /etc/apt/sources.list.d/download_opensuse_org_repositories_home_VIFIBnexedi_Debian_11.list:1 and /etc/apt/sources.list.d/download_opensuse_org_repositories_home_VIFIBnexedi_Debian_11.list:2
W: Target Translations (en) is configured multiple times in /etc/apt/sources.list.d/download_opensuse_org_repositories_home_VIFIBnexedi_Debian_11.list:1 and /etc/apt/sources.list.d/download_opensuse_org_repositories_home_VIFIBnexedi_Debian_11.list:2
W: Target Packages (Packages) is configured multiple times in /etc/apt/sources.list.d/download_opensuse_org_repositories_home_VIFIBnexedi_Debian_11.list:1 and /etc/apt/sources.list.d/download_opensuse_org_repositories_home_VIFIBnexedi_Debian_11.list:2
W: Target Translations (en) is configured multiple times in /etc/apt/sources.list.d/download_opensuse_org_repositories_home_VIFIBnexedi_Debian_11.list:1 and /etc/apt/sources.list.d/download_opensuse_org_repositories_home_VIFIBnexedi_Debian_11.list:2

this also tells ansible to remove the old http repository that might be here for debian 11

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix/https
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7