Re: Problem with apt-get upgrade
Quote:
Originally Posted by
SkyZD
Heres output from
Code:
dpkg -i –force-overwrite framework3
dpkg: error processing –force-overwrite (--install):
cannot access archive: No such file or directory
dpkg: error processing framework3 (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
–force-overwrite
framework3
I'm wondering if its a problem with the package itself. Lets try using synaptic.
fresh start.
Code:
apt-get purge framework3
rm -rf /opt/framework3/
make sure kill postgres if running.
apt-get autoremove
apt-get autoclean
apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
If the error still shows up lets open synaptic and try from there.
If you haven't installed it
Code:
apt-get install synaptic
at command type synaptic, in search box type framework3 and if it is "installed" right click it and hit mark for complete removal. Once that is done and it is removed right click it again and hit mark for installation and click green checkmark. Hope that works. Latest version should be 3.7.2-bt0 I believe.
Re: Problem with apt-get upgrade
Quote:
Originally Posted by
StupidCrows
I'm wondering if its a problem with the package itself. Lets try using synaptic.
fresh start.
Code:
apt-get purge framework3
rm -rf /opt/framework3/
make sure kill postgres if running.
apt-get autoremove
apt-get autoclean
apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
If the error still shows up lets open synaptic and try from there.
If you haven't installed it
Code:
apt-get install synaptic
at command type synaptic, in search box type framework3 and if it is "installed" right click it and hit mark for complete removal. Once that is done and it is removed right click it again and hit mark for installation and click green checkmark. Hope that works. Latest version should be 3.7.2-bt0 I believe.
THANK YOU I WOULD LIKE TO BUMP THIS AND CAN SAY THAT IT WORKED 100%
also i would like to add that i installed the framework3 source package this time which could have something to do with it.
Re: Problem with apt-get upgrade
I tried everything in this thread, but those steps fixed it form e StupidCrows. Thanks! I think this all started because postgres failed to stop during the initial "apt-get upgrade", and the update didn't cleanly fail.
AW: Re: Problem with apt-get upgrade
also tried everything posted here...still same problem.
best do what nktoz recommended:
Quote:
Originally Posted by
nktoz
Replied to thread already, didn't appear, here it is again.
This worked for me:
1) After a fresh installation of BT5 KDE 32Bit, prevent apt to update metasploit by:
Code:
echo "framework3 hold" | dpkg --set-selections
2) Upgrade all packages except metasploit
Code:
apt-get update && apt-get dist-upgrade
3) Update metasploit
Hope this helps.
this way your system will be up to date. worked for me. thx nktoz
there is also a bug report
Backtrack 5 - Bug #154: Cannot upgrade to framework3 3.7.2-bt0 on 32bit gnome - Redmine
Re: Problem with apt-get upgrade
I get this error :/
Code:
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 sqlite python-pyicu libdebian-installer4 cryptsetup
libecryptfs0 reiserfsprogs rdate bogl-bterm ecryptfs-utils
libdebconfclient0 dmraid
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)