Lachu
December 11, 2017, 10:17am
1
I don’t know how, but I damaged my system.
Actually, when I start Yast2 package manager module, it complains it have two version of the same packages installed, like cmake, gcab, etc. It asks me, which version to remove, but after selecting one and continue, there’s message telling me these packages are not installed. Some packages from the list are on 100% not installed, for example plasma-pk-manager (or something like that).
Additionally, I don’t have package updater plasmoid, my task manages under plasma5 not working and there’s problem with window managing.
hcvv
December 11, 2017, 11:14am
2
The fact that you refer to the update plasmoid may mean that you used it. Don’t. Tumbleweed should only be updated using
zypper dup
To try to repair things.
Maybe first check if you have a correct set of repositories enabled:
zypper lr -d
If you have any doubt or want advice on what you get there, please post first here before going with the next steps.
To clean up the RPM and zypper databases:
rpm --rebuilddb
zypper clean -a
Do you now still have the problem?
You can now update with:
zypper dup
Lachu
December 14, 2017, 9:55am
3
>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 | KDEApplications-newest | KDEApplications-newest | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/Unstable:/Applications/KDE_Unstable_Frameworks_openSUSE_Factory/ |
2 | KDEExtra-newest | KDEExtra-newest | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/Unstable:/Extra/KDE_Unstable_Frameworks_openSUSE_Factory/ |
3 | KDEFrameworks-newest | KDEFrameworks-newest | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/Unstable:/Frameworks/openSUSE_Factory/ |
4 | LibDVDCss_For_Tumbleweed | LibDVDCss For Tumbleweed | Yes | (r ) Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/ |
5 | Packman_For_Tumbleweed | Packman For Tumbleweed | Yes | (r ) Yes | Yes | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Tumbleweed/ |
6 | Qt-newest | Qt-newest | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/Unstable:/Qt/openSUSE_Tumbleweed/ |
7 | download.opensuse.org-oss | Repozytorium główne (DEBUG) | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/debug/tumbleweed/repo/oss/ |
8 | http-download.opensuse.org-152a9f8e | home:wolfi323:branches:KDE:Frameworks5 | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/Frameworks5/openSUSE_Factory/ |
9 | http-download.opensuse.org-22d2f19c | windows:mingw:win64 | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/windows:/mingw:/win64/openSUSE_Factory/ |
10 | http-download.opensuse.org-30571b08 | KDE:Unstable:Frameworks | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/Unstable:/Frameworks/openSUSE_Factory/ |
11 | http-download.opensuse.org-36c9d9ab | openSUSE:Tumbleweed | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/ |
12 | http-download.opensuse.org-440ef3b1 | KDE:Qt57 | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/Qt57/openSUSE_Factory/ |
13 | http-download.opensuse.org-641d0d3c | openSUSE:Leap:42.2:Ports | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/repositories/openSUSE:/Leap:/42.2:/Ports/ports/ |
14 | http-download.opensuse.org-70ccda85 | openSUSE:Factory | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Factory/snapshot/ |
15 | http-download.opensuse.org-74407bdc | openSUSE:Leap:42.2:Rings:0-Bootstrap | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/repositories/openSUSE:/Leap:/42.2:/Rings:/0-Bootstrap/standard/ |
16 | http-download.opensuse.org-7a310d8d | mozilla | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_Tumbleweed/ |
17 | http-download.opensuse.org-8717a067 | games | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/games/openSUSE_Leap_42.2/ |
18 | http-download.opensuse.org-968249ca | games:tools | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/games:/tools/openSUSE_Leap_42.2/ |
19 | http-download.opensuse.org-9fe808db | KDE:Qt57 | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/Qt57/openSUSE_Factory/ |
20 | http-download.opensuse.org-a76a2c2c | devel:languages:php:php54 | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/php:/php54/openSUSE_Tumbleweed/ |
21 | http-download.opensuse.org-a9267289 | KDE:Frameworks5 | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/Frameworks5/openSUSE_Factory/ |
22 | http-download.opensuse.org-b9b76b72 | devel:tools:building | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/devel:/tools:/building/openSUSE_Factory/ |
23 | http-download.opensuse.org-ba4e1ec0 | windows:mingw | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/windows:/mingw/openSUSE_Factory/ |
24 | http-download.opensuse.org-baede4eb | KDE:Frameworks5 | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/Frameworks5/openSUSE_Factory/ |
25 | http-download.opensuse.org-c7a25a22 | windows:mingw:win32 | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Factory/ |
26 | http-download.opensuse.org-d2ebb613 | KDE:Frameworks5 | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/Frameworks5/openSUSE_Factory/ |
27 | http-download.opensuse.org-dd1444fd | KDE:Qt57 | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/Qt57/openSUSE_Factory/ |
28 | http-download.opensuse.org-e9f686cf | server:php:extensions:php7 | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/server:/php:/extensions:/php7/openSUSE_Tumbleweed/ |
29 | http-download.opensuse.org-ed53dbfb | home:DarkPlayer:Pipelight | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/home:/DarkPlayer:/Pipelight/openSUSE_Factory/ |
30 | openSUSE-20160511-0 | openSUSE-20160511-0 | No | ---- | ---- | 99 | yast2 | cd:///?devices=/dev/disk/by-id/ata-MATSHITA_DVD-RAM_UJ8HC_8S5DX0H52653P1PL5BL4 |
31 | packman | packman | No | ---- | ---- | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/ |
32 | repo-debug | openSUSE-Tumbleweed-Debug | No | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/tumbleweed/repo/oss/ |
33 | repo-non-oss | openSUSE-Tumbleweed-Non-Oss | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/non-oss/ |
34 | repo-oss | openSUSE-Tumbleweed-Oss | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/oss/ |
35 | repo-source | openSUSE-Tumbleweed-Source | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/source/tumbleweed/repo/oss/ |
36 | repo-update | openSUSE-Tumbleweed-Update | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/tumbleweed/ |
37 | skype-stable | skype (stable) | No | ---- | ---- | 99 | rpm-md | https://repo.skype.com/rpm/stable/ |
Many repositories. As you suggested, before going forward, I put the output of zypper lr -d. In future, I wouldn’t update my system by plasmoid. Thanks.
hcvv
December 14, 2017, 11:57am
4
I am baffled. I will leave it to others (with more Tumbleweed experience then I have) if they can offer you improvements on this bewildering list.
I also see you have e.g. Packman twice. One is switched off, but it does not improve the human assessment. So some cleaning to make it better readable might be something to think over.
Lachu
December 14, 2017, 12:14pm
5
I will write simple awk/gawk script with -F| switch and printing result if column enabled is activated. Thanks for help.
knurpht
December 15, 2017, 12:16am
6
Why on earth did you add unstable repos to your system. Tumbleweed is already completely up to date vs upstream.
Remove all the extra repos, run ‘zypper dup’, accept the changes and hope you haven’t borked the system to unrepairable,
hcvv
December 15, 2017, 9:10am
7
That is what I thought, but not being a TW user I hesitated to say. Thanks for confirming.
Lachu
December 15, 2017, 12:51pm
8
gawk -F\| '$4~/\s*Yes\s*/ ' ./file
4 | LibDVDCss_For_Tumbleweed | LibDVDCss For Tumbleweed | Yes | (r ) Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/ |
5 | Packman_For_Tumbleweed | Packman For Tumbleweed | Yes | (r ) Yes | Yes | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Tumbleweed/ |
7 | download.opensuse.org-oss | Repozytorium główne (DEBUG) | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/debug/tumbleweed/repo/oss/ |
11 | http-download.opensuse.org-36c9d9ab | openSUSE:Tumbleweed | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/ |
22 | http-download.opensuse.org-b9b76b72 | devel:tools:building | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/devel:/tools:/building/openSUSE_Factory/ |
33 | repo-non-oss | openSUSE-Tumbleweed-Non-Oss | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/non-oss/ |
34 | repo-oss | openSUSE-Tumbleweed-Oss | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/oss/ |
35 | repo-source | openSUSE-Tumbleweed-Source | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/source/tumbleweed/repo/oss/ |
36 | repo-update | openSUSE-Tumbleweed-Update | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/tumbleweed/
File was created by:
zypper lr -d > file
So I should disable repo with number 22. Am I correct?
hcvv
December 15, 2017, 1:54pm
9
I have no idea what you are trying to show or do here.
My advice was to remove the disabled Packman repo because there is already an enabled one. And my general advice was to think over if you realy need all of them.
Knurpht’s advice was to delete at least all those with Unstable in their URLs and a
zypper dup
knurpht
December 15, 2017, 2:44pm
10
Lachu:
gawk -F\| '$4~/\s*Yes\s*/ ' ./file
4 | LibDVDCss_For_Tumbleweed | LibDVDCss For Tumbleweed | Yes | (r ) Yes | Yes | 99 | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/ |
5 | Packman_For_Tumbleweed | Packman For Tumbleweed | Yes | (r ) Yes | Yes | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Tumbleweed/ |
** 7 | download.opensuse.org-oss | Repozytorium główne (DEBUG) | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/debug/tumbleweed/repo/oss/ |
****11 | http-download.opensuse.org-36c9d9ab | openSUSE:Tumbleweed | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/ |
****22 | http-download.opensuse.org-b9b76b72 | devel:tools:building | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/devel:/tools:/building/openSUSE_Factory/ |
**33 | repo-non-oss | openSUSE-Tumbleweed-Non-Oss | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/non-oss/ |
34 | repo-oss | openSUSE-Tumbleweed-Oss | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/tumbleweed/repo/oss/ |
**35 | repo-source | openSUSE-Tumbleweed-Source | Yes | (r ) Yes | Yes | 99 | yast2 | http://download.opensuse.org/source/tumbleweed/repo/oss/ |
**36 | repo-update | openSUSE-Tumbleweed-Update | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/tumbleweed/
File was created by:
zypper lr -d > file
So I should disable repo with number 22. Am I correct?
You can remove the bold ones. All of them. And make sure to run zypper dup after doing so.