LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   APT-GET Error (https://www.linuxquestions.org/questions/debian-26/apt-get-error-537491/)

carlosinfl 03-14-2007 02:57 PM

APT-GET Error
 
I was attempting to get apt-get update running on this server (sarge) and I continously get this error over and over...

Does anyone know what I am doing wrong or how I can fix this problem?

Code:

bishop:~# cat /etc/apt/sources.list
#deb http://10.1.8.21/debs ./
deb ftp://ftp.debian.org/debian/ stable main
deb-src ftp://ftp.debian.org/debian/ stable main

deb http://security.debian.org/ stable/updates main
bishop:~# apt-get clean
bishop:~# apt-get update
Err ftp://ftp.debian.org stable/main Packages
  PASS failed, server said: USER/PASS command line too long
Err ftp://ftp.debian.org stable/main Release
  PASS failed, server said: USER/PASS command line too long
Err ftp://ftp.debian.org stable/main Sources
  PASS failed, server said: USER/PASS command line too long
Err ftp://ftp.debian.org stable/main Release
  PASS failed, server said: USER/PASS command line too long
Hit http://security.debian.org stable/updates/main Packages
Hit http://security.debian.org stable/updates/main Release
Failed to fetch ftp://ftp.debian.org/debian/dists/stable/main/binary-i386/Packages.gz  PASS failed, server said: USER/PASS command line too long
Failed to fetch ftp://ftp.debian.org/debian/dists/stable/main/binary-i386/Release  PASS failed, server said: USER/PASS command line too long
Failed to fetch ftp://ftp.debian.org/debian/dists/stable/main/source/Sources.gz  PASS failed, server said: USER/PASS command line too long
Failed to fetch ftp://ftp.debian.org/debian/dists/stable/main/source/Release  PASS failed, server said: USER/PASS command line too long
Reading Package Lists... Done
W: Couldn't stat source package list ftp://ftp.debian.org stable/main Packages (/var/lib/apt/lists/ftp.debian.org_debian_dists_stable_main_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.


lurko 03-14-2007 06:57 PM

I definitely don't know what you did or what's wrong there, I can't find much of anything on google(admittedly not trying too hard). I would try an http repo and see how that goes...

carlosinfl 03-15-2007 07:07 AM

Is there a place on Debians site that list the default repo's so I can copy and paste them from my browser? I think someone changed stuff around and that may have caused some issues.

Thanks!

nx5000 03-15-2007 08:20 AM

http://www.debian.org/mirror/list

You could use http mirrors, http is much simpler than ftp.

Maybe something in your /etc/apt/apt.conf or /etc/apt/apt.conf.d
?
Do you have a ftp_proxy environment variable?
echo $ftp_proxy

BillyGalbreath 03-15-2007 12:00 PM

dont us the FTP protocol!!!
Quote:

Err ftp://ftp.debian.org stable/main Packages
PASS failed, server said: USER/PASS command line too long
Use HTTP
Quote:

deb http://ftp.debian.org/debian/ stable main
Change this in /etc/apt/sources.list

ids 03-22-2007 03:21 AM

I downloaded manually that Packages.gz file, it was 1,6 Mbyte and as i checked it's a plain text, not a gzip file so this is the problem... I hope they will change it...


All times are GMT -5. The time now is 08:40 PM.