maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   How to extract/save .deb file during/post installation (https://talk.maemo.org/showthread.php?t=59731)

t4ure4n 2010-08-04 09:42

How to extract/save .deb file during/post installation
 
Is there any way to save the .deb package during or after installation from Application Manager in N900?

Coffee 2010-08-04 10:01

Re: How to extract/save .deb file during/post installation
 
This is being looked into at present mate by another member. Hitting a few hurdles currently, am sure once sorted he will post for all.
I was looking for the same to save reinstalling all the apps after a restore and chewing data.

t4ure4n 2010-08-04 10:23

Re: How to extract/save .deb file during/post installation
 
Quote:

Originally Posted by Coffee (Post 775219)
This is being looked into at present mate by another member. Hitting a few hurdles currently, am sure once sorted he will post for all.
I was looking for the same to save reinstalling all the apps after a restore and chewing data.

OK, I'll keep my eyes open for any updates.

hsmade 2010-08-04 10:29

Re: How to extract/save .deb file during/post installation
 
Quote:

Originally Posted by t4ure4n (Post 775252)
OK, I'll keep my eyes open for any updates.

Just a thought.. they aren't stored in /var/cache/apt/archives?

ToJa92 2010-08-04 10:30

Re: How to extract/save .deb file during/post installation
 
Quote:

Originally Posted by hsmade (Post 775258)
Just a thought.. they aren't stored in /var/cache/apt/archives?

The Application Manager cleans it after every install/upgrade/removal, IIRC.

t4ure4n 2010-08-04 10:35

Re: How to extract/save .deb file during/post installation
 
Quote:

Originally Posted by ToJa92 (Post 775260)
The Application Manager cleans it after every install/upgrade/removal, IIRC.

If they are stored in some location like /var/cache/apt/archives? etc
can't we create a script or something to copy the contents of that folder while the application manager is running/installing.

I have done this in windows, some applications come with online installers (for example adobe).
During installation they store the installer to a windows temp folders. I have been able to copy installer files even if they were locked.

Coffee 2010-08-04 10:43

Re: How to extract/save .deb file during/post installation
 
He was looking at exactly that though hitting hurdles.
He is now looking at the lists you get from restore and trying to tackle that way I think. If others have suggestions and able to produce something, all ears. I would to assist though way out of my depths here with no idea at all.
I was just wanting to be able to save my files so each time I restore I'm not chewing data, can just reload my copies.

Stephen

Coffee 2010-08-04 10:45

Re: How to extract/save .deb file during/post installation
 
Quote:

Originally Posted by t4ure4n (Post 775267)
If they are stored in some location like /var/cache/apt/archives? etc
can't we create a script or something to copy the contents of that folder while the application manager is running/installing.

I have done this in windows, some applications come with online installers (for example adobe).
During installation they store the installer to a windows temp folders. I have been able to copy installer files even if they were locked.

Regards to this, as far as i can tell. The only files left stored here are the ones via apt-get. Unless they are stored elsewhere, it would seem they are erased.

t4ure4n 2010-08-04 10:59

Re: How to extract/save .deb file during/post installation
 
Quote:

Originally Posted by Coffee (Post 775278)
Regards to this, as far as i can tell. The only files left stored here are the ones via apt-get. Unless they are stored elsewhere, it would seem they are erased.

I think this will be of some help Back Up Your Applications

MohammadAG 2010-08-04 12:14

Re: How to extract/save .deb file during/post installation
 
Ovi Store paid debs: /var/tmp
Other debs: /home/user/MyDocs/.apt-archive-cache
debs installed through apt-get: /var/cache/apt/archives

t4ure4n 2010-08-05 09:09

Re: How to extract/save .deb file during/post installation
 
Quote:

Originally Posted by MohammadAG (Post 775348)
Ovi Store paid debs: /var/tmp
Other debs: /home/user/MyDocs/.apt-archive-cache
debs installed through apt-get: /var/cache/apt/archives

So can we write a script to copy the contents of these folders to another location when the application manager is running.

Is there any way we can copy the files/folders which are locked.

MohammadAG 2010-08-05 09:26

Re: How to extract/save .deb file during/post installation
 
Quote:

Originally Posted by t4ure4n (Post 776340)
So can we write a script to copy the contents of these folders to another location when the application manager is running.

Is there any way we can copy the files/folders which are locked.

Nothing is locked, just use cp to copy the files.

bman 2010-09-02 11:23

Re: How to extract/save .deb file during/post installation
 
i have installed an app and left app manager open
opened the phone in winscp and browsed those 3 directories and it isnt showing the application in any

in my thread http://forums.internettablettalk.com...t=57183&page=2
u listed editing a file
Quote:

Originally Posted by MohammadAG

Second method is to edit /home/user/.osso/hildon-application-manager
and change clean-after-install from 1 to 0 then check /home/user/MyDocs/.apt-archive-cache/ for the debs.
yet i dont have that file could u show the contents of it so i cna recreate it?

Dany-69 2010-09-02 11:38

Re: How to extract/save .deb file during/post installation
 
Ehmmmm ... ehmmmmmmm ...... but....... why are you so complicated ? o.O ...
Something a lot easier ... :

http://repository.maemo.org/extras/pool/fremantle/

http://repository.maemo.org/extras-t...ool/fremantle/

http://repository.maemo.org/extras-d...ool/fremantle/

PS: by the way ... i don't advice to install applications this way, through dpkg -i ... there always are the DEPENDENCES ...

MohammadAG 2010-09-02 12:33

Re: How to extract/save .deb file during/post installation
 
Quote:

Originally Posted by bman (Post 805107)
i have installed an app and left app manager open
opened the phone in winscp and browsed those 3 directories and it isnt showing the application in any

in my thread http://forums.internettablettalk.com...t=57183&page=2
u listed editing a file


yet i dont have that file could u show the contents of it so i cna recreate it?

Code:

clean-after-install 0
package-sort-key 0
package-sort-sign 1
break-locks 1
download-packages-to-mmc 1
use-apt-algorithms 0
red-pill-mode 1
red-pill-show-deps 1
red-pill-show-all 0
red-pill-show-magic-sys 0
red-pill-include-details-in-log 1
red-pill-check-always 0
red-pill-ignore-wrong-domains 0
red-pill-ignore-thirdparty-policy 0
red-pill-permanent 1
assume-connection 0
show-ssu-problems 1

The file is deleted directly after installation, unless you change clean-after-install as shown above.


All times are GMT. The time now is 02:51.

vBulletin® Version 3.8.8