Frank Mehnert wrote:
> On Friday 23 January 2009, Johannes Kastl wrote:
>   
>> Me again,
>>
>> Johannes Kastl schrieb:
>>     
>>> I have not tested it myself
>>>       
>> I could not resist and tested it myself. Pretty easy.
>>
>> Just put the RPMS into a folder in your ftp/http/whatever server, and run
>> createrepo FOLDERNAME
>>
>> After that you will notice a folder called repodata in your RPMS folder.
>>
>> Then add the RPMS folder in apt/yast/yum/..., and it works. Pretty nice.
>>
>> If you have large repos, where not too much new files get added,
>> createrepo has a switch to just update the metadata, not create it from
>> scratch.
>>     
>
> Yes, works here as well. There is only one question left:
>
> rpm repositories apparently allow to contain one package with different
> versions. So, it would be possible to have VirtualBox 2.0.6 (the last
> stable release of the 2.0.x branch) together with the current 2.1.2
> release in the same repository. Is it somehow possible to have sticky
> packages? For instance, if the user wants to stay on 2.0.6 but the same
> repository contains 2.1.2 as well. Next time when doing 'yum update',
> VirtualBox will updated to 2.1.2 if 2.0.6 was installed. Is it somehow
> possible to prevent this mechanism?
>
> Kind regards,
>
> Frank
>   
You can select the version you wish to use in the versions tab in yast2
software manager and zypper the cli tool you specify the version using
>, =, < symbols. I don't have experience of yum or smart.
zypper help in
install (in) [options] <capability|rpm_file_uri> ...

Install packages with specified capabilities or RPM files with specified
location. A capability is NAME[OP<VERSION>], where OP is one of <, <=,
=, >=, >.
I have downloaded vbox rpm and installed from local repo created using
createrepo for a while.
Regards
Dave P


_______________________________________________
vbox-users mailing list
vbox-users@virtualbox.org
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to