Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25

Thread: Problem with apt-get upgrade

  1. #21
    Just burned his ISO StupidCrows's Avatar
    Join Date
    May 2011
    Location
    A dark basement somewhere
    Posts
    8

    Default Re: Problem with apt-get upgrade

    Quote Originally Posted by SkyZD View Post
    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.

  2. #22
    Just burned his ISO
    Join Date
    Jun 2011
    Posts
    10

    Default Re: Problem with apt-get upgrade

    Quote Originally Posted by StupidCrows View Post
    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.

  3. #23
    Just burned his ISO
    Join Date
    Nov 2008
    Posts
    3

    Default 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.

  4. #24
    Just burned his ISO
    Join Date
    Aug 2011
    Posts
    4

    Default 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 View Post
    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
    Code:
    msfupdate
    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

  5. #25
    Just burned his ISO
    Join Date
    Aug 2011
    Posts
    2

    Default 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)

Page 3 of 3 FirstFirst 123

Similar Threads

  1. SET upgrade problem
    By t0b1as in forum BackTrack 5 Beginners Section
    Replies: 4
    Last Post: 02-10-2012, 11:45 AM
  2. problem with openvas after upgrade
    By l1nu$ in forum Beginners Forum
    Replies: 17
    Last Post: 04-10-2011, 04:33 PM
  3. Upgrade problem
    By YairNava in forum Beginners Forum
    Replies: 1
    Last Post: 10-02-2010, 02:17 AM
  4. Another 2.6.34 upgrade problem...
    By RawShark in forum Beginners Forum
    Replies: 1
    Last Post: 08-01-2010, 07:32 AM
  5. Replies: 0
    Last Post: 11-17-2009, 09:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •