upgrade Error
#1
bang,,ane pengguna baru nih,,mw numpang tanya,,tolong dibantu ya...
kira2 errornya ky gini nih...

Quote: root@bt:/home/bee_os# apt-get upgrade
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, 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up framework3 (3.7.2-bt0) ...
chmod: cannot access `framework-32.bin': No such file or directory
/var/lib/dpkg/info/framework3.postinst: line 11: ./framework-32.bin: No such file or directory
cp: cannot stat `mysql-2.8.1': No such file or directory
Building native extensions. This could take a while...
Successfully installed mysql-2.8.1
1 gem installed
Installing ri documentation for mysql-2.8.1...
Installing RDoc documentation for mysql-2.8.1...
cp: cannot create directory `/opt/framework3/ruby/lib/ruby/gems/1.9.1/gems/': No such file or directory
mv: cannot move `/usr/src/IMPORTANT-README' to `/pentest/exploits/framework3/': Not a directory
dpkg: error processing framework3 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
framework3
E: Sub-process /usr/bin/dpkg returned an error code (1)


mohon bantuannya . .
:apn:

#2
itu metasploit framework3 nya ilang kayaknya bro

coba apt-get install framework3 dulu trus diupgrade lagi

selamat mencoba Smile

#3
(08-03-2011, 09:15 PM)konspirasi Wrote: itu metasploit framework3 nya ilang kayaknya bro

coba apt-get install framework3 dulu trus diupgrade lagi

selamat mencoba Smile

tetep aj ni bro,,
Huh


Quote:root@bt:/home/bee_os# apt-get install framework3
Reading package lists... Done
Building dependency tree
Reading state information... Done
framework3 is already the newest version.
The following packages were automatically installed and are no longer required:
libdmraid1.0.0.rc16 libxvidcore4 sqlite libsvga1 python-pyicu
libdebian-installer4 cryptsetup libecryptfs0 reiserfsprogs rdate bogl-bterm
ettercap-gtk wine1.2-gecko ecryptfs-utils libdebconfclient0 dmraid
ettercap-common
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up framework3 (3.7.2-bt0) ...
chmod: cannot access `framework-32.bin': No such file or directory
/var/lib/dpkg/info/framework3.postinst: line 11: ./framework-32.bin: No such file or directory
cp: cannot stat `mysql-2.8.1': No such file or directory
Building native extensions. This could take a while...
Successfully installed mysql-2.8.1
1 gem installed
Installing ri documentation for mysql-2.8.1...
Installing RDoc documentation for mysql-2.8.1...
cp: cannot create directory `/opt/framework3/ruby/lib/ruby/gems/1.9.1/gems/': No such file or directory
mv: cannot move `/usr/src/IMPORTANT-README' to `/pentest/exploits/framework3/': Not a directory
dpkg: error processing framework3 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
framework3
E: Sub-process /usr/bin/dpkg returned an error code (1)

#4
diremove dulu bro
apt-get remove framework3
apt-get autoremove

trus install lg
apt-get install framework3

#5
bener tuh bro seperti yang om konspirasi bilang, soalnya menurut pesan error di atas masih ada installan framework yang belum di hapus.

#6
(08-07-2011, 05:38 AM)konspirasi Wrote: diremove dulu bro
apt-get remove framework3
apt-get autoremove

trus install lg
apt-get install framework3

(08-07-2011, 09:19 AM)micko Wrote: bener tuh bro seperti yang om konspirasi bilang, soalnya menurut pesan error di atas masih ada installan framework yang belum di hapus.


sudah ane remove
Quote:root@bt:/home/bee_os# apt-get remove framework3
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libdmraid1.0.0.rc16 libxvidcore4 sqlite libsvga1 python-pyicu
libdebian-installer4 cryptsetup libecryptfs0 reiserfsprogs rdate bogl-bterm
ettercap-gtk wine1.2-gecko ecryptfs-utils libdebconfclient0 dmraid
ettercap-common
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
framework3
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
(Reading database ... 247834 files and directories currently installed.)
Removing framework3 ...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for python-support ...


autoremove
Quote:root@bt:/home/bee_os# apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
bogl-bterm cryptsetup dmraid ecryptfs-utils ettercap-common ettercap-gtk
libdebconfclient0 libdebian-installer4 libdmraid1.0.0.rc16 libecryptfs0
libsvga1 libxvidcore4 python-pyicu rdate reiserfsprogs sqlite wine1.2-gecko
0 upgraded, 0 newly installed, 17 to remove and 0 not upgraded.
After this operation, 15.4MB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 247799 files and directories currently installed.)
Removing bogl-bterm ...
Removing cryptsetup ...
update-initramfs: deferring update (trigger activated)
Removing dmraid ...
update-initramfs: deferring update (trigger activated)
Removing ecryptfs-utils ...
Removing ettercap-gtk ...
Removing ettercap-common ...
Removing libdebconfclient0 ...
Removing libdebian-installer4 ...
Removing libdmraid1.0.0.rc16 ...
Removing libecryptfs0 ...
Removing libsvga1 ...
Removing libxvidcore4 ...
Removing python-pyicu ...
Removing rdate ...
Removing reiserfsprogs ...
Removing sqlite ...
Removing wine1.2-gecko ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.38
Processing triggers for menu ...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for python-support ...

