[ask] error Sub-process /usr/bin/dpkg returned an error code (1)
#1
sorry ni om momod klu udah ada di delete aja, cz ane cari2 kga ktemu2

mau tanya ni om, pas ane apt-get install rubygems mlah muncul error Sad

Code:
root@udalah:~# apt-get install rubygems1.9.1
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Suggested packages:
  ruby1.9.1-dev rubygems-doc
The following NEW packages will be installed:
  rubygems1.9.1
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 201kB of archives.
After this operation, 864kB of additional disk space will be used.
Get:1 http://all.repository.backtrack-linux.org/ revolution/main rubygems1.9.1 1.3.7-1~uorppa0 [201kB]
Fetched 201kB in 6s (32.1kB/s)                                                
Selecting previously deselected package rubygems1.9.1.
(Reading database ... 279468 files and directories currently installed.)
Unpacking rubygems1.9.1 (from .../rubygems1.9.1_1.3.7-1~uorppa0_all.deb) ...
Processing triggers for man-db ...
Setting up rubygems1.9.1 (1.3.7-1~uorppa0) ...
update-alternatives: error: alternative gem can't be brother: it is a slave of ruby
dpkg: error processing rubygems1.9.1 (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
rubygems1.9.1
E: Sub-process /usr/bin/dpkg returned an error code (1)

thanks om Smile

#2
coba pake dpkg -r rubygems1.9.1

#3
bersihkan dahulu repo. atau ada yang missing.
cek

apt-get update --fix-missing

setelah itu :

apt-get install upgrade

setelah itu install package yang udalah gunakan.

screenshot hasilnya dari udalah :-)
Don't forget visit below

#4
(05-26-2013, 09:35 AM)justlearn Wrote: bersihkan dahulu repo. atau ada yang missing.
cek

apt-get update --fix-missing

setelah itu :

apt-get install upgrade

setelah itu install package yang udalah gunakan.

screenshot hasilnya dari udalah :-)

kok ada yang missing gitu kang?
apa ini emang bug nya backtrack ya kang?






Users browsing this thread: 1 Guest(s)