gosfon / apt-cyg

Automatically exported from code.google.com/p/apt-cyg
MIT License
0 stars 0 forks source link

apt-cyg downloading the html file and not the package #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I've found this error several times, but I'm going to give you an example
of just one package this is occurring with:

The example I am giving is attempting to install the kdelibs package Please
note that apt-cygports is an alias for the following 
alias apt-cygports='apt-cyg -m ftp://sourceware.org/pub/cygwinports/'

When I search for the kdelibs I get this:

$ apt-cygports -u find kdelibs
Working directory is /cygdrive/c/temp/cygwin
Mirror is ftp://sourceware.org/pub/cygwinports/

Searching for installed packages matching kdelibs:
kdelibs-data
kdelibs-devel
kdelibs4

Searching for installable packages matching kdelibs:
kdelibs
kdelibs-bin
kdelibs-data
kdelibs-devel
kdelibs4

However when I go to install kdelibs it always fails:

$ apt-cygports -u install kdelibs
Working directory is /cygdrive/c/temp/cygwin
Mirror is ftp://sourceware.org/pub/cygwinports/

Installing kdelibs
Found package kdelibs
basename: missing operand
Try `basename --help' for more information.
--2009-09-07 17:27:50-- ftp://sourceware.org/pub/cygwinports//
=> `.listing'
Resolving sourceware.org... 209.132.176.174
Connecting to sourceware.org|209.132.176.174|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/cygwinports/ ... done.
==> PASV ... done. ==> LIST ... done.

[ <=> ] 729 --.-K/s in 0s

2009-09-07 17:27:52 (2.37 MB/s) - `.listing' saved [729]

Removed `.listing'.
Wrote HTML-ized index to `index.html' [1349].

Why does it come back as a HTML listing rather than just install the package??

Using apt-cyg version 0.57 on windows xp sp3 with cygwin

Original issue reported on code.google.com by kevhil...@gmail.com on 12 Sep 2009 at 9:03

GoogleCodeExporter commented 8 years ago
kdelibs is a source package; I suggest installing the corresponding binary 
package,
kdelibs4.  apt-cyg could be enhanced to install source packages with assistance 
from
the cygwinports developers.

Original comment by sjung...@gmail.com on 15 Sep 2009 at 2:56