LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-14-2007, 02:57 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
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.
 
Old 03-14-2007, 06:57 PM   #2
lurko
Member
 
Registered: Jun 2006
Location: Ontario, Canada
Distribution: Debian
Posts: 448

Rep: Reputation: 35
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...
 
Old 03-15-2007, 07:07 AM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
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!
 
Old 03-15-2007, 08:20 AM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
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
 
Old 03-15-2007, 12:00 PM   #5
BillyGalbreath
Member
 
Registered: Nov 2005
Location: Houston Texas
Distribution: Debian Sid
Posts: 379

Rep: Reputation: 31
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
 
Old 03-22-2007, 03:21 AM   #6
ids
LQ Newbie
 
Registered: Mar 2007
Posts: 1

Rep: Reputation: 0
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get error duffmckagan Debian 5 02-18-2007 07:36 PM
apt-get ERROR robramm Linux - General 2 05-21-2005 04:02 PM
apt-get error wedgeworth Linux - Software 1 04-16-2004 11:30 AM
apt-get error installing xlibs 4.2.1-14, apt-get won't work at all now pib Debian 1 12-10-2003 11:39 PM
apt-get Error goal2guy Linux - Software 0 12-02-2003 06:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration