What I have done is to comment out the repositories in that file.
apt-get update now looks like this :
root@sysresccd:/# apt-get update
Hit
http://security.debian.org wheezy/updates Release.gpg
Hit
http://security.debian.org wheezy/updates Release
Hit
http://ftp.debian.org wheezy Release.gpg
Hit
http://download.proxmox.com wheezy Release.gpg
Hit
http://ftp.debian.org wheezy Release
Hit
http://security.debian.org wheezy/updates/main amd64 Packages
Hit
http://download.proxmox.com wheezy Release
Hit
http://security.debian.org wheezy/updates/contrib amd64 Packages
Hit
http://ftp.debian.org wheezy/main amd64 Packages
Hit
http://security.debian.org wheezy/updates/contrib Translation-en
Hit
http://download.proxmox.com wheezy/pve-no-subscription amd64 Packages
Hit
http://ftp.debian.org wheezy/contrib amd64 Packages
Hit
http://security.debian.org wheezy/updates/main Translation-en
Hit
http://ftp.debian.org wheezy/contrib Translation-en
Hit
http://ftp.debian.org wheezy/main Translation-en
Ign
http://download.proxmox.com wheezy/pve-no-subscription Translation-en_US
Ign
http://download.proxmox.com wheezy/pve-no-subscription Translation-en
Reading package lists... Done
and apt-get upgrade now looks like this:
root@sysresccd:/# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
15 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up winbind (2:3.6.6-6+deb7u5) ...
Starting the Winbind daemon: winbindstart-stop-daemon: nothing in /proc - not mounted?
failed!
invoke-rc.d: initscript winbind, action "start" failed.
dpkg: error processing winbind (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of libnss-winbind:amd64:
libnss-winbind:amd64 depends on winbind (= 2:3.6.6-6+deb7u5); however:
Package winbind is not configured yet.
dpkg: error processing libnss-winbind:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpam-winbind:amd64:
libpam-winbind:amd64 depends on winbind (= 2:3.6.6-6+deb7u5); however:
Package winbind is not configured yet.
dpkg: error processing libpam-winbind:amd64 (--configure):
dependency problems - leaving unconfigured
Setting up bind9 (1:9.8.4.dfsg.P1-6+nmu2+deb7u7) ...
Starting domain name service...: bind9Warning: cannot open /proc/net/dev (No such file or directory). Limited output.
no networks configured.
failed!
invoke-rc.d: initscript bind9, action "start" failed.
dpkg: error processing bind9 (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up dovecot-ldap (1:2.1.7-7+deb7u1) ...
Restarting IMAP/POP3 mail server: dovecot.
Setting up dovecot-sieve (1:2.1.7-7+deb7u1) ...
Restarting IMAP/POP3 mail server: dovecotError: service(stats): Socket already exists: /var/run/dovecot/stats
Error: service(replicator): Socket already exists: /var/run/dovecot/replicator
Error: service(aggregator): Socket already exists: /var/run/dovecot/replication-notify
Error: service(pop3-login): listen(*, 110) failed: Address already in use
Error: service(pop3-login): listen
:, 110) failed: Address already in use
Error: service(pop3-login): listen(*, 995) failed: Address already in use
Error: service(pop3-login): listen
:, 995) failed: Address already in use
Error: service(log): Socket already exists: /var/run/dovecot/log-errors
Error: service(lmtp): Socket already exists: /var/run/dovecot/lmtp
Error: service(ipc): Socket already exists: /var/run/dovecot/ipc
Error: service(indexer-worker): Socket already exists: /var/run/dovecot/indexer-worker
Error: service(indexer): Socket already exists: /var/run/dovecot/indexer
Error: service(imap-login): listen(*, 143) failed: Address already in use
Error: service(imap-login): listen
:, 143) failed: Address already in use
Error: service(imap-login): listen(*, 993) failed: Address already in use
Error: service(imap-login): listen
:, 993) failed: Address already in use
Error: service(doveadm): Socket already exists: /var/run/dovecot/doveadm-server
Error: service(dns_client): Socket already exists: /var/run/dovecot/dns-client
Error: service(director): Socket already exists: /var/run/dovecot/director-admin
Error: service(director): Socket already exists: /var/run/dovecot/director-userdb
Error: service(dict): Socket already exists: /var/run/dovecot/dict
Error: service(config): Socket already exists: /var/run/dovecot/config
Error: service(auth): Socket already exists: /var/run/dovecot/auth-login
Error: service(auth): Socket already exists: /var/run/dovecot/auth-client
Error: service(auth): Socket already exists: /var/run/dovecot/auth-userdb
Error: service(auth): Socket already exists: /var/run/dovecot/auth-master
Error: service(auth-worker): Socket already exists: /var/run/dovecot/auth-worker
Error: service(anvil): Socket already exists: /var/run/dovecot/anvil
Error: service(anvil): Socket already exists: /var/run/dovecot/anvil-auth-penalty
Fatal: Failed to start listeners
failed!
invoke-rc.d: initscript dovecot, action "restart" failed.
dpkg: error processing dovecot-sieve (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of dovecot-managesieved:
dovecot-managesieved depends on dovecot-sieve (= 1:2.1.7-7+deb7u1); however:
Package dovecot-sieve is not configured yet.
dpkg: error processing dovecot-managesieved (--configure):
dependency problems - leaving unconfigured
Setting up dovecot-pop3d (1:2.1.7-7+deb7u1) ...
Restarting IMAP/POP3 mail server: dovecotError: service(stats): Socket already exists: /var/run/dovecot/stats
Error: service(replicator): Socket already exists: /var/run/dovecot/replicator
Error: service(aggregator): Socket already exists: /var/run/dovecot/replication-notify
Error: service(pop3-login): listen(*, 110) failed: Address already in use
Error: service(pop3-login): listen
:, 110) failed: Address already in use
Error: service(pop3-login): listen(*, 995) failed: Address already in use
Error: service(pop3-login): listen
:, 995) failed: Address already in use
Error: service(log): Socket already exists: /var/run/dovecot/log-errors
Error: service(lmtp): Socket already exists: /var/run/dovecot/lmtp
Error: service(ipc): Socket already exists: /var/run/dovecot/ipc
Error: service(indexer-worker): Socket already exists: /var/run/dovecot/indexer-worker
Error: service(indexer): Socket already exists: /var/run/dovecot/indexer
Error: service(imap-login): listen(*, 143) failed: Address already in use
Error: service(imap-login): listen
:, 143) failed: Address already in use
Error: service(imap-login): listen(*, 993) failed: Address already in use
Error: service(imap-login): listen
:, 993) failed: Address already in use
Error: service(doveadm): Socket already exists: /var/run/dovecot/doveadm-server
Error: service(dns_client): Socket already exists: /var/run/dovecot/dns-client
Error: service(director): Socket already exists: /var/run/dovecot/director-admin
Error: service(director): Socket already exists: /var/run/dovecot/director-userdb
Error: service(dict): Socket already exists: /var/run/dovecot/dict
Error: service(config): Socket already exists: /var/run/dovecot/config
Error: service(auth): Socket already exists: /var/run/dovecot/auth-login
Error: service(auth): Socket already exists: /var/run/dovecot/auth-client
Error: service(auth): Socket already exists: /var/run/dovecot/auth-userdb
Error: service(auth): Socket already exists: /var/run/dovecot/auth-master
Error: service(auth-worker): Socket already exists: /var/run/dovecot/auth-worker
Error: service(anvil): Socket already exists: /var/run/dovecot/anvil
Error: service(anvil): Socket already exists: /var/run/dovecot/anvil-auth-penalty
Fatal: Failed to start listeners
failed!
invoke-rc.d: initscript dovecot, action "restart" failed.
dpkg: error processing dovecot-pop3d (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up pve-cluster (3.0-19) ...
Restarting pve cluster filesystem: pve-clustergrep: /proc/filesystems: No such file or directory
[main] crit: Unable to get local IP address
(warning).
invoke-rc.d: initscript pve-cluster, action "restart" failed.
dpkg: error processing pve-cluster (--configure):
subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of libpve-access-control:
libpve-access-control depends on pve-cluster; however:
Package pve-cluster is not configured yet.
dpkg: error processing libpve-access-control (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of librados2-perl:
librados2-perl depends on libpve-access-control; however:
Package libpve-access-control is not configured yet.
dpkg: error processing librados2-perl (--configure):
dependency problems - leaving unconfigured
Setting up memcached (1.4.13-0.2+deb7u1) ...
Starting memcached: start-stop-daemon: nothing in /proc - not mounted?
invoke-rc.d: initscript memcached, action "start" failed.
dpkg: error processing memcached (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of redhat-cluster-pve:
redhat-cluster-pve depends on pve-cluster; however:
Package pve-cluster is not configured yet.
dpkg: error processing redhat-cluster-pve (--configure):
dependency problems - leaving unconfigured
Setting up postfix (2.9.6-2) ...
Postfix configuration was untouched. If you need to make changes, edit
/etc/postfix/main.cf (and others) as needed. To view Postfix configuration
values, see postconf(1).
After modifying main.cf, be sure to run '/etc/init.d/postfix reload'.
Running newaliases
Stopping Postfix Mail Transport Agent: postfix.
Starting Postfix Mail Transport Agent: postfixstart-stop-daemon: nothing in /proc - not mounted?
failed!
invoke-rc.d: initscript postfix, action "restart" failed.
dpkg: error processing postfix (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of pve-firewall:
pve-firewall depends on pve-cluster; however:
Package pve-cluster is not configured yet.
pve-firewall depends on libpve-access-control; however:
Package libpve-access-control is not configured yet.
dpkg: error processing pve-firewall (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
winbind
libnss-winbind:amd64
libpam-winbind:amd64
bind9
dovecot-sieve
dovecot-managesieved
dovecot-pop3d
pve-cluster
libpve-access-control
librados2-perl
memcached
redhat-cluster-pve
postfix
pve-firewall
E: Sub-process /usr/bin/dpkg returned an error code (1)