Zypper broken

Good day

I have a bit of a problem after my last update.

Somehow it managed ta break zypper and / or related packages.

When I start “Software Management” in YaST it starts up and then fails with

YaST got signal 11 at YCP file /usr/share/YaST2/clients/sw_single.ycp:307
/sbin/yast2: line 427:  9978 Segmentation fault      $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS

Running the “Software repositories” however works fine and I can add, remove and edit repositories.
What does however fail is the Refresh of any repository.

Seeing that was broken and thinking it’s YaST I decided to try zypper directly.

Once again zypper works fine but as soon as I run zypper up I get

# zypper -v up
Verbosity: 1
Initializing Target
Checking whether to refresh metadata for Packman-openSUSE-Tumbleweed
Segmentation fault

Running

rpm -qf $(ldd /usr/bin/zypper | awk '{print $3}' | grep lib) | sort -u

returns

cyrus-sasl-2.1.23-20.1.2.x86_64
glibc-2.14.1-14.14.1.x86_64
krb5-1.9.1-24.3.1.x86_64
libacl1-2.2.51-4.1.4.x86_64
libattr1-2.4.46-5.1.5.x86_64
libaugeas0-0.9.0-4.1.2.x86_64
libbz2-1-1.0.6-14.1.4.x86_64
libcap2-2.22-2.1.4.x86_64
libcares2-1.7.5-10.1.2.x86_64
libcom_err2-1.41.14-10.1.2.x86_64
libcurl4-7.22.0-2.1.3.x86_64
libelf1-0.152-6.1.3.x86_64
libexpat1-2.0.1-109.1.4.x86_64
libgcc46-4.6.2_20111026-1.1.4.x86_64
libidn-1.22-7.1.2.x86_64
libkeyutils1-1.5.3-2.1.2.x86_64
libldap-2_4-2-2.4.26-3.1.2.x86_64
liblua5_1-5.1.4-21.1.3.x86_64
liblzma5-5.0.3-8.1.4.x86_64
libmodman1-2.0.1-6.1.3.x86_64
libncurses5-5.8-5.1.4.x86_64
libopenssl1_0_0-1.0.0e-34.1.2.x86_64
libpopt0-1.16-9.7.5.x86_64
libproxy1-0.4.7-7.1.3.x86_64
libreadline6-6.2-1.8.1.x86_64
libselinux1-2.0.91-14.1.12.x86_64
libssh2-1-1.2.9-7.1.3.x86_64
libstdc++46-4.6.2_20111026-1.1.4.x86_64
libudev0-173-3.3.1.x86_64
libxml2-2.7.8+git20110708-3.1.2.x86_64
libzypp-10.3.5-1.7.2.x86_64
rpm-4.9.1.2-1.5.x86_64
zlib-1.2.5_git201105272030-20.1.4.x86_64

Whilst

rpm -q -V zypper glibc $(rpm -qf $(ldd /usr/bin/zypper | awk '{print $3}' | grep lib) | sort -u)

returns nothing.

Any suggestions or ideas?

Downloading the latest and manually updating the above mentioned packages?

On 01/04/2012 10:46 AM, Wolfblitz wrote:
> Any suggestions or ideas?

please show us the terminal input/output from


zypper lr -d
cat /etc/SuSE-release

copy/paste the in/output back to this thread using the instructions
here: http://goo.gl/i3wnr

and, since (it seems) you have elected to run Tumbleweed then you need
to PM a monitor here to move the thread to there…


DD http://tinyurl.com/DD-Caveat
openSUSE®, the “German Engineered Automobiles” of operating systems!

Could you please post the results of

grep PROXY /etc/sysconfig/proxy

It’s a long shot but I have been getting similar segfaults in some cases.

Here is the requested information.

I doubt if it’s the proxy since nothing has changed on it and everything was working fine until I did the last set of updates in December.

zypper lr -d


#  | Alias                                               | Name                                                | Enabled | Refresh | Priority | Type   | URI                                                                                                  | Service
---+-----------------------------------------------------+-----------------------------------------------------+---------+---------+----------+--------+------------------------------------------------------------------------------------------------------+--------
 1 | Packman-openSUSE_Tumbleweed                         | Packman-openSUSE-Tumbleweed                         | Yes     | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Tumbleweed                                                     |
 2 | Virtualization:Virtualbox_Tumbleweed                | openSUSE-Tumbleweed-Virtualization:Virtualbox       | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Virtualization:/VirtualBox_Tumbleweed/openSUSE_Tumbleweed/ |
 3 | download.videolan.org/pub/vlc/SuSE/12.1             | VideoLan-openSUSE-12.1-vlc                          | Yes     | Yes     |  150     | rpm-md | http://download.videolan.org/pub/vlc/SuSE/12.1/                                                      |
 4 | google-earth                                        | google-earth                                        | Yes     | Yes     |   99     | rpm-md | http://dl.google.com/linux/earth/rpm/stable/x86_64                                                   |
 5 | openSUSE-11.4-openSUSE:11.4:Contrib/standard        | openSUSE-11.4-openSUSE:11.4:Contrib                 | No      | Yes     |  121     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/11.4:/Contrib/standard/                          |
 6 | openSUSE-12.1-Virtualization:Cloud                  | openSUSE-12.1-Virtualization:Cloud                  | Yes     | Yes     |  100     | rpm-md | http://download.opensuse.org/repositories/Virtualization:/Cloud/openSUSE_12.1/                       |
 7 | openSUSE-12.1-devel:languages:erlang                | openSUSE-12.1-devel:languages:erlang                | Yes     | Yes     |  150     | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/erlang/openSUSE_12.1/                    |
 8 | openSUSE-12.1-devel:languages:python                | openSUSE-12.1-devel:languages:python                | Yes     | Yes     |  150     | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_12.1/                    |
 9 | openSUSE-12.1-home:dassit:Virtualization:Management | openSUSE-12.1-home:dassit:Virtualization:Management | Yes     | Yes     |  150     | rpm-md | http://download.opensuse.org/repositories/home:/dassit:/Virtualization:/Management/openSUSE_12.1/    |
10 | openSUSE-12.1-mozilla                               | openSUSE-12.1-mozilla                               | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_12.1/                                     |
11 | openSUSE-12.1-network                               | openSUSE-12.1-network                               | Yes     | Yes     |  100     | rpm-md | http://download.opensuse.org/repositories/network/openSUSE_12.1                                      |
12 | openSUSE-12.1-openSUSE:Factory:Contrib              | openSUSE-12.1-openSUSE:Factory:Contrib              | Yes     | Yes     |  160     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Factory:/Contrib/openSUSE_12.1                   |
13 | openSUSE-12.1-security                              | openSUSE-12.1-security                              | Yes     | Yes     |  120     | rpm-md | http://download.opensuse.org/repositories/security/openSUSE_12.1/                                    |
14 | openSUSE-12.1-security:passwordmanagement           | openSUSE-12.1-security:passwordmanagement           | Yes     | Yes     |  100     | rpm-md | http://download.opensuse.org/repositories/security:/passwordmanagement/openSUSE_12.1/                |
15 | openSUSE-12.1-update-debug                          | openSUSE-12.1-update-debug                          | Yes     | Yes     |  100     | rpm-md | http://download.opensuse.org/debug/update/12.1/                                                      |
16 | openSUSE-Tumbleweed                                 | openSUSE-Tumbleweed                                 | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/                             |
17 | openSUSE-Tumbleweed-Virtualization                  | openSUSE-Tumbleweed-Virtualization                  | No      | Yes     |  100     | rpm-md | http://download.opensuse.org/repositories/Virtualization/openSUSE_Tumbleweed/                        |
18 | openSUSE-Tumbleweed-server:monitoring               | openSUSE-Tumbleweed-server:monitoring               | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/server:/monitoring/openSUSE_Tumbleweed/                    |
19 | repo-debug                                          | openSUSE-current-debug-oss                          | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/debug/distribution/openSUSE-current/repo/oss/                           |
20 | repo-non-oss                                        | openSUSE-current-non-oss                            | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/openSUSE-current/repo/non-oss/                             |
21 | repo-oss                                            | openSUSE-current-oss                                | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/openSUSE-current/repo/oss/                                 |
22 | repo-source                                         | openSUSE-current-source-oss                         | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/source/distribution/openSUSE-current/repo/oss/                          |
23 | repo-source-non-oss                                 | openSUSE-current-source-non-oss                     | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/source/distribution/openSUSE-current/repo/non-oss/                      |
24 | repo-update                                         | openSUSE-current-update                             | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/openSUSE-current/

cat /etc/SuSE-release


openSUSE 12.1 (x86_64)
VERSION = 12.1
CODENAME = Asparagus

grep PROXY /etc/sysconfig/proxy


