Error apt-get

Pertanyaan umum seputar distribusi Ubuntu yang menjadi distro wajib members ubuntu-indonesia.com
User avatar
foodz
Posts: 14
Joined: 30 Apr 2013, 06:36
Location: Sidoarjo
Contact:

Error apt-get

Postby foodz » 30 Apr 2013, 06:45

Ini adalah kesalahan saya saat saya menginstall java...
yang mmbuat aplikasi lain yg ingin saya install juga terlihat error..
ini saking bingungnya make perintah autoremove, purge, clean and apalah yg yg pntg ngapus itu error :( (maklum saya masih pengguna baru :) )

Code: Select all

root@foodz:/home/foodz# apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up oracle-java7-installer (7u3-0~eugenesan~precise4) ...
Downloading...
--2013-04-30 06:21:14--  http://download.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-i586.tar.gz
Resolving download.oracle.com (download.oracle.com)... 112.215.26.10, 112.215.26.16, 64:ff9b::70d7:1a10, ...
Connecting to download.oracle.com (download.oracle.com)|112.215.26.10|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-i586.tar.gz [following]
--2013-04-30 06:21:14--  https://edelivery.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-i586.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.0.182.140, 64:ff9b::1700:b68c, 64:ff9c::1700:b68c
Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.0.182.140|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/errors/download-fail-1505220.html [following]
--2013-04-30 06:21:16--  http://download.oracle.com/errors/download-fail-1505220.html
Connecting to download.oracle.com (download.oracle.com)|112.215.26.10|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5307 (5.2K) [text/html]
Saving to: `./jdk-7u3-linux-i586.tar.gz'

     0K .....                                                 100%  105K=0.05s

2013-04-30 06:21:16 (105 KB/s) - `./jdk-7u3-linux-i586.tar.gz' saved [5307/5307]

Download done.
sha256sum mismatch jdk-7u3-linux-i586.tar.gz
Oracle JDK 7 is NOT installed.
dpkg: error processing oracle-java7-installer (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 oracle-java7-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@foodz:/home/foodz#


Apa yang mesti saya lakukan untuk mengatasi masalah ini ..
Mohon bantuannya sama Teman2 Ubuntu indonesia :)
trims
User avatar
offline
Posts: 2672
Joined: 17 Feb 2010, 21:03
Location: Kebumen

