Failure to update

opensuse v12.1
linux 3.1.0-1.2-desktop x86_64

This is the first time there has been a problem with updating the system. Ever.

Packages being updated:

  • system-config-printer
  • vim
  • kdebase4

The package updater, Apper, complained about the most recent update:

The package that is being modified was not found on your system or in any software origin.

The “Details” button provides this helpful bit:

couldn't find package

Using Yast2->Online Update gave this warning while retrieving update info:

There was an error in the repository initialization.
'repo-oss': |] Failed to cache repo (4).
History:
- 'repo2solv.sh' '-o' '/var/cache/zypp/solv/repo-oss/solv' '/var/cache/zypp/raw/repo-oss'
susetags: bad dependency line: 232323: =Prv: ksym(vanilla:acpi_bus_f
gzip: packages.gz: invalid compressed data--format violated
gzip: stdout: Broken pipe

When performing the update, this occurred:

Subprocess failed. Error: RPM failed: error: package dolphin-4.7.2-4.2.2.x86_64 is not installed

Choosing “Ignore” just gave more of the above type of message.

This looks like a dog’s breakfast. How do I clean it up?

Try rebuilding the rpm database

su -
rpmdb --rebuilddb

Okay. That produced:

error: rpmdbNextIterator: skipping h#   11123 Header V3 RSA/SHA256 Signature, key ID 3dbdc284: BAD
error: rpmdbNextIterator: skipping h#    4641 Header V3 DSA/SHA1 Signature, key ID 11f63c51: BAD

Apper and Yast2->Online Update now show that the system is up to date, i.e., the packages that were previously marked for update are now okay (really?).

However, Yast2->Online Update still issues the aforementioned warning.

Are you sue these
Packages being updated:

  • system-config-printer
  • vim
  • kdebase4

Are actually installed.
I don’t use Apper or Online Update
Only Software Management

What do you see from the following commands

**zypper lu

zypper lp

zypper ve**

root> zypper lu
Building repository 'openSUSE-12.1-Oss' cache [done]
Error building the cache:
|] Failed to cache repo (4).
Warning: Disabling repository 'openSUSE-12.1-Oss' because of the above error.
Loading repository data...
Reading installed packages...
No updates found.
root>

root> zypper lp
Building repository 'openSUSE-12.1-Oss' cache [done]
Error building the cache:
|] Failed to cache repo (4).
Warning: Disabling repository 'openSUSE-12.1-Oss' because of the above error.
Loading repository data...
Reading installed packages...
No updates found.
root>

Those are the warning messages… How do I fix it?

root> zypper ve
Building repository 'openSUSE-12.1-Oss' cache [done]
Error building the cache:
|] Failed to cache repo (4).
Warning: Disabling repository 'openSUSE-12.1-Oss' because of the above error.
Loading repository data...
Reading installed packages...

The following NEW package is going to be installed:
  NetworkManager 

The following packages are going to be REMOVED:
  dolphin kdebase4-libkonq kdepasswd kfind konqueror-plugins system-config-printer 
  system-config-printer-common system-config-printer-dbus-service udev-configure-printer vim vim-data 

1 new package to install, 11 to remove.
Overall download size: 599.0 KiB. After the operation, 26.2 MiB will be freed.
Some of the dependencies of installed packages are broken. In order to fix these dependencies, the following actions need to be taken:
Continue? [y/n/?] (y): y
Retrieving package NetworkManager-0.9.1.90-4.6.1.x86_64 (1/1), 599.0 KiB (2.2 MiB unpacked)
Retrieving: NetworkManager-0.9.1.90-4.6.1.x86_64.rpm [done (137.5 KiB/s)]
Removing dolphin-4.7.2-4.4.1 [done]
Removing kdebase4-libkonq-4.7.2-4.4.1 [done]
Removing kdepasswd-4.7.2-4.4.1 [done]
Removing kfind-4.7.2-4.4.1 [done]
Removing konqueror-plugins-4.7.2-4.4.1 [done]
Removing system-config-printer-1.3.7-2.5.2 [done]
Removing system-config-printer-common-1.3.7-2.5.2 [done]
Removing system-config-printer-dbus-service-1.3.7-2.5.2 [done]
Removing udev-configure-printer-1.3.7-2.5.2 [done]
Removing vim-7.3-22.3.1 [done]
Additional rpm output:
update-alternatives: using /usr/share/vim/current/tools/missing-vim-client to provide /bin/vim (vim) in auto mode.
Removing vim-data-7.3-22.3.1 [done]
Installing: NetworkManager-0.9.1.90-4.6.1 [done]
There are some running programs that use files deleted by recent upgrade. You may wish to restart some of them. Run 'zypper ps' to list these programs.

That removed a bunch of stuff before the update. It does not indicate that the removed items were updated. Does this mean I must re-install them?

Was this an upgrade to 12.1 or a fresh install

Post result of

zypper lr -d

Was this an upgrade to 12.1 or a fresh install?

It is an upgrade from 11.4. I note that several other computers were also similarly upgraded without the subsequent warning.

root> zypper lr -d

# | Alias                  | Name                       | Enabled | Refresh | Priority | Type   | URI                                                                 | Service
--+------------------------+----------------------------+---------+---------+----------+--------+---------------------------------------------------------------------+--------
1 | openSUSE-12.1-12.1-1.4 | openSUSE-12.1-12.1-1.4     | Yes     | No      |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-TSSTcorp_CDDVDW_SH-S223C_w___G_U |        
2 | repo-debug             | openSUSE-12.1-Debug        | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/12.1/repo/oss/      |        
3 | repo-debug-update      | openSUSE-12.1-Update-Debug | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/12.1/                     |        
4 | repo-non-oss           | openSUSE-12.1-Non-Oss      | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/12.1/repo/non-oss/        |        
5 | repo-oss               | openSUSE-12.1-Oss          | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/12.1/repo/oss/            |        
6 | repo-source            | openSUSE-12.1-Source       | No      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/12.1/repo/oss/     |        
7 | repo-update            | openSUSE-12.1-Update       | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/12.1/                           |        

It doesn’t look like the update went quite as well here.
Every install will be different.
You may have to consider a fresh install.

But try cleaning up with

zypper clean --all

If that doesn’t help and no one else comes up with any bright ideas.
I’d be tempted to disable all repos except the DVD
And force an unconditional update of everything from the DVD

I ran “zypper clean --all”. It did not make any difference regarding the warning. After staring at the warning a bit longer I decided to track down the file that gzip was complaining about:

/var/cache/zypp/raw/repo-oss/suse/setup/descr/packages.gz

It is, indeed, defective. By renaming it (by adding"-broken" to the end) the warning went away. But I do not know what the consequences are of removing that file, or how to repair, rebuild or refresh the file.

It’s only a cache
You could delete them all and then try again

Do you mean everything in </var/cache/zypp/*>?

Empty the 3 folders in there
They should be
packages, raw, solv
empty each of those

They should be
packages, raw, solv
empty each of those

Did that, started the Software Manager. It ended up with the save defective <packages.gz> file. I cannot determine if the file is downloaded or created locally.

I made a suggestion about using the DVD as the only source and doing an unconditional update. ( zypper dup ) You could try that.

But honestly, this whole installation seems so flaky to me, I’d be reluctant to continue using it.

But honestly, this whole installation seems so flaky to me, I’d be reluctant to continue using it.

So you are suggesting I do a complete, new installation?

It’s an option.
But may depend on how tied you are to your current install.
At the moment we are not getting very far with this problem and time rolls on.
(I just know, that for me. It’d take me a couple of hours tops to complete ‘fresh’ install and be back to my desired setup.)

jimoe666, did you get anywhere with this?

I am seeing something similar with a fresh 12.1 installation on a newish AMD Phenom x4 system, but not on 3 other 12.1 systems.

Apper says there are 3 updates,

openSUSE-2011-5 (Fluendo - mp3)
openSUSE-2011-61 (glibc)
openSUSE-2012-32 (also glibc)

But zypper lp says nothing to patch, zypper lu likewise no updates & YaST Online Update is empty.

Tried rpmdb --rebuilddb, zypper ve and clearing cache as described in this thread, also no change.

I’m not getting any errors involoving /var/cache/zypp/raw/repo-oss/suse/setup/descr/packages.gz so it may be something else at fault though.

I don’t really want to re-install but apper is starting to irritate me…

Cheers
Richard (MQ)

Replying to my own post: Looks as though Bug 735326 is already tracking this.

apper is starting to irritate me…

Which is why I don’t use it and recommend you don’t either.

On Tue, 17 Jan 2012 20:16:03 GMT, MQ <MQ@no-mx.forums.opensuse.org> wrote:

>
>jimoe666, did you get anywhere with this?
>
>I am seeing something similar with a fresh 12.1 installation on a
>newish AMD Phenom x4 system, but not on 3 other 12.1 systems.
>
>Apper says there are 3 updates,
>
>openSUSE-2011-5 (Fluendo - mp3)
>openSUSE-2011-61 (glibc)
>openSUSE-2012-32 (also glibc)
>
>But zypper lp says nothing to patch, zypper lu likewise no updates &
>YaST Online Update is empty.
>
>Tried rpmdb --rebuilddb, zypper ve and clearing cache as described in
>this thread, also no change.
>
>I’m not getting any errors involoving
>/var/cache/zypp/raw/repo-oss/suse/setup/descr/packages.gz so it may be
>something else at fault though.
>
>I don’t really want to re-install but apper is starting to irritate
>me…
>
>Cheers
>Richard (MQ)

It seems that memo distribution has been seriously defective. Apper is
seriously depreciated and notably unreliable. Use Yast or zypper instead.

?-)