LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Icky Ubuntu cannot download packages (http://www.linuxquestions.org/questions/linux-newbie-8/icky-ubuntu-cannot-download-packages-767779/)

smeezekitty 11-08-2009 06:09 PM

Icky Ubuntu cannot download packages
 
You know what...I do not like Ubuntu!
here is the messages:
Code:

Failed to fetch http://ca.archive.ubuntu.com/ubuntu/pool/main/q/qt4-x11/libqtcore4_4.5.0-0ubuntu4.1_i386.deb 404 Not Found [IP: 91.189.88.40 80]
Failed to fetch http://ca.archive.ubuntu.com/ubuntu/pool/main/q/qt4-x11/libqt4-xml_4.5.0-0ubuntu4.1_i386.deb 404 Not Found [IP: 91.189.88.40 80]
Failed to fetch http://ca.archive.ubuntu.com/ubuntu/pool/main/q/qt4-x11/libqt4-dbus_4.5.0-0ubuntu4.1_i386.deb 404 Not Found [IP: 91.189.88.40 80]
Failed to fetch http://ca.archive.ubuntu.com/ubuntu/pool/main/q/qt4-x11/libqt4-script_4.5.0-0ubuntu4.1_i386.deb 404 Not Found [IP: 91.189.88.40 80]
Failed to fetch http://ca.archive.ubuntu.com/ubuntu/pool/main/q/qt4-x11/libqtgui4_4.5.0-0ubuntu4.1_i386.deb 404 Not Found [IP: 91.189.88.40 80]
Failed to fetch http://ca.archive.ubuntu.com/ubuntu/pool/main/q/qt4-x11/libqt4-designer_4.5.0-0ubuntu4.1_i386.deb 404 Not Found [IP: 91.189.88.40 80]
Failed to fetch http://ca.archive.ubuntu.com/ubuntu/pool/main/q/qt4-x11/libqt4-network_4.5.0-0ubuntu4.1_i386.deb 404 Not Found [IP: 91.189.88.40 80]
Failed to fetch http://ca.archive.ubuntu.com/ubuntu/pool/main/q/qt4-x11/libqt4-sql_4.5.0-0ubuntu4.1_i386.deb 404 Not Found [IP: 91.189.88.40 80]
Failed to fetch http://ca.archive.ubuntu.com/ubuntu/pool/main/q/qt4-x11/libqt4-qt3support_4.5.0-0ubuntu4.1_i386.deb 404 Not Found [IP: 91.189.88.40 80]
Failed to fetch http://ca.archive.ubuntu.com/ubuntu/pool/main/q/qt4-x11/libqt4-sql-mysql_4.5.0-0ubuntu4.1_i386.deb 404 Not Found [IP: 91.189.88.40 80]
Failed to fetch http://ca.archive.ubuntu.com/ubuntu/pool/main/q/qt4-x11/qt4-qtconfig_4.5.0-0ubuntu4.1_i386.deb 404 Not Found [IP: 91.189.88.40 80]
'http://ca.archive.ubuntu.com/ubuntu/404.html'


XavierP 11-08-2009 06:51 PM

Well, I can definitely get to the page from my browser. Is this your main box and does it have internet connectivity? Have you tried a different repository?

smeezekitty 11-08-2009 07:17 PM

Quote:

Originally Posted by XavierP (Post 3749708)
Is this your main box

its on sun virtualbox on top of damn small linux.
Quote:

and does it have internet connectivity?
Posting from it right now!
Quote:

Have you tried a different repository?
How?

evo2 11-08-2009 08:03 PM

Did you do an apt-get update before you did the apt-get upgrade?
Ie please try:

Code:

apt-get update
apt-get upgrade

Regarding other repositories: man sources.list
Basically you just edit /etc/apt/sources.list

Cheers,

Evo2.

smeezekitty 11-08-2009 08:22 PM

heres apt-get update:
Code:

root@xxxx:~# apt-get --allow-unauthenticated update
Get:1 http://ca.archive.ubuntu.com jaunty Release.gpg [189B]
Hit http://ca.archive.ubuntu.com jaunty/main Translation-en_CA
Get:2 http://archive.ubuntu.com jaunty Release.gpg [189B]
Hit http://ca.archive.ubuntu.com jaunty/restricted Translation-en_CA
Ign http://ca.archive.ubuntu.com jaunty/universe Translation-en_CA
Ign http://ca.archive.ubuntu.com jaunty/multiverse Translation-en_CA
Get:3 http://ca.archive.ubuntu.com jaunty-updates Release.gpg [189B]
Ign http://ca.archive.ubuntu.com jaunty-updates/main Translation-en_CA
Ign http://ca.archive.ubuntu.com jaunty-updates/restricted Translation-en_CA
Get:4 http://archive.ubuntu.com jaunty Release [74.6kB]
Ign http://ca.archive.ubuntu.com jaunty-updates/universe Translation-en_CA
Ign http://ca.archive.ubuntu.com jaunty-updates/multiverse Translation-en_CA
Hit http://ca.archive.ubuntu.com jaunty Release
Get:5 http://ca.archive.ubuntu.com jaunty-updates Release [57.9kB]
Ign http://archive.ubuntu.com jaunty Release         
Ign http://ca.archive.ubuntu.com jaunty Release
Err http://ca.archive.ubuntu.com jaunty-updates Release             
 
Hit http://archive.ubuntu.com jaunty/main Sources                   
Hit http://ca.archive.ubuntu.com jaunty/main Packages
Hit http://archive.ubuntu.com jaunty/restricted Sources
Hit http://ca.archive.ubuntu.com jaunty/restricted Packages
Hit http://ca.archive.ubuntu.com jaunty/restricted Sources
Hit http://ca.archive.ubuntu.com jaunty/main Sources
Hit http://ca.archive.ubuntu.com jaunty/multiverse Sources
Hit http://ca.archive.ubuntu.com jaunty/universe Sources
Hit http://ca.archive.ubuntu.com jaunty/universe Packages
Hit http://ca.archive.ubuntu.com jaunty/multiverse Packages
Fetched 569B in 1s (503B/s)
Reading package lists... Done
W: GPG error: http://archive.ubuntu.com jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
W: GPG error: http://ca.archive.ubuntu.com jaunty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://ca.archive.ubuntu.com jaunty-updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5

W: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/dists/jaunty-updates/Release 

W: Some index files failed to download, they have been ignored, or old ones used instead.
W: You may want to run apt-get update to correct these problems
root@xxxx:~#


evo2 11-08-2009 08:35 PM

Looks like that mirror might be out of sync. Try changing your repo by editing your /etc/apt/sources.list. For example change each instance of "ca.archive.ubuntu.com" to "us.archive.ubuntu.com" or "archive.ubuntu.com". Then repeat the 'apt-get updat' and 'apt-get upgrade'.

Evo2.

smeezekitty 11-08-2009 09:06 PM

STUPID APT-GET! it decides to stop working completly if there is One package on the machine that has 1 missing dependincy !! STUPID STUPID STUPID !! you cannot fix it without apt-get working and apt-get doesnt work!! HELP ME!!!! :( :O

evo2 11-08-2009 09:17 PM

Since you asked to nicely...

dpkg --configure --pending

Could help.

As could:

apt-get --fix-missing upgrade


Evo2.

smeezekitty 11-08-2009 09:46 PM

Quote:

Originally Posted by evo2 (Post 3749790)
Since you asked to nicely...

dpkg --configure --pending

Could help.

As could:

apt-get --fix-missing upgrade


Evo2.

now it says dpkg was interrupted please run sudo dpkg <something>*
*s<something> means i forgot the exact message

evo2 11-08-2009 09:53 PM

Quote:

Originally Posted by smeezekitty (Post 3749808)
now it says dpkg was interrupted please run sudo dpkg <something>*
*s<something> means i forgot the exact message

It seems that the error message that you "forgot" told you exactly what to do. I don't see how anyone here can help you if you "forget" what the error messages are, and if you don't follow instructions. Additionally you want questions answered you need to *ask* questions.

Evo2.

smeezekitty 11-08-2009 09:55 PM

Please wait, i am currently rebooting because by host OS crashed LOL.

smeezekitty 11-08-2009 10:26 PM

here is the exact error:
Code:

E: dpkg was interrupted, you should probably run 'sudo dpkg --configure -a' to correct the problem.

evo2 11-08-2009 10:41 PM

Quote:

Originally Posted by smeezekitty (Post 3749835)
here is the exact error:
Code:

E: dpkg was interrupted, you should probably run 'sudo dpkg --configure -a' to correct the problem.

So did you follow the instructions?

Evo2.

smeezekitty 11-08-2009 11:15 PM

Yes, now heres what i get:
Code:

root@xxxx:~# apt-get install dkms libsdl-ttf2.0-0
Reading package lists... Done
Building dependency tree     
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  virtualbox-3.0: Depends: python2.5 (>= 2.5) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


evo2 11-08-2009 11:22 PM

Quote:

Originally Posted by smeezekitty (Post 3749874)
Yes, now heres what i get:
Code:

root@xxxx:~# apt-get install dkms libsdl-ttf2.0-0
Reading package lists... Done
Building dependency tree     
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  virtualbox-3.0: Depends: python2.5 (>= 2.5) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


Please, please, please try to follow the instructions/suggestions that apt gives to to you. Ie.
Code:

apt-get -f install
If you read the apt-get man page you will see that the -f means "fix missing".

Evo2.


All times are GMT -5. The time now is 05:16 PM.