View Single Post
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#5367
Originally Posted by MK99 View Post
Running sh /opt/N9QTweak/Tweaks/TweakX or apt-get install binutils as root, it works fine.
But normally choose tweak X, it doesn't.
Look at this:
Code:
~ # apt-get remove --purge binutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED
  binutils*
0 upgraded, 0 newly installed, 1 to remove and0 not upgraded.
After this operation, 8,700kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 42414 files and directories currently installed.)
Removing binutils ...
Purging configuration files for binutils ...
Processing triggers for applauncherd-launcher ...
aegis uninstalling binutils
Updating desktop entries... Done
~ #
and this:
Code:
Options:
1. Create .deb package
2. Install all backuped apps
----------------------------
3. Uninstall package creator

Choose a numbers separated by 1 space: 1

Create .deb package.

ar not installed, trying to install...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  binutils-doc
The following NEW packages will be installed
  binutils
0 upgraded, 1 newly installed, 0 to remove and0 not upgraded.
Need to get 3,010kB of archives.
After this operation, 8,700kB of additional disk space will be used.
Fetched 3,010kB in 11s (264kB/s)
Selecting previously deselected package binutils.
(Reading database ... 42274 files and directories currently installed.)
Unpacking binutils (from .../binutils_2.19.51.20090709-0maemo10+0m6_armel.deb) ...
aegis-installing binutils (from 'com.nokia.maemo')
Processing triggers for applauncherd-launcher ...
Setting up binutils (2.19.51.20090709-0maemo10+0m6) ...
Updating desktop entries... Done

-----------------------------------------------
##### Backup Scripts N9 Harmattan Pr 1.3 ######
-----------------------------------------------
### By Farhad A. ( Maemo.org ID : Farfary ) ###
-----------------------------------------------
>> Backup >> Package >> -----------------------

> A: Backup All User Packages Installed since
  from first Use Of Mobile (After last flashed,
  if you are flashed it)
From what you can see, no problem at all...

Command that I use in this tweak:
Code:
        [1] ) echo -e "${YELLOW}Create .deb package.${NORMAL}"
      echo ""
        if [ ! -f /opt/backdeb ]; then
          cp -rf /opt/N9QTweak/CreateDeb/* /
          if [ ! -f /usr/bin/ar ]; then
          echo "ar not installed, trying to install..."
            pkill pkgmgrd
            rm /var/lib/dpkg/lock
          apt-get install binutils || xexit "${BGRED}Failed to install ar, exiting...${NORMAL}" 11
          apt-get clean
        fi
           echo ""
            sh /opt/backdeb/backdeb.sh
      else
           echo ""
            sh /opt/backdeb/backdeb.sh
       fi
Do you have Open Mode ?