Re: flex package POSIX violation

2018-01-05 Thread Gerrit Haase
2017-12-31 22:13 GMT+01:00 Steven Penny writes:
> The POSIX standard, at least since 1997 [1], requires the presence of a
> "lex"
> utility.
>
> Most systems (including Cygwin) provide a Lex implementation via the "flex"
> package. However with other OS, a "lex -> flex" symlink is provided, whereas
> the
> Cygwin package does not.
>
> Please resolve this, thanks.
>
> [1] http://pubs.opengroup.org/onlinepubs/7908799/xcu/lex.html


Maybe to 'request' something is not the best approach to resolve your issue?

A better way to handle issues like this would be:
you provide a patch to handle the issue and the maintainer of the
package may then decide to incorporate your patch.


Thanks.

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



Re: Building modules for perl-5.24

2017-05-18 Thread Gerrit Haase
2017-05-17 22:49 GMT+02:00 Ken Brown writes:
> Achim,
>
> I'd like to build test releases for perl-5.24 of the perl modules needed by
> biber, so that I can upgrade biber (as a test release).  I don't mind doing
> the work, but I imagine you have a script that simplifies the process.

Hello Ken,

IIRC there is the CPAN module which takes care about download,
building, installation, etc..


Try:

$ perldoc CPAN



Gerrit

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



Re: /bin/ gets deleted on error

2017-04-19 Thread Gerrit Haase
2017-04-13 15:13 GMT+02:00 Felipe Vieira says:
>
> For the second time this week my /bin/ folder gets obliterated on an
> error during normal usage. It is equivalent of doing the infamous "rm
> -rf  /bin" .
>
...
> From what I recall the terminal was spamming messages containing the
> words "fork" , "-1" and some others which I don't recall. And what I
> did was trying to run a normal zsh script.

Define "normal".


Regards,
Gerrit

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



Re: Installer names not meaningful enough

2016-12-06 Thread Gerrit Haase
2016-12-01 11:51 GMT+01:00 Roberto Ríos Gallardo says:
> Please give the installers more meaningful names. In particular, make
> sure "cygwin" is part of it. "setup-x86_64.exe" is not very obvious. A
> version number would be nice too.

The version is part of setup.ini in the header:

# This file was automatically generated at 2016-12-05 09:43:16 UTC.
#
# If you edit it, your edits will be discarded next time the file is
# generated.  See http://cygwin.com/setup.html for details.
release: cygwin
arch: x86_64
setup-timestamp: 1480930996
setup-version: 2.876
...


Regards,
Gerrit

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



Re: Broken bash command substitution

2016-11-25 Thread Gerrit Haase
2016-11-24 17:25 GMT+01:00 L. A. Walsh says:
> Tydus wrote:
> 
>
> You didn't specify what version of bash you are running.

Therefore he attached the cygcheck output which says:

bash  4.3.46-7


;)
Gerrit

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



Re: Cygwin Setup Command-line Arguments - Paths with a Space Incorrectly Parsed

2016-11-14 Thread Gerrit Haase
> Try adding a dot:
>
> set WD=%~dp0
> echo "%WD%."
> "setup-x86_64.exe" --root "%WD%." --local-package-dir "%WD%."
> pause


or
set WD=%~dp0.
...

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



Re: Cygwin Setup Command-line Arguments - Paths with a Space Incorrectly Parsed

2016-11-14 Thread Gerrit Haase
2016-11-13 23:19 GMT+01:00 OwN-3m-All wrote:
> cd "C:\test\with space"
> set WD=%~dp0
> echo "%WD%cygTemp"
> "setup-x86_64.exe" --root "%WD%" --local-package-dir "%WD%cygTemp"
> pause
>

The problem is this trailing backslash in the directory name.

D:\temp\Neuer Ordner\cygwinpkg>setup_script.bat

D:\temp\Neuer Ordner\cygwinpkg>set WD=D:\temp\Neuer Ordner\cygwinpkg\

D:\temp\Neuer Ordner\cygwinpkg>echo "D:\temp\Neuer Ordner\cygwinpkg\"
"D:\temp\Neuer Ordner\cygwinpkg\"