trus install agy,,tp ttep error bro..
Huh
Quote:root@bt:/home/bee_os# apt-get install framework3
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
framework3
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/145MB of archives.
After this operation, 0B of additional disk space will be used.
Selecting previously deselected package framework3.
(Reading database ... 247435 files and directories currently installed.)
Unpacking framework3 (from .../framework3_3.7.2-bt0_i386.deb) ...
/opt/framework3/postgresql/scripts/ctl.sh : postgresql stopped
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for python-support ...
Setting up framework3 (3.7.2-bt0) ...
There has been an error.
Error running su postgres -c '"/opt/framework3/postgresql/bin/psql" -c "ALTER USER postgres PASSWORD '\''2c0038fc'\''" ' : psql.bin: FATAL: the database system is starting up
cp: cannot create directory `/opt/framework3/ruby/lib/ruby/gems/1.9.1/gems/': No such file or directory
Building native extensions. This could take a while...
Successfully installed mysql-2.8.1
1 gem installed
Installing ri documentation for mysql-2.8.1...
Installing RDoc documentation for mysql-2.8.1...
cp: cannot create directory `/opt/framework3/ruby/lib/ruby/gems/1.9.1/gems/': No such file or directory
mv: cannot move `/usr/src/IMPORTANT-README' to `/pentest/exploits/framework3/': Not a directory
dpkg: error processing framework3 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
framework3
E: Sub-process /usr/bin/dpkg returned an error code (1)

#7
oh iya bro, klo install metasploit harus ada beberapa aplikasi yg harus diinstall dulu (ruby dkk)
Code:
$ apt-get install ruby libruby rdoc
    $ apt-get install libyaml-ruby
    $ apt-get install libzlib-ruby
    $ apt-get install libopenssl-ruby
    $ apt-get install libdl-ruby
    $ apt-get install libreadline-ruby
    $ apt-get install libiconv-ruby
    $ apt-get install rubygems

baru install framework3 nya
met mencoba lagi Smile

#8
(08-07-2011, 09:25 PM)konspirasi Wrote: oh iya bro, klo install metasploit harus ada beberapa aplikasi yg harus diinstall dulu (ruby dkk)
Code:
$ apt-get install ruby libruby rdoc
    $ apt-get install libyaml-ruby
    $ apt-get install libzlib-ruby
    $ apt-get install libopenssl-ruby
    $ apt-get install libdl-ruby
    $ apt-get install libreadline-ruby
    $ apt-get install libiconv-ruby
    $ apt-get install rubygems

baru install framework3 nya
met mencoba lagi Smile

ane sudah install semua bang,,
dan sebelum install itu,,ane jga sdah remove2 lagi...

trus ane install framework lagi,,
tp gitu lagi..
Huh

Quote:root@bt:/home/bee_os# apt-get install framework3
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
framework3
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/145MB of archives.
After this operation, 0B of additional disk space will be used.
Selecting previously deselected package framework3.
(Reading database ... 247453 files and directories currently installed.)
Unpacking framework3 (from .../framework3_3.7.2-bt0_i386.deb) ...
/opt/framework3/postgresql/scripts/ctl.sh : postgresql stopped
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for python-support ...
Setting up framework3 (3.7.2-bt0) ...
There has been an error.
Error running su postgres -c '"/opt/framework3/postgresql/bin/psql" -c "ALTER USER postgres PASSWORD '\''8e0b3d08'\''" ' : psql.bin: FATAL: the database system is starting up
cp: cannot create directory `/opt/framework3/ruby/lib/ruby/gems/1.9.1/gems/': No such file or directory
Building native extensions. This could take a while...
Successfully installed mysql-2.8.1
1 gem installed
Installing ri documentation for mysql-2.8.1...
Installing RDoc documentation for mysql-2.8.1...
cp: cannot create directory `/opt/framework3/ruby/lib/ruby/gems/1.9.1/gems/': No such file or directory
mv: cannot move `/usr/src/IMPORTANT-README' to `/pentest/exploits/framework3/': Not a directory
dpkg: error processing framework3 (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
framework3
E: Sub-process /usr/bin/dpkg returned an error code (1)

#9
tenang bro, ternyata di backtrack-linux.org sendiri juga ada yg mengalami hal serupa Smile

ktnya abis di apt-get dist-upgrade atau apt-get upgrade byk yg mengalami hal serupa
sickness berhasil dengan cara:
Quote:Steps to remove metasploit

apt-get purge framework3
rm -rf /pentest/exploits/framework3
rm -rf /opt/framework3
apt-get install framework3

jangan lupa matiin postgresql yak,
Quote:/etc/init.d/postgres-8.4 stop
coba dulu yak Smile

klo masih ga bisa ada yg kasih tau agar download disini
trus jalankan, kemudian msfupdate

met mencoba lagi Smile

#10
1. apt-get remove source-framework3
2. rm -r "/pentest/exploits/framework3" & rm -r "/opt/framework3"
3. cd /pentest/exploits/
4. svn co http://metasploit.com/svn/framework3/trunk/ framework3
FOLLOW @DutaLinux
for more question and sharing about security and Opensource only






Users browsing this thread: 1 Guest(s)