The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > Native iPhone / iPod Touch App Discussion > Cydia Support
Reply
 
LinkBack Thread Tools Display Modes
  #31  
Old 12-24-2008, 09:23 AM
What's Jailbreak?
 
Join Date: Aug 2008
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts

Quote:
Originally Posted by rmorita View Post
Hi everyone,

I have the same problem. when I try to run dpkg appear this message:

sw/bin/dpkg-deb: parse error, in file `MyProgram/DEBIAN/control' near line 4:
duplicate value for user-defined field `'


Who can help me?

Regards...
I got that too. I fixed it by switching the Text Encoding. If it's set to Unicode (UTF-16), then switch it to Unicode (UTF-8) or vice versa.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #32  
Old 12-27-2008, 06:17 PM
itouchr's Avatar
What's Jailbreak?
 
Join Date: Apr 2008
Posts: 27
Thanks: 0
Thanked 11 Times in 5 Posts

Quote:
Originally Posted by jhgi View Post
I got that too. I fixed it by switching the Text Encoding. If it's set to Unicode (UTF-16), then switch it to Unicode (UTF-8) or vice versa.
i think on the bottom line of the control file, you have to click after the bottom line then hit enter then save it again. thats how i got mine back to normal. here ill put a new post on here in like 20 minutes whick will have a video tutorial on that. you know, how to get that right.

For you guys that get the SW Parse ERROR, I uploaded a video to my site on how to get that working.

VIDEO: http://iroboticshowoff.com/files/error.html

For the links I explained in the video, here they are.

CONTROL: http://iroboticshowoff.com/files/control

Enter those in Safari and download them then open them in gTxtEdit.

My Cydia Repo: http://iroboticshowoff.com/apt

Last edited by itouchr; 12-27-2008 at 06:22 PM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to itouchr For This Useful Post:
mactop90 (08-15-2009)
  #33  
Old 12-28-2008, 10:23 PM
Green Apple
 
Join Date: Feb 2008
Posts: 73
Thanks: 14
Thanked 0 Times in 0 Posts

ok i got my repo up and running, but i got 2 questions, how can i add a custom icon to the repo so it wont show the question mark, and how do i manage to update a package and it shows as an available update on cydia?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #34  
Old 12-30-2008, 09:30 AM
What's Jailbreak?
 
Join Date: Dec 2008
Operating System: mac
Posts: 9
Thanks: 2
Thanked 0 Times in 0 Posts

Quote:
Originally Posted by itouchr View Post

