webOS Nation Forums >  Homebrew >  webOS patches > Please help with a patch removal, desperately need help.
Please help with a patch removal, desperately need help.

  Reply
 
LinkBack Thread Tools Display Modes
Old 09/15/2010, 05:37 PM   #1 (permalink)
Member
 
kkhanmd's Avatar
 
Join Date: Jan 2008
Posts: 2,069
Likes Received: 81
Thanks: 280
Thanked 245 Times in 187 Posts
Default Please help with a patch removal, desperately need help.

I am trying to remove a patch, however after 1.4.5 I am unable to remove it, it gives me an error:

IPKG_OFFLINE_ROOT=/media/cryptofs/apps/bin/usr/lib/ipkg/info/org.webosinternals.patches.browser-bookmarks-list-button.prerm 2>&1
1 out of 2 hunks failed- saving rejects to file usr/palm/applications/com.palm.app.browser/app/controllers/page-controls.js.rej


The patch in question is Jason's bookmarks button in browser.
http://forums.precentral.net/webos-p...ml#post2661302


I have tried running emergency file verification and Emergency reconstruction utility, both patches got installed and removed without any problems.

I didnot want to run Emergency patch recovery as it would delete all my 50 patches.

Please please please help a fellow here.
__________________
If this helped you hit thanks.
kkhanmd is offline   Reply With Quote
Old 09/15/2010, 05:48 PM   #2 (permalink)
Member

 
vza33's Avatar
 
Join Date: Sep 2009
Location: East Coast
Posts: 2,182
Likes Received: 25
Thanks: 1,584
Thanked 1,345 Times in 984 Posts
Default

You can still run EPR, just update your Saved Package list > run EPR > Open Saved Package list again and tap Install.
__________________
"Patience, use the force, think." Obi-Wan


Ready to try Preware? Get this first: Preware Homebrew Documentation
vza33 is offline   Reply With Quote
Old 09/15/2010, 06:20 PM   #3 (permalink)
Member
 
kkhanmd's Avatar
 
Join Date: Jan 2008
Posts: 2,069
Likes Received: 81
Thanks: 280
Thanked 245 Times in 187 Posts
Default

What happens to all the patches that need luna restart? Do they install ok together?
__________________
If this helped you hit thanks.
kkhanmd is offline   Reply With Quote
Old 09/15/2010, 06:33 PM   #4 (permalink)
Banned
 
Join Date: Feb 2010
Location: Oceanside, California.
Posts: 3,265
Likes Received: 1
Thanks: 433
Thanked 967 Times in 782 Posts
Default

They'll be re-install. You can always do a luna restart if you want. :smile
RUSH is offline   Reply With Quote
Old 09/15/2010, 08:35 PM   #5 (permalink)
Member
 
kkhanmd's Avatar
 
Join Date: Jan 2008
Posts: 2,069
Likes Received: 81
Thanks: 280
Thanked 245 Times in 187 Posts
Default

Anyone knows from the error log whats wrong?
__________________
If this helped you hit thanks.
kkhanmd is offline   Reply With Quote
Old 09/16/2010, 05:52 PM   #6 (permalink)
Member
 
kkhanmd's Avatar
 
Join Date: Jan 2008
Posts: 2,069
Likes Received: 81
Thanks: 280
Thanked 245 Times in 187 Posts
Default

Was able to use webos repair utility to fix that one file, the darn file was
/usr/palm/applications/com.palm.app.browser/app/controllers/page-controls.js
__________________
If this helped you hit thanks.
kkhanmd is offline   Reply With Quote
Old 09/16/2010, 06:38 PM   #7 (permalink)
Member
 
kkhanmd's Avatar
 
Join Date: Jan 2008
Posts: 2,069
Likes Received: 81
Thanks: 280
Thanked 245 Times in 187 Posts
Default

SO replaced the file, but didnot help, now the new error is : Unreversed patch detected! Ignore -R?[n]
Apply anyway? [n]

