Ok, I removed most of the repositories, but still no luck.
zypper lr -d
# | Alias | Name | Enabled | Refresh | Priority | Type | URI | Service
--+--------------+--------------------------+---------+---------+----------+--------+--------------------------------------------------------------------------+--------
1 | repo-non-oss | openSUSE-current-non-oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/openSUSE-current/repo/non-oss/ |
2 | repo-oss | openSUSE-current-oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/openSUSE-current/repo/oss/ |
3 | repo-update | openSUSE-current-update | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/openSUSE-current/ |
and zypper up
Segmentation fault
Digging a bit further into the zypper logs I discovered the last successful update logs:
cat /var/log/zypp/history
2012-01-01 13:55:33|install|PackageKit-gtk-module|0.6.19-2.6.3|x86_64||repo-update|7aa09aae1389df666e674a1498b1f05fff0c94e03983056eb351e52b75e0c634
2012-01-01 13:55:33|install|PackageKit-gtk3-module|0.6.19-2.6.3|x86_64||repo-update|c2b529d2d50304ab9abe2b608ecc1c553ce8d5691968d760429ddaba66be92c6
2012-01-01 13:55:34|install|libpackagekit-glib2-14|0.6.19-2.6.3|x86_64||repo-update|bb8e8ba2f3940ded12b18dea64c2db40323e4a1e4e0e71fdfb0ddef2bbf2577f
2012-01-01 13:55:34|install|libpackagekit-qt14|0.6.19-2.6.3|x86_64||repo-update|8a65ed7faca0292c62d76f9ee4cd18855fe2045a21acbe6d1d5fc978ff87ec3d
2012-01-01 13:55:35|install|libpackagekit-qt2-2|0.6.19-2.6.3|x86_64||repo-update|474d6ce804532ebf3e8b12f381061b818551ff91996ed38966448992f9c0f802
2012-01-01 13:55:36|install|libzypp|10.3.5-1.7.2|x86_64||repo-update|8f5c804d20f6fe614c69e083a0cc9af9296502b46fdb50dc23fdd6a55e34d0c9
2012-01-01 13:55:36|install|zypper-log|1.6.18-5.8.1|noarch||repo-update|71e8f894bceebd73faf2897eaed433c041adbc40763499b4409642d3a8dd4180
2012-01-01 13:55:37|install|PackageKit-gstreamer-plugin|0.6.19-2.6.3|x86_64||repo-update|c99985015c53c769333ba1619804dd3613de5f7ca07049da3d39971e6ea39cc8
2012-01-01 13:55:37|install|PackageKit-browser-plugin|0.6.19-2.6.3|x86_64||repo-update|0a9379f3e02c81e0510964ed1593eb0e135b08318324af35515caa491d1137fb
# 2012-01-01 13:55:38 zypper-1.6.18-5.8.1.x86_64.rpm installed ok
# Additional rpm output:
# Starting SuSEconfig, the SuSE Configuration Tool...
# Running module permissions only
# Reading /etc/sysconfig and updating the system...
# Executing /sbin/conf.d/SuSEconfig.permissions...
# Checking permissions and ownerships - using the permissions files
# /etc/permissions
# /etc/permissions.easy
# /etc/permissions.d/mail-server
# /etc/permissions.d/postfix
# /etc/permissions.d/texlive
# /etc/permissions.local
# setting /var/log/btmp to root:root 0600. (wrong owner/group root:utmp)
# setting /usr/sbin/zypp-refresh-wrapper to root:root 4755. (wrong permissions 0755)
# Finished.
#
2012-01-01 13:55:38|install|zypper|1.6.18-5.8.1|x86_64||repo-update|4380c55d250e0abeec8fa9be9306c46fb54a4b2110b4da6abf46341722ec2d87
# 2012-01-01 13:55:41 PackageKit-0.6.19-2.6.3.x86_64.rpm installed ok
# Additional rpm output:
# Updating /etc/sysconfig/packagekit-background...
# Unknown media type in type 'all/all'
# Unknown media type in type 'all/allfiles'
# Unknown media type in type 'uri/mms'
# Unknown media type in type 'uri/mmst'
# Unknown media type in type 'uri/mmsu'
# Unknown media type in type 'uri/pnm'
# Unknown media type in type 'uri/rtspt'
# Unknown media type in type 'uri/rtspu'
# Unknown media type in type 'interface/x-winamp-skin'
#
2012-01-01 13:55:41|install|PackageKit|0.6.19-2.6.3|x86_64||repo-update|e01edb808c2f74d5b36b879898dc7cf66bab238a1f0814dd37458de0b832fce7
2012-01-01 13:55:41|install|PackageKit-lang|0.6.19-2.6.3|noarch||repo-update|26265476cb76838710755a07ed77d7f16ae12764cb5330506c0c3557c980b2a5
So the following packages were updated:
PackageKit-gtk-module 0.6.19-2.6.3 x86_64
PackageKit-gtk3-module 0.6.19-2.6.3 x86_64
libpackagekit-glib2-14 0.6.19-2.6.3 x86_64
libpackagekit-qt14 0.6.19-2.6.3 x86_64
libpackagekit-qt2-2 0.6.19-2.6.3 x86_64
libzypp 10.3.5-1.7.2 x86_64
zypper-log 1.6.18-5.8.1 noarch
PackageKit-gstreamer-plugin 0.6.19-2.6.3 x86_64
PackageKit-browser-plugin 0.6.19-2.6.3 x86_64
zypper 1.6.18-5.8.1 x86_64
PackageKit 0.6.19-2.6.3 x86_64
PackageKit-lang 0.6.19-2.6.3 noarch
Checking them on the openSUSE-current-update repository’s URI confirms that they are still the latest.
Running rpm -q PackageKit-gtk-module PackageKit-gtk3-module libpackagekit-glib2-14 libpackagekit-qt14 libpackagekit-qt2-2 libzypp zypper-log PackageKit-gstreamer-plugin PackageKit-browser-plugin zypper PackageKit PackageKit-lang
PackageKit-gtk-module-0.6.19-2.6.3.x86_64
PackageKit-gtk3-module-0.6.19-2.6.3.x86_64
libpackagekit-glib2-14-0.6.19-2.6.3.x86_64
libpackagekit-qt14-0.6.19-2.6.3.x86_64
libpackagekit-qt2-2-0.6.19-2.6.3.x86_64
libzypp-10.3.5-1.7.2.x86_64
zypper-log-1.6.18-5.8.1.noarch
PackageKit-gstreamer-plugin-0.6.19-2.6.3.x86_64
PackageKit-browser-plugin-0.6.19-2.6.3.x86_64
zypper-1.6.18-5.8.1.x86_64
PackageKit-0.6.19-2.6.3.x86_64
PackageKit-lang-0.6.19-2.6.3.noarch
confirms that those were installed and rpm -q -V PackageKit-gtk-module PackageKit-gtk3-module libpackagekit-glib2-14 libpackagekit-qt14 libpackagekit-qt2-2 libzypp zypper-log PackageKit-gstreamer-plugin PackageKit-browser-plugin zypper PackageKit PackageKit-lang returns nothing verifying the packages.
Since most of the repositories have been removed and the last thing to have been successfully updated were PackageKit and zypper and there is an internal code error the only logical reasoning remaining to me is either
- The update was botched
- The updates contain a bug causing the segfault
- The updates are incompatible or fail to read the zypper cache / db.
Verifying the packages and that they are installed tells me that the update wasn’t botched or RPM is broken as well, let’s assume the prior.
The installed version is still the latest as per the updates site, so either the bug has not been detected / not yet fixed or there is no bug, let’s assume the latter here.
That only leaves me with something went wrong with zypper internally.
The choices here are, fiddle around with zypper, do a roll-back to the previous version.
As consused already mentioned removing the unnecessary repositories is the first step.
So, how do I reinitialize the zypper cache / db next?