delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/17/10:30:48

X-Spam-Check-By: sourceware.org
Date: Mon, 17 Jul 2006 10:30:23 -0400 (EDT)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Stephen Grant Brown <s_g_brown AT aapt DOT net DOT au>
cc: cygwin AT cygwin DOT com
Subject: Re: dselect - formally Re: Running as root
In-Reply-To: <001901c6a997$0637bdb0$0100a8c0@JIREH>
Message-ID: <Pine.GSO.4.63.0607171030130.8651@access1.cims.nyu.edu>
References: <002101c69200$3887d880$ec8b443d AT elshaddai> <Pine DOT GSO DOT 4 DOT 63 DOT 0606171347240 DOT 25057 AT access1 DOT cims DOT nyu DOT edu> <001401c694ba$f39c9130$7e8f443d AT elshaddai> <Pine DOT GSO DOT 4 DOT 63 DOT 0606201905090 DOT 25834 AT access1 DOT cims DOT nyu DOT edu><000001c6a936$ba28c500$0100a8c0 AT JIREH><44BB0865 DOT 7000407 AT cygwin DOT com> <001201c6a960$4d2e91d0$0100a8c0 AT JIREH> <44BB55BB DOT 3050102 AT gmail DOT com> <001901c6a997$0637bdb0$0100a8c0 AT JIREH>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 Mon, 17 Jul 2006, Stephen Grant Brown wrote:

> Hi Dave and all the other people on this list,
>
> ----- Original Message -----
> From: "Dave" <kilroyd AT XXXXXXXXXX DOT XXX>
> To: "Stephen Grant Brown" <s_g_brown AT XXXX DOT XXX DOT XX>
> Cc: <cygwin AT XXXXXX DOT XXX>

Hi, Stephen.  First off, <http://cygwin.com/acronyms/#PCYMTNQREAIYR>.
Thanks.  Secondly, attaching a BMP file to show the output of a text-only
program is pretty wasteful (not to mention bothersome to open).  More
below.

> Sent: Monday, July 17, 2006 7:17 PM
> Subject: Re: dselect - formally Re: Running as root
>
> > Stephen Grant Brown wrote:
> > <snip>
> >
> > > The output of the program (which is dselect) I am having trouble
> > > with is in the attached file.
> > > How do I find out which file has read-only access?
> > >
> > > I am making the assumption that if a program is in the cygwin
> > > distribution, the cygwin community would like to get it working
> > > properly. Is this assumption valid? assume = ass + U + me.
> >
> > As Brian said in a separate thread:
> > http://www.cygwin.com/ml/cygwin/2006-01/msg00632.html
>
> I have reread that post.
>
> > Just to repeat. If you trying to update cygwin, please use setup.exe,
> > the only supported mechanism for doing so.
>
> I used setup.exe only a night or two before I did the post. I installed
> the latest of everything.
> dselect is a package installed by the cygwin setup.exe.

I believe what Dave meant was that you cannot update Cygwin using dpkg.

> > If you are looking for a mechanism to do updates via the command line,
> > there isn't a tool do this. However setup.exe can be fooled into doing
> > this (please Google), and there are attempts to make setup.exe more
> > useful from the command line.
> >
> > There are a few package managers from Linux distributions available
> > (dselect and rpm are the ones I can think of). As far as I know these
> > are only present for two reasons:
> > - to allow inspection of packages for these distributions
>
> I am unable to use dselect for the inspection of packages in the Debian
> distribution.

Eh?  I don't see this in your screen dump.  All it says is that you will
be unable to *install* the packages, only preview the available
selections.  Looks like that's exactly what you want to do as you stated
above.  I also don't see any mention of the root user.

Please let us know what the exact error message was, and why it made you
think you needed root access.

> > - to help investigations of the feasability of other packaging methods
> > for cygwin.
> >
> > None of them are currently capable of maintaining a cygwin
> > installation.
> >
> > Also, you will note that dpkg was last updated in 2002 and IIRC is
> > looking for a maintainer (or may be culled at any time).
> >
> > If you still want help with dselect, I suggest you describe exactly
> > what you are trying to do with it, and the steps you take which lead
> > to the problem. It will them become clear whether or not that
> > behaviour is expected to work or not.
>
> I open a bash shell. I type dselect at the command line. The error comes
> up as in the attached screen dump.

I see no error -- only an informational message that no packages can be
installed (but you didn't expect to be able to install Debian packages on
Cygwin anyway, did you?).
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

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

- Raw text -


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