X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=1.5 required=5.0	tests=AWL,BAYES_00,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,TO_NO_BRKTS_PCNT
X-Spam-Check-By: sourceware.org
Message-id: <4F8F0AF5.204@cygwin.com>
Date: Wed, 18 Apr 2012 14:41:57 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-to: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
MIME-version: 1.0
To: cygwin@cygwin.com
Subject: Re: Can RPM packages be installed into Cygwin?
References: <4F7FEF5B.5060206@gmail.com>	<4F8D066B.2060900@tlinx.org> <4F8EBDF0.4080407@gmail.com>	<20120418140309.GC29332@ednor.casa.cgf.cx> <4F8EE652.6060203@gmail.com>	<20120418170808.GC30849@ednor.casa.cgf.cx> <4F8F062A.9030506@gmail.com> <CA+sc5mmT1GgnCe4kh6pHJc2Z9zh4YYutGsmHyf-UVdVO-CpqAA@mail.gmail.com>
In-reply-to: <CA+sc5mmT1GgnCe4kh6pHJc2Z9zh4YYutGsmHyf-UVdVO-CpqAA@mail.gmail.com>
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 4/18/2012 2:30 PM, Earnie Boyd wrote:
> On Wed, Apr 18, 2012 at 2:21 PM, De-Jian Zhao wrote:
>>
>> Thank you, Christopher. Is there a way to export the package info or lib
>> info of setup.exe to rpm? If they can share information, the problem will be
>> easily solved.
>>
>
> You can always read the source code to determine how to read the
> package info of setup.exe.

Or in other words, there is nothing that currently exists that translates
setup's view of this information to RPMs or vice-versa.

>> Besides, I tried --nodeps option with src.rpm. It requires root privilege
>> (see below). However, "sudo rpm" and "su root" both failed to work. Any way
>> to fix it? Does Cygwin has a root user?
>
> It would be the Windows administrator user.  You probably need to
> execute mkpasswd.  See http://cygwin.com/faq/ and search for passwd on
> the page.

Actually, that's not 100% true, though mapping "root" to the Administrator's
SID in the '/etc/passwd' file might work in this case.  'mkpasswd' won't
generate a 'root' user by default.  In any case, I'd ask first why DJ
thinks that root is actually required.  I don't see anything in the output
that says this.



-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

