delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/24/16:07:31

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Received-SPF: pass (google.com: domain of d DOT sastre DOT medina AT gmail DOT com designates 10.180.92.227 as permitted sender) client-ip=10.180.92.227;
Authentication-Results: mr.google.com; spf=pass (google.com: domain of d DOT sastre DOT medina AT gmail DOT com designates 10.180.92.227 as permitted sender) smtp.mail=d DOT sastre DOT medina AT gmail DOT com; dkim=pass header.i=d DOT sastre DOT medina AT gmail DOT com
Date: Fri, 24 Feb 2012 22:07:03 +0100
From: David Sastre Medina <d DOT sastre DOT medina AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Problem after upgrading from 1.7.9 to 1.7.10-1 - system commands not found
Message-ID: <20120224210703.GA6433@jethro.local.lan>
References: <CAAcQJAYBgSw0Vj4SBjQT3PNgiAZPHdqnpJ_5PL1=r66e-WXytA AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAAcQJAYBgSw0Vj4SBjQT3PNgiAZPHdqnpJ_5PL1=r66e-WXytA@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

--GvXjxJ+pjyke8COw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Feb 24, 2012 at 03:44:46PM -0500, Bilig Ordos wrote:
> I've been happy with 1.7.9, but couldn't resist my curiosity so ran
> the 1.7.10-1 setup today. During the process it complained that Cygwin
> is running and offered me options to either stop the Cygwin and try
> again, or continue and reboot after it is done. So I selected to
> continue and then rebooted.
>=20
> But when I launched the Cywin console/Mintty, I did not have most of
> the system commands, such as "ls" and "which", but commands like "cd"
> and "alias" are there.
>=20
> I tried running the setup again (made sure all the packages I used to
> have are selected) but did not help. rebooted again and it is the
> same.
>=20
> How can I recover from this? I hate to reinstall from scratch as doing
> that will make me lose a lot of customization, such as ssh keys, etc.
> Please see below for examples and logs.

Don't panic. Your keys are still there. Also, please don't put a log
into the body of the email. It's a better idea to attach it.

> Problem reports:       http://cygwin.com/problems.html

Your problem could have been caused by incorrect permissions in the latest=
=20
base-files' package contents.

> 2012/02/24 14:33:39DownloadedC:\Users\boyun\Downloads/http%3a%2f%2fcygwin=
.mirrors.hoobly.com%2f/release/base-files/base-files-4.0-9.tar.bz2
> 2012/02/24 14:34:07Running preremove script for  base-files
> 2012/02/24 14:34:07running: C:\cygwin\bin\bash.exe --norc --noprofile
> /etc/preremove/base-files.sh
> 2012/02/24 14:34:10Uninstalling base-files
> 2012/02/24 14:34:11Extracting from
> file://C:\Users\boyun\Downloads/http%3a%2f%2fcygwin.mirrors.hoobly.com%2f=
/release/base-files/base-files-4.0-9.tar.bz2
> 2012/02/24 14:35:10running: C:\cygwin\bin\bash.exe --norc
> --noprofile/etc/postinstall/base-files-profile.sh
> 2012/02/24 14:35:14running: C:\cygwin\bin\bash.exe --norc
> --noprofile/etc/postinstall/base-files-mketc.sh

Please check and correct perms if necessary in:

/etc/bash.bash_logout
/etc/profile.d
/etc/profile.d/tzset.sh
/etc/profile.d/tzset.csh
/etc/profile.d/lang.csh
/etc/profile.d/lang.sh
/etc/bash.bashrc
/etc/skel/.inputrc
/etc/skel/.profile
/etc/skel/.bashrc
/etc/skel/.bash_profile
/etc/profile

All of them should have owner/group root.root and 644 perms (rw-r--r--)
Afterwards, close all cygwin apps and restart a mintty session.
Please report back if that solved your issue.

--=20
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56

--GvXjxJ+pjyke8COw
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iF4EAREIAAYFAk9H+/cACgkQ95urBFKZ7FYHfgD/TYrUHN61s6rmQUuN2Dj81rF0
TEitQbZuI8y37dswo/UA/1CT5KwLS0ft+uyBTuJBfDO2YYYDtcXB2JnIp9wdBqAx
=jczh
-----END PGP SIGNATURE-----

--GvXjxJ+pjyke8COw--

- Raw text -


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