Software Management is not working in opensuse 42.1

Hi,
I recently upgraded my machine from opensuse from 13.2 to 42.1. From then software management is not working.

Here is my repo list

nagendra@linux-4ypo:~> zypper lr -d

| Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service

—±--------------------------±-----------------------------------±--------±----------±--------±---------±-------±---------------------------------------------------------------------------±-------
1 | Packman Repository | Packman Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://ftp.uni-erlangen.de/pub/mirrors/packman/suse/openSUSE_13.2 |
2 | SuSE | SuSE | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.videolan.org/SuSE/13.2/ |
3 | VLC | VLC | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.videolan.org/pub/vlc/SuSE/13.2 |
4 | home:FunkyM:iOS | home:FunkyM:iOS | Yes | ( p) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/home:/FunkyM:/iOS/openSUSE_13.2/ |
5 | openSUSE:Leap:42.1 | openSUSE:Leap:42.1 | Yes | ( p) Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/leap/42.1/repo/oss/ |
6 | repo-debug | openSUSE-13.2-Debug | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/distribution/13.2/repo/oss/ |
7 | repo-debug-update | openSUSE-13.2-Update-Debug | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/update/13.2/ |
8 | repo-debug-update-non-oss | openSUSE-13.2-Update-Debug-Non-Oss | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/debug/update/13.2-non-oss/ |
9 | repo-non-oss | openSUSE-13.2-Non-Oss | Yes | ( p) Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/13.2/repo/non-oss/ |
10 | repo-oss | openSUSE-13.2-Oss | Yes | ( p) Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/13.2/repo/oss/ |
11 | repo-source | openSUSE-13.2-Source | No | ---- | Yes | 99 | NONE | http://download.opensuse.org/source/distribution/13.2/repo/oss/ |
12 | repo-update | openSUSE-13.2-Update | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/13.2/ |
13 | repo-update-non-oss | openSUSE-13.2-Update-Non-Oss | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/13.2-non-oss/

can you open it though YaSt. Try opening YaST and opening it through there that’s what i had to do

Thanks for the quick reply. I tried opening from YaST but that dint work.

You say you are now (or at least think you are now) on openSUSE LEAP 42.1. But you have still a lot of openSUSE 13.2 repos in that list. That is wrong. You can not mix those.

Please in the future use CODE tags around copied/pasted computer text in a post. It is the # button in the tool bar of the post editor. When applicable copy/paste complete, that is including the prompt, the command, the output and the next prompt.

Also, saying “is not working” is next to useless. You must explain what you do, what you expect to happen and what happens instead.

And seeing the mess of your repo list, you might also explain what you exactly did “upgrading to LEAP 42.1”.

When I open software Management from search or from Yast, It asks fro password and once password is provided, nothing happens.

I have followed the site SDB:System upgrade - openSUSE Wiki to update from zypper using the following command


zypper repos --uri 
zypper refresh
[FONT=monospace]zypper update[/FONT]

All your repositories except #5 are still pointing to openSUSE 13.2: how did you upgrade?
You might still have a mix of Leap and 13.2 packages…
Please disable all repos except #5 for now and add a Leap update repo; then do a distro upgrade:


zypper mmodifyrepo --disable --all
zypper mmodifyrepo --enable 5
zypper addrepo http://download.opensuse.org/update/leap/42.1/oss/
zypper ref
zypper dup

At that point if Software management doesn’t start in the usual GUI, check that you have the following packages installed:


# zypper --no-refresh se -i yui
Loading repository data...
Reading installed packages...

S | Name                | Summary                                                   | Type   
--+---------------------+-----------------------------------------------------------+--------
i | libyui-ncurses-pkg7 | Libyui - yast2 package selector widget for the ncurses UI | package
i | libyui-ncurses7     | Libyui - Character Based User Interface                   | package
i | libyui-qt-graph7    | Libyui - Qt Graph Widget                                  | package
i | libyui-qt-pkg7      | Libyui - Qt Package Selector                              | package
i | libyui-qt7          | Libyui - Qt User Interface                                | package
i | libyui7             | Libyui - GUI-abstraction library                          | package
#

If not so, you should be able to start yast in a terminal and install them.
Afterwards you should be able to modify, add or delete additional repositories as you like.

you didn’t follow that upgrade procedure as it states to remove the old reposetories
I was trying to see if you have the LEAP update repo but without the code tags that list is hard to read but it looks like you do not have the Leap update repo.
remove the 13.2 repo’s they’re the ones causing you trouble you probobly have mixed Qt libreries and that’s why Yast won’t work
first remove the 13.2 repo’s, then add the LEAP non-oss (you have the oss repo) and the LEAP update repo’s, your packman is for 13.2 too
do this
su -


zypper rr 1 2 3 4 6 7 8 9 10 11 12 13
zypper ar -f http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/ openSUSE:Leap:42.1-Non-Oss
zypper ar -f http://download.opensuse.org/update/leap/42.1/oss/openSUSE:Leap:42.1:Update.repo
zypper ar -f http://download.opensuse.org/update/leap/42.1/non-oss/openSUSE:Leap:42.1:NonFree:Update.repo
zypper ar -f http://packman.inode.at/suse/openSUSE_Leap_42.1/ packman

after you’ve done that tell us your new repo list so we can start fixing things

edit:
to avoid spelling mistakes you can do copy/paste in a console window
right click on the text above select copy then in a terminal press shift+Ins to paste or rightclick and select paste

While I was having dinner, all sorts of good answers are filling this place :slight_smile:

I did updated with following commands

zypper mmodifyrepo --disable --all
zypper mmodifyrepo --enable 5
zypper addrepo http://download.opensuse.org/update/leap/42.1/oss/
zypper ref
zypper dup

and Software Management opened up !!
Thanks a lot for the quick reply

And here is the repo list now and see if nothing is wrong

#  | Alias                     | Name                               | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                        | Service
---+---------------------------+------------------------------------+---------+-----------+---------+----------+--------+----------------------------------------------------------------------------+--------
 1 | Packman Repository        | Packman Repository                 | No      | ----      | Yes     |   99     | rpm-md | http://ftp.uni-erlangen.de/pub/mirrors/packman/suse/openSUSE_13.2          |        
 2 | SuSE                      | SuSE                               | No      | ----      | Yes     |   99     | rpm-md | http://download.videolan.org/SuSE/13.2/                                    |        
 3 | VLC                       | VLC                                | No      | ----      | Yes     |   99     | rpm-md | http://download.videolan.org/pub/vlc/SuSE/13.2                             |        
 4 | home:FunkyM:iOS           | home:FunkyM:iOS                    | No      | ----      | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/FunkyM:/iOS/openSUSE_13.2/ |        
 5 | openSUSE:Leap:42.1        | openSUSE:Leap:42.1                 | Yes     | ( p) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/oss/              |        
 6 | repo-debug                | openSUSE-13.2-Debug                | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/13.2/repo/oss/             |        
 7 | repo-debug-update         | openSUSE-13.2-Update-Debug         | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/13.2/                            |        
 8 | repo-debug-update-non-oss | openSUSE-13.2-Update-Debug-Non-Oss | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/13.2-non-oss/                    |        
 9 | repo-non-oss              | openSUSE-13.2-Non-Oss              | No      | ----      | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.2/repo/non-oss/               |        
10 | repo-oss                  | openSUSE-13.2-Oss                  | No      | ----      | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/13.2/repo/oss/                   |        
11 | repo-source               | openSUSE-13.2-Source               | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/13.2/repo/oss/            |        
12 | repo-update               | openSUSE-13.2-Update               | No      | ----      | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.2/                                  |        
13 | repo-update-non-oss       | openSUSE-13.2-Update-Non-Oss       | No      | ----      | Yes     |   99     | rpm-md | http://download.opensuse.org/update/13.2-non-oss/      

Now you still have only one Leap 42/1 repo, where you need four:

  • OSS
  • non-OSS
  • Update OSS
  • Update non-OSS

You must either remove all the 13.2 repos you still have or change the URL to Leap 42.1 places.
Matybe someone can give you the exact URLs. I do not have Lwap 42.1 running.

As a side remark, better remove those Videolan repos. Use Packman alone (recommended) or Videoland alone, but do not mix them.

It would appear that on Sep 18, nag80 did say:

> Hi,
> I recently upgraded my machine from opensuse from 13.2 to 42.1. From
> then software management is not working.

Just a quick observation:

You say you upgraded to 42.1 yet almost all of your listed repos show 13.2 specific URLs which
are NOT compatible with Leap 42.1. The only ones from your list that don’t specify 13.2 are:

> 4 | home:FunkyM:iOS | home:FunkyM:iOS |
> Yes | ( p) Yes | Yes | 99 | rpm-md |
> http://tinyurl.com/h72x5gm |

Which may or may not be compatible with Leap and:

> 5 | openSUSE:Leap:42.1 | openSUSE:Leap:42.1 |
> Yes | ( p) Yes | Yes | 99 | yast2 |
> http://download.opensuse.org/distribution/leap/42.1/repo/oss/
> |

Which is your ONLY listed Leap 42.1 repo… So it’s not surprising that software
management isn’t working.

You also didn’t say how you upgraded.

I would strongly suggest that you post an accurate description of how you upgraded.
Then maybe one of the smarter gurus that hang out here might try to help you fix it
before your system gets totally borked.

For a clearer idea of how to upgrade from one opensuse release to another I’d
recommend you look at these:


https://en.opensuse.org/SDB:Offline_upgrade
https://en.opensuse.org/SDB:System_upgrade

Read them carefully, they are full of very good advise.

It’s also strongly recommended to wrap things like your “zypper lr -d” output in code tags
so the forum software doesn’t mess with it. When the more knowledgeable guru’s here ask
for that they often request that the poster include the shell prompts {both before and
after the command in the code tags so that they can be sure of what they are looking at.
They usually mention how to find the code tag tool in the forum software’s editor window
as well. Myself I prefer to insert my code tags manually. On the line just before the
quoted command I put the word “code” {without the quotes} inside square brackets and on
the 1st line afterwards I put “/code” {without the quotes} also inside square brackets.
I include here the output of “zypper lr -d” from MY working Leap 42.1 system. Note that
not all the repos are enabled.


~
UnderTree=-> zypper lr -d
#  | Alias                               | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                      | Service
---+-------------------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------------+--------
1 | download.opensuse.org-non-oss       | Main Repository (NON-OSS)               | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/        |
2 | download.opensuse.org-non-oss_1     | Update Repository (Non-Oss)             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/non-oss/                   |
3 | download.opensuse.org-oss           | Main Repository (OSS)                   | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/oss/            |
4 | download.opensuse.org-oss_1         | Main Update Repository                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/oss                        |
5 | dvd                                 | dvd                                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_42.1/                       |
6 | google-chrome                       | google-chrome                           | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64                      |
7 | http-download.opensuse.org-51666e9b | X11:Sugar                               | No      | ----      | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/X11:/Sugar/openSUSE_Leap_42.1/ |
8 | openSUSE-42.1-0                     | openSUSE-42.1-0                         | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.1/repo/oss/            |
9 | packman                             | packman                                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_42.1/       |
10 | repo-debug                          | openSUSE-Leap-42.1-Debug                | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.1/repo/oss/      |
11 | repo-debug-non-oss                  | openSUSE-Leap-42.1-Debug-Non-Oss        | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.1/repo/non-oss/  |
12 | repo-debug-update                   | openSUSE-Leap-42.1-Update-Debug         | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.1/oss                  |
13 | repo-debug-update-non-oss           | openSUSE-Leap-42.1-Update-Debug-Non-Oss | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.1/non-oss/             |
14 | repo-source                         | openSUSE-Leap-42.1-Source               | No      | ----      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.1/repo/oss/     |
15 | repo-update                         | openSUSE-Leap-42.1-Update               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.1/oss/                       |
~
UnderTree=->

If you look closely at my repo list, you should see that not one of them is still a 13.2 repo.

I wish you good luck on solving your repo problem.


Joe

The correct URLs are already in post #7 (apart from two missing spaces that remained in the keyboard?):


zypper ar -f http://download.opensuse.org/distribution/leap/42.1/repo/non-oss/ openSUSE:Leap:42.1-Non-Oss
zypper ar -f http://download.opensuse.org/update/leap/42.1/oss/ openSUSE:Leap:42.1:Update.repo
zypper ar -f http://download.opensuse.org/update/leap/42.1/non-oss/ openSUSE:Leap:42.1:NonFree:Update.repo

Run, as OrsoBruno says, the following three zypper commands from a root console to get the correct repos installed:

After you have done that, post your repo list. You have a lot of cleaning up to do.