apt-get update:Data connection closed

Graham Todd grahamtodd2 at gmail.com
Tue Jun 5 06:38:14 UTC 2012


On Wed, 30 May 2012 09:10:24 -0500
"Luis Enrique Pomares Nuñez" <enrique at icccv.sld.cu> wrote:

> Hello list
> I had installed a workstation lPC ubuntu 10.04, the problem is whe i
> run
> 
> sudo apt-get update; apt-get -dy dist-upgrade
> Get:1 ftp://ftp.icccv.sld.cu oneiric Release.gpg [198B]
> Get:2 ftp://ftp.icccv.sld.cu/repositorios/oneiric/ oneiric/main 
> Translation-en_US
> Ign ftp://ftp.icccv.sld.cu/repositorios/oneiric/ oneiric/main
> Translation- en_US
> Get:3 ftp://ftp.icccv.sld.cu oneiric Release [40.8kB]
> Ign ftp://ftp.icccv.sld.cu oneiric Release
> Get:4 ftp://ftp.icccv.sld.cu oneiric/main Packages [1,226kB]
> Ign ftp://ftp.icccv.sld.cu oneiric/main
> Packages Get:5 ftp://ftp.icccv.sld.cu oneiric/main Packages
> Ign ftp://ftp.icccv.sld.cu oneiric/main Packages
> Get:6 ftp://ftp.icccv.sld.cu oneiric/main Packages [1,583kB]
> Err ftp://ftp.icccv.sld.cu oneiric/main Packages
>   Data transfer failed, server said 'Data connection closed, file
> transfer packages.gz aborted.  '
> Fetched 198B in 29s (7B/s)   
> W: Failed to fetch 
> ftp://ftp.icccv.sld.cu/repositorios/oneiric/dists/oneiric/main/binary-
> i386/Packages.gz  Data transfer failed, server said 'Data connection 
> closed, file transfer packages.gz aborted.  '
> 
> E: Some index files failed to download, they have been ignored, or
> old ones used instead.
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> Calculating upgrade... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgrade
> 
> When i change the source.list to http method the error occours too,
> when is go to web browser to download the package.gz the browser
> showme an error too, i traced the logs error on the server side so
> seem to be a client side error.
> I try with a virtual machine and curiosly all work fine! 
> i try with ubuntu 12.04 and the same error happen on my machine but
> on a virtual machine work fine, my source.list is OK but i tested it
> on the virtual machine al update, upgrade successfully.
> help me

Try downloading with aptitude (its in the repos) or an ftp package (eg
gftp) and installing. This is what I have to do occasionally, rather
than use apt-get or aptitude
> 
> sorry abaut my english.
> 
> 
> 
Don't fret over that (its better than my Spanish), and you explained
yourself well.

--Graham Todd




More information about the ubuntu-users mailing list