root@energypw:~# apt-get install sun-java5-jdk
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:
sun-java5-bin: Depends: sun-java5-jre (= 1.5.0-22-0lenny1) but it is not going to be installed
Depends: unixodbc but it is not going to be installed
Recommends: libxi6 but it is not going to be installed
Recommends: libxt6 but it is not going to be installed
Recommends: libxtst6 but it is not going to be installed
Recommends: libnss-mdns but it is not going to be installed
sun-java5-jdk: Depends: sun-java5-jre (= 1.5.0-22-0lenny1) but it is not going to be installed
Depends: sun-java5-demo (= 1.5.0-22-0lenny1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@energypw:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
java-common libltdl7 odbcinst odbcinst1debian1 sun-java5-bin sun-java5-jre
unixodbc
Suggested packages:
default-jre equivs sun-java5-plugin ia32-sun-java5-plugin sun-java5-fonts
ttf-baekmuk ttf-unfonts ttf-unfonts-core ttf-kochi-gothic
ttf-sazanami-gothic ttf-kochi-mincho ttf-sazanami-mincho ttf-arphic-uming
libmyodbc odbc-postgresql tdsodbc unixodbc-bin
Recommended packages:
libxi6 libxt6 libxtst6 libnss-mdns
The following NEW packages will be installed:
java-common libltdl7 odbcinst odbcinst1debian1 sun-java5-jre unixodbc
The following packages will be upgraded:
sun-java5-bin
1 upgraded, 6 newly installed, 0 to remove and 109 not upgraded.
1 not fully installed or removed.
Need to get 0B/28.5MB of archives.
After this operation, 18.6MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
sun-java5-bin sun-java5-jre
Install these packages without verification [y/N]? y
E: Write error - write (28: No space left on device)
E: Prior errors apply to /var/cache/apt/archives/sun-java5-jre_1.5.0-22-0lenny1_all.deb
E: Prior errors apply to /var/cache/apt/archives/libltdl7_2.2.6b-2ubuntu1_amd64.deb
E: Prior errors apply to /var/cache/apt/archives/odbcinst_2.2.11-21_amd64.deb
E: Prior errors apply to /var/cache/apt/archives/odbcinst1debian1_2.2.11-21_amd64.deb
E: Prior errors apply to /var/cache/apt/archives/unixodbc_2.2.11-21_amd64.deb
debconf: apt-extracttemplates failed: Bad file descriptor
Preconfiguring packages ...
Selecting previously deselected package java-common.
(Reading database ... 24631 files and directories currently installed.)
Unpacking java-common (from .../java-common_0.34_all.deb) ...
Selecting previously deselected package sun-java5-bin.
Preparing to replace sun-java5-bin 1.5.0-19-0ubuntu0.9.04 (using .../sun-java5-bin_1.5.0-22-0lenny1_amd64.deb) ...
sun-dlj-v1-1 license has already been accepted
Unpacking replacement sun-java5-bin ...
dpkg: error processing /var/cache/apt/archives/sun-java5-bin_1.5.0-22-0lenny1_amd64.deb (--unpack):
failed in buffer_write(fd) (10, ret=-1): backend dpkg-deb during `./etc/java-1.5.0-sun/net.properties': No space left on device
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Error: contents of '/etc/mailcap.new' do not match what was written -- abort
dpkg: error while cleaning up:
subprocess new post-removal script returned error exit status 255
Selecting previously deselected package sun-java5-jre.
Unpacking sun-java5-jre (from .../sun-java5-jre_1.5.0-22-0lenny1_all.deb) ...
sun-dlj-v1-1 license has already been accepted
Selecting previously deselected package libltdl7.
Unpacking libltdl7 (from .../libltdl7_2.2.6b-2ubuntu1_amd64.deb) ...
Selecting previously deselected package odbcinst.
Unpacking odbcinst (from .../odbcinst_2.2.11-21_amd64.deb) ...
Selecting previously deselected package odbcinst1debian1.
Unpacking odbcinst1debian1 (from .../odbcinst1debian1_2.2.11-21_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/odbcinst1debian1_2.2.11-21_amd64.deb (--unpack):
error creating directory `./etc/ODBCDataSources': No space left on device
No apport report written because the error message indicates a disk full error
Selecting previously deselected package unixodbc.
Unpacking unixodbc (from .../unixodbc_2.2.11-21_amd64.deb) ...
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/sun-java5-bin_1.5.0-22-0lenny1_amd64.deb
/var/cache/apt/archives/odbcinst1debian1_2.2.11-21_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@energypw:~# apt-get install sun-java5-jdk
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:
odbcinst: Depends: odbcinst1debian1 (>= 2.2.11-3) but it is not going to be installed
sun-java5-jdk: Depends: sun-java5-demo (= 1.5.0-22-0lenny1) but it is not going to be installed
unixodbc: Depends: odbcinst1debian1 (>= 2.2.11-3) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@energypw:~#
root@energypw:~# aptitude install sun-java5-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
The following packages are BROKEN:
unixodbc
The following packages will be REMOVED:
odbcinst{u}
The following packages will be upgraded:
sun-java5-bin
The following partially installed packages will be configured:
java-common libltdl7 sun-java5-jre
The following packages are RECOMMENDED but will NOT be installed:
libnss-mdns libxi6 libxt6 libxtst6
1 packages upgraded, 0 newly installed, 1 to remove and 109 not upgraded.
Need to get 0B/20.2MB of archives. After unpacking 81.9kB will be freed.
The following packages have unmet dependencies:
unixodbc: Depends: odbcinst1debian1 (>= 2.2.11-3) but it is not installable
The following actions will resolve these dependencies:
Install the following packages:
odbcinst1debian1 [2.2.11-21 (lucid, now)]
Keep the following packages at their current version:
odbcinst [2.2.11-21 (lucid, now)]
Score is 112
Accept this solution? [Y/n/q/?] y
The following NEW packages will be installed:
odbcinst1debian1{a}
The following packages will be upgraded:
sun-java5-bin
The following partially installed packages will be configured:
java-common libltdl7 odbcinst sun-java5-jre unixodbc
The following packages are RECOMMENDED but will NOT be installed:
libnss-mdns libxi6 libxt6 libxtst6
1 packages upgraded, 1 newly installed, 0 to remove and 109 not upgraded.
Need to get 0B/20.3MB of archives. After unpacking 319kB will be used.
Do you want to continue? [Y/n/?] y
WARNING: untrusted versions of the following packages will be installed!
Untrusted packages could compromise your system's security.
You should only proceed with the installation if you are certain that
this is what you want to do.
sun-java5-bin
Do you want to ignore this warning and proceed anyway?
To continue, enter "Yes"; to abort, enter "No": YES
Writing extended state information... Done
E: Write error - write (28: No space left on device)
E: Prior errors apply to /var/cache/apt/archives/odbcinst1debian1_2.2.11-21_amd64.deb
debconf: apt-extracttemplates failed: Bad file descriptor
Preconfiguring packages ...
(Reading database ... 25259 files and directories currently installed.)
Preparing to replace sun-java5-bin 1.5.0-19-0ubuntu0.9.04 (using .../sun-java5-bin_1.5.0-22-0lenny1_amd64.deb) ...
sun-dlj-v1-1 license has already been accepted
Unpacking replacement sun-java5-bin ...
dpkg: error processing /var/cache/apt/archives/sun-java5-bin_1.5.0-22-0lenny1_amd64.deb (--unpack):
failed in buffer_write(fd) (10, ret=-1): backend dpkg-deb during `./etc/java-1.5.0-sun/net.properties': No space left on device
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Error: contents of '/etc/mailcap.new' do not match what was written -- abort
dpkg: error while cleaning up:
subprocess new post-removal script returned error exit status 255
Unpacking odbcinst1debian1 (from .../odbcinst1debian1_2.2.11-21_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/odbcinst1debian1_2.2.11-21_amd64.deb (--unpack):
error creating directory `./etc/ODBCDataSources': No space left on device
No apport report written because the error message indicates a disk full error
Errors were encountered while processing:
/var/cache/apt/archives/sun-java5-bin_1.5.0-22-0lenny1_amd64.deb
/var/cache/apt/archives/odbcinst1debian1_2.2.11-21_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up java-common (0.34) ...
dpkg: dependency problems prevent configuration of odbcinst:
odbcinst depends on odbcinst1debian1 (>= 2.2.11-3); however:
Package odbcinst1debian1 is not installed.
dpkg: error processing odbcinst (--configure):
dependency problems - leaving unconfigured
Setting up libltdl7 (2.2.6b-2ubuntu1) ...
dpkg: dependency problems prevent configuration of unixodbc:
unixodbc depends on odbcinst1debian1 (>= 2.2.11-3); however:
Package odbcinst1debian1 is not installed.
dpkg: error processing unixodbc (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of sun-java5-jre:
sun-java5-jre depends on sun-java5-bin (= 1.5.0-22-0lenny1) | ia32-sun-java5-bin (= 1.5.0-22-0lenny1); however:
Package sun-java5-bin is not installed.
Package ia32-sun-java5-bin is not installed.
dpkg: error processing sun-java5-jre (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
/sbin/ldconfig.real: Writing of cache data failed: No such file or directory
dpkg: error processing libc-bin (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
odbcinst
unixodbc
sun-java5-jre
libc-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
root пишет что заполнен,хотя
root@energypw:~# cd /root/
root@energypw:~# du
4 ./.mc/cedit
24 ./.mc
4 ./.aptitude
4 ./.cache
4 ./.debtags
56 .
Как так?
boot отчистил!
root пишет что заполнен,хотя
root@energypw:~# cd /root/
root@energypw:~# du
4 ./.mc/cedit
24 ./.mc
4 ./.aptitude
4 ./.cache
4 ./.debtags
56 .
Как так?
boot отчистил!