MD5Sum: Put the MD5 hash here (to find this out, go to http://hashemall.com and select MD5)
still i have problem in this step...

when i install my application through cydia i get the error "md5sums mismatch"

anybody pls tell me the exact procedure to find the md5sums value....
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #35  
Old 12-30-2008, 07:33 PM
Banned
 
Join Date: Mar 2008
Posts: 153
Thanks: 13
Thanked 28 Times in 18 Posts

Quote:
Originally Posted by kanaya View Post
ok i got my repo up and running, but i got 2 questions, how can i add a custom icon to the repo so it wont show the question mark, and how do i manage to update a package and it shows as an available update on cydia?
It's actually more of a PITA than you would think. You actually have to create a deb package that the user must download from your repo that the icons are added to their Cydia folder. What I did was create a package called "repoprep" which contains all the icon files and then for all the apps that I have listed on my repo I just made the "repoprep" file a depends, that way when someone tries to download any of the apps that are on my repo, cydia will see that "repoprep" is listed as a depends and will automatically install it.

If you WinSCP into your phone and navigate to the /private/var/stash/Applications/Cydia.app folder, you will see that there are two folders called "Sections" and "Sources". This is where all the icons for all the repos are located. So you need to create a package that will install png files into these two folders. The sections folder is for your repo icons, so when people go into your section on Cydia this is the icon that will show up where all those lil question marks are.

The "Sources" folder is for your source icon when you go into Cydia and click on "Manage" and you have the list of repos, this is where the the icon that will show up on your source is located.

So essentially you would need to create a debian package that looks something like this...

MAIN FOLDER
Applications>Cydia.app>Sections>your_section_icon.png
Applications>Cydia.app>Sources>your_source_icon.png
DEBIAN>control

Then like I said, when you create packages for your repo just add your repoprep as a DEPENDS for every package that way when someone installs an apps off your repo your repoprep package will be installed automatically.

Quote:
Originally Posted by anils_das View Post
still i have problem in this step...

when i install my application through cydia i get the error "md5sums mismatch"

anybody pls tell me the exact procedure to find the md5sums value....
This step is NOT required, and as a matter of fact, when I run dpkg-scanpackages it creates an MD5sum automatically for me.

Last edited by DSMKilla; 12-30-2008 at 07:33 PM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to DSMKilla For This Useful Post:
kanaya (12-31-2008)
  #36  
Old 12-30-2008, 08:10 PM
Green Apple
 
Join Date: Feb 2008
Posts: 73
Thanks: 14
Thanked 0 Times in 0 Posts

Quote:
Originally Posted by DSMKilla View Post
It's actually more of a PITA than you would think. You actually have to create a deb package that the user must download from your repo that the icons are added to their Cydia folder. What I did was create a package called "repoprep" which contains all the icon files and then for all the apps that I have listed on my repo I just made the "repoprep" file a depends, that way when someone tries to download any of the apps that are on my repo, cydia will see that "repoprep" is listed as a depends and will automatically install it.

If you WinSCP into your phone and navigate to the /private/var/stash/Applications/Cydia.app folder, you will see that there are two folders called "Sections" and "Sources". This is where all the icons for all the repos are located. So you need to create a package that will install png files into these two folders. The sections folder is for your repo icons, so when people go into your section on Cydia this is the icon that will show up where all those lil question marks are.

The "Sources" folder is for your source icon when you go into Cydia and click on "Manage" and you have the list of repos, this is where the the icon that will show up on your source is located.

So essentially you would need to create a debian package that looks something like this...

MAIN FOLDER
Applications>Cydia.app>Sections>your_section_icon.png
Applications>Cydia.app>Sources>your_source_icon.png
DEBIAN>control

Then like I said, when you create packages for your repo just add your repoprep as a DEPENDS for every package that way when someone installs an apps off your repo your repoprep package will be installed automatically.



This step is NOT required, and as a matter of fact, when I run dpkg-scanpackages it creates an MD5sum automatically for me.


thanks, i managed to create the repoprep package to individual download, but i havent been able to make the packages depend on it, can u guide me throught that step, how can i make all the packages depend on repoprep?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #37  
Old 12-30-2008, 10:32 PM
Banned
 
Join Date: Mar 2008
Posts: 153
Thanks: 13
Thanked 28 Times in 18 Posts

Quote:
Originally Posted by kanaya View Post
thanks, i managed to create the repoprep package to individual download, but i havent been able to make the packages depend on it, can u guide me throught that step, how can i make all the packages depend on repoprep?
Yeah what you need to do is when your creating the CONTROL file for your packages, just create a line that says...

Depends: com.myrepo.repoprep

Where 'com.myrepo.prep' is the name of your repoprep package. So basically your CONTROL file would look something like this...

Package: whatever
Version: 1.0
Priority: standard
Section: Your Section Name
Essential: no
Maintainer: Name
Depends: com.myrepo.repoprep
Architecture: iphoneos-arm
Filename:
Size: 299418
MD5sum: 863b95916700631c0ef68cad05c2b9ea
Description:
Name: Package Name

On another note, if you have a lot of packages on your repo that you would rather not go back and edit the CONTROL files for each one, you can just edit the "Packages" file in your repo and add the "Depends: com.myrepo.repoprep" line to each package. Cydia will still download your repoprep package as a depends for every package that you list it for.

Last edited by DSMKilla; 12-30-2008 at 10:35 PM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to DSMKilla For This Useful Post:
kanaya (12-31-2008)
  #38  
Old 12-30-2008, 11:01 PM
What's Jailbreak?
 
Join Date: Dec 2008
Operating System: mac
Posts: 9
Thanks: 2
Thanked 0 Times in 0 Posts
md5sums mismatch

Quote:
Originally Posted by anils_das View Post
still i have problem in this step...

when i install my application through cydia i get the error "md5sums mismatch"

anybody pls tell me the exact procedure to find the md5sums value....
Quote:
Originally Posted by DSMKilla View Post

This step is NOT required, and as a matter of fact, when I run dpkg-scanpackages it creates an MD5sum automatically for me.
whn i run the dpkg-scanpackages , i get a blank file only...

i made md5sums for the deb file from the Hash'em all! Free online text and file hashing

still i get the same error md5sums mismatch....
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #39  
Old 12-31-2008, 01:25 AM
itouchr's Avatar
What's Jailbreak?
 
Join Date: Apr 2008
Posts: 27
Thanks: 0
Thanked 11 Times in 5 Posts

Quote:
Originally Posted by kanaya View Post
ok i got my repo up and running, but i got 2 questions, how can i add a custom icon to the repo so it wont show the question mark, and how do i manage to update a package and it shows as an available update on cydia?
I never knew how. ask saurik saurik@saurik.com

Quote:
Originally Posted by anils_das View Post
whn i run the dpkg-scanpackages , i get a blank file only...

i made md5sums for the deb file from the Hash'em all! Free online text and file hashing

still i get the same error md5sums mismatch....
dpkg-scanpackages stopped working so i copied the first one each time.

DSMKilla even though I posted the instructions, my dpkg-scanpackages doesnt work now. Any ideas?

Last edited by itouchr; 12-31-2008 at 01:25 AM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to itouchr For This Useful Post:
anils_das (12-31-2008)
  #40  
Old 12-31-2008, 06:06 AM
Green Apple
 
Join Date: Feb 2008
Posts: 73
Thanks: 14
Thanked 0 Times in 0 Posts

Quote:
Originally Posted by DSMKilla View Post
Yeah what you need to do is when your creating the CONTROL file for your packages, just create a line that says...

Depends: com.myrepo.repoprep

Where 'com.myrepo.prep' is the name of your repoprep package. So basically your CONTROL file would look something like this...

Package: whatever
Version: 1.0
Priority: standard
Section: Your Section Name
Essential: no
Maintainer: Name
Depends: com.myrepo.repoprep
Architecture: iphoneos-arm
Filename:
Size: 299418
MD5sum: 863b95916700631c0ef68cad05c2b9ea
Description:
Name: Package Name

On another note, if you have a lot of packages on your repo that you would rather not go back and edit the CONTROL files for each one, you can just edit the "Packages" file in your repo and add the "Depends: com.myrepo.repoprep" line to each package. Cydia will still download your repoprep package as a depends for every package that you list it for.

thank u man, but then i run into another problem, when i did that to the packages file cause theres so many packages, i got 1 available update, of each package on my repo, and after i update i still keep seein that update on cydia =(

Nevermind i made it, i had to put it on the COntrol file anyways. otherwise it will show a new update even tho u already update it

Last edited by kanaya; 12-31-2008 at 07:20 AM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #41  
Old 12-31-2008, 09:35 AM
Banned
 
Join Date: Mar 2008
Posts: 153
Thanks: 13
Thanked 28 Times in 18 Posts

Quote:
Originally Posted by anils_das View Post
whn i run the dpkg-scanpackages , i get a blank file only...

i made md5sums for the deb file from the Hash'em all! Free online text and file hashing

still i get the same error md5sums mismatch....
Hmmm are you getting any errors related to all this? Try using this dpkg-scanpackages file and see if it works.

dpkg-scanpackages

Quote:
Originally Posted by itouchr View Post
I never knew how. ask saurik saurik@saurik.com


dpkg-scanpackages stopped working so i copied the first one each time.

DSMKilla even though I posted the instructions, my dpkg-scanpackages doesnt work now. Any ideas?
Hmmm same to you, try mine and see if it works.
dpkg-scanpackages

Quote:
Originally Posted by kanaya View Post
thank u man, but then i run into another problem, when i did that to the packages file cause theres so many packages, i got 1 available update, of each package on my repo, and after i update i still keep seein that update on cydia =(

Nevermind i made it, i had to put it on the COntrol file anyways. otherwise it will show a new update even tho u already update it
Hmmmm so wait your saying that if you DIDN'T add the DEPENDS line to the control file and if you only added it to the Package file that your packages were showing up under the CHANGES section?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #42  
Old 12-31-2008, 10:56 AM
Green Apple
 
Join Date: Feb 2008
Posts: 73
Thanks: 14
Thanked 0 Times in 0 Posts

Quote:
Originally Posted by DSMKilla View Post

Hmmmm so wait your saying that if you DIDN'T add the DEPENDS line to the control file and if you only added it to the Package file that your packages were showing up under the CHANGES section?

no what im saying is that if i only add the depend line to the packages on the package file it will show that there is an update of all the packages from the repo u got installed, so to fix that u gotta add the depend line to the control file too
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #43  
Old 12-31-2008, 02:18 PM
Banned
 
Join Date: Mar 2008
Posts: 153
Thanks: 13
Thanked 28 Times in 18 Posts

Quote:
Originally Posted by kanaya View Post
no what im saying is that if i only add the depend line to the packages on the package file it will show that there is an update of all the packages from the repo u got installed, so to fix that u gotta add the depend line to the control file too
Hmmm are you sure because I just went into my Packages list and removed all the depends from all my apps just to test it out and nothing showed up in the changes. Maybe since you ADDED a depends is why it did it.

Did you try adding the depends to only ONE of your apps and then going back into Cydia and seeing if only the ONE app shows up under CHANGES?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #44  
Old 12-31-2008, 03:43 PM
itouchr's Avatar
What's Jailbreak?
 
Join Date: Apr 2008
Posts: 27
Thanks: 0
Thanked 11 Times in 5 Posts

Quote:
Originally Posted by DSMKilla View Post
Hmmm are you getting any errors related to all this? Try using this dpkg-scanpackages file and see if it works.

dpkg-scanpackages



Hmmm same to you, try mine and see if it works.
dpkg-scanpackages



Hmmmm so wait your saying that if you DIDN'T add the DEPENDS line to the control file and if you only added it to the Package file that your packages were showing up under the CHANGES section?
Where should I put them? in the repo folder or /binn/sw something?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #45  
Old 12-31-2008, 05:23 PM
Banned
 
Join Date: Mar 2008
Posts: 153
Thanks: 13
Thanked 28 Times in 18 Posts

Quote:
Originally Posted by itouchr View Post
Where should I put them? in the repo folder or /binn/sw something?
Well what OS are you using? Debian Linux or OSX?? You need to have them on your DESKTOP of wherever your working at. They don't need to go in the repo.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > Native iPhone / iPod Touch App Discussion > Cydia Support

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 03:17 PM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Privacy Statement / Top