error connecting to localhost 127.0.0.1 in apt-get and all front-ends I have for it
I am using LinuxMint, an Ubuntu derivative, and am experiencing some trouble with apt-get. It gives me an error saying that I cannot get the archives and my connection to 127.0.0.1 was refused.
ex: Failed to fetch http://archive.ubuntu.com/ubuntu/poo...untu1_i386.deb Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) I have tried ssh x@127.0.0.1 (substituting another user for x), and that seems to work fine. It seems to be limited to just apt-get. I could really use some help. I will try to remember to check this thread, but if you think you can fix this, please e-mail me at sehku17@gmail.com |
not sure about LinuxMint, but are there any firewalls up and running? iptables? What does /etc/apt/sources.list specify? Did you try running apt-get update?
|
there are no firewalls up now and it still won't work. originally I had firewalls, but not on that port.
The etc/apt/sources.list lists the appropriate sources. apt-get update gives me the same type of error. Failed to fetch http://medibuntu.sos-sts.com/repo/di...tion-en_US.bz2 Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused) cat sources.list ## UBUNTU REPOSITORIES ## ------------------- ## ## Feisty (Ubuntu 7.04) deb http://archive.ubuntu.com/ubuntu feisty main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu feisty main restricted universe multiverse ## ## Proposed Updates deb http://archive.ubuntu.com/ubuntu feisty-proposed main restricted universe multiverse ## ## Bug Fixes deb http://archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse ## ## Security Updates deb http://security.ubuntu.com/ubuntu feisty-security main restricted universe multiverse deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted universe multiverse ## ## Backports deb http://archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse ## LINUX MINT REPOSITORIES ## ----------------------- ## ## Cassandra (Linux Mint 3.0) deb http://www.linuxmint.com/repository cassandra/ ## ## Romeo (Linux Mint Unstable) ## deb http://www.linuxmint.com/repository romeo/ ## OTHER REPOSITORIES ## ------------------ ## ## Canonical (RealPlayer10, Opera, DesktopSecure etc...) deb http://archive.canonical.com/ubuntu feisty-commercial main ## ## Medibuntu (Codecs and extra applications) deb http://medibuntu.sos-sts.com/repo/ feisty free non-free thanks for posting, though |
All times are GMT -5. The time now is 04:33 PM. |