Unable to update or uninstall it from preware. Anyideas? Help really appreciated?
Makes me wonder if this is 1.4.5 compatible patch
__________________
If this helped you hit thanks.
kkhanmd is offline   Reply With Quote
Old 09/16/2010, 07:09 PM   #8 (permalink)
Member
 
Quills's Avatar
 
Join Date: Aug 2010
Posts: 141
Likes Received: 15
Thanks: 45
Thanked 28 Times in 22 Posts
Default

Run webos repair utility in "override compatibility" mode = clean install (and, therefore, removal of all patches).
Quills is offline   Reply With Quote
Old 09/16/2010, 07:20 PM   #9 (permalink)
Member
 
kkhanmd's Avatar
 
Join Date: Jan 2008
Posts: 2,069
Likes Received: 81
Thanks: 280
Thanked 245 Times in 187 Posts
Default

Quote:
Originally Posted by Quills View Post
Run webos repair utility in "override compatibility" mode = clean install (and, therefore, removal of all patches).
Dont want to remove everything, just one patch
__________________
If this helped you hit thanks.
kkhanmd is offline   Reply With Quote
Old 09/16/2010, 07:52 PM   #10 (permalink)
Member
 
Quills's Avatar
 
Join Date: Aug 2010
Posts: 141
Likes Received: 15
Thanks: 45
Thanked 28 Times in 22 Posts
Default

then enjoy posting (in multiple threads).
Quills is offline   Reply With Quote
Old 09/16/2010, 07:59 PM   #11 (permalink)
Homebrew Developer
 
Join Date: Jul 2011
Posts: 126
Likes Received: 68
Thanks: 43
Thanked 3,129 Times in 2,010 Posts
Default

Quote:
Originally Posted by kkhanmd View Post
Dont want to remove everything, just one patch
If a patch got screwed up when you updated, you will need to wipe all patches to fix it. EPR or webOS Doctor are your options.

