Somehow I damaged the file which contains the installed cydia apps on my iphone
File path: /var/lib/dpkg/status
I tried to recover it on my own way. This steps may take long but anyhow it worked for me!

In the File you will have to enter the packages as this example:

Package: x
Status: install ok installed
Version: x
Pre-Depends: x
Depends: x
Conflicts: y
Replaces: x
Installed-Size: 1

For cydia for example:

Package: cydia
Status: install ok installed
Version: 1.0.3044-65
Installed-Size: 1448
Pre-Depends: dpkg (>= 1.14.25-8)
Depends: apr-lib, apt7-key, apt7-lib, darwintools, pcre, shell-cmds, system-cmds, essential
Conflicts: com.sosiphone.addcydia
Replaces: com.sosiphone.addcydia

The fields mentioned above are the only (till now) required fields, ignore all others like maintainer, description, etc.

To know which packages you already installed browse to /var/lib/dpkg/info and grab all *.list names
for the example mentioned above, you would find a file called cydia.list

get required infos of packages from iphone:

/var/lib/apt/lists/ *Packages

or  from internet:
Here are infos about the fields from some repos:
(found by searching google : "Package: package-name" and don't forget "quotation marks"

http://modmyi.com/cydia/search.php

http://apt.saurik.com/dists/tangelo-3.7/main/binary-iphoneos-arm/Packages
http://apt.modmyi.com/dists/stable/main/binary-iphoneos-arm/Packages
http://apt.bigboss.us.com/repofiles/cydia/dists/stable/main/binary-iphoneos-arm/Packages
http://iphone.tgbus.com/cydia/Packages
http://repo.beyouriphone.com/Packages

 

Batch Script placed in the folder of status with info foldercontaining *.list is inside
This will restore all to new file status-append
then just copy and paste to status, open cydia and correct version, dependencies, etc.

@echo off
Title Restore Installed Apps
ECHO.
ECho append *.list to status
ECHO.
for /f %%i in ('dir /b info\*.list') DO (
    CALL :schonda %%~ni
)
ECHO.
ECHO Done!
pause
exit

:schonda
SET F=status-append
FIND "Package: %1" "status"
IF NOT %ERRORLEVEL%==0 (
    ECHO     [%1]    [Missing!]
    >>%F% ECHO.
    >>%F% ECHO Package: %1
    >>%F% ECHO Status: install ok installed
    >>%F% ECHO Version: 1
    REM >>%F% ECHO Pre-Depends: x
    REM >>%F% ECHO Depends: x
    REM >>%F% ECHO Conflicts: y
    REM >>%F% ECHO Replaces: x
    REM >>%F% ECHO Installed-Size: 1
    ) ELSE (
        ECHO     [%1]    [OK]
    )
GOTO :EOF

 

Comments   

# RE Recover List of Installed Apps in CydiaBladimir 2010-01-05 04:40
simply deleting the files in the /private/var/lib/apt/lists except the partial folder would've done the same thing. it would rebuild your package list and your sources list as well once you fire up Cydia again ;-)
# JarvisDina 2010-10-17 10:13
It is good that people are able to take the home loans moreover, that opens up completely new possibilities.
# arun 2011-02-20 07:56
Good work! Your post is an excellent example of why I keep comming back to read your excellent quality content that is forever updated. Thank you! http://linkjuice.co.in
# RE Recover List of Installed Apps in CydiaCollege Paper 2010-04-21 08:51
Thanks for sharing. I thought I've lost all my apps forever!
# RE Recover List of Installed Apps in Cydiakelly 2010-04-26 09:38
This was very helpful
# RE Recover List of Installed Apps in CydiaAntique store 2010-05-06 21:54
Thanks for sharing. I also have problem with my Iphone the same with you. I hope I can also recover my damaged files.
# RE Recover List of Installed Apps in Cydiaaffordable seo company 2010-05-06 23:44
This would be a big help but are you sure all the applications are working? Im'a try it soon. Thanks..
# RE Recover List of Installed Apps in Cydiaonline antique mall 2010-05-07 00:10
Great this is really will be a good help :-)
# RE Recover List of Installed Apps in Cydiaweb site design company 2010-05-07 21:44
Thanks for helping me recover these applications!!
# RE Recover List of Installed Apps in Cydiaroom dividers nyc 2010-05-12 01:23
Thanks for posting this helpful tips!
# RE Recover List of Installed Apps in Cydiabuy dissertation 2010-05-14 16:04
The information you provided is quite simple and clear for knowledge seeker. Thanks for your research anyways.
# RE Recover List of Installed Apps in Cydiacomputer to ipod transfer 2010-05-14 21:38
Thanks. Now I can restore my applications. I can perform a faster computer to ipod transfer because of this.
# best string trimmers 2010-06-29 15:52
best string trimmers
# RE Recover List of Installed Apps in Cydiaforex trading 2010-05-21 13:45
thanks!
# RE Recover List of Installed Apps in CydiaHow To Get Pregnant 2010-05-27 16:16
Great Post.I like the link.Now expecting some good ideas from your upcoming post.
# RE Recover List of Installed Apps in Cydiaipod transfer to pc 2010-06-01 22:54
Wow! good tutorial. Lot of us followers are waiting for this. Thanks.
# RE Recover List of Installed Apps in CydiaDouglas 2010-06-21 16:12
Cool. It took me a few minutes to follow this workaround. Thanks so much for sharing this.
# RE Recover List of Installed Apps in CydiaFord Focus Parts 2010-07-10 00:08
I DO AGREE! This steps may take long but anyhow it worked for me anyway.
# RE Recover List of Installed Apps in Cydiahttp://www.google.com google 2010-07-11 21:50
Thanks for the info.
# RE Recover List of Installed Apps in Cydiajntu 2010-07-14 09:27
Here is an even easier way: install Rock on your iPhone and create a Rock account with only your email and a password. Rock gonna save the 5 latest stage of your JB apps and you can restore any time. Saved me hours and hours of search and install last time when I upgraded to 3.1.2.
Just my 2 cents.

jntu papers
# RE Recover List of Installed Apps in Cydiabones 2010-07-14 09:29
eside the applications, isn’t it possible to create a FULL backup of the complete iPhone3GS/iPod Touch3 root partition to the user data partition? I am just thinking since Apple is no longer allow recover to OS 3.1.2 if we can at least create a tarball of the whole existing OS then we can just simply restore the full

watch bones
# RE Recover List of Installed Apps in Cydiaonketing 2010-07-15 12:01
ya now even i can use my applications properly.
onketing india
# RE Recover List of Installed Apps in CydiaAir Jordans 2010-09-25 12:13
Good article! Thank you so much for sharing this post.Your views truly open my mind.
# RE Recover List of Installed Apps in Cydiacustom essay papers 2010-10-04 14:59
I’ve been always so indecisive to start my own blog as I wasn’t sure that it’ll gain popularity. I am running the blog for three months already and I am pretty happy with the results.
# RE Recover List of Installed Apps in Cydiamala direta 2011-02-18 05:07
Nice information, many thanks to the author. It is incomprehensibl e to me now, but in general, the usefulness and significance is overwhelming. Thanks again and good luck!
# COMMENT_TITLE_RE Recover List of Installed Apps in CydiaAlex 2011-12-20 04:26
fortunately you fixed it
i will remember this in order to use if my iphone get into the same case.
# RE: Recover List of Installed Apps in Cydiaweb hosting india 2012-07-06 11:43
Thanks for sharing such a nice post
regards...