D:\temp\Neuer Ordner\cygwinpkg>"setup-x86_64.exe" --root
"D:\temp\Neuer Ordner\cygwinpkg\" --local-package-dir "D:\temp\Neuer
Ordner\cygwinpkg\"


Try adding a dot:

set WD=%~dp0
echo "%WD%."
"setup-x86_64.exe" --root "%WD%." --local-package-dir "%WD%."
pause


> I'd like to automate Cygwin installation, but I don't want to rule out
> the possibility that a path with a space will not be used.

You'll get a warning from Setup:  it is strongly recommended, to use a
root path without spaces.


> Please let me know if this is possible.

I don't know, never tried, I always used C:\cygwin as root.

Regards,
Gerrit

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



Re: ssh-host-config fails on Win7 even as admin

2016-10-07 Thread Gerrit Haase
2016-10-07 10:21 GMT+02:00 Gerrit Haase meant:
> 2016-10-06 12:09 GMT+02:00 Bernd Prager wrote:
>> *** Query: Should privilege separation be used? (yes/no) yes

> Running ssh-host-config looks like different for me (openssh-7.2p2-1):

I meant, I am not asked about privilege separation at all.

;)

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



Re: ssh-host-config fails on Win7 even as admin

2016-10-07 Thread Gerrit Haase
2016-10-06 12:09 GMT+02:00 Bernd Prager wrote:
> All,
>
> I am running ssh-host-config on CYGWIN_NT-6.1 2.6.0(0.304/5/3) 2016-08-31
> under Windows 7 Enterprise Service Pack 1 in a Cygwin64 Terminal as
> Adminstrator:
>
> It breaks with:
>
> *** Query: Should privilege separation be used? (yes/no) yes
> *** Warning: The owner and the Administrators need
> *** Warning: to have .w. permission to /var/run.
> *** Warning: Here are the current permissions and ACLS:
> *** Warning: drwxrwxrwt+ 1 bprager Domain Users 0 Oct  6 16:44 /var/run
> *** Warning: # file: /var/run
> *** Warning: # owner: bprager
> *** Warning: # group: Domain Users
> *** Warning: # flags: --t
> *** Warning: user::rwx
> *** Warning: group::rwx
> *** Warning: group:SYSTEM:rwx
> *** Warning: group:Administrators:rwx
> *** Warning: mask:rwx
> *** Warning: other:rwx
> *** Warning: default:user::rwx
> *** Warning: default:group::r-x
> *** Warning: default:other:r-x
> *** Warning:
> *** Warning: Please change the user and/or group ownership,
> *** Warning: permissions, or ACLs of /var/run.
>
> *** ERROR: Problem with /var/run directory. Exiting.
>
>
> Based on that report, I do not see any problems.
>
> Any advice or help would be appreciated.

Hallo Bernd,

The user under which this script is running (bprager) is also member
of the local Administrators group?

Is the openssh version current?
Running ssh-host-config looks like different for me (openssh-7.2p2-1):

*** Query: Do you want to install sshd as a service?
*** Query: (Say "no" if it is already installed as a service) (yes/no) yes

Gerrit

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



Re: Native symlinks and setup.exe

2016-10-04 Thread Gerrit Haase
Hello Gene,

in my opinion, it is not a setup.exe or tar problem, but I think
packages should not include symlinks at all. All can be created
postinstallation by the postinstall script, inside Cygwin and the
users environment it is running on.

Obviously, a political discussion is required, to decide whether it is
ok, as is, or if a change in package logic would have benefits.


Regards,
Gerrit

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



Re: [ANNOUNCEMENT] openssl 1.0.2h-1

2016-08-31 Thread Gerrit Haase
2016-05-04 19:35 GMT+02:00 Yaakov Selkowitz:
>
> The following packages have been uploaded to the Cygwin distribution:
>
> * openssl-1.0.2h-1
> * openssl-devel-1.0.2h-1
> * openssl-perl-1.0.2h-1
> * libopenssl100-1.0.2h-1
> * mingw64-i686-openssl-1.0.2h-1
> * mingw64-x86_64-openssl-1.0.2h-1
>
> ...


Hello Yaakov,

25-Aug-2016: OpenSSL 1.1.0 is now available

