LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-09-2004, 03:19 PM   #1
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Rep: Reputation: 30
apt-get seems broken


A while back I tried to apt-get something and the debian FTP was down so it never fetched.

Now, when I try to install like the example below, i get an error in the example below.

As you can see, it's still hung up on getting binutils which failed to get weeks ago when the server was down. Apparently, the debian server is still down, and I can't get any package until binutils can download.

Any ideas? Will my apt-get be indefinately unworkable until someone notices and reports the outage of these repositorys?

root@16[~]# apt-get install mrtg
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
mingw32: Depends: mingw32-binutils but it is not going to be installed
Depends: mingw32-runtime (>= 2.2) but it is not going to be installed
mrtg: Depends: libsnmp-session-perl (>= 0.93) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@16[~]# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
mingw32-binutils mingw32-runtime
The following NEW packages will be installed:
mingw32-binutils mingw32-runtime
0 upgraded, 2 newly installed, 0 to remove and 371 not upgraded.
1 not fully installed or removed.
Need to get 5490kB of archives.
After unpacking 26.8MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 ftp://ftp.us.debian.org testing/main mingw32-binutils 2.14.90.20030807.1-1 [3408kB]
Err ftp://ftp.us.debian.org testing/main mingw32-binutils 2.14.90.20030807.1-1
Unable to fetch file, server said 'Failed to open file. ' [IP: 208.185.25.35 21]
Get:2 ftp://ftp.us.debian.org testing/main mingw32-runtime 3.3-2 [2083kB]
Err ftp://ftp.us.debian.org testing/main mingw32-runtime 3.3-2
Unable to fetch file, server said 'Failed to open file. ' [IP: 208.185.25.35 21]
Failed to fetch ftp://ftp.us.debian.org/debian/pool/...7.1-1_i386.deb Unable to fetch file, server said 'Failed to open file. ' [IP: 208.185.25.35 21]
Failed to fetch ftp://ftp.us.debian.org/debian/pool/..._3.3-2_all.deb Unable to fetch file, server said 'Failed to open file. ' [IP: 208.185.25.35 21]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root@16[~]#


ALSO
Getting lots of errors doing apt-get update

root@16[~]# apt-get update
Hit http://2004.mepis.org testing/main Packages
Hit http://2004.mepis.org testing/main Release
Err http://download.videolan.org sid/main Packages
404 Not Found
Ign http://download.videolan.org sid/main Release
Get:1 ftp://ftp.nerim.net unstable/main Packages [17.4kB]
Hit ftp://non-us.debian.org testing/non-US/main Packages
Hit ftp://ftp.nerim.net unstable/main Release
Hit ftp://non-us.debian.org testing/non-US/main Release
Hit ftp://non-us.debian.org testing/non-US/contrib Packages
Hit ftp://non-us.debian.org testing/non-US/contrib Release
Hit ftp://non-us.debian.org testing/non-US/non-free Packages
Hit ftp://non-us.debian.org testing/non-US/non-free Release
Hit ftp://non-us.debian.org unstable/non-US/main Packages
Get:2 ftp://ftp.us.debian.org testing/main Packages [3181kB]
Hit ftp://non-us.debian.org unstable/non-US/main Release
Hit ftp://non-us.debian.org unstable/non-US/contrib Packages
Hit ftp://non-us.debian.org unstable/non-US/contrib Release
Hit ftp://non-us.debian.org unstable/non-US/non-free Packages
Hit ftp://non-us.debian.org unstable/non-US/non-free Release
Get:3 ftp://ftp.us.debian.org testing/main Release [81B]
Get:4 ftp://ftp.us.debian.org testing/contrib Packages [56.4kB]
Get:5 ftp://ftp.us.debian.org testing/contrib Release [84B]
Get:6 ftp://ftp.us.debian.org testing/non-free Packages [60.8kB]
Get:7 ftp://ftp.us.debian.org testing/non-free Release [85B]
Get:8 ftp://ftp.us.debian.org unstable/main Packages [3365kB]
Get:9 ftp://ftp.us.debian.org unstable/main Release [82B]
Get:10 ftp://ftp.us.debian.org unstable/contrib Packages [74.5kB]
Get:11 ftp://ftp.us.debian.org unstable/contrib Release [85B]
Get:12 ftp://ftp.us.debian.org unstable/non-free Packages [68.5kB]
Get:13 ftp://ftp.us.debian.org unstable/non-free Release [86B]
Get:14 ftp://metalab.unc.edu unstable/main Packages
Err ftp://metalab.unc.edu unstable/main Packages
Unable to fetch file, server said '/pub/linux/devel/lang/java/blackdown.org/debian/dists/unstable/main/binary-i386/Packages.gz: No such file or directory '
Get:15 ftp://metalab.unc.edu unstable/main Release
Ign ftp://metalab.unc.edu unstable/main Release
Get:16 ftp://metalab.unc.edu unstable/non-free Packages [1554B]
Err ftp://metalab.unc.edu unstable/non-free Packages
Unable to fetch file, server said 'No Transfer Timeout (300 seconds): closing control connection. '
Err ftp://metalab.unc.edu unstable/non-free Release
Server closed the connection
Fetched 6824kB in 5m32s (20.5kB/s)
Failed to fetch http://download.videolan.org/pub/vid...86/Packages.gz 404 Not Found
Failed to fetch ftp://metalab.unc.edu/pub/linux/deve...86/Packages.gz Unable to fetch file, server said '/pub/linux/devel/lang/java/blackdown.org/debian/dists/unstable/main/binary-i386/Packages.gz: No such file or directory '
Failed to fetch ftp://metalab.unc.edu/pub/linux/deve...86/Packages.gz Unable to fetch file, server said 'No Transfer Timeout (300 seconds): closing control connection. '
Failed to fetch ftp://metalab.unc.edu/pub/linux/deve...y-i386/Release Server closed the connection
Reading Package Lists... Done
E: Some index files failed to download, they have been ignored, or old ones used instead.
root@16[~]#

Last edited by jon_k; 12-09-2004 at 03:30 PM.
 
Old 12-09-2004, 06:20 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 52
did you try
apt-get -f install
after
apt-get update

testing mingw32-binutils is now 2.15 is why the file is not found

always do update before trying to do anything with apt
Quote:
E: Some index files failed to download, they have been ignored, or old ones used instead.
this is a problem -- need to clean up the list untill you get a clean update

if it still wont get unstuck you will have to use dpkg command on mingw32
dpkg -r mingw32
should do it ?

you don't have any security sources in your list ?

it's fairly common think for apt to go all broken on you -- just lean dpkg command to fix
 
  


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
Broken apt-get ebenh Debian 12 04-11-2012 12:36 PM
apt-get is broken irvken Linux - Software 3 12-12-2004 04:18 AM
apt-get broken? limiter Linux - Software 4 03-21-2004 05:26 PM
apt-get is broken, please help! agentforsythe Linux - General 3 01-12-2004 03:24 AM
broken apt-get mindcry Linux - Software 0 05-24-2003 09:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:24 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