Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
S slapos.package
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • 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
None
Milestone
None
Assign milestone
Time tracking
Source branch: fix/https
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7