proxmox3.1 был настроен на репозитории wheezy, в процессе решения проблемы с iscsi модулем ядра, удалил жизненно важные пакеты proxmox
менял список репов в /etc/apt/etc/apt/sources.list разок переключился между squeeze и wheezy, чтобы установить заголовки ядра, какие команды apt-get давал уже не помню
В результате получил
root@proxmox1:/etc/apt# apt-get install iscsitarget iscsitarget-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
javascript-common libanyevent-http-perl libanyevent-perl libblas3gf libboost-system1.49.0 libjs-jquery libleveldb1 liblinear1
libsnappy1 libusbredirparser1 pve-libspice-server1 python-crypto python-flask python-gevent python-greenlet python-jinja2
python-markupsafe python-oauthlib python-pkg-resources python-requests python-six python-werkzeug socat wwwconfig-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
apt binutils cpp-4.3 cpp-4.4 dkms fakeroot gcc gcc-4.3 gcc-4.3-base gcc-4.4 gcc-4.4-base libc-bin libc-dev-bin libc6 libc6-dev
libcwidget3 libgcc1 libgfortran3 libgmp3c2 libgomp1 libldap-2.4-2 libsigc++-2.0-0c2a libstdc++6 libxapian22
linux-headers-2.6-amd64 linux-headers-2.6.32-5-amd64 linux-headers-2.6.32-5-common linux-kbuild-2.6.32 linux-libc-dev locales
manpages-dev menu
Suggested packages:
dpkg-dev apt-doc lzma binutils-doc gcc-4.3-locales gcc-4.4-locales gcc-multilib autoconf automake1.9 libtool flex bison gdb
gcc-doc gcc-4.3-multilib libmudflap0-4.3-dev gcc-4.3-doc libgcc1-dbg libgomp1-dbg libmudflap0-dbg gcc-4.4-multilib
libmudflap0-4.4-dev gcc-4.4-doc libcloog-ppl0 libppl-c2 libppl7 iscsitarget-source glibc-doc libcwidget-dev xapian-tools
menu-l10n gksu kdebase-bin kdebase-runtime ktsuss sux
Recommended packages:
iscsitarget-module
The following packages will be REMOVED:
apt-listchanges apt-transport-https apt-utils aptitude ceph-common libapt-inst1.5 libapt-pkg-perl libapt-pkg4.12
libboost-thread1.49.0 libept1.4.12 librados2 librbd1 nmap ntp proxmox-ve-2.6.32 pve-manager pve-qemu-kvm python-apt python-ceph
qemu-server
The following NEW packages will be installed:
cpp-4.3 cpp-4.4 dkms fakeroot gcc gcc-4.3 gcc-4.3-base gcc-4.4 gcc-4.4-base iscsitarget-dkms libc-dev-bin libc6-dev libgmp3c2
libgomp1 linux-headers-2.6-amd64 linux-headers-2.6.32-5-amd64 linux-headers-2.6.32-5-common linux-kbuild-2.6.32 linux-libc-dev
manpages-dev
The following packages will be DOWNGRADED:
apt binutils iscsitarget libc-bin libc6 libcwidget3 libgcc1 libgfortran3 libldap-2.4-2 libsigc++-2.0-0c2a libstdc++6 libxapian22
locales menu
0 upgraded, 20 newly installed, 14 downgraded, 20 to remove and 377 not upgraded.
Need to get 42.2 MB of archives.
After this operation, 1,936 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://security.debian.org/ squeeze/updates/main linux-libc-dev amd64 2.6.32-48squeeze3 [843 kB]
Get:2 http://ftp.debian.org/debian/ squeeze/main libldap-2.4-2 amd64 2.4.23-7.3 [211 kB]
Get:3 http://ftp.debian.org/debian/ squeeze/main locales all 2.11.3-4 [4,761 kB]
Get:4 http://security.debian.org/ squeeze/updates/main linux-headers-2.6.32-5-common amd64 2.6.32-48squeeze3 [3,908 kB]
Get:5 http://ftp.debian.org/debian/ squeeze/main libc-bin amd64 2.11.3-4 [749 kB]
Get:6 http://security.debian.org/ squeeze/updates/main linux-headers-2.6.32-5-amd64 amd64 2.6.32-48squeeze3 [538 kB]
Get:7 http://ftp.debian.org/debian/ squeeze/main libc6 amd64 2.11.3-4 [4,282 kB]
Get:8 http://ftp.debian.org/debian/ squeeze/main gcc-4.4-base amd64 4.4.5-8 [123 kB]
Get:9 http://ftp.debian.org/debian/ squeeze/main libgcc1 amd64 1:4.4.5-8 [45.0 kB]
Get:10 http://ftp.debian.org/debian/ squeeze/main binutils amd64 2.20.1-16 [3,993 kB]
Get:11 http://ftp.debian.org/debian/ squeeze/main libsigc++-2.0-0c2a amd64 2.2.4.2-1 [39.5 kB]
Get:12 http://ftp.debian.org/debian/ squeeze/main libcwidget3 amd64 0.5.16-3 [308 kB]
Get:13 http://ftp.debian.org/debian/ squeeze/main libxapian22 amd64 1.2.3-2 [1,150 kB]
Get:14 http://ftp.debian.org/debian/ squeeze/main menu amd64 2.1.44 [459 kB]
Get:15 http://ftp.debian.org/debian/ squeeze/main apt amd64 0.8.10.3+squeeze1 [2,174 kB]
Get:16 http://ftp.debian.org/debian/ squeeze/main libstdc++6 amd64 4.4.5-8 [341 kB]
Get:17 http://ftp.debian.org/debian/ squeeze/main gcc-4.3-base amd64 4.3.5-4 [110 kB]
Get:18 http://ftp.debian.org/debian/ squeeze/main libgmp3c2 amd64 2:4.3.2+dfsg-1 [313 kB]
Get:19 http://ftp.debian.org/debian/ squeeze/main cpp-4.3 amd64 4.3.5-4 [3,349 kB]
Get:20 http://ftp.debian.org/debian/ squeeze/main cpp-4.4 amd64 4.4.5-8 [3,873 kB]
Get:21 http://ftp.debian.org/debian/ squeeze/main libgfortran3 amd64 4.4.5-8 [291 kB]
Get:22 http://ftp.debian.org/debian/ squeeze/main libgomp1 amd64 4.4.5-8 [25.3 kB]
Get:23 http://ftp.debian.org/debian/ squeeze/main gcc-4.4 amd64 4.4.5-8 [2,688 kB]
Get:24 http://ftp.debian.org/debian/ squeeze/main gcc amd64 4:4.4.5-1 [4,970 B]
Get:25 http://ftp.debian.org/debian/ squeeze/main dkms all 2.1.1.2-5 [71.3 kB]
Get:26 http://ftp.debian.org/debian/ squeeze/main fakeroot amd64 1.14.4-1 [100 kB]
Get:27 http://ftp.debian.org/debian/ squeeze/main gcc-4.3 amd64 4.3.5-4 [2,604 kB]
Get:28 http://ftp.debian.org/debian/ squeeze/main iscsitarget amd64 1.4.20.2-1 [75.4 kB]
Get:29 http://ftp.debian.org/debian/ squeeze/main iscsitarget-dkms all 1.4.20.2-1 [70.9 kB]
Get:30 http://ftp.debian.org/debian/ squeeze/main libc-dev-bin amd64 2.11.3-4 [210 kB]
Get:31 http://ftp.debian.org/debian/ squeeze/main libc6-dev amd64 2.11.3-4 [2,593 kB]
Get:32 http://ftp.debian.org/debian/ squeeze/main linux-kbuild-2.6.32 amd64 2.6.32-1 [238 kB]
Get:33 http://ftp.debian.org/debian/ squeeze/main linux-headers-2.6-amd64 amd64 2.6.32+29 [3,188 B]
Get:34 http://ftp.debian.org/debian/ squeeze/main manpages-dev all 3.27-1 [1,639 kB]
Fetched 42.2 MB in 1min 33s (453 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 39177 files and directories currently installed.)
Removing apt-listchanges ...
Removing proxmox-ve-2.6.32 ...
Removing pve-manager ...
Removing apt-transport-https ...
Removing apt-utils ...
Removing aptitude ...
Removing qemu-server ...
Removing pve-qemu-kvm ...
Removing ceph-common ...
Removing python-apt ...
Removing libapt-inst1.5:amd64 ...
Removing libapt-pkg-perl ...
Removing libept1.4.12 ...
Processing triggers for man-db ...
Processing triggers for menu ...
dpkg: warning: downgrading libldap-2.4-2:amd64 from 2.4.31-1+nmu2 to 2.4.23-7.3
(Reading database ... 38191 files and directories currently installed.)
Preparing to replace libldap-2.4-2:amd64 2.4.31-1+nmu2 (using .../libldap-2.4-2_2.4.23-7.3_amd64.deb) ...
Unpacking replacement libldap-2.4-2 ...
Processing triggers for man-db ...
(Reading database ... 38188 files and directories currently installed.)
Removing ntp ...
Stopping NTP server: ntpd.
Processing triggers for man-db ...
dpkg: warning: downgrading locales from 2.13-38 to 2.11.3-4
(Reading database ... 38162 files and directories currently installed.)
Preparing to replace locales 2.13-38 (using .../locales_2.11.3-4_all.deb) ...
Unpacking replacement locales ...
dpkg: warning: downgrading libc-bin from 2.13-38 to 2.11.3-4
Preparing to replace libc-bin 2.13-38 (using .../libc-bin_2.11.3-4_amd64.deb) ...
Unpacking replacement libc-bin ...
Replaced by files in installed package manpages ...
Processing triggers for man-db ...
Setting up libc-bin (2.11.3-4) ...
Installing new version of config file /etc/bindresvport.blacklist ...
dpkg: warning: downgrading libc6:amd64 from 2.13-38 to 2.11.3-4
(Reading database ... 38137 files and directories currently installed.)
Preparing to replace libc6:amd64 2.13-38 (using .../libc6_2.11.3-4_amd64.deb) ...
Unpacking replacement libc6 ...
Setting up libc6 (2.11.3-4) ...
Selecting previously unselected package gcc-4.4-base.
(Reading database ... 38134 files and directories currently installed.)
Unpacking gcc-4.4-base (from .../gcc-4.4-base_4.4.5-8_amd64.deb) ...
Setting up gcc-4.4-base (4.4.5-8) ...
dpkg: warning: downgrading libgcc1:amd64 from 1:4.7.2-5 to 1:4.4.5-8
(Reading database ... 38142 files and directories currently installed.)
Preparing to replace libgcc1:amd64 1:4.7.2-5 (using .../libgcc1_1%3a4.4.5-8_amd64.deb) ...
Unpacking replacement libgcc1 ...
Setting up libgcc1 (1:4.4.5-8) ...
dpkg: warning: downgrading binutils from 2.22-8 to 2.20.1-16
(Reading database ... 38142 files and directories currently installed.)
Preparing to replace binutils 2.22-8 (using .../binutils_2.20.1-16_amd64.deb) ...
Unpacking replacement binutils ...
Processing triggers for man-db ...
(Reading database ... 38099 files and directories currently installed.)
Removing python-ceph ...
Removing librbd1 ...
Processing triggers for man-db ...
dpkg: warning: downgrading libsigc++-2.0-0c2a:amd64 from 2.2.10-0.2 to 2.2.4.2-1
(Reading database ... 38075 files and directories currently installed.)
Preparing to replace libsigc++-2.0-0c2a:amd64 2.2.10-0.2 (using .../libsigc++-2.0-0c2a_2.2.4.2-1_amd64.deb) ...
Unpacking replacement libsigc++-2.0-0c2a ...
(Reading database ... 38073 files and directories currently installed.)
Removing nmap ...
Processing triggers for man-db ...
dpkg: warning: downgrading libcwidget3 from 0.5.16-3.4 to 0.5.16-3
(Reading database ... 37551 files and directories currently installed.)
Preparing to replace libcwidget3 0.5.16-3.4 (using .../libcwidget3_0.5.16-3_amd64.deb) ...
Unpacking replacement libcwidget3 ...
(Reading database ... 37509 files and directories currently installed.)
Removing librados2 ...
dpkg: warning: downgrading libxapian22 from 1.2.12-2 to 1.2.3-2
(Reading database ... 37506 files and directories currently installed.)
Preparing to replace libxapian22 1.2.12-2 (using .../libxapian22_1.2.3-2_amd64.deb) ...
Unpacking replacement libxapian22 ...
(Reading database ... 37504 files and directories currently installed.)
Removing libboost-thread1.49.0 ...
dpkg: warning: downgrading menu from 2.1.46 to 2.1.44
(Reading database ... 37499 files and directories currently installed.)
Preparing to replace menu 2.1.46 (using .../archives/menu_2.1.44_amd64.deb) ...
Unpacking replacement menu ...
dpkg: warning: downgrading apt from 0.9.7.9 to 0.8.10.3+squeeze1
Preparing to replace apt 0.9.7.9 (using .../apt_0.8.10.3+squeeze1_amd64.deb) ...
Unpacking replacement apt ...
Processing triggers for install-info ...
Processing triggers for man-db ...
dpkg: dependency problems prevent configuration of apt:
libapt-pkg4.12:amd64 (0.9.7.9) breaks apt (<< 0.9.4~) and is installed.
Version of apt to be configured is 0.8.10.3+squeeze1.
dpkg: error processing apt (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
apt
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@proxmox1:/var/cache/apt/archives# apt-get install apt-transport-https
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libapt-pkg4.12 : Breaks: apt (< 0.9.4~) but 0.8.10.3+squeeze1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
еще инфа
root@proxmox1:/var/cache/apt/archives# dpkg -l | grep apt
iU apt 0.8.10.3+squeeze1 amd64 Advanced front-end for dpkg
rc apt-listchanges 2.85.11 all package change history notification tool
rc aptitude 0.6.8.2-1 amd64 terminal-based package manager
ii aptitude-common 0.6.8.2-1 all architecture indepedent files for the aptitude package manager
rc libapt-inst1.5:amd64 0.9.7.9 amd64 deb package format runtime library
ii libapt-pkg4.12:amd64 0.9.7.9 amd64 package managment runtime library
ii libpcap0.8:amd64 1.3.0-1 amd64 system interface for user-level packet capture
ii python-apt-common 0.8.8.2 all Python interface to libapt-pkg (locales)
root@proxmox1:/var/cache/apt/archives# dpkg -l | grep dpkg
iU apt 0.8.10.3+squeeze1 amd64 Advanced front-end for dpkg
ii dpkg 1.16.10 amd64 Debian package management system
root@proxmox1:/var/cache/apt/archives#
root@proxmox2:~# dpkg -l | grep apt
ii apt 0.9.7.9 amd64 commandline package manager
ii apt-listchanges 2.85.11 all package change history notification tool
ii apt-transport-https 0.9.7.9 amd64 https download transport for APT
ii apt-utils 0.9.7.9 amd64 package managment related utility programs
ii aptitude 0.6.8.2-1 amd64 terminal-based package manager
ii aptitude-common 0.6.8.2-1 all architecture indepedent files for the aptitude package manager
ii libapt-inst1.5:amd64 0.9.7.9 amd64 deb package format runtime library
ii libapt-pkg-perl 0.1.26+b1 amd64 Perl interface to libapt-pkg
ii libapt-pkg4.12:amd64 0.9.7.9 amd64 package managment runtime library
ii libpcap0.8:amd64 1.3.0-1 amd64 system interface for user-level packet capture
ii python-apt 0.8.8.2 amd64 Python interface to libapt-pkg
ii python-apt-common 0.8.8.2 all Python interface to libapt-pkg (locales)
root@proxmox2:~#