Re: dselect - formally Re: Running as root

2006-07-18 Thread Max Bowsher
Christopher Faylor wrote:
 On Tue, Jul 18, 2006 at 12:19:58AM +0100, Max Bowsher wrote:
 Christopher Faylor wrote:
 On Mon, Jul 17, 2006 at 09:49:02PM +1000, Stephen Grant Brown wrote:

 I am unable to use dselect for the inspection of packages in the Debian
 distribution.

 Ok.  Unless someone steps forward who is willing to maintain dpkg, it
 will be removed from the distribution in a few days.

 Is there any useful functionality actually provided by having dpkg for
 Cygwin?  If there is I'll have a go, but if it's just a toy that
 happens to compile, but you can't actually do anything useful with, I
 don't see the point.

 Um.  That would be the kind of thing that a maintainer would know the
 answer to wouldn't it?

I know what the program _does_ - I just don't see how what it does can
be useful, when no one is producing .deb format packages for Cygwin.

(For that matter, the same argument applies to 'rpm' - it's present in
the Cygwin archive, but can anyone actually use it for anything useful,
since there are no .rpm format packages for Cygwin?)

Max.



signature.asc
Description: OpenPGP digital signature


Re: dselect - formally Re: Running as root

2006-07-18 Thread Christopher Faylor
On Tue, Jul 18, 2006 at 03:49:13PM +0100, Max Bowsher wrote:
Christopher Faylor wrote:
On Tue, Jul 18, 2006 at 12:19:58AM +0100, Max Bowsher wrote:
Christopher Faylor wrote:
On Mon, Jul 17, 2006 at 09:49:02PM +1000, Stephen Grant Brown wrote:

I am unable to use dselect for the inspection of packages in the Debian
distribution.

Ok.  Unless someone steps forward who is willing to maintain dpkg, it
will be removed from the distribution in a few days.

Is there any useful functionality actually provided by having dpkg for
Cygwin?  If there is I'll have a go, but if it's just a toy that
happens to compile, but you can't actually do anything useful with, I
don't see the point.

Um.  That would be the kind of thing that a maintainer would know the
answer to wouldn't it?

I know what the program _does_ - I just don't see how what it does can
be useful, when no one is producing .deb format packages for Cygwin.

Without a maintainer (Larry's response not withstanding), we don't have
anyone who can answer the question about dselect definitively.  Your
asking if it is any good just illustrates the problem.

If someone wants to be the maintainer, they will have to do some
research.

(For that matter, the same argument applies to 'rpm' - it's present in
the Cygwin archive, but can anyone actually use it for anything useful,
since there are no .rpm format packages for Cygwin?)

My company uses cygwin rpms all of the time.  I'm actually the rpm
maintainer although I haven't made a new release in a long time.

cgf

--
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/



Re: dselect - formally Re: Running as root

2006-07-17 Thread Dave

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

Just to repeat. If you trying to update cygwin, please use setup.exe, 
the only supported mechanism for doing so.


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
- 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.


HTH.

Dave.

--
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/



Re: dselect - formally Re: Running as root

2006-07-17 Thread Christopher Faylor
On Mon, Jul 17, 2006 at 09:49:02PM +1000, Stephen Grant Brown wrote:
I am unable to use dselect for the inspection of packages in the Debian 
distribution.

Ok.  Unless someone steps forward who is willing to maintain dpkg, it will
be removed from the distribution in a few days.

cgf

--
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/



Re: dselect - formally Re: Running as root

2006-07-17 Thread Igor Peshansky

On Mon, 17 Jul 2006, Stephen Grant Brown wrote:


Hi Dave and all the other people on this list,

- Original Message -
From: Dave [EMAIL PROTECTED]
To: Stephen Grant Brown [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]


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/
 |\  _,,,---,,_ [EMAIL PROTECTED] | [EMAIL PROTECTED]
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/



Re: dselect - formally Re: Running as root

2006-07-17 Thread Max Bowsher
Christopher Faylor wrote:
 On Mon, Jul 17, 2006 at 09:49:02PM +1000, Stephen Grant Brown wrote:
 I am unable to use dselect for the inspection of packages in the Debian 
 distribution.
 
 Ok.  Unless someone steps forward who is willing to maintain dpkg, it will
 be removed from the distribution in a few days.


Is there any useful functionality actually provided by having dpkg for
Cygwin? If there is I'll have a go, but if it's just a toy that happens
to compile, but you can't actually do anything useful with, I don't see
the point.


Max.



signature.asc
Description: OpenPGP digital signature


Re: dselect - formally Re: Running as root

2006-07-17 Thread Christopher Faylor
On Tue, Jul 18, 2006 at 12:19:58AM +0100, Max Bowsher wrote:
Christopher Faylor wrote:
On Mon, Jul 17, 2006 at 09:49:02PM +1000, Stephen Grant Brown wrote:
I am unable to use dselect for the inspection of packages in the Debian
distribution.

Ok.  Unless someone steps forward who is willing to maintain dpkg, it
will be removed from the distribution in a few days.

Is there any useful functionality actually provided by having dpkg for
Cygwin?  If there is I'll have a go, but if it's just a toy that
happens to compile, but you can't actually do anything useful with, I
don't see the point.

Um.  That would be the kind of thing that a maintainer would know the
answer to wouldn't it?

cgf

--
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/



Re: dselect - formally Re: Running as root

2006-07-17 Thread Larry Hall (Cygwin)

Christopher Faylor wrote:

On Tue, Jul 18, 2006 at 12:19:58AM +0100, Max Bowsher wrote:

Christopher Faylor wrote:

On Mon, Jul 17, 2006 at 09:49:02PM +1000, Stephen Grant Brown wrote:

I am unable to use dselect for the inspection of packages in the Debian
distribution.

Ok.  Unless someone steps forward who is willing to maintain dpkg, it
will be removed from the distribution in a few days.

Is there any useful functionality actually provided by having dpkg for
Cygwin?  If there is I'll have a go, but if it's just a toy that
happens to compile, but you can't actually do anything useful with, I
don't see the point.


Um.  That would be the kind of thing that a maintainer would know the
answer to wouldn't it?



Maybe that's why he skipped town. ;-)

From my perspective, the current functionality can be likened to a version of
tar that only implements the t option flag.  I suppose it's in the eye of
the beholder as to whether dselect's limited functionality has some value but
I would posit that it's confusing to have the current functionality called
dselect, since that implies more than this implementation is.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

--
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/