This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Setup loads gcc-2.95.2-6 over gcc 2.95.2-7


At 20:33 01-02-06 -0600, you wrote:
>are you remembering to click experimental the second time through?
>
>are you "downloading from internet" against multiple mirrors
>to get all the latest things, then running "installing from
>local directory" once? IF SO, then that may be the problem,
>as the *last* mirror you contacted is the one to supply the
>setup.ini that you'll use, and if it's a stagnate mirror
>*cough*utk*cough* then you'll end up not seeing any of the
>newer files, or changes to what's "current" that were present
>on the fresher mirrors. (been there, done that - it forced me
>to go read DJ's excelent doc on setup.ini....)

gcc-2.95.2-7 was not supposed to be experimental, so many users 
unintentionaly overwrote it with gcc-2.95.2-6 while updating something else.

Setup problems show up even when setup.ini is downloaded from a recent mirror.
One problem is when a package with no version number (e.g., bison.tar.gz) 
is already installed; later, someone produces a newer edition with a 
version number (e.g. bison-1.28-1.tar.gz). Setup will download the new 
edition but will not update correctly the installed package database. If 
you run Setup again, it will still consider that version "0" is installed, 
even if version 1.28-1 was loaded and installed previously, and Setup will 
propose to load it and install it again. Needless to say that this wastes 
bandwidth. You have to delete the "0" version package (e.g., 
latest/bison/bison.tar.gz) for Setup to realize that a later version was 
indeed installed.

Another problem is with the inetutils package. Setup never agrees that it 
has already downloaded and installed version 1.3.2-10. It always think that 
1.3.2-8 is installed, so it proposes to download and install 1.3.2-10 again 
and again. Here's the relevant line in /etc/setup/installed.db:

$ grep inetutils /etc/setup/installed.db
inetutils latest/inetutils/inetutils-1.3.2-10.tar.gz 255830

Here's the relevant part of setup.ini:

@ inetutils
version: 1.3.2-10
install: latest/inetutils/inetutils-1.3.2-10.tar.gz 255830
source:  latest/inetutils/inetutils-1.3.2-10-src.tar.gz 480858
[prev]
version: 1.3.2-8
install: latest/inetutils/inetutils-1.3.2-8.tar.gz 248312
source:  latest/inetutils/inetutils-1.3.2-8-src.tar.gz 480165

Speculation: 1.3.2-10 is less than 1.3.2-8 using strcmp, so setup thinks it 
is older.


André Bleau, ing., associé de recherche
bleau@igb.umontreal.ca

Laboratoire de recherche en Imagerie et en Orthopédie
École de Technologie Supérieure


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]