Re: Butuh Bantuan nihh,,, kok EROR :(

Postby offline » 30 Apr 2013, 06:59

sudo apt-get clean
sudo apt-get autoremove
sudo apt-get install -f
User avatar
nif
Posts: 2816
Joined: 31 Mar 2011, 07:48

Re: Butuh Bantuan nihh,,, kok EROR :(

Postby nif » 30 Apr 2013, 09:00

paket oracle-java7-installer dapat dari mana? sepertinya broken package.
coba nambahin;
sudo dpkg -P --force-remove-reinstreq oracle-java7-installer

cmiiw
User avatar
foodz
Posts: 14
Joined: 30 Apr 2013, 06:36
Location: Sidoarjo
Contact:

Re: Butuh Bantuan nihh,,, kok EROR :(

Postby foodz » 30 Apr 2013, 14:07

trims pak yogisux da bls..
masih error pak,, gak pengaruh..
:/
User avatar
foodz
Posts: 14
Joined: 30 Apr 2013, 06:36
Location: Sidoarjo
Contact:

Re: Butuh Bantuan nihh,,, kok EROR :(

Postby foodz » 30 Apr 2013, 14:13

trims pak sudah bls.. :)
uhmm saya hanya mengikuti tutorial aja pak..
klo ad yg pke oracle-java7-installer
tapi setelah saya coba step by step ternyata.. kok malah error... :(
dan smua aplikasi yg ingin di install terlihat spt gagal di install.. padahal kalo diilihat detailnya cmn oracle-java7-installer aja yg bermasalah..

oke saya coba dulu pak

Code: Select all

sudo dpkg -P --force-remove-reinstreq oracle-java7-installer
User avatar
foodz
Posts: 14
Joined: 30 Apr 2013, 06:36
Location: Sidoarjo
Contact:

Re: Butuh Bantuan nihh,,, kok EROR :(

Postby foodz » 30 Apr 2013, 14:16

Code: Select all

 root@foodz:/home/foodz# dpkg -P --force-remove-reinstreq oracle-java7-installer(Reading database ... 261910 files and directories currently installed.)
Removing oracle-java7-installer ...
update-alternatives: error: unknown argument `Downloads'
dpkg: error processing oracle-java7-installer (--purge):
 subprocess installed pre-removal script returned error exit status 2
Downloading...
--2013-04-30 14:13:56--  http://download.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-i586.tar.gz
Resolving download.oracle.com (download.oracle.com)... 112.215.26.10, 112.215.26.16, 64:ff9b::70d7:1a0a, ...
Connecting to download.oracle.com (download.oracle.com)|112.215.26.10|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-i586.tar.gz [following]
--2013-04-30 14:13:56--  https://edelivery.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-i586.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.10.22.140, 64:ff9c::170a:168c, 64:ff9b::170a:168c
Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.10.22.140|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/errors/download-fail-1505220.html [following]
--2013-04-30 14:13:57--  http://download.oracle.com/errors/download-fail-1505220.html
Connecting to download.oracle.com (download.oracle.com)|112.215.26.10|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5307 (5.2K) [text/html]
Saving to: `./jdk-7u3-linux-i586.tar.gz'

     0K .....                                                 100% 94.4K=0.05s

2013-04-30 14:13:57 (94.4 KB/s) - `./jdk-7u3-linux-i586.tar.gz' saved [5307/5307]

Download done.
sha256sum mismatch jdk-7u3-linux-i586.tar.gz
Oracle JDK 7 is NOT installed.
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 oracle-java7-installer
root@foodz:/home/foodz#


Masih error pak nif,,, :/
User avatar
offline
Posts: 2672
Joined: 17 Feb 2010, 21:03
Location: Kebumen

Re: Butuh Bantuan nihh,,, kok EROR :(

Postby offline » 30 Apr 2013, 14:23

coba
sudo apt-get purge oracle-java7-installer
User avatar
foodz
Posts: 14
Joined: 30 Apr 2013, 06:36
Location: Sidoarjo
Contact:

Re: Butuh Bantuan nihh,,, kok EROR :(

Postby foodz » 30 Apr 2013, 15:36

ini pak hasilnya... :(

Code: Select all

root@foodz:/home/foodz# apt-get purge oracle-java7-installer
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
root@foodz:/home/foodz# apt-get purge oracle-java7-installer
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  libjhdf5-java* oracle-java7-installer* scilab* scilab-doc* scilab-full-bin*
  scilab-sivp*
0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
6 not fully installed or removed.
After this operation, 41.1 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 266088 files and directories currently installed.)
Removing scilab-sivp ...
Removing scilab-doc ...
Removing scilab ...
Purging configuration files for scilab ...
Removing scilab-full-bin ...
Removing libjhdf5-java ...
Removing oracle-java7-installer ...
update-alternatives: error: unknown argument `cdrom'
dpkg: error processing oracle-java7-installer (--purge):
 subprocess installed pre-removal script returned error exit status 2
No apport report written because MaxReports is reached already
                                                              Downloading...
--2013-04-30 15:33:09--  http://download.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-i586.tar.gz
Resolving download.oracle.com (download.oracle.com)... 112.215.26.16, 112.215.26.10, 64:ff9c::70d7:1a0a, ...
Connecting to download.oracle.com (download.oracle.com)|112.215.26.16|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-i586.tar.gz [following]
--2013-04-30 15:33:10--  https://edelivery.oracle.com/otn-pub/java/jdk/7u3-b04/jdk-7u3-linux-i586.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.0.182.140, 64:ff9b::1700:b68c, 64:ff9c::1700:b68c
Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.0.182.140|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/errors/download-fail-1505220.html [following]
--2013-04-30 15:33:11--  http://download.oracle.com/errors/download-fail-1505220.html
Connecting to download.oracle.com (download.oracle.com)|112.215.26.16|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5307 (5.2K) [text/html]
Saving to: `./jdk-7u3-linux-i586.tar.gz'

     0K .....                                                 100% 12.4K=0.4s

2013-04-30 15:33:12 (12.4 KB/s) - `./jdk-7u3-linux-i586.tar.gz' saved [5307/5307]

Download done.
sha256sum mismatch jdk-7u3-linux-i586.tar.gz
Oracle JDK 7 is NOT installed.
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Processing triggers for man-db ...
Processing triggers for menu ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Errors were encountered while processing:
 oracle-java7-installer
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@foodz:/home/foodz#


aplikasi scilabny juga terhapus pak..
User avatar
offline
Posts: 2672
Joined: 17 Feb 2010, 21:03
Location: Kebumen

Re: Butuh Bantuan nihh,,, kok EROR :(

Postby offline » 30 Apr 2013, 15:55

User avatar
abu_unaisah
Posts: 1621
Joined: 24 Nov 2011, 14:07

Re: Butuh Bantuan nihh,,, kok EROR :(

Postby abu_unaisah » 30 Apr 2013, 16:05

install ulang ubuntunya
User avatar
nif
Posts: 2816
Joined: 31 Mar 2011, 07:48

Re: Butuh Bantuan nihh,,, kok EROR :(

Postby nif » 30 Apr 2013, 20:12

sepertinya masalah di script prerm-nya paket oracle-java7-installer ini :confused:

coba;

Code: Select all

sudo rm /var/lib/dpkg/info/oracle-java7-installer*
sudo dpkg -P --force-remove-reinstreq oracle-java7-installer
User avatar
foodz
Posts: 14
Joined: 30 Apr 2013, 06:36
Location: Sidoarjo
Contact:

Re: Butuh Bantuan nihh,,, kok EROR :(

Postby foodz » 30 Apr 2013, 20:20

yahh,,, :( ngulang dari awal donk klo di install ulang... -_-
eman pak sudah banyak yg nginstall :(
User avatar
foodz
Posts: 14
Joined: 30 Apr 2013, 06:36
Location: Sidoarjo
Contact:

Re: Butuh Bantuan nihh,,, kok EROR :(

Postby foodz » 30 Apr 2013, 20:22

saya coba dulu pak ,,,
semoga berhasil,,, :)
User avatar
foodz
Posts: 14
Joined: 30 Apr 2013, 06:36
Location: Sidoarjo
Contact:

Re: Butuh Bantuan nihh,,, kok EROR :(

Postby foodz » 30 Apr 2013, 20:26

terimakasih pak,,
saya coba dulu pak,, :)
User avatar
foodz
Posts: 14
Joined: 30 Apr 2013, 06:36
Location: Sidoarjo
Contact:

Re: Butuh Bantuan nihh,,, kok EROR :(

Postby foodz » 30 Apr 2013, 21:09

SOLVED
Alhamdulillahh,,,, saran2 dari pak nif & pak yogisux berhasil ..
terimaksih pak,,, :)

Return to “Pertanyaan Umum”

Who is online

Users browsing this forum: Google [Bot] and 4 guests