PROXY_ENABLED="yes"
HTTP_PROXY="http://wpad:3128"
HTTPS_PROXY="http://wpad:3128"
FTP_PROXY="http://wpad:3128"
GOPHER_PROXY=""
NO_PROXY="localhost, 127.0.0.1/8, 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8"

Here is the output from zypper.log after I ran zypper -v up.
I had to remove some of the repo parsing lines to shorten the result.


[zypper] main.cc(main):75 ===== Hi, me zypper 1.6.18
[zypper] main.cc(main):76 ===== 'zypper' '-v' 'up' =====
[zconfig] ZConfig.cc(_autodetectSystemArchitecture):67 Uname architecture is 'x86_64'
[zconfig] ZConfig.cc(_autodetectTextLocale):172 Default text locale is 'en'
[zconfig] ZConfig.cc(Impl):280 libzypp: 10.3.5 built Dec 21 2011 08:43:51
[zypp] IniParser.cc(parse):69 Start parsing /etc/zypp/zypp.conf[g___]
[zypp] IniParser.cc(parse):119 Done parsing /etc/zypp/zypp.conf[_eF_]
[Progress++] ProgressData.cc(report):86 {#1|/etc/zypp/zypp.conf}END
[zconfig] ZConfig.cc(Impl):494 ZConfig singleton created.
[zconfig] ZConfig.cc(ZConfig):589 libzypp: 10.3.5 built Dec 21 2011 08:43:51
[zconfig] ZConfig.cc(ZConfig):589 libsolv: 0.0.0
[zconfig] ZConfig.cc(ZConfig):589 zypp.conf: '/etc/zypp/zypp.conf'
[zconfig] ZConfig.cc(ZConfig):589 TextLocale: 'en' (en)
[zconfig] ZConfig.cc(ZConfig):589 SystemArchitecture: 'x86_64' (x86_64)
[zypper] Zypper.cc(Zypper):76 Zypper instance created.
[zypper] media.h(MediaCallbacks):181 Set media callbacks..
[zypper] Zypper.cc(processGlobalOptions):320 START
[Measure] Measure.cc(Impl):145 START MEASURE(ReadConfig)
[zypper] Augeas.cc(Augeas):21 Going to read zypper config using Augeas...
[zypp] Exception.cc(log):137 Augeas.cc(Augeas):102 THROW:    Error parsing zypper.conf:
[zypp] Exception.cc(log):137 Get did not match entire input
[Measure] Measure.cc(~Impl):153 MEASURE(ReadConfig) 0 (u 0.00 s 0.00 c 0.00)
[DEFINE_LOGGROUP++] Config.cc(read):305 Augeas exception. No config read, sticking with defaults.
[zypper++] Zypper.cc(processGlobalOptions):426 Verbosity 2
[zypper++] Zypper.cc(processGlobalOptions):427 Output type 1
[zypper++] Zypper.cc(processGlobalOptions):540 repos.d dir = /etc/zypp/repos.d
[zypper++] Zypper.cc(processGlobalOptions):541 cache dir = /var/cache/zypp
[zypper++] Zypper.cc(processGlobalOptions):542 raw cache dir = /var/cache/zypp/raw
[zypper++] Zypper.cc(processGlobalOptions):543 solv cache dir = /var/cache/zypp/solv
[zypper++] Zypper.cc(processGlobalOptions):544 package cache dir = /var/cache/zypp/packages
[zypper] Zypper.cc(processGlobalOptions):556 Repositories enabled
[zypper] Zypper.cc(processGlobalOptions):735 DONE
[zypper] Zypper.cc(processCommandOptions):889 START
[zypper] Zypper.cc(processCommandOptions):2486 Done parsing options.
[zypper] Zypper.cc(processCommandOptions):2505 Done
[zypp++] ZYppFactory.cc(lockFileExists):163 /var/run/zypp.pid{- 0644 0/0 size 5}
[zypp] ZYppFactory.cc(zyppLocked):226 found lockfile /var/run/zypp.pid
[zypp] ZYppFactory.cc(shLockFile):134 locked (shared)
[zypp] ZYppFactory.cc(lockerPid):213 read: Lockfile /var/run/zypp.pid has pid 6248 (our pid: 6331)
[zypp] ZYppFactory.cc(isProcessRunning):184 Checking /proc/6248{does not exist}
[zypp++] ZYppFactory.cc(isProcessRunning):188 No such process.
[zypp] ZYppFactory.cc(zyppLocked):258 6248 has a ZYpp lock, but process is not running. Cleaning lock file.
[zypp] PathInfo.cc(unlink):670 unlink /var/run/zypp.pid
[zypp] ZYppFactory.cc(exLockFile):145 locked (exclusive)
[zypp] ZYppFactory.cc(unLockFile):156 unlocked
[zypp] ZYppFactory.cc(createLockFile):175 written lockfile with pid 6331
[zypp] ZYppFactory.cc(shLockFile):134 locked (shared)
[zypp] ZYppImpl.cc(ZYppImpl):45 libzypp: 10.3.5 built Dec 21 2011 08:43:51
[zypp] ZYppImpl.cc(ZYppImpl):45 libsolv: 0.0.0
[zypp] ZYppImpl.cc(ZYppImpl):45 zypp.conf: '/etc/zypp/zypp.conf'
[zypp] ZYppImpl.cc(ZYppImpl):45 TextLocale: 'en' (en)
[zypp] ZYppImpl.cc(ZYppImpl):45 SystemArchitecture: 'x86_64' (x86_64)
[zypp] ZYppImpl.cc(ZYppImpl):46 Initializing keyring...
[zypp::KeyRing] KeyRing.cc(Impl):93 Current KeyRing::DefaultAccept: 0000000000
[zypper] Zypper.cc(doCommand):2595 Going to process command 30
[zypper] Zypper.cc(doCommand):4022 Skipping interactive patches: no
[zypper] misc.cc(get_download_option):521 Download mode: UNKNOWN (zconfig value)
[zypper] repos.cc(init_target):757 Initializing target
[zypp] ZYppImpl.cc(initializeTarget):96 initTarget( /)
[zypp] librpmDb.cc(globalInit):145 librpm init done: (_target:x86_64-linux) (_dbpath:/var/lib/rpm)
[zypp] RpmDb.cc(initDatabase):322 Calling initDatabase: '(/)/var/lib/rpm'
[zypp] librpmDb.cc(unblockAccess):341 Unblock access
[zypp++] librpmDb.cc(DbDirInfo):519 '(/)/var/lib/rpm':
[zypp++] librpmDb.cc(DbDirInfo):519   Dir:    /var/lib/rpm{d 0755 0/0}
[zypp++] librpmDb.cc(DbDirInfo):519   V4:     /var/lib/rpm/Packages{- 0644 0/0 size 89505792}
[zypp++] librpmDb.cc(DbDirInfo):519   V3:     /var/lib/rpm/packages.rpm{does not exist}
[zypp++] librpmDb.cc(DbDirInfo):519   V3ToV4: /var/lib/rpm/packages.rpm3{does not exist}
[zypp] RpmDb.cc(internal_initDatabase):447 Found rpm4 database in /var/lib/rpm{d 0755 0/0}
[zypp++] RpmDb.cc(internal_initDatabase):464 Initial state: V4(X--)V3(---): '(/)/var/lib/rpm'[librpmDb CLOSED '(/)/var/lib/rpm']
[zypp] librpmDb.cc(dbAccess):237 Set new database location: '(/)/var/lib/rpm'
[zypp++] librpmDb.cc(D):97 DBACCESS {NULL(/)/var/lib/rpm}
[zypp++] RpmDb.cc(internal_initDatabase):483 Access state: V4(X--)V3(---): '(/)/var/lib/rpm'[ReferenceCounted(@0x843a10<=1){NULL(/)/var/lib/rpm}]
[zypp++] librpmDb.cc(dbRelease):308 dbRelease: release, outstanding 0
[zypp] RpmDb.cc(initDatabase):403 Syncronizing keys with zypp keyring
[zypp] RpmDb.cc(importZyppKeyRingTrustedKeys):833 Importing zypp trusted keyring
[zypp++] ExternalProgram.cc(start_program):229 Executing '/usr/bin/gpg2' '--no-default-keyring' '--quiet' '--list-public-keys' '--with-colons' '--with-fingerprint' '--no-tty' '--no-greeting' '--batch' '--status-fd' '1' '--homedir' '/var/tmp/zypp.pOBBI9/zypp-trusted-kr5naLQ8'
[zypp++] ExternalProgram.cc(start_program):381 pid 6332 launched
[zypp++] ExternalProgram.cc(checkStatus):482 Pid 6332 successfully completed
[zypp] RpmDb.cc(exportTrustedKeysInZyppKeyRing):870 Exporting rpm keyring into zypp trusted keyring
[zypp++] librpmDb.cc(D):97 DBACCESS {NULL(/)/var/lib/rpm}
[zypp++] ExternalProgram.cc(start_program):229 Executing '/usr/bin/gpg2' '--no-default-keyring' '--quiet' '--list-public-keys' '--with-colons' '--with-fingerprint' '--no-tty' '--no-greeting' '--batch' '--status-fd' '1' '--homedir' '/var/tmp/zypp.pOBBI9/zypp-trusted-kr5naLQ8'
[zypp++] ExternalProgram.cc(start_program):381 pid 6333 launched
[zypp++] ExternalProgram.cc(checkStatus):482 Pid 6333 successfully completed
[zypp] RpmDb.cc(exportTrustedKeysInZyppKeyRing):897 Will export trusted key a840f92c-4cfe615f to zypp keyring.
[zypp] RpmDb.cc(exportTrustedKeysInZyppKeyRing):897 Will export trusted key a34552c6-4796563b to zypp keyring.
[zypp] RpmDb.cc(exportTrustedKeysInZyppKeyRing):897 Will export trusted key a1912208-446a0899 to zypp keyring.
[zypp] RpmDb.cc(exportTrustedKeysInZyppKeyRing):897 Will export trusted key c8da93d2-4cf52a96 to zypp keyring.
[zypp] RpmDb.cc(exportTrustedKeysInZyppKeyRing):897 Will export trusted key c72e7601-47965b40 to zypp keyring.
[zypp] RpmDb.cc(exportTrustedKeysInZyppKeyRing):897 Will export trusted key edf0d733-4c5812f4 to zypp keyring.
[zypp] RpmDb.cc(exportTrustedKeysInZyppKeyRing):897 Will export trusted key ee454f98-4c58185b to zypp keyring.
[zypp] RpmDb.cc(exportTrustedKeysInZyppKeyRing):897 Will export trusted key 0dfb3188-41ed929b to zypp keyring.
[zypp] RpmDb.cc(exportTrustedKeysInZyppKeyRing):897 Will export trusted key 1abd1afb-4c97c60c to zypp keyring.
[zypp] RpmDb.cc(exportTrustedKeysInZyppKeyRing):897 Will export trusted key 3d25d3d9-36e12d04 to zypp keyring.
[zypp] RpmDb.cc(exportTrustedKeysInZyppKeyRing):897 Will export trusted key 3dbdc284-4be1884d to zypp keyring.
[zypp] RpmDb.cc(exportTrustedKeysInZyppKeyRing):897 Will export trusted key 7b709911-4c581631 to zypp keyring.
[zypp] RpmDb.cc(exportTrustedKeysInZyppKeyRing):897 Will export trusted key 7bc0e125-4a39ee30 to zypp keyring.
[zypp] RpmDb.cc(exportTrustedKeysInZyppKeyRing):897 Will export trusted key 7e2e3b05-4be037ca to zypp keyring.
[zypp] RpmDb.cc(exportTrustedKeysInZyppKeyRing):897 Will export trusted key 9c800aca-4be01999 to zypp keyring.
[zypp] RpmDb.cc(exportTrustedKeysInZyppKeyRing):897 Will export trusted key 56b4177a-4be18cab to zypp keyring.
[zypp] RpmDb.cc(exportTrustedKeysInZyppKeyRing):897 Will export trusted key 62b21ea4-4d752697 to zypp keyring.
[zypp] RpmDb.cc(exportTrustedKeysInZyppKeyRing):897 Will export trusted key 79eafd54-4daf42ae to zypp keyring.
[zypp] RpmDb.cc(exportTrustedKeysInZyppKeyRing):897 Will export trusted key 88efc20d-49510a33 to zypp keyring.
[zypp] RpmDb.cc(exportTrustedKeysInZyppKeyRing):897 Will export trusted key 307e3d54-4be01a65 to zypp keyring.
[zypp] RpmDb.cc(exportTrustedKeysInZyppKeyRing):897 Will export trusted key 766da614-4c57f9d9 to zypp keyring.
[zypp] RpmDb.cc(exportTrustedKeysInZyppKeyRing):897 Will export trusted key 32099d43-4c98c0b8 to zypp keyring.
[zypp++] ExternalProgram.cc(start_program):229 Executing '/usr/bin/gpg2' '--no-default-keyring' '--quiet' '--no-tty' '--no-greeting' '--no-permission-warning' '--status-fd' '1' '--homedir' '/var/tmp/zypp.pOBBI9/zypp-trusted-kr5naLQ8' '--import' '/var/tmp/zypp.pOBBI9/TmpFile.e69ua7'
[zypp++] ExternalProgram.cc(start_program):381 pid 6334 launched
[zypp++] ExternalProgram.cc(checkStatus):482 Pid 6334 successfully completed
[zypp] PathInfo.cc(unlink):670 unlink /var/tmp/zypp.pOBBI9/TmpFile.e69ua7
[zypp++] TmpPath.cc(~Impl):78 TmpPath cleaned up /var/tmp/zypp.pOBBI9/TmpFile.e69ua7{- 0600 0/0 size 28119}
[zypp++] librpmDb.cc(dbRelease):308 dbRelease: release, outstanding 0
[zypp] RpmDb.cc(initDatabase):414 InitDatabase: RpmDb[V4(X--)V3(---): '(/)/var/lib/rpm']
[zypp] HistoryLog.cc(setRoot):141 installation log file /var/log/zypp/history
[zypp++] ExternalProgram.cc(start_program):229 Executing '/usr/bin/uuidgen'
[zypp++] ExternalProgram.cc(start_program):381 pid 6335 launched
[zypp] TargetImpl.cc(generateRandomId):689 fe7e5965-f49d-41fb-a1cf-4431c6d91816
[zypp] TargetImpl.cc(generateRandomId):689
[zypp++] ExternalProgram.cc(checkStatus):482 Pid 6335 successfully completed
[zypp] TargetImpl.cc(TargetImpl):666 Initialized target on /
[zypp] TargetImpl.cc(buildCache):838 Read cookie: /var/cache/zypp/solv/@System/cookie{- 0644 0/0 size 53}
[zypp] TargetImpl.cc(buildCache):845 Read cookie: /var/cache/zypp/solv/@System/cookie says: uptodate
[zypp] PathInfo.cc(readdir):574 readdir /etc/zypp/services.d
[zypp] PathInfo.cc(readdir):574 readdir /usr/lib/zypp/plugins/services
[zypp] RepoManager.cc(init_knownRepositories):552 start construct known repos
[zypp] RepoManager.cc(repositories_in_dir):244 directory /etc/zypp/repos.d
[zypp] PathInfo.cc(readdir):574 readdir /etc/zypp/repos.d

## The following lines are repeated 23 times in a similar fashion ##
[zypp] RepoManager.cc(repositories_in_file):226 repo file: /etc/zypp/repos.d/repo-debug.repo
[zypp] IniParser.cc(parse):69 Start parsing /etc/zypp/repos.d/repo-debug.repo[g___]
[zypp] IniParser.cc(parse):119 Done parsing /etc/zypp/repos.d/repo-debug.repo[_eF_]
[Progress++] ProgressData.cc(report):86 {#2|/etc/zypp/repos.d/repo-debug.repo}END
[zypp] RepoFileReader.cc(repositories_in_stream):100 --------------------------------------
## ##

[zypp] PathInfo.cc(readdir):574 readdir /var/cache/zypp/raw
[zypp] PathInfo.cc(recursive_rmdir):429 recursive_rmdir /var/cache/zypp/raw/Packman-openSUSE_TumbleweedaUEBcM
[zypp] RepoManager.cc(init_knownRepositories):589 end construct known repos
[zypper] repos.cc(do_init_repos):554 Refreshing autorefresh services.
[zypper] repos.cc(do_init_repos):571 Going to initialize repositories.
[zypper] repos.cc(do_init_repos):637 checking if to refresh Packman-openSUSE_Tumbleweed
[zypper] repos.cc(do_init_repos):646 calling refresh for Packman-openSUSE_Tumbleweed
[zypp] RepoManager.cc(checkIfToRefreshMetadata):766 Going to try to check whether refresh is needed for http://packman.inode.at/suse/openSUSE_Tumbleweed
[zypp++] RepoManager.cc(checkIfToRefreshMetadata):796 oldstatus: 1325418943
[zypp++] RepoManager.cc(checkIfToRefreshMetadata):797 current time: 1325751241
[zypp++] RepoManager.cc(checkIfToRefreshMetadata):798 last refresh = 5538.3 minutes ago
[zypp++] MediaSetAccess.cc(rewriteUrl):392 Rewriting url http://packman.inode.at/suse/openSUSE_Tumbleweed
[zypp] MediaAccess.cc(open):118 Trying scheme 'http'
[zypp] MediaCurl.cc(MediaCurl):425 MediaCurl::MediaCurl(http://packman.inode.at/suse/openSUSE_Tumbleweed, )
[zypp] MediaMultiCurl.cc(MediaMultiCurl):1158 MediaMultiCurl::MediaMultiCurl(http://packman.inode.at/suse/openSUSE_Tumbleweed, )
[zypp] MediaAccess.cc(open):234 Opened: http(http://packman.inode.at/suse/openSUSE_Tumbleweed not attached; localRoot "")
[zypp++] MediaManager.cc(open):277 Opened new media access using id 1 to http://packman.inode.at/suse/openSUSE_Tumbleweed
[zypp++] MediaSetAccess.cc(provide):203 Going to try to provide  file /repodata/repomd.xml from media number 1
[zypp++] MediaManager.cc(attach):413 attach(id=1)
[zypp++] MediaHandler.cc(createAttachPoint):393 Trying to create attach point in /var/adm/mount
[zypp] PathInfo.cc(mkdir):315 mkdir /var/adm/mount/AP_0x0000017a 00755
[zypp] MediaHandler.cc(createAttachPoint):370 Created default attach point /var/adm/mount/AP_0x0000017a
[zypp] ProductFileReader.cc(parse):216 +++/etc/products.d/baseproduct[g___]
[zypp] Reader.cc(Reader):116 Start Parsing /etc/products.d/baseproduct[g___]
[zypp] Reader.cc(~Reader):140 Done Parsing /etc/products.d/baseproduct[_eF_]
[zypp] ProductFileReader.cc(parse):242 ---0 - /etc/products.d/baseproduct[_eF_]

On 01/05/2012 09:26 AM, Wolfblitz wrote:
> Here is the requested information.

seems you overlooked the last sentence in my earlier post…(this is the
wrong forum–the folks who may understand what was munged by that
“last set of updates in December” are the folks who closely follow the
ups and downs of Tumbleweed…and, someone there may have advice on
your repo selections…)


DD
openSUSE®, the “German Engineered Automobiles” of operating systems!

Moving to TWeed

Sorry, that’s not Tumbleweed, but more like a repository hell-fire club. :slight_smile:

You could try disabling all but the recommended/supported repos, and rerun zypper dup in an attempt to return to a baseline. Then add those “must-have extras” back one-step at a time to see what breaks (if anything does).

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

  1. The update was botched
  2. The updates contain a bug causing the segfault
  3. 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?

Try

sudo rpmdb --rebuilddb
zypper clean --all


zypper ref
zypper dup

If that fails
Try running in level3 and do the same

Thanks for the advice caf4926 but I found the problem.

Tracing through some of the steps that zypper has to do for a repo refresh i stumbled upon this.

With this proxy config the new zypper breaks:
grep -vE ‘^#|^$’ /etc/sysconfig/proxy


PROXY_ENABLED="yes"
HTTP_PROXY="http://wpad:3128"
HTTPS_PROXY="http://wpad:3128"
FTP_PROXY="http://wpad:3128"
GOPHER_PROXY=""
NO_PROXY="localhost, 127.0.0.1/8, 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8"

With this one it works
grep -vE ‘^#|^$’ /etc/sysconfig/proxy


PROXY_ENABLED="yes"
HTTP_PROXY="http://wpad:3128"
HTTPS_PROXY="http://wpad:3128"
FTP_PROXY="http://wpad:3128"
GOPHER_PROXY=""
NO_PROXY="localhost"

It seems that the new zypper segfaults when trying to process the NO_PROXY array!

Thanks for the help everyone.

Do we have to report this bug?

On 01/06/2012 10:46 AM, Wolfblitz wrote:
> Do we have to report this bug?

i believe there is already a bug on this…learned it last night, see
http://forums.opensuse.org/showthread.php?t=470686

and, i think you should add your hardware/software/symptom detail info
to that bug (the more who report it, the more likely it will get prompt
attention)…


DD http://tinyurl.com/DD-Caveat
openSUSE®, the “German Engineered Automobiles” of operating systems!

check this out:

https://bugzilla.novell.com/show_bug.cgi?id=722538

have it in fresh build studio appliance from yesterday as well.

Thanks a lot!! the NO_PROXY solved my problem as well