maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 10/07/2012 ) (https://talk.maemo.org/showthread.php?t=86611)

farfary 2012-09-05 20:58

[Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 10/07/2012 )
 
BackDeb :

A script ( NEW ! with Menu ! ) For Backuping Packages Installed

- All User Packages ( Applications and Depends )
- One User Package
- One System Package

Backup Folder : MyDocs/BackDeb/

- MyDocs/BackDeb/All ( For All Packages Backup )
- MyDocs/BackDeb/User ( For User Packages Backup )
- MyDocs/BackDeb/System ( For System Packages Backup )

Install :

Copy the .tar file to MyDocs and in terminal Run this command :
Code:

tar -xvf /home/user/MyDocs/backdeb.tar -C /
for Run Script in terminal :

Code:

# backdeb
Download :

backdeb.tar

Recommended Using It In N9QT

thedead1440 2012-09-06 02:17

Re: [Testing] BackDeb : a Script for Backup Debian Package Installed With Dpkg
 
hi farfary,
you can use this tar http://dl.dropbox.com/u/52851745/tar if you want to use dpkg-deb on your device... It is tested to work well...


Btw: Forgot to report earlier your script works well ;)

farfary 2012-09-06 07:38

Re: [Testing] BackDeb : a Script for Backup Debian Package Installed With Dpkg
 
Quote:

Originally Posted by thedead1440 (Post 1261894)
hi farfary,
you can use this tar http://dl.dropbox.com/u/52851745/tar if you want to use dpkg-deb on your device... It is tested to work well...


Btw: Forgot to report earlier your script works well ;)

very thanks for reply :)
this tar is the gnu-tar package in harmattan sdk repo ?

thedead1440 2012-09-06 08:08

Re: [Testing] BackDeb : a Script for Backup Debian Package Installed With Dpkg
 
yup gnu-tar that won't install on your system as its for n900...i extracted just tar and linked it...putting it in /bin/ with chmod 775'ng it allows dpkg-deb to successfully compile...Its tested so no worries ;)

farfary 2012-09-06 08:11

Re: [Testing] BackDeb : a Script for Backup Debian Package Installed With Dpkg
 
Quote:

Originally Posted by thedead1440 (Post 1261999)
yup gnu-tar that won't install on your system as its for n900...i extracted just tar and linked it...putting it in /bin/ with chmod 775'ng it allows dpkg-deb to successfully compile...Its tested so no worries ;)

veryy thanks , my scripts has some bugs , such as the icon in applications manager is not show
i work to fix these :)

Schturman 2012-09-06 09:10

Re: [Testing] BackDeb : a Script for Backup Debian Package Installed With Dpkg
 
farfary, from this message of thedead1440 you need to edit your first post from 777 to 775 ;)

Quote:

Originally Posted by thedead1440 (Post 1261999)
yup gnu-tar that won't install on your system as its for n900...i extracted just tar and linked it...putting it in /bin/ with chmod 775'ng it allows dpkg-deb to successfully compile...Its tested so no worries


farfary 2012-09-06 09:17

Re: [Testing] BackDeb : a Script for Backup Debian Package Installed With Dpkg
 
Quote:

Originally Posted by Schturman (Post 1262043)
farfary, from this message of thedead1440 you need to edit your first post from 777 to 775 ;)

Ohh YEsss :D
i Edited post #1

thedead1440 2012-09-06 09:42

Re: [Testing] BackDeb : a Script for Backup Debian Package Installed With Dpkg
 
farfary one last thing :D

for the tar replacement just do:

cp -R /path/to/downloaded/tar /bin/
chmod 775 /bin/tar


rm /bin/tar hence not required...
it will ensure people are less scared to try this out :D



Edit: why don't you package the new tar together with your backdeb with a cp -R command in your package? that would save the cp -R step...actually i think you can add a Makefile that does this as well as chmod 775's both backdeb and tar so then a user just installs your package and is good to go...

farfary 2012-09-06 17:01

Re: [Testing] BackDeb : a Script for Backup Debian Package Installed With Dpkg
 
Quote:

Originally Posted by thedead1440 (Post 1262068)
farfary one last thing :D

for the tar replacement just do:

cp -R /path/to/downloaded/tar /bin/
chmod 775 /bin/tar


rm /bin/tar hence not required...
it will ensure people are less scared to try this out :D



Edit: why don't you package the new tar together with your backdeb with a cp -R command in your package? that would save the cp -R step...actually i think you can add a Makefile that does this as well as chmod 775's both backdeb and tar so then a user just installs your package and is good to go...

OWww :D i Don'n Know that ( cp -R ... )
i try to add tar to my package but the dpkg errorED , its say the busybux has this file in file list , and you can not replace it
when i want to use the dpkg-divert , its not allowed to divert file
i not know about dpkg-divert and replace a file that in other package, if know help mee
---
i now work to add digsigsums the deb file
in next update i add it , and try to add tar to my package if i can :D

kainerious 2012-09-18 05:42

Re: [Announce] BackDeb : a Script for Backup Debian Package Installed With Dpkg ( Update 9/6/2012 )
 
Sorry, do not quite understand. I can get the installer.. Skype for example? I saw your mod in Quicktweak. Thanks.


All times are GMT. The time now is 00:49.

vBulletin® Version 3.8.8