Перейти к содержанию
Авторизация  
івав

Линукс

Рекомендуемые сообщения

root@ks383385:~# apt-get install sun-java6-jdk

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following extra packages will be installed:

sun-java6-bin sun-java6-jre

Suggested packages:

binfmt-support sun-java6-demo openjdk-6-doc sun-java6-source

sun-java6-plugin ia32-sun-java6-plugin sun-java6-fonts ttf-baekmuk

ttf-unfonts ttf-unfonts-core ttf-kochi-gothic ttf-sazanami-gothic

ttf-kochi-mincho ttf-sazanami-mincho ttf-arphic-uming

The following NEW packages will be installed:

sun-java6-bin sun-java6-jdk

The following packages will be upgraded:

sun-java6-jre

1 upgraded, 2 newly installed, 0 to remove and 245 not upgraded.

10 not fully installed or removed.

Need to get 0 B/55.6 MB of archives.

After this operation, 164 MB of additional disk space will be used.

Do you want to continue [Y/n]? y

Reading changelogs... Done

debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable

(Reading database ...

dpkg: warning: files list file for package `sun-java6-jre' missing, assuming package has no files currently installed.

(Reading database ... 24396 files and directories currently installed.)

Unpacking sun-java6-bin (from .../sun-java6-bin_6.26-0squeeze1_amd64.deb) ...

debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable

dpkg: error processing /var/cache/apt/archives/sun-java6-bin_6.26-0squeeze1_amd64.deb (--unpack):

subprocess new pre-installation script returned error exit status 1

configured to not write apport reports

Preparing to replace sun-java6-jre 6.26-0squeeze1 (using .../sun-java6-jre_6.26-0squeeze1_all.deb) ...

debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable

dpkg: error processing /var/cache/apt/archives/sun-java6-jre_6.26-0squeeze1_all.deb (--unpack):

subprocess new pre-installation script returned error exit status 1

configured to not write apport reports

Unpacking sun-java6-jdk (from .../sun-java6-jdk_6.26-0squeeze1_amd64.deb) ...

debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable

dpkg: error processing /var/cache/apt/archives/sun-java6-jdk_6.26-0squeeze1_amd64.deb (--unpack):

subprocess new pre-installation script returned error exit status 1

configured to not write apport reports

Errors were encountered while processing:

/var/cache/aptchives/sun-java6-jdk_6.26-0squeeze1_amd64.deb

E: Sub-process /usr/bin/dpkg returned an error code (1)

root@ks383385:~#

/archives/sun-java6-bin_6.26-0squeeze1_amd64.deb

/var/cache/apt/archives/sun-java6-jre_6.26-0squeeze1_all.deb

/var/cache/apt/ar

шо делать ява.

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

root@ks383385:~# apt-get install sun-java6-jdk

 

 

ты не правильно вел команду нужно вести apt-get install openjdk-6-*

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты
не забываем ставить + =)

Нету смысла тебе ставить не чым не помог .

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

короче сночало веди apt-get update

 

потом веди apt-get install openjdk-6-*

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

мла нуб иди нах з темы ты не хрена не шариш на ошибку по смотри ранше

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

root@ks383385:~# apt-get install openjdk-6-*

Reading package lists... Done

Building dependency tree

Reading state information... Done

Note, selecting 'openjdk-6-jre' for regex 'openjdk-6-*'

Note, selecting 'openjdk-6-jdk' for regex 'openjdk-6-*'

Note, selecting 'openjdk-6-doc' for regex 'openjdk-6-*'

Note, selecting 'openjdk-6-jre-headless' for regex 'openjdk-6-*'

Note, selecting 'openjdk-6-dbg' for regex 'openjdk-6-*'

Note, selecting 'openjdk-6-demo' for regex 'openjdk-6-*'

Note, selecting 'openjdk-6-source' for regex 'openjdk-6-*'

Note, selecting 'openjdk-6-jre-lib' for regex 'openjdk-6-*'

Note, selecting 'openjdk-6-jre-zero' for regex 'openjdk-6-*'

Note, selecting 'openjdk-6-jre-shark' for regex 'openjdk-6-*'

Note, selecting 'uwsgi-plugin-jvm-openjdk-6' for regex 'openjdk-6-*'

Note, selecting 'uwsgi-plugin-jwsgi-openjdk-6' for regex 'openjdk-6-*'

Note, selecting 'openjdk-6-jre-zero' instead of 'openjdk-6-jre-shark'

The following extra packages will be installed:

ca-certificates-java defoma fontconfig fontconfig-config gcc-4.6-base

hicolor-icon-theme icedtea-6-jre-cacao icedtea-6-jre-jamvm icedtea-netx

icedtea-netx-common libaccess-bridge-java libaccess-bridge-java-jni

libasyncns0 libatk1.0-0 libatk1.0-data libavahi-client3 libcairo2

libclass-isa-perl libcups2 libdatrie1 libdb5.1 libdbd-mysql-perl libdbi-perl

libffi5 libflac8 libfont-freetype-perl libfontconfig1 libgdk-pixbuf2.0-0

libgif4 libglib2.0-0 libgnutls26 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common

libice-dev libjansson4 libjasper1 libjpeg8 libjson0 liblcms1 libllvm2.9

liblocale-gettext-perl libmysqlclient16 libnspr4-0d libnss3-1d libogg0

libp11-kit0 libpango1.0-0 libpcre3 libpgm-5.1-0 libpixman-1-0 libpng12-0

libpod-plainer-perl libpthread-stubs0 libpthread-stubs0-dev libpulse0

libsm-dev libsndfile1 libstdc++6 libswitch-perl libtext-charwidth-perl

libtext-iconv-perl libthai-data libthai0 libtiff4 libvorbis0a libvorbisenc2

libx11-dev libx11-xcb1 libxau-dev libxau6 libxcb-render0 libxcb-shm0 libxcb1

libxcb1-dev libxcomposite1 libxcursor1 libxdamage1 libxdmcp-dev libxdmcp6

libxfixes3 libxft2 libxinerama1 libxrandr2 libxrender1 libxt-dev libyaml-0-2

libzmq1 mysql-common openjdk-6-dbg openjdk-6-demo openjdk-6-doc

openjdk-6-jdk openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib

openjdk-6-jre-zero openjdk-6-source perl perl-base perl-modules

shared-mime-info ttf-dejavu-core ttf-dejavu-extra tzdata tzdata-java

uwsgi-core uwsgi-plugin-jvm-openjdk-6 uwsgi-plugin-jwsgi-openjdk-6

x-ttcidfont-conf x11proto-core-dev x11proto-input-dev x11proto-kb-dev

xorg-sgml-doctools xtrans-dev

Suggested packages:

defoma-doc psfontmgr cups-common gnutls-bin librsvg2-common gvfs

libjasper-runtime liblcms-utils ttf-baekmuk ttf-arphic-gbsn00lp

ttf-arphic-bsmi00lp ttf-arphic-gkai00mp ttf-arphic-bkai00mp pulseaudio

visualvm icedtea-plugin sun-java6-fonts ttf-sazanami-gothic ttf-kochi-gothic

ttf-sazanami-mincho ttf-kochi-mincho ttf-wqy-microhei ttf-wqy-zenhei

ttf-indic-fonts perl-doc libterm-readline-gnu-perl

libterm-readline-perl-perl make nginx-full libapache2-mod-uwsgi

libapache2-mod-ruwsgi uwsgi-plugins-all uwsgi-extra

Recommended packages:

libglib2.0-data

The following packages will be REMOVED:

sun-java6-jre

The following NEW packages will be installed:

ca-certificates-java defoma fontconfig fontconfig-config gcc-4.6-base

hicolor-icon-theme icedtea-6-jre-cacao icedtea-6-jre-jamvm icedtea-netx

icedtea-netx-common libaccess-bridge-java libaccess-bridge-java-jni

libasyncns0 libatk1.0-0 libatk1.0-data libavahi-client3 libcairo2

libclass-isa-perl libcups2 libdatrie1 libdb5.1 libffi5 libflac8

libfont-freetype-perl libfontconfig1 libgdk-pixbuf2.0-0 libgif4 libgtk2.0-0

libgtk2.0-bin libgtk2.0-common libice-dev libjansson4 libjasper1 libjpeg8

libjson0 liblcms1 libllvm2.9 libnspr4-0d libnss3-1d libogg0 libp11-kit0

libpango1.0-0 libpgm-5.1-0 libpixman-1-0 libpng12-0 libpod-plainer-perl

libpthread-stubs0 libpthread-stubs0-dev libpulse0 libsm-dev libsndfile1

libswitch-perl libthai-data libthai0 libtiff4 libvorbis0a libvorbisenc2

libx11-dev libx11-xcb1 libxau-dev libxcb-render0 libxcb-shm0 libxcb1-dev

libxcomposite1 libxcursor1 libxdamage1 libxdmcp-dev libxfixes3 libxft2

libxinerama1 libxrandr2 libxrender1 libxt-dev libyaml-0-2 libzmq1

openjdk-6-dbg openjdk-6-demo openjdk-6-doc openjdk-6-jdk openjdk-6-jre

openjdk-6-jre-headless openjdk-6-jre-lib openjdk-6-jre-zero openjdk-6-source

shared-mime-info ttf-dejavu-core ttf-dejavu-extra tzdata-java uwsgi-core

uwsgi-plugin-jvm-openjdk-6 uwsgi-plugin-jwsgi-openjdk-6 x-ttcidfont-conf

x11proto-core-dev x11proto-input-dev x11proto-kb-dev xorg-sgml-doctools

xtrans-dev

The following packages will be upgraded:

libdbd-mysql-perl libdbi-perl libglib2.0-0 libgnutls26

liblocale-gettext-perl libmysqlclient16 libpcre3 libstdc++6

libtext-charwidth-perl libtext-iconv-perl libxau6 libxcb1 libxdmcp6

mysql-common perl perl-base perl-modules tzdata

18 upgraded, 97 newly installed, 1 to remove and 227 not upgraded.

10 not fully installed or removed.

Need to get 251 MB/308 MB of archives.

After this operation, 875 MB of additional disk space will be used.

Do you want to continue [Y/n]? y

Get:1 http://ftp.nl.debian.org/debian/ unstable/main openjdk-6-jre-lib all 6b23~pre11-1 [6,135 kB]

Get:2 http://ftp.nl.debian.org/debian/ unstable/main openjdk-6-jre-headless amd64 6b23~pre11-1 [25.3 MB]

Get:3 http://ftp.nl.debian.org/debian/ unstable/main openjdk-6-jre amd64 6b23~pre11-1 [236 kB]

Get:4 http://ftp.nl.debian.org/debian/ unstable/main openjdk-6-jdk amd64 6b23~pre11-1 [11.0 MB]

Get:5 http://ftp.nl.debian.org/debian/ unstable/main openjdk-6-dbg amd64 6b23~pre11-1 [142 MB]

Get:6 http://ftp.nl.debian.org/debian/ unstable/main openjdk-6-demo amd64 6b23~pre11-1 [2,293 kB]

Get:7 http://ftp.nl.debian.org/debian/ unstable/main openjdk-6-doc all 6b23~pre11-1 [20.6 MB]

Get:8 http://ftp.nl.debian.org/debian/ unstable/main openjdk-6-jre-zero amd64 6b23~pre11-1 [2,266 kB]

Get:9 http://ftp.nl.debian.org/debian/ unstable/main openjdk-6-source all 6b23~pre11-1 [40.9 MB]

Fetched 251 MB in 30s (8,150 kB/s)

E: Could not perform immediate configuration on 'perl'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

вообще то правильнее будет sudo apt-get install openjdk-6-*

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты
вообще то правильнее будет sudo apt-get install openjdk-6-*

 

sudo зачем??? он уже под root

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты
Авторизация  

  • Последние посетители   0 пользователей онлайн

    Ни одного зарегистрированного пользователя не просматривает данную страницу

×
×
  • Создать...