Hi,
I just installed ubutu dapper today. I'm quite impressed with it, and successfully used synaptic for awhile, and was able to make use of the automatix script. Quite nice. I also installed privoxy and tor. After setting up and playing around with suspend and hibernate, I had some trouble getting logged in again. Ubuntu complained about something regarding X being locked in one of the files in /tmp. I was able to log in using the restore kernel version and went in and deleted files of zero or tiny length that mentioned X and lock. After that I was able to log in fine. I then tried to install some other packages (such as dillo) using synaptic. For visual posting purposes, I also tried using apt-get from the command line interface. I was greeted with the following error:
ehawk@ubuntu:~$ sudo apt-get install dillo
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
dillo
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 348kB of archives.
After unpacking 950kB of additional disk space will be used.
Err
http://archive.ubuntu.com dapper/universe dillo 0.8.5-4ubuntu2
Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused)
Failed to fetch
http://archive.ubuntu.com/ubuntu/poo...untu2_i386.deb Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused)
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
I couldn't figure out how to make use of the --fix-missing option, but did try to update the package listing, which generated:
ehawk@ubuntu:~$ sudo apt-get update
Err
http://archive.ubuntu.com dapper Release.gpg
Could not connect to localhost:4001 (127.0.0.1). - connect (111 Connection refused)
and so on for the other repositories. I thought this had something to do with either privoxy or tor and the accompanying proxy settings, so I attempted to use the export command to make apt-get aware of this, with no luck (same errors). I was able to remove both tor and privoxy using apt-get, and then rebooted, hoping to eliminate the changed proxy settings, but the above error persists. Perhaps this has something to do with accidentally removing a gpg key (but I think it would try to go ahead, simply mentioning that the package was not authenticated). I think my /etc/apt/sources.list file is ok, here it is:
## Automatix sources.list
## This is automatically generated by Automatix
####################################
### Official Ubuntu Repositories ###
####################################
# Dapper Final Release Repository
deb
http://archive.ubuntu.com/ubuntu dapper main
deb-src
http://archive.ubuntu.com/ubuntu dapper main
deb
http://archive.ubuntu.com/ubuntu dapper restricted
deb-src
http://archive.ubuntu.com/ubuntu dapper restricted
deb
http://archive.ubuntu.com/ubuntu dapper universe
deb-src
http://archive.ubuntu.com/ubuntu dapper universe
deb
http://archive.ubuntu.com/ubuntu dapper multiverse
deb-src
http://archive.ubuntu.com/ubuntu dapper multiverse
# Dapper Security Updates
deb
http://archive.ubuntu.com/ubuntu dapper-security main
deb-src
http://archive.ubuntu.com/ubuntu dapper-security main
deb
http://archive.ubuntu.com/ubuntu dapper-security restricted
deb-src
http://archive.ubuntu.com/ubuntu dapper-security restricted
deb
http://archive.ubuntu.com/ubuntu dapper-security universe
deb-src
http://archive.ubuntu.com/ubuntu dapper-security universe
deb
http://archive.ubuntu.com/ubuntu dapper-security multiverse
deb-src
http://archive.ubuntu.com/ubuntu dapper-security multiverse
# Dapper Bugfix Updates
deb
http://archive.ubuntu.com/ubuntu dapper-updates main
deb-src
http://archive.ubuntu.com/ubuntu dapper-updates main
deb
http://archive.ubuntu.com/ubuntu dapper-updates restricted
deb-src
http://archive.ubuntu.com/ubuntu dapper-updates restricted
deb
http://archive.ubuntu.com/ubuntu dapper-updates universe
deb-src
http://archive.ubuntu.com/ubuntu dapper-updates universe
deb
http://archive.ubuntu.com/ubuntu dapper-updates multiverse
deb-src
http://archive.ubuntu.com/ubuntu dapper-updates multiverse
# Dapper Backports (new software versions, provided by the Ubuntu Backports Project)
# deb
http://archive.ubuntu.com/ubuntu dapper-backports main
# deb-src
http://archive.ubuntu.com/ubuntu dapper-backports main
# deb
http://archive.ubuntu.com/ubuntu dapper-backports restricted
# deb-src
http://archive.ubuntu.com/ubuntu dapper-backports restricted
deb
http://archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
deb-src
http://archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
# deb
http://archive.ubuntu.com/ubuntu dapper-backports universe
# deb-src
http://archive.ubuntu.com/ubuntu dapper-backports universe
# deb
http://archive.ubuntu.com/ubuntu dapper-backports multiverse
# deb-src
http://archive.ubuntu.com/ubuntu dapper-backports multiverse
deb
http://archive.canonical.com/ubuntu dapper-commercial main
##############################
### Automatix Repositories ###
##############################
deb
http://www.getautomatix.com/apt dapper main
## created by automatixrepo3
deb
http://wine.lowvoice.nl/apt dapper main
deb
http://theli.free.fr/packages/ dapper listen
deb
http://people.ubuntu.com/~seb128/deb ./
deb
http://dl.google.com/linux/deb/ stable non-free
deb
http://www.beerorkid.com/compiz/ dapper main
It seems to me that it probably has to do with the localhost:4001 network connection setting, but I don't know how to fix it. I would appreciate any help you can suggest. I also tried running
apt-get -f install
dpkg --configure -a
several times, to no avail. Thanks for any suggestions you can offer.
SOLVED: I went back through the history of my synaptic activity and found that I added either a dependency or recommended package, anon-proxy, that was causing the proxy problem, and that I didn't recall, as it was an afterthought to tor and privoxy. Once I removed that via apt-get and reboot, the problem vanished. Thanks to those who ready my post, sorry to take your time. I will try to figure out how to keep tor and privoxy going while still using synaptic. I guess it's easy enough to add and remove via apt-get when I want anonymity versus need to get updates.