Installing more cygwin packages witohut using setup
I have a Virtual Machine entirely devoted only to VPN connections to different servers. I cannot make any modification on it or I risk to lose some configurations that are needed for some VPNs.
In this VM (Windos XP 32bit based) there is already a cygwin installed. I want to install also the expect package in order to run automatic scripts for testing the VPN connections, but if I run the setup command, nearly at the end of the update process a "cancelSynchronousio cannot be located in the dynamic link library kernel32.dll" error is shown and from then on I cannot use cygwin anymore: any time I try to launch cygwin the same error is shown.
Now the question: is there a way to add a cygwin package without running the setup command?
cygwin windows-xp expect
add a comment |
I have a Virtual Machine entirely devoted only to VPN connections to different servers. I cannot make any modification on it or I risk to lose some configurations that are needed for some VPNs.
In this VM (Windos XP 32bit based) there is already a cygwin installed. I want to install also the expect package in order to run automatic scripts for testing the VPN connections, but if I run the setup command, nearly at the end of the update process a "cancelSynchronousio cannot be located in the dynamic link library kernel32.dll" error is shown and from then on I cannot use cygwin anymore: any time I try to launch cygwin the same error is shown.
Now the question: is there a way to add a cygwin package without running the setup command?
cygwin windows-xp expect
add a comment |
I have a Virtual Machine entirely devoted only to VPN connections to different servers. I cannot make any modification on it or I risk to lose some configurations that are needed for some VPNs.
In this VM (Windos XP 32bit based) there is already a cygwin installed. I want to install also the expect package in order to run automatic scripts for testing the VPN connections, but if I run the setup command, nearly at the end of the update process a "cancelSynchronousio cannot be located in the dynamic link library kernel32.dll" error is shown and from then on I cannot use cygwin anymore: any time I try to launch cygwin the same error is shown.
Now the question: is there a way to add a cygwin package without running the setup command?
cygwin windows-xp expect
I have a Virtual Machine entirely devoted only to VPN connections to different servers. I cannot make any modification on it or I risk to lose some configurations that are needed for some VPNs.
In this VM (Windos XP 32bit based) there is already a cygwin installed. I want to install also the expect package in order to run automatic scripts for testing the VPN connections, but if I run the setup command, nearly at the end of the update process a "cancelSynchronousio cannot be located in the dynamic link library kernel32.dll" error is shown and from then on I cannot use cygwin anymore: any time I try to launch cygwin the same error is shown.
Now the question: is there a way to add a cygwin package without running the setup command?
cygwin windows-xp expect
cygwin windows-xp expect
asked Jan 19 at 13:53
sthor69sthor69
385621
385621
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
You can install manually the older package. As it seldom changes, depending on the architecture they should be:
http://mirrors.kernel.org/sourceware/cygwin/x86/release/expect/expect-5.45-1.tar.bz2
http://mirrors.kernel.org/sourceware/cygwin/x86_64/release/expect/expect-5.45-2.tar.bz2
assuming the 32bit and that you are able to download it in some way
tar -xf expect-5.45-1.tar.bz2 -C /
tar -tf expect-5.45-1.tar.bz2 > expect.lst
gzip expect.lst
mv expect.lst.gz /etc/setup
and then add a line to /etc/setup/installed.db
with
expect expect-5.45-1.tar.bz2 1
the file is alphabetically sorted
This was exactely what I was looking for. But when I launch 'expect' from the command line the result is the following error "C:/cygwin/bin/expect.exe: error while loading shared libraries: libtcl8.5.dll: cannot open shared object file: No such file or directory". I tryied to solve it googling around but I failed
– sthor69
Jan 21 at 8:10
can I download the tcl-8.5.18-1.tar.xz and follow the same steps you mentioned for the expect tar? Exactely the same (but for the filenames)?
– sthor69
Jan 21 at 11:42
It is possible. ftp.gnome.org/mirror/cygwin/x86/release/tcl
– matzeri
Jan 21 at 16:00
I just tried and it works!!! thx
– sthor69
Jan 21 at 16:09
add a comment |
The current cygwin does not work on Windows XP; so it is not only the setup
that will have problem but also most of the packages.
For your scope you need to use a older version of setup
http://www.crouchingtigerhiddenfruitbat.org/Cygwin/timemachine.html
and an old version of the packages
As I said in the post, cygwin is already installed in the VM. I ran the setup.exe that is the same version of the working cygwin, so it is already an older version. I also tried to dowload a 2.874 version from scratch but I lost all the config I needed to use the VPNs, so it is not a viable solution
– sthor69
Jan 19 at 21:56
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54267793%2finstalling-more-cygwin-packages-witohut-using-setup%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can install manually the older package. As it seldom changes, depending on the architecture they should be:
http://mirrors.kernel.org/sourceware/cygwin/x86/release/expect/expect-5.45-1.tar.bz2
http://mirrors.kernel.org/sourceware/cygwin/x86_64/release/expect/expect-5.45-2.tar.bz2
assuming the 32bit and that you are able to download it in some way
tar -xf expect-5.45-1.tar.bz2 -C /
tar -tf expect-5.45-1.tar.bz2 > expect.lst
gzip expect.lst
mv expect.lst.gz /etc/setup
and then add a line to /etc/setup/installed.db
with
expect expect-5.45-1.tar.bz2 1
the file is alphabetically sorted
This was exactely what I was looking for. But when I launch 'expect' from the command line the result is the following error "C:/cygwin/bin/expect.exe: error while loading shared libraries: libtcl8.5.dll: cannot open shared object file: No such file or directory". I tryied to solve it googling around but I failed
– sthor69
Jan 21 at 8:10
can I download the tcl-8.5.18-1.tar.xz and follow the same steps you mentioned for the expect tar? Exactely the same (but for the filenames)?
– sthor69
Jan 21 at 11:42
It is possible. ftp.gnome.org/mirror/cygwin/x86/release/tcl
– matzeri
Jan 21 at 16:00
I just tried and it works!!! thx
– sthor69
Jan 21 at 16:09
add a comment |
You can install manually the older package. As it seldom changes, depending on the architecture they should be:
http://mirrors.kernel.org/sourceware/cygwin/x86/release/expect/expect-5.45-1.tar.bz2
http://mirrors.kernel.org/sourceware/cygwin/x86_64/release/expect/expect-5.45-2.tar.bz2
assuming the 32bit and that you are able to download it in some way
tar -xf expect-5.45-1.tar.bz2 -C /
tar -tf expect-5.45-1.tar.bz2 > expect.lst
gzip expect.lst
mv expect.lst.gz /etc/setup
and then add a line to /etc/setup/installed.db
with
expect expect-5.45-1.tar.bz2 1
the file is alphabetically sorted
This was exactely what I was looking for. But when I launch 'expect' from the command line the result is the following error "C:/cygwin/bin/expect.exe: error while loading shared libraries: libtcl8.5.dll: cannot open shared object file: No such file or directory". I tryied to solve it googling around but I failed
– sthor69
Jan 21 at 8:10
can I download the tcl-8.5.18-1.tar.xz and follow the same steps you mentioned for the expect tar? Exactely the same (but for the filenames)?
– sthor69
Jan 21 at 11:42
It is possible. ftp.gnome.org/mirror/cygwin/x86/release/tcl
– matzeri
Jan 21 at 16:00
I just tried and it works!!! thx
– sthor69
Jan 21 at 16:09
add a comment |
You can install manually the older package. As it seldom changes, depending on the architecture they should be:
http://mirrors.kernel.org/sourceware/cygwin/x86/release/expect/expect-5.45-1.tar.bz2
http://mirrors.kernel.org/sourceware/cygwin/x86_64/release/expect/expect-5.45-2.tar.bz2
assuming the 32bit and that you are able to download it in some way
tar -xf expect-5.45-1.tar.bz2 -C /
tar -tf expect-5.45-1.tar.bz2 > expect.lst
gzip expect.lst
mv expect.lst.gz /etc/setup
and then add a line to /etc/setup/installed.db
with
expect expect-5.45-1.tar.bz2 1
the file is alphabetically sorted
You can install manually the older package. As it seldom changes, depending on the architecture they should be:
http://mirrors.kernel.org/sourceware/cygwin/x86/release/expect/expect-5.45-1.tar.bz2
http://mirrors.kernel.org/sourceware/cygwin/x86_64/release/expect/expect-5.45-2.tar.bz2
assuming the 32bit and that you are able to download it in some way
tar -xf expect-5.45-1.tar.bz2 -C /
tar -tf expect-5.45-1.tar.bz2 > expect.lst
gzip expect.lst
mv expect.lst.gz /etc/setup
and then add a line to /etc/setup/installed.db
with
expect expect-5.45-1.tar.bz2 1
the file is alphabetically sorted
answered Jan 20 at 12:14
matzerimatzeri
3,932268
3,932268
This was exactely what I was looking for. But when I launch 'expect' from the command line the result is the following error "C:/cygwin/bin/expect.exe: error while loading shared libraries: libtcl8.5.dll: cannot open shared object file: No such file or directory". I tryied to solve it googling around but I failed
– sthor69
Jan 21 at 8:10
can I download the tcl-8.5.18-1.tar.xz and follow the same steps you mentioned for the expect tar? Exactely the same (but for the filenames)?
– sthor69
Jan 21 at 11:42
It is possible. ftp.gnome.org/mirror/cygwin/x86/release/tcl
– matzeri
Jan 21 at 16:00
I just tried and it works!!! thx
– sthor69
Jan 21 at 16:09
add a comment |
This was exactely what I was looking for. But when I launch 'expect' from the command line the result is the following error "C:/cygwin/bin/expect.exe: error while loading shared libraries: libtcl8.5.dll: cannot open shared object file: No such file or directory". I tryied to solve it googling around but I failed
– sthor69
Jan 21 at 8:10
can I download the tcl-8.5.18-1.tar.xz and follow the same steps you mentioned for the expect tar? Exactely the same (but for the filenames)?
– sthor69
Jan 21 at 11:42
It is possible. ftp.gnome.org/mirror/cygwin/x86/release/tcl
– matzeri
Jan 21 at 16:00
I just tried and it works!!! thx
– sthor69
Jan 21 at 16:09
This was exactely what I was looking for. But when I launch 'expect' from the command line the result is the following error "C:/cygwin/bin/expect.exe: error while loading shared libraries: libtcl8.5.dll: cannot open shared object file: No such file or directory". I tryied to solve it googling around but I failed
– sthor69
Jan 21 at 8:10
This was exactely what I was looking for. But when I launch 'expect' from the command line the result is the following error "C:/cygwin/bin/expect.exe: error while loading shared libraries: libtcl8.5.dll: cannot open shared object file: No such file or directory". I tryied to solve it googling around but I failed
– sthor69
Jan 21 at 8:10
can I download the tcl-8.5.18-1.tar.xz and follow the same steps you mentioned for the expect tar? Exactely the same (but for the filenames)?
– sthor69
Jan 21 at 11:42
can I download the tcl-8.5.18-1.tar.xz and follow the same steps you mentioned for the expect tar? Exactely the same (but for the filenames)?
– sthor69
Jan 21 at 11:42
It is possible. ftp.gnome.org/mirror/cygwin/x86/release/tcl
– matzeri
Jan 21 at 16:00
It is possible. ftp.gnome.org/mirror/cygwin/x86/release/tcl
– matzeri
Jan 21 at 16:00
I just tried and it works!!! thx
– sthor69
Jan 21 at 16:09
I just tried and it works!!! thx
– sthor69
Jan 21 at 16:09
add a comment |
The current cygwin does not work on Windows XP; so it is not only the setup
that will have problem but also most of the packages.
For your scope you need to use a older version of setup
http://www.crouchingtigerhiddenfruitbat.org/Cygwin/timemachine.html
and an old version of the packages
As I said in the post, cygwin is already installed in the VM. I ran the setup.exe that is the same version of the working cygwin, so it is already an older version. I also tried to dowload a 2.874 version from scratch but I lost all the config I needed to use the VPNs, so it is not a viable solution
– sthor69
Jan 19 at 21:56
add a comment |
The current cygwin does not work on Windows XP; so it is not only the setup
that will have problem but also most of the packages.
For your scope you need to use a older version of setup
http://www.crouchingtigerhiddenfruitbat.org/Cygwin/timemachine.html
and an old version of the packages
As I said in the post, cygwin is already installed in the VM. I ran the setup.exe that is the same version of the working cygwin, so it is already an older version. I also tried to dowload a 2.874 version from scratch but I lost all the config I needed to use the VPNs, so it is not a viable solution
– sthor69
Jan 19 at 21:56
add a comment |
The current cygwin does not work on Windows XP; so it is not only the setup
that will have problem but also most of the packages.
For your scope you need to use a older version of setup
http://www.crouchingtigerhiddenfruitbat.org/Cygwin/timemachine.html
and an old version of the packages
The current cygwin does not work on Windows XP; so it is not only the setup
that will have problem but also most of the packages.
For your scope you need to use a older version of setup
http://www.crouchingtigerhiddenfruitbat.org/Cygwin/timemachine.html
and an old version of the packages
answered Jan 19 at 19:24
matzerimatzeri
3,932268
3,932268
As I said in the post, cygwin is already installed in the VM. I ran the setup.exe that is the same version of the working cygwin, so it is already an older version. I also tried to dowload a 2.874 version from scratch but I lost all the config I needed to use the VPNs, so it is not a viable solution
– sthor69
Jan 19 at 21:56
add a comment |
As I said in the post, cygwin is already installed in the VM. I ran the setup.exe that is the same version of the working cygwin, so it is already an older version. I also tried to dowload a 2.874 version from scratch but I lost all the config I needed to use the VPNs, so it is not a viable solution
– sthor69
Jan 19 at 21:56
As I said in the post, cygwin is already installed in the VM. I ran the setup.exe that is the same version of the working cygwin, so it is already an older version. I also tried to dowload a 2.874 version from scratch but I lost all the config I needed to use the VPNs, so it is not a viable solution
– sthor69
Jan 19 at 21:56
As I said in the post, cygwin is already installed in the VM. I ran the setup.exe that is the same version of the working cygwin, so it is already an older version. I also tried to dowload a 2.874 version from scratch but I lost all the config I needed to use the VPNs, so it is not a viable solution
– sthor69
Jan 19 at 21:56
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54267793%2finstalling-more-cygwin-packages-witohut-using-setup%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown