Bug#613068: Could not connect, passive socket
I tried updating apt to a newer version in unstable, and this broke apt altogether:
# apt-get install -t unstable apt
Reading package lists... Done
Building dependency tree
Reading state information... Done
apt is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
iceweasel : Depends: libgdk-pixbuf2.0-0 (>= 2.22.0) but it is not going to be installed
Depends: xulrunner-2.0 (>= 2.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
# apt-get install -t unstable apt
Reading package lists... Done
Building dependency tree
Reading state information... Done
apt is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
iceweasel : Depends: libgdk-pixbuf2.0-0 (>= 2.22.0) but it is not going to be installed
Depends: xulrunner-2.0 (>= 2.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Huh! I am trying to install apt, not iceweasel - Why is it doing this crap?
I now perform this workaround:
apt-get remove iceweasel
Right. Lets get back to the task at hand:
apt-get install -t unstable apt
Reading package lists... Done
Building dependency tree
Reading state information... Done
apt is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 368 not upgraded.
No - It is not at the newest version. I am sure.
apt --version
ksh: apt: not found
wtf?
apt-get --version
apt 0.8.10.3 for i386 compiled on Jan 25 2011 11:55:25
^
|
I told you it is not the newest version.
dpkg -i /home/mark/Downloads/apt_0.8.14.1_i386.deb
(Reading database ... 123273 files and directories currently installed.)
Preparing to replace apt 0.8.14.1 (using .../apt_0.8.14.1_i386.deb) ...
Unpacking replacement apt ...
dpkg: dependency problems prevent configuration of apt:
apt depends on libstdc++6 (>= 4.5); however:
Version of libstdc++6 on system is 4.4.5-10.
dpkg: error processing apt (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db ...
Errors were encountered while processing:
apt
Ok.
apt-get install -t unstable libstdc++6
apt-get: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by apt-get)
apt-get: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib/libapt-pkg.so.4.10)
Hmmm.
apt-get install -t unstable apt
apt-get: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by apt-get)
apt-get: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /usr/lib/libapt-pkg.so.4.10)
It's f**ked! - Mark.
Reply to: