Problem in downloading packages file?

Asked by shailesh

One problem is coming when i am going to update or install any software.After completion of one file it stopped for some times and then started again downloading.It time taken is more.Then update manager or synaptic package manager completely stopped working and asks
"Some of the file can not be retrieved from the server.Do you want to conyinue."
While earlier it is not so.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Hemanth (hemanth-hm) said :
#1

Try to restart your modem ....it sometimes happens to bad network ...

Revision history for this message
shailesh (shaileshagarwal1) said :
#2

This happenes Even Files are downloading at 150 or more kb/s.
And i already tried this one.

Revision history for this message
Gábor Náray (xlii) said :
#3

You say, the download goes down, but then restarts, does this some time and finally drops an error? After downloading the installer looks for crc and md5 (and more) checksums. If the locally counted checksums aren't matching with the ones from the internet, it means the download went bad. and likely to try again.

Is this the problem with one specific file, or with all files? If it is with all files... I would only think it's the net's fault - which is your business to fix. Try download other things from the net, which has populated md5 checksums, and verify this. If yes, call your internet provider.

The deb installer - like all other installers - likes to keep the order of installing things - because order is important as there are preresquities - and downloading goes in the same order too. this means, if your system thinks that there is a basic element of your system, which needs to be upgraded, and that is needed as preresquite for a lot's of thinks, then it's very likely that no matter what you want to install, this specific packet wants to come with too. (for example glibc packet is exactly like that)

What I want to point out. Maybe you encounter downloading problems because no matter what you TRIED to install that specific package was involved.

the other half of my tale is, that sometimes broken packages get on the repositories. It doesn't happen often, and it's very unlikely that two broken packages would be in the system at the same time, but they exist. This means usually, that the packet body is changed, but the checksum code is not, so as the download goes down, it seems to fail.

Why i suspect that this is the problem?

Because the installer can have no malfunction during download, as there is nothing, what it could do wrong. It just downloads a file. It uses the same technique, as anything else. Which means, there can be error with the setup of the net - if there is no internet. if there is internet, then error can be in the repositories, but this is a rare case, and there can be problem with the net.

Finally, it could be, that you screewed the error report.

Revision history for this message
Gábor Náray (xlii) said :
#4

oh well, yes, how to test if there is error with a specific package: start synaptic from the system->administrator, and choose only amoeba-data to install. I choosed this, because this has no preresquities - as it is a data file for a game. If installer screewes this one too, but downloaded packages from the internet are okay, there is some error in your system.

In this case I recommend try to change the country of the repositories. choose "software sources" or something like that - has an icon similar to synaptic - from system->administration, and change the "download from here" to something else. I guess you are downloading from a server in your country. In this case choose the main server. it will do. If the problem is solved this way, then report the error of the repository here. Othervise ... look above, or be creative, or wait for someone else.

Revision history for this message
shailesh (shaileshagarwal1) said :
#5

This problem with all the files and softwares.Whereas 15 days back it is not so.

Revision history for this message
shailesh (shaileshagarwal1) said :
#6

Amoeba-data is not there.Even amoeba is not there.

Revision history for this message
Gábor Náray (xlii) said :
#7

But your net is working otherwise?

Then you messed something around the config files of the apt-get.

first you should try to look through /etc/apt/sources.list. You need
superuser rights to edit it. use the command

sudo gedit /etc/apt/sources.list

You might want to look through
http://www.debian.org/doc/manuals/apt-howto/

There is a chapter called "basic configuration"

Good luck with that.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#8

You must be connected to the net (to test it please visit an online webpage usin Firefox)

Then please open a Terminal from the menu Applications → Accessories → Terminal and type:

sudo dpkg --configure -a

give your user password when requested, you don't see nothing when you type it, then press enter.

Then type:

sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoremove

If you get errors please report here.

Hope this helps

Revision history for this message
aroravicky (vikasa) said :
#9

Hi,

I have the same problem and i can confirm that i face this problem only with Ubuntu 10.04 desktop edition only.
I have created two virtual machines, one ubuntu desktop and another ubuntu 64 bit, i didn't face any problem with ubuntu server edition while downloading and installing any packages through the terminal but this problem is certainly there with the desktop edition.

Many Thanks,
Vikas

Can you help with this problem?

Provide an answer of your own, or ask shailesh for more information if necessary.

To post a message you must log in.