https://www.openssl.org/news/newslog.html


:-)
Gerrit

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



Re: building libgeos

2016-08-22 Thread Gerrit Haase
2016-08-22 17:41 GMT+02:00 Felipe Vieira writes:
> Guys,
> I'm getting this error when trying to compile libgeos:
...
> I was trying a lot of google solutions but none of the worked.


Hello Felipe,

> Can you suggest any work around?

I found this:

https://trac.osgeo.org/geos/ticket/595

So there seems to be some support? Also Autotools should work and find
if ISNAN is available or not?

> The libgeos github does not allow me to open an issue.

I see here: https://trac.osgeo.org/geos
this information:

"Bug Reporting
You will need an OSGeo user account to submit bugs here. A "New
Ticket" button will appear once you have logged in."

Regards,
Gerrit

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



Re: Conflict between Cygwin 1.7 and Ubuntu for Windows 14316

2016-04-18 Thread Gerrit Haase
2016-04-18 15:25 GMT+02:00 Gerrit Haase wrote:
> my thought was, that UoW maybe requires (X) to access a file,
> because this is the bit missing from these files, and of course this
> is most probably a bug in UoW, if adding (X) is the solution to access
> Cygwin created files from UoW.


And this is it:
root@localhost:/mnt/c/cygwin/home/Gerrit# cat file3
cat: file3: Permission denied

Gerrit@GPHT410 ~
$ chmod a+x file3

root@localhost:/mnt/c/cygwin/home/Gerrit# cat file3
hello


root@localhost:/mnt/c/cygwin/home/Gerrit# ls -la file3
-rwxrwxrwx 1 root root 6 Apr 18 17:07 file3
root@localhost:/mnt/c/cygwin/home/Gerrit# chmod 644 file3
root@localhost:/mnt/c/cygwin/home/Gerrit# ls -la file3
-rwxrwxrwx 1 root root 6 Apr 18 17:07 file3


LOL...

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



Re: Conflict between Cygwin 1.7 and Ubuntu for Windows 14316

2016-04-18 Thread Gerrit Haase
2016-04-15 13:38 GMT+02:00 Corinna Vinschen wrote:
> On Apr 15 10:48, Gerrit Haase wrote:
>> 2016-04-14 11:11 GMT+02:00 Evgeny Grin wrote:
>> > Back to cmd:
>> > @ icacls cmd-file
>> > cmd-file DESKTOP-5PNH8IH\Karlson:(RX)
>> >  DESKTOP-5PNH8IH\Karlson:(I)(F)
>> >  Everyone:(I)(RX)
>> >
>> > @ icacls cygsh-file
>> > cygsh-file DESKTOP-5PNH8IH\Karlson:(R,W,D,WDAC,WO)
>> >DESKTOP-5PNH8IH\Karlson:(R)
>> >Everyone:(R)
>> >
>> > @ icacls uowsh-file
>> > uowsh-file DESKTOP-5PNH8IH\Karlson:(RX)
>> >DESKTOP-5PNH8IH\Karlson:(I)(F)
>> >Everyone:(I)(RX)
>>
>> Everyone:(X) is missing on the Cygwin created file, Karlson has (R)
>> besides the inherited (F) access from the other files.
>
> (X) is not missing.  Cygwin honors umask.  Your umask is probably 0022.


Sorry Corinna, I didn't mean that Cygwin is setting the permissions
wrong; my thought was, that UoW maybe requires (X) to access a file,
because this is the bit missing from these files, and of course this
is most probably a bug in UoW, if adding (X) is the solution to access
Cygwin created files from UoW.

;)
Gerrit

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



Re: Conflict between Cygwin 1.7 and Ubuntu for Windows 14316

2016-04-15 Thread Gerrit Haase
2016-04-14 11:11 GMT+02:00 Evgeny Grin wrote:
> Back to cmd:
> @ icacls cmd-file
> cmd-file DESKTOP-5PNH8IH\Karlson:(RX)
>  DESKTOP-5PNH8IH\Karlson:(I)(F)
>  Everyone:(I)(RX)
>
> @ icacls cygsh-file
> cygsh-file DESKTOP-5PNH8IH\Karlson:(R,W,D,WDAC,WO)
>DESKTOP-5PNH8IH\Karlson:(R)
>Everyone:(R)
>
> @ icacls uowsh-file
> uowsh-file DESKTOP-5PNH8IH\Karlson:(RX)
>DESKTOP-5PNH8IH\Karlson:(I)(F)
>Everyone:(I)(RX)

Everyone:(X) is missing on the Cygwin created file, Karlson has (R)
besides the inherited (F) access from the other files.

Curious if the X byte is required or the F, both would be strange
though. Does the result changes iof you add X for everyone and/or (F)
instead of (R) for Karlson?

There are some remarkable things besides this one, IIRC someone
mentioned in the other thread, that there is no UoW AD integration, so
how does UoW creates a file with permissions set for Karlson?

BTW. who is Karlson?

;)

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



Re: Conflict between Cygwin 1.7 and Ubuntu for Windows 14316

2016-04-15 Thread Gerrit Haase
2016-04-15 2:50 GMT+02:00 John Cowan wrtites:
> cowan@large-skunk ~

LOL, love your machines hostname ;)

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



Re: Conflict between Cygwin 1.7 and Ubuntu for Windows 14316

2016-04-13 Thread Gerrit Haase
2016-04-13 17:43 GMT+02:00 John Cowan writes:
> The exact contents aren't the point.  The point is that file1, created
> under Cygwin, is not readable by UoW (or writable either), whereas file2,
> created by very similar methods under Win32 proper, is readable and
> writable by UoW.

Seems to be a permission issue, can you provide the output of:

icacls file1
icacls file2

please?

;)
Gerrit

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



Re: Conflict between Cygwin 1.7 and Ubuntu for Windows 14316

2016-04-13 Thread Gerrit Haase
2016-04-13 7:22 GMT+02:00 John Cowan wrote:
>
> When a file is created under Cygwin, ...

What do you mean "under Cygwin"? I always thought that there is no
difference at all, creating files worked always transparently for me,
given that the permissions were correctly set.


Regards,
Gerrit

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



Re: native Linux userland in Windows 10

2016-04-13 Thread Gerrit Haase
2016-04-12 14:50 GMT+02:00 Andrew Schulman is curious:
>
> Has anyone had a chance to try this new feature?  Does it work as well as is
> claimed?
>

I will try ;)

Here is how to:

http://blog.dustinkirkland.com/2016/04/howto-ubuntu-on-windows.html

Gerrit

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



Re: grep (GNU grep) 2.24

2016-04-09 Thread Gerrit Haase
2016-04-08 22:52 GMT+02:00 Gordon Grimes wrote:
> % wc -l FILE
> 48786
> % grep . FILE
> 2240
>
> Very wrong.
>
> I reverted to version 2.21 and everything now works as expected:
> % grep . FILE
> 48786

Hi Gordon,

I am curious, what is the result if you do s.th. like:

cat FILE | grep x

where x is some common string in the file?

Regards,
Gerrit
=^..^=

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



Re: Cygwin and Oracle Enterprise Manager 13c on Windows Platform

2016-04-08 Thread Gerrit Haase
2016-04-08 3:13 GMT+02:00 Ty Newby writes:
> Also, has anyone else had experience with using Cygwin with Oracle
> Enterprise Manager to deploy agents?

Hello Ty,

yes, I have setup a new Enterprise Manager 13c on Windows recently,
using the current Cygwin distribution. Deploying agents works as
documented, no matter which OS platform it is.

With the new openssh version there is one minor addition to what is
documented at oracle.com:
- the SSH privilege separation feature

So either you need to disable this in sshd_config, or you add sshd as
user like below:

- Either set in sshd_config -

UsePrivilegeSeparation no

- or -

oracle@hostname ~
$ echo sshd:x:74:74:Privilege-separated-SSH:/var/empty/sshd:/sbin/nologin
>> /etc/passwd
oracle@hostname ~
$echo sshd:*:27:>> /etc/group

Restart the servcie.

