Apt cyg error updating setup ini

grep -q "^$curpkg " /etc/setup/installed.db; then apt-cyg show $curpkg \ | perl -ne ' if ($x = /install: ([^\s] )/) if (/\[prev\]/) ' fi done The above will print out the paths of the packages that need downloading, relative to the cygwin mirror root, omitting any packages that are already installed.To download them, I wrote the output to a file Dawid Ferenczy's answer is pretty complete but after I tried almost all of his options I've found that the Chocolatey’s cyg-get was the best (at least the only one that I could get to work). That is, however, difficult to provide in a Cygwin-free environment, such as exists on first installation.Additionally, Windows does not easily allow overwriting of in-use executables so installing a new version of the Cygwin DLL while a package manager is using the DLL is problematic." Cygwin’s setup uses Windows registry to overwrite executables which are in use and this method requires a reboot of Windows.Each time apt-cyg tries to connect to its server, it just can't get response and gets stuck with connecting to it.Since I'm there via SSH, how do I change the download mirror without using graphical interface?


It has features which other package managers don't have.

@vy32: because you didn't help to make them mature? There exist some scripts, which can be used as simple package managers for Cygwin.

But it’s important to know, that they always will be quite limited, because of.... Installing or removing packages is fine, each package manager for Cygwin can do that.

The following is a solution that allowed me to download only the packages I needed, with their dependencies, and copy them to the target for installation.

Here is a bash script that parses the output of \s] )/g) ' \ | sort \ | uniq) depends=$(echo -e "$depends\n$package") for curpkg in $depends; do if !Our Word of the Year choice serves as a symbol of each year’s most meaningful events and lookup trends.



  1. Pingback:

  2. eric   •  

    Celebra ramane prezentarea lui, de fictiune, in filmul Indiana Jones din 1981, regizat de Steven Spielberg.

  3. eric   •  

    I've watched it countless times but am still entertained by it.

  4. eric   •  

    Liberty Mutual Insurance Company also known as Liberty Life Assurance of Boston is a short term and long term disability insurance company that likes to play hardball with your disability benefits.

  5. eric   •  

    1877 in Paris): "Etymologists have wrongly derived this name from the Portuguese Bōa Bahia, or (French: "bonne bai", English: "good bay"), not knowing that the tutelar goddess of this island has been, from remote antiquity, Bomba, or Mamba Dévi, and that she still..., possesses a temple".

  6. eric   •  

    Despite invasion, Multan remained northwest India's premier commercial centre throughout most of the 18th century. After repeated invasions following the collapse of the Mughal Empire, Multan was reduced from being one of the world's most important early-modern commercial centres, to a regional trading town.

  7. eric   •  

    In calculating the number of street and outlaw motorcycle gang members, respondents in each region were asked to select from a series of ranges of numbers.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>