(You could possibly try to replace the modified files with stock ones, but I'm not sure how that would work... EPR is your best bet.)
Garrett92C is offline   Reply With Quote
Old 09/16/2010, 08:06 PM   #12 (permalink)
Member
 
2sslow's Avatar
 
Join Date: Jun 2009
Location: Somewhere n da 404
Posts: 2,237
Likes Received: 0
Thanks: 247
Thanked 1,039 Times in 551 Posts
Default

I can replace all 65 patches i have in 15 mins. Whats the big deal? Run EPR and Be Happy!
__________________
Please hit the thanks button if I helped you

If you've enjoyed my patches please feel free to donate towards further development.

Follow the link below.


2sslow is offline   Reply With Quote
Thanked by kkhanmd, sketch42
Old 09/16/2010, 09:18 PM   #13 (permalink)
Member
 
Join Date: Apr 2010
Posts: 5
Likes Received: 0
Thanks: 1
Thanked 0 Times in 0 Posts
Default

argh, where is EPR ?
dnidiffer is offline   Reply With Quote
Old 09/16/2010, 09:28 PM   #14 (permalink)
Member
 
2sslow's Avatar
 
Join Date: Jun 2009
Location: Somewhere n da 404
Posts: 2,237
Likes Received: 0
Thanks: 247
Thanked 1,039 Times in 551 Posts
Default

preware> type emergency and hit enter and it will show up there. install >reboot>alls well
__________________
Please hit the thanks button if I helped you

If you've enjoyed my patches please feel free to donate towards further development.

Follow the link below.


2sslow is offline   Reply With Quote
Thanked By: Pansy
Old 09/17/2010, 06:41 PM   #15 (permalink)
Member
 
kkhanmd's Avatar
 
Join Date: Jan 2008
Posts: 2,069
Likes Received: 81
Thanks: 280
Thanked 245 Times in 187 Posts
Default

Quote:
Originally Posted by 2sslow View Post
I can replace all 65 patches i have in 15 mins. Whats the big deal? Run EPR and Be Happy!
Thanks 2sslow

Seriously took so much time to fix one file, used EPR, took only 20 mins max to uninstall and install all patches w one click. All those EPR people were right.
__________________
If this helped you hit thanks.
kkhanmd is offline   Reply With Quote
Old 09/17/2010, 08:04 PM   #16 (permalink)
Member
 
2sslow's Avatar
 
Join Date: Jun 2009
Location: Somewhere n da 404
Posts: 2,237
Likes Received: 0
Thanks: 247
Thanked 1,039 Times in 551 Posts
Default

Quote:
Originally Posted by kkhanmd View Post
Thanks 2sslow

Seriously took so much time to fix one file, used EPR, took only 20 mins max to uninstall and install all patches w one click. All those EPR people were right.
NP! Glad I could help
__________________
Please hit the thanks button if I helped you

If you've enjoyed my patches please feel free to donate towards further development.

Follow the link below.


2sslow is offline   Reply With Quote
Old 09/18/2010, 04:01 AM   #17 (permalink)
Member
 
RoLLEmUp's Avatar
 
Join Date: Apr 2010
Location: Northern California, The Bay Area
Posts: 978
Likes Received: 0
Thanks: 460
Thanked 177 Times in 165 Posts
Default

Another happy ending

Thanks webos-internals, and the community.

2sslow comes through again

I'm going to start calling you 2ffast, because you are so quick to help out and lend a palm
__________________
Pre|central Peacekeepers

"Keeping the smart phone world at peace one PALM at a time"

Me and Dropbox, sitting in a tree. S-Y-N-C-I-N-G. http://db.tt/qetBsiR
Sign up and get 250mb of extra space FREE
RoLLEmUp is offline   Reply With Quote
Old 09/18/2010, 04:11 AM   #18 (permalink)
Member
 
RoLLEmUp's Avatar
 
Join Date: Apr 2010
Location: Northern California, The Bay Area
Posts: 978
Likes Received: 0
Thanks: 460
Thanked 177 Times in 165 Posts
Default

Another patch could have interfered with the install of the patch you had in question. In particular, a web browser patch, or any other web related patches.
Such was the case when I had attempted to install the 'advanced onfiguration in launcher" patch, by sconix. 2 out of 2 hunks failed, the culprits were two launcher patches. It saved me from running an EPR.
In the future, if you run into hunk failures, try checking if any other patches that are of the same category conflict with whatever it is that you are installing.

In my case with the advanced configuration launcher patch, I noticed after the ipk error log '2 out of 2 hunks failed error' I checked my installed patches and found the "two" launcher patches that conflicted with the patch I wanted installed. I also took the advice of the developer who recommended, and insisted on removal of launcher patches prior to installing.

Something to keep in mind for the future
__________________
Pre|central Peacekeepers

"Keeping the smart phone world at peace one PALM at a time"

Me and Dropbox, sitting in a tree. S-Y-N-C-I-N-G. http://db.tt/qetBsiR
Sign up and get 250mb of extra space FREE
RoLLEmUp is offline   Reply With Quote
Old 09/18/2010, 11:22 AM   #19 (permalink)
Member
 
Jahooba's Avatar
 
Join Date: Apr 2010
Location: South Jersey
Posts: 116
Likes Received: 2
Thanks: 108
Thanked 64 Times in 37 Posts
Default

I guess it should be said here: I had a similar problem as the original poster, so I read this thread and wanted to run EPR. It says to uninstall themes first, but it doesn't say that installing the program will also RUN the program, so I didn't get a chance to uninstall anything.

I'm used to downloading programs AND THEN running them, not downloading and running them at the same time. As I look back over the description I guess it says that (knowing what I know now), but it's not by any means clear.

Just look out for that when you use EPR: it will install and run in one fell swoop!
__________________
.
.
.
My Boot Screen Thread

My Wallpaper Thread
Jahooba is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0