repository: remove old http repository to prevent a warning
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
Showing
Please register or sign in to comment