Other than this, it is working as documented there, be sure to follow
the documentation *exactly* as usual with Oracle products, also you
may open a SR at MOS and ask them why they do not update their
documentation, ecause Cygwin 1.7 is not widely available anymore and
ask them to verify, that it is possible to also use the latest stable
release of Cygwin, so maybe there will be at least a new note added to
the Knowledge base over there at MOS.

Regards,
Gerrit
=^..^=

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



Re: openssl 1.1 beta release available?

2016-04-05 Thread Gerrit Haase
2016-04-05 15:59 GMT+02:00 Andrey Repin wrote:
> Greetings, Gerrit Haase!
>
>> is there an openssl 1.1 beta build available somewhere, or is it
>> planned to release soon?
>
> Betas are rarely built for Cygwin.
> Wait for a full release, or ask to build with a specific patch, if you need
> and unable to do that yourself.

Hello Andrey,

I would just need a working openssl with the newnative proxy support
with the -proxy option for s_client included.
However, I saw there are some other packages which will do it
prpbably, so I will try corkscrew and / or connect-proxy next.

Regards,
Gerrit
=^..^=

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



openssl 1.1 beta release available?

2016-04-05 Thread Gerrit Haase
Hello,

is there an openssl 1.1 beta build available somewhere, or is it
planned to release soon?

Regards,
Gerrit
=^..^=

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



Re: [attention p7zip maintainer] p7zip 15.14 is out

2016-03-31 Thread Gerrit Haase
2016-03-19 15:12 GMT+01:00 Achim Gratz wrote:
>
> You might also want to add 'DEPEND="nasm"', since the build needs it
> (probably other stuff too, but I already had that installed).

Hello Achim,

is is common sense nowadays, to add packages required to build from
source to the executable runtime dependencies?


Regards,
Gerrit
=^..^=

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



Re: Don't I get /etc/profile with a fresh installation?

2016-03-16 Thread Gerrit Haase
2016-03-15 19:53 GMT+01:00 Achim Gratz writes:
> Gerrit Haase writes:
>> How can I see all packages in Base category, I am in offline mode, and
>> it shows me only all the packages which are present in my package
>> folder.

> Lastly if you really want to see everything, not just the packages in
> your local mirror, then you can use -m/--mirror-mode to tell setup you
> have a clean mirror and it won't try to find out if the packages from
> setup.ini are actually present and you get to see the full package list,
> even though you can't install the packages that aren't available.

Many thanks Achim,

valuable information, unfortunately this is not documented, at least
not where I expected to find the information:
https://cygwin.com/faq/faq.html#faq.setup.cli

2.3.

Does Setup accept command-line arguments?

Yes, the full listing is written to the setup.log file when you run
setup-x86.exe --help or setup-x86_64.exe --help. The current options
are:

Command Line Options:
 -D --download Download from internet
 -L --local-installInstall from local directory
 -s --site Download site
 -O --only-siteIgnore all sites except for -s
 -R --root Root installation directory
 -x --remove-packages  Specify packages to uninstall
 -c --remove-categoriesSpecify categories to uninstall
 -P --packages Specify packages to install
 -C --categories   Specify entire categories to install
 -p --proxyHTTP/FTP proxy (host:port)
 -a --arch architecture to install (x86_64 or x86)
 -q --quiet-mode   Unattended setup mode
 -M --package-manager  Semi-attended chooser-only mode
 -B --no-admin Do not check for and enforce running as
   Administrator
 -h --help print help
 -l --local-package-dirLocal package directory
 -r --no-replaceonreboot   Disable replacing in-use files on next
   reboot.
 -X --no-verifyDon't verify setup.ini signatures
 -n --no-shortcuts Disable creation of desktop and start menu
   shortcuts
 -N --no-startmenu Disable creation of start menu shortcut
 -d --no-desktop   Disable creation of desktop shortcut
 -K --pubkey   URL of extra public key file (gpg format)
 -S --sexpr-pubkey Extra public key in s-expr format
 -u --untrusted-keys   Use untrusted keys from last-extrakeys
 -U --keep-untrusted-keys  Use untrusted keys and retain all
 -g --upgrade-also also upgrade installed packages
 -o --delete-orphans   remove orphaned packages
 -A --disable-buggy-antivirus  Disable known or suspected buggy anti virus
   software packages during execution.

Regards,
Gerrit

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



Re: Don't I get /etc/profile with a fresh installation?

2016-03-15 Thread Gerrit Haase
2016-03-15 18:07 GMT+01:00 Erik Soderquist <eriksoderqu...@gmail.com>:
> On Tue, Mar 15, 2016 at 12:35 PM, Gerrit Haase wrote:
>> How can I see all packages in Base category, I am in offline mode, and
>> it shows me only all the packages which are present in my package
>> folder.
>
> I was of the understanding that the setup program used the setup.xz or
> setup.bz2 file as the reference list of what is available rather than
> the content of the mirror, so unless you created your own setup.bz2
> rather than using the one from mirror you created your local repo
> from, it should have listed everything, and flagged errors only at
> install time after selections were made about missing packages.
>
> Someone please correct me if I'm inaccurate here.

As far as I can see, it uses setup.ini to resolve dependencies and to
fill in text for information, however, packages you don't have in the
repository are not listed.
All packages which I don't have downloaded are not displayed in setup.exe

Regards,
Gerrit

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



Re: Don't I get /etc/profile with a fresh installation?

2016-03-15 Thread Gerrit Haase
2016-03-15 15:38 GMT+01:00 Achim Gratz writes:
> Gerrit Haase  gmail.com> writes:
>> setup.log  attached.
>> Nothing suspicious like missing packages or so.
>
> It is in fact very suspicious.  How did you manage to skip almost all
> packages in category Base, of which _all_ need to be installed?  The only
> way to do this is to manually de-select all these packages, so please don't
> do that.
>
>> In which package is the script base-files-profile.sh included?
>
> In base-files, if it wasn't obvious already.


How can I see all packages in Base category, I am in offline mode, and
it shows me only all the packages which are present in my package
folder.
How did you find, that there were more missing?

BTW, the first issue is resolved for me now. As I was doing the
installation in offline mode and using a local repository, and didn't
update the base-files package in the first run, it was not picking the
previous version, and not choking about not able to resolve required
dependencies.


Regards,
Gerrit

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



Re: Don't I get /etc/profile with a fresh installation?

2016-03-15 Thread Gerrit Haase
2016-03-15 16:31 GMT+01:00 Yaakov Selkowitz wrote:
> On 2016-03-15 07:36, Gerrit Haase wrote:
>>
>> I have some business to do with Cygwin, again. Yeah!
>
>
> Hey there, it's been a *long* time.  Welcome back!
>
>> Regards, I think this was working better years ago back in the old
>> days of Cygwin B20, err... 1.5 or 1.7.
>
>
> Ahem, you of all people should know better than to compare things to B20.
> :-)


Hi Yaakov :-)

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



Re: Don't I get /etc/profile with a fresh installation?

2016-03-15 Thread Gerrit Haase
2016-03-15 15:08 GMT+01:00 Gerrit Haase wrote:
> In which package is the script base-files-profile.sh included?

Replying myself, well I have base-files-4.2-3.tar.xz, but it was not
installed, maybe not the right version?

Well, setup didn't mention this as missing dependency.

And I don't see that this is required by any other package.
So, Setup pulls it by default, but not if the version available is
only the [prev]ious version?

Regards,
Gerrit

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



Re: Don't I get /etc/profile with a fresh installation?

2016-03-15 Thread Gerrit Haase
2016-03-15 15:02 GMT+01:00 Erik Soderquist wrote:
> On Tue, Mar 15, 2016 at 9:57 AM, Gerrit Haase wrote:
>> Well, thanks. I did the installation today, and
>> /etc/postinstall/base-files-profile.sh obviously didn't run.
>
> So what do /var/log/setup.log and/or /var/log/setup.log.full say about
> the script?
>

Hi Erik,

I see this on my drive:

