delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/18/14:43:14

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT 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 AT cygwin DOT com
Subject: Re: Can RPM packages be installed into Cygwin?
References: <4F7FEF5B DOT 5060206 AT gmail DOT com> <4F8D066B DOT 2060900 AT tlinx DOT org> <4F8EBDF0 DOT 4080407 AT gmail DOT com> <20120418140309 DOT GC29332 AT ednor DOT casa DOT cgf DOT cx> <4F8EE652 DOT 6060203 AT gmail DOT com> <20120418170808 DOT GC30849 AT ednor DOT casa DOT cgf DOT cx> <4F8F062A DOT 9030506 AT gmail DOT com> <CA+sc5mmT1GgnCe4kh6pHJc2Z9zh4YYutGsmHyf-UVdVO-CpqAA AT mail DOT gmail DOT com>
In-reply-to: <CA+sc5mmT1GgnCe4kh6pHJc2Z9zh4YYutGsmHyf-UVdVO-CpqAA@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019