openSUSE Forums > openSUSE Build Service (OBS) » Renaming/replacing package - problem on openSUSE 11.1

Go Back   openSUSE Forums > openSUSE Build Service (OBS)
Forums FAQ Members List Search Today's Posts Mark Forums Read


openSUSE Build Service (OBS) Questions about creating packages for openSUSE and using the Build Service

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 14-Apr-2009, 03:00
Puzzled Penguin
 
Join Date: Aug 2008
Posts: 1
beyerle hasn't been rated much yet
Post Renaming/replacing package - problem on openSUSE 11.1

Hi,

I would like to replace the OpenSUSE package "Modules" with a newer package "environment-modules" (Fedora/RHEL name). In the environment-modules.spec file I have

Provides: Modules = %{version}
Obsoletes: Modules < %{version}

This leads to

rpm -q --provides environment-modules
Modules = 3.2.6
environment-modules = 3.2.6-23.1

rpm -q --obsoletes environment-modules
Modules < 3.2.6

The openSUSE Modules RPM has the version 3.1.6 (Modules-3.1.6-38.112). Epoch is for both packages equal "none". I can install my environment-modules RPM with rpm -Uhv. However, if I run "zypper update" on a openSUSE 11.1 system, it wants to replace my newer environment-modules RPM

Loading repository data...
Reading installed packages...

The following NEW package is going to be installed:
Modules

The following package is going to be REMOVED:
environment-modules

This is only the case for openSUSE 11.1. 10.3 and 11.0 do not want to remove my newer environment-modules RPM.

Why does this happen? Is this a feature or a bug in openSUSE 11.1?

Thanks,
Urs
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2