-bash: /etc/postinstall/base-files-profile.sh: No such file or directory
-bash-4.3$ ls -l /etc/postinstall/
total 17
-rwxr-xr-x 1 oracle Domänen-Benutzer 2781 Feb 25  2015
000-cygwin-post-install.sh.done
-rwxr-xr-x 1 oracle Domänen-Benutzer  411 Feb  5  2015 0p_000_autorebase.dash
-rwxr-xr-x 1 oracle Domänen-Benutzer  901 Mar  4 22:54 0p_update-info-dir.dash
-rwxr-xr-x 1 oracle Domänen-Benutzer 1068 Sep 24 22:58 bash.sh.done
-rwxr-xr-x 1 oracle Domänen-Benutzer  125 Mar  9 00:39 coreutils.sh.done
-rwxr-xr-x 1 oracle Domänen-Benutzer  134 Apr 10  2013 lynx.sh.done
-rwxr-xr-x 1 oracle Domänen-Benutzer  128 Oct  9 04:22 man-db.sh.done
-rwxr-xr-x 1 oracle Domänen-Benutzer   56 Mar 11 18:25 openssh.sh.done


setup.log  attached.
Nothing suspicious like missing packages or so.

In which package is the script base-files-profile.sh included?


Regards,
Gerrit


setup.log
Description: Binary data
--
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

Re: Don't I get /etc/profile with a fresh installation?

2016-03-15 Thread Gerrit Haase
2016-03-15 14:44 GMT+01:00 Ken Brown wrote:
> On 3/15/2016 8:36 AM, Gerrit Haase wrote:
>>
>> Back then there was some postinstallation script which was creating
>> basic files like /etc/profile and other basic things were created with
>> the first login, like/home/ directory, including basic files
>> there.
>
>
> That's still the case.  The relevant postinstall script is
> /etc/postinstall/base-files-profile.sh.  You might check /var/log/setup.log
> and/or /var/log/setup.log.full to see if you can tell why it failed.  Or try
> running it manually.
>
> Ken


Many thanks Ken, that helped me out. Why isn't this mentioned in the FAQ?

Just need to figure out now, why it is not running automatically.

Regards,
Gerrit

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



Re: Don't I get /etc/profile with a fresh installation?

2016-03-15 Thread Gerrit Haase
2016-03-15 14:24 GMT+01:00 cyg Simple wrote:
> On 3/15/2016 8:36 AM, Gerrit Haase wrote:
>> Hello All,
>>
>
> Hi Gerrit,
>
>> Problem reports:   http://cygwin.com/problems.html
>
> And don't forget about:
>> FAQ:   http://cygwin.com/faq/
>> Documentation: http://cygwin.com/docs.html
>
> --
> cyg Simple


Hey Simple, I am a veteran, one of the few qwith 5 gold stars here ;)
I was looking there, however do a search for the string "profile"
yourself in the FAQ, and there is nothing which helped me.

Thanks anyways,
Gerrit

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



Re: Don't I get /etc/profile with a fresh installation?

2016-03-15 Thread Gerrit Haase
2016-03-15 14:38 GMT+01:00 Andrey Repin wrote:

> Greetings, Gerrit Haase!
>
>> Back then there was some postinstallation script which was creating
>> basic files like /etc/profile and other basic things were created with
>> the first login, like /home/ directory, including basic files
>> there.
>
> I've installed 2 or 3 Cygwin suites from scratch in the last year and it was
> fine. If anything cropped up, it is either very recent, or local to your
> environment. Check setup logs for any discrepancies.
> And, of course,
> --
> With best regards,
> Andrey Repin
> Tuesday, March 15, 2016 16:37:10
>
> Sorry for my terrible english...


Well, thanks. I did the installation today, and
/etc/postinstall/base-files-profile.sh obviously didn't run.

Regards,
Gerrit

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



Don't I get /etc/profile with a fresh installation?

2016-03-15 Thread Gerrit Haase
Hello All,

I have some business to do with Cygwin, again. Yeah!

I have a fresh installation now, but found, there is no /etc/profile,
no PATH set besides the Windows inherited PATH, so of course I can not
use the shell, e.g.

-bash-4.3$ which ls
-bash: which: command not found
-bash-4.3$

Also after first invocation of the Shell, there is no HOME directory
created, no files in the Windows Users directory etc.


Back then there was some postinstallation script which was creating
basic files like /etc/profile and other basic things were created with
the first login, like /home/ directory, including basic files
there.



Regards, I think this was working better years ago back in the old
days of Cygwin B20, err... 1.5 or 1.7.

Gerrit
=^..^=

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