I am new to linux and thought it would be a good idea to install multimedia codecs. So I followed these instructions on this webpage: http://opensuse-community.org/
Apparently though, I now have too many repositories. As my priority is a stable and clean system, I don’t mind removing some or many of these.
I am on Leap 42.2 and KDE Plasma 5.8.6
Please advise, both on what to remove and how to do so. As simply and clearly as possible. Thank you.
dcnblues@linux-hk2f:~> zypper lr -d
Repository priorities are without effect. All enabled repositories share the same priority.
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
---+-----------------------------------------+-----------------------------------------+---------+-----------+---------+----------+----------+-------------------------------------------------------------------------------+--------
1 | Google-Chrome | Google-Chrome | Yes | (r ) Yes | No | 99 | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64 |
2 | download.nvidia.com-leap | nVidia Graphics Drivers | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.nvidia.com/opensuse/leap/42.2 |
3 | download.opensuse.org-non-oss | Main Repository (NON-OSS) | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/leap/42.2/repo/non-oss/ |
4 | download.opensuse.org-non-oss_1 | Update Repository (Non-Oss) | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/42.2/non-oss/ |
5 | google-chrome-stable_current_x86_64.rpm | google-chrome-stable_current_x86_64.rpm | Yes | ( p) Yes | Yes | 99 | plaindir | dir:///home/dcnblues/Downloads |
6 | http-download.opensuse.org-811e145f | home:megamaced | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/home:/megamaced/openSUSE_Leap_42.2/ |
7 | http-download.opensuse.org-b41ba0a8 | home:kLeZ-hAcK | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/home:/kLeZ-hAcK/openSUSE_Leap_42.2/ |
8 | http-opensuse-guide.org-0e3c0b7b | libdvdcss repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_42.2/ |
9 | packman | packman | Yes | (r ) Yes | Yes | 99 | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_42.2/ |
10 | packman.inode.at-suse | Packman Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_42.2/ |
You have packman twice you can remove one. That in itself does not hurt but does slow down updates
IMO best to just do a vendor change to packman. Never sure that the one clicks are 100% right
as root
zypper dup --from 9
assuming packman is still your repo #9
linux-hk2f:/home/dcnblues # zypper dup --from 9
Refreshing service 'service'.
Unexpected exception.
Parse error: repoindex.xml[23] Opening and ending tag mismatch: meta line 21 and head
Please file a bug report about this.
See http://en.opensuse.org/Zypper/Troubleshooting for instructions.
As well, when I run YAST software management, I get:
An error occurred during repository initialization. SKIP request: User-requested skipping of a file History: - File ‘/repodata/repomd.xml’ not found on medium ‘http://download.opensuse.org/repositories/home:/kLeZ-hAcK/openSUSE_Leap_42.2/ ’
and a ‘cannot access software’ something with this:
File ‘/repodata/repomd.xml’ not found on medium ‘http://download.opensuse.org/repositories/home:/kLeZ-hAcK/openSUSE_Leap_42.2/ ’
Remove that repo as well.
You need to remove the home:kLeZ-hAcK repo
zypper rr home:kLeZ-hAcK
We cannot see what you installed from that repo, but please do not use home: or devel: repos. These are developers/packagers’ repos, and are to be considered unstable.
BTW I never trust the numeric id’s for repos, since they change whenever you add or remove one. Rather use
zypper dup --from Packman\ Repository
where the backshlash is used the escape the space character.
In fact remove #6 and #7 as well.
Note removing 6 and 7 will also change the numbering for packman so check before doing vendor change
@dcnblues : If you’re in doubt about what’s still present/enables, run ‘zypper lr -d’ again and post here.
Knurpht:
You need to remove the home:kLeZ-hAcK repo
zypper rr home:kLeZ-hAcK
We cannot see what you installed from that repo, but please do not use home: or devel: repos. These are developers/packagers’ repos, and are to be considered unstable…
So I take it the original link I mentioned is something I should not have trusted? http://opensuse-community.org/
It installs a ‘yast meta package.’ Probably something to avoid in the future, for other new users like me.
Okay, what next?
linux-hk2f:/home/dcnblues # zypper lr -d
Repository priorities are without effect. All enabled repositories share the same priority.
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
--+-----------------------------------------+-----------------------------------------+---------+-----------+---------+----------+----------+-------------------------------------------------------------------------------+--------
1 | Google-Chrome | Google-Chrome | Yes | (r ) Yes | No | 99 | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64 |
2 | download.nvidia.com-leap | nVidia Graphics Drivers | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.nvidia.com/opensuse/leap/42.2 |
3 | download.opensuse.org-non-oss | Main Repository (NON-OSS) | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/leap/42.2/repo/non-oss/ |
4 | download.opensuse.org-non-oss_1 | Update Repository (Non-Oss) | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/42.2/non-oss/ |
5 | google-chrome-stable_current_x86_64.rpm | google-chrome-stable_current_x86_64.rpm | Yes | ( p) Yes | Yes | 99 | plaindir | dir:///home/dcnblues/Downloads |
6 | http-download.opensuse.org-811e145f | home:megamaced | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/home:/megamaced/openSUSE_Leap_42.2/ |
7 | http-opensuse-guide.org-0e3c0b7b | libdvdcss repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_42.2/ |
8 | packman | packman | Yes | (r ) Yes | Yes | 99 | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_42.2/ |
9 | packman.inode.at-suse | Packman Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_42.2/
I get quickly out of my depth:
linux-hk2f:/home/dcnblues # zypper rr home:megameced
Repository 'home:megameced' not found by alias, number or URI.
dcnblues:
I get quickly out of my depth:
linux-hk2f:/home/dcnblues # zypper rr home:megameced
Repository 'home:megameced' not found by alias, number or URI.
Hi
Number is 6, Alias is http-download.opensuse.org-811e145f it’s easier to use the repo number. ALWAYS use zypper lr first as the numbers change when you remove a repository.
You can manage repos from Yast the GUI may make it easier. You can also do the vendor switch from Yast but it is easier to explain using zypper
Wrong Name:
zypper rr home:megame ced
6 | http-download.opensuse.org-811e145f | home:megama ced
But I prefer also deleting with the Repo-Number
zypper rr 6
Thank you. Not sure how that got misspelled as I’m pretty sure I copy/pasted it, but a good reminder to always be accurate with spelling.
Sorry, but I’m still not familiar with these. Which others should I remove?
linux-hk2f:/home/dcnblues # zypper lr -d
Repository priorities are without effect. All enabled repositories share the same priority.
# | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
--+-----------------------------------------+-----------------------------------------+---------+-----------+---------+----------+----------+-------------------------------------------------------------------+--------
1 | Google-Chrome | Google-Chrome | Yes | (r ) Yes | No | 99 | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64 |
2 | download.nvidia.com-leap | nVidia Graphics Drivers | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.nvidia.com/opensuse/leap/42.2 |
3 | download.opensuse.org-non-oss | Main Repository (NON-OSS) | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/leap/42.2/repo/non-oss/ |
4 | download.opensuse.org-non-oss_1 | Update Repository (Non-Oss) | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/42.2/non-oss/ |
5 | google-chrome-stable_current_x86_64.rpm | google-chrome-stable_current_x86_64.rpm | Yes | ( p) Yes | Yes | 99 | plaindir | dir:///home/dcnblues/Downloads |
6 | http-opensuse-guide.org-0e3c0b7b | libdvdcss repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_42.2/ |
7 | packman | packman | Yes | (r ) Yes | Yes | 99 | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_42.2/ |
8 | packman.inode.at-suse | Packman Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_42.2/
Repos 7 and 8 are duplicates. Remove 8 with
zypper rr 8
Also, repos 3 and 4 are duplicates… you have update repo configured for Non-OSS, but not OSS
For reference, I have…
3 | openSUSE-Leap-42.2-Update-Oss | openSUSE-Leap-42.2-Update-non-oss | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/42.2/non-oss/ |
4 | openSUSE-Leap-42.2-Update_ | openSUSE-Leap-42.2-Update-oss | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/42.2/oss