[opensuse-kde] upgrading to 4.10 failed
Hi all, I used Apper to upgrade to 4.10 .But it failed when installing kdebase4-workspace. Then I used "zypper up kdebase4-workspace" to upgrade.I got the following error: * **4 packages to upgrade.** **Overall download size: 13.4 MiB. After the operation, 8.1 MiB will be freed.** **Continue? [y/n/?] (y): y** **Installing: kdebase4-workspace-4.10.40_20130111-3.2 ..........................................................................................[error]** **Installation of kdebase4-workspace-4.10.40_20130111-3.2 failed:** **(with --nodeps --force) Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed on file /usr/share/kde4/apps/ksmserver/ksmserver.notifyrc: cpio: rename failed - Is a directory** **error: kdebase4-workspace-4.10.40_20130111-3.2.i586: install failed** **error: kdebase4-workspace-4.9.80_20121201-4.9.i586: erase skipped** * Why this happen and how to fix it? Thanks. Brad Yan -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
Hi, On Sunday 13 January 2013 22:25:36 flash yan wrote:
kdebase4-workspace-4.10.40_20130111-3.2 failed:** **(with --nodeps --force) Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed on file /usr/share/kde4/apps/ksmserver/ksmserver.notifyrc: cpio: rename failed - Is a directory** **error: kdebase4-workspace-4.10.40_20130111-3.2.i586: install failed** **error: kdebase4-workspace-4.9.80_20121201-4.9.i586: erase skipped** *
Oops. This is a known error and was resolved in KDF and Factory. It seems I forgot to implement the workaround for this one ins the kdebase4-workspace package. You can fix it by issuing the following command first before performing the upgrade: rm -rf /usr/share/kde4/apps/ksmserver/ksmserver.notifyrc I will update KUSC with the workaround, but I am not sure when this is going to be finished building. Regards Raymond -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
On 13/01/13 15:54, Raymond Wooninck wrote:
Hi,
On Sunday 13 January 2013 22:25:36 flash yan wrote:
kdebase4-workspace-4.10.40_20130111-3.2 failed:** **(with --nodeps --force) Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed on file /usr/share/kde4/apps/ksmserver/ksmserver.notifyrc: cpio: rename failed - Is a directory** **error: kdebase4-workspace-4.10.40_20130111-3.2.i586: install failed** **error: kdebase4-workspace-4.9.80_20121201-4.9.i586: erase skipped** *
Oops. This is a known error and was resolved in KDF and Factory. It seems I forgot to implement the workaround for this one ins the kdebase4-workspace package.
You can fix it by issuing the following command first before performing the upgrade:
rm -rf /usr/share/kde4/apps/ksmserver/ksmserver.notifyrc
I will update KUSC with the workaround, but I am not sure when this is going to be finished building.
Is it a good idea to burden specfiles with workarounds like this one just to deal with bugs in 'development versions' of our packages? I assume the creation of this directory by mistake didn't happen in any distro release or KR* repo. %pre rm -rf %{_kde4_appsdir}/ksmserver/ksmserver.notifyrc/ IMO it's acceptable to notify users of manual workarounds here. Will -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
Hi Will, On Wednesday 16 January 2013 16:52:23 Will Stephenson wrote:
Is it a good idea to burden specfiles with workarounds like this one just to deal with bugs in 'development versions' of our packages? I assume the creation of this directory by mistake didn't happen in any distro release or KR* repo.
Actually we needed to do this as that KDE 4.10 Beta had this error, where somebody made an unnoticed mistake in how to install the ksmserver.notifyrc file. This was correct with the RC, but caused the mentioned installation errors. This was already picked up by the team and corrected with the below statement.
%pre rm -rf %{_kde4_appsdir}/ksmserver/ksmserver.notifyrc/
The only issue was that I forgot to put this one also in the KUSC spec-file and once I updated the snapshot, the error appeared again. Regards Raymond -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
participants (3)
-
flash yan
-
Raymond Wooninck
-
Will Stephenson