zypper/Yast problem

Hi folks,
I’m running OpenSUSE Tumbleweed, here’s some quick details about the system:

bog@linuxSuSe ~ [0]$ uname -a
Linux linuxSuSe 4.14.4-1-default #1 SMP PREEMPT Tue Dec 5 14:58:24 UTC 2017 (b29439c) x86_64 x86_64 x86_64 GNU/Linux
bog@linuxSuSe ~ [0]$ cat /etc/os-release
NAME="openSUSE Tumbleweed"
# VERSION="20171222 "
ID=opensuse
ID_LIKE="suse"
VERSION_ID="20171222"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:tumbleweed:20171222"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"

Starting about 1 month ago, i’ve begun to experience a peculiar problem with the zypper package manager.
Opening the visual package manager from Yast and selecting a few changes to make, then click apply, everything seems to go well, packages get downloaded, installed, packages marked for deletion get deleted.
But at the end I get an empty summary view. The problem is if I click continue I will see all the packages back in the manager exactly as they were before I applied the changes.
Now if I select the same changes again and click apply, it will run again (same packages will download and install again), but I will get warnings during delete package phase because they were already deleted, but somehow the package manager forgot about that. If i ignore all delete warnings, I will get a correct summary 2nd time, and everything will be ok, the packages will show up as installed / deleted back in the list.

Running zypper manually from command line doesn’t have this problem.

What can I do to fix this, it’s a big issue when doing many changes at a time because I have to go back and redo them again each time.

Some extra info:

bog@linuxSuSe ~ [0]$ zypper lr -uRepository priorities in effect:                                                                            (See 'zypper lr -P' for details)
      98 (raised priority)  :  1 repository  
      99 (default priority) :  6 repositories


# | Alias                            | Name                       | Enabled | GPG Check | Refresh | URI                                                                
--+----------------------------------+----------------------------+---------+-----------+---------+--------------------------------------------------------------------
1 | Google-Chrome                    | Google-Chrome              | Yes     | (r ) Yes  | No      | http://dl.google.com/linux/chrome/rpm/stable/x86_64                
2 | Packman                          | Packman                    | Yes     | (r ) Yes  | Yes     | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/
3 | download.opensuse.org-non-oss    | Main Repository (NON-OSS)  | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/tumbleweed/repo/non-oss/              
4 | download.opensuse.org-oss        | Main Repository (OSS)      | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/tumbleweed/repo/oss/                  
5 | download.opensuse.org-tumbleweed | Main Update Repository     | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/update/tumbleweed/                    
6 | google-chrome                    | google-chrome              | No      | ----      | ----    | http://dl.google.com/linux/chrome/rpm/stable/x86_64                
7 | repo-source                      | openSUSE-Tumbleweed-Source | Yes     | (r ) Yes  | Yes     | http://download.opensuse.org/source/tumbleweed/repo/oss/           
8 | skype-stable                     | skype (stable)             | Yes     | (r ) Yes  | Yes     | https://repo.skype.com/rpm/stable/                                 

Running XFCE as desktop environment.

Try this:


rpm --rebuilddb
zypper clean && zypper  ref

Thank you very much, that fixed the problem!

Thank you Knurpht. This also fixed a recurrent okular update notification in the software updater applet in LEAP 42.3.