Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 27 Aug 2014, 09:12
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
PupBeGone-Package Remover for Built-In Unleashed Packages
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 3 Posts_count   Goto page: 1, 2, 3 Next
Author Message
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Thu 24 Nov 2005, 13:26    Post_subject:  PupBeGone-Package Remover for Built-In Unleashed Packages  

PupBeGone
Built-in-package remover for Puppy (both versions 1.x.x and 2.xx)

Note: Version 1.5 will work with Puppy 2.14. However, it has a dependency on the 0pkgs_db file. That is what contains the data it needs to uninstall things. If you upgrade your Puppy to a newer version, you should also update that dependency for best results. Just use PETget, it's easy.


PupBeGone is a hacked PupGet that displays the files that Puppy comes with by default. Stuff like Abiword or Gaim or Mozilla. It then lets you remove them. This is accomplished by either downloading the package list, or downloading the package and making a filelist out of it, then using that list to remove the package. It also edits /root/.packages/packages.txt to reflect the changes. That means that if you want to get them back, you will be able to do it with good old PupGet. Which is good since PupBeGone can't install.
Unfortunately, Puppy replaces /root/.packages/packages.txt with every boot. To get around this, I set it to back it up to /root/.packages/currentpackages.txt. The install script adds the line
Code:
cp /root/.packages/currentpackages.txt /root/.packages/packages.txt

to /etc/rc.local to compensate for that. (Note: If you reinstall it, it will see that the line is there and skip that step)

Also, like with PupGet, PupBeGone gives you the option of using a local file rather than downloading the package. It also allows you to archive the package (in /root/archive) in case you want to reinstall it without pesky download times. You don't have to archive it, though.


Keep in mind that this script is pretty much pointless in anything but a hardrive install (poor-man's-hd install won't cut it either). It will "delete" the package, but it will still be there. It will look like it's gone, but since it's really on the cd or pup_xxx.sfs, it's really still there. It makes it unusable and removes it from the menu, but there is no size change.

However, it is possible to use PupBeGone to remove packages before running one of those easy remaster scripts that copies your current setup. I think AlienX's works like that.


WARNING: PupBeGone is broken, and has been for the last couple versions too. Version 1.4 should work with the "old method" up through Puppy 2.13. I'll fix this by the 24th.
pupbegone-v1.5.pet
pupbegone-v1.4.pup

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib


Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Thu 24 Nov 2005, 21:53    Post_subject: language translatio  

I was just reading about this on your wiki home page Smile and mentioned it in another post Smile

from what you are describing the same can be achieved but not so elegantly with editing the menu calling script. This ability to alter is being used in language translation - so is your program able to rename (in a future incarnation?)

I will be interested in how people get on with this - I will certainly download it in the future.

Good job!

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Thu 24 Nov 2005, 22:13    Post_subject:  

Quote:
from what you are describing the same can be achieved but not so elegantly with editing the menu calling script. This ability to alter is being used in language translation - so is your program able to rename (in a future incarnation?)

Maybe I'm more tired than I feel, but that didn't make a lick of sense to me. Embarassed Do you mean by just removing the items from the menu? That would remove them from the menu, but they would still be there and runable. Even with a livecd, PupBeGone eliminates the ability to run them. It just doesn't change the size since it can't acually delete the files. But as far as the user and Puppy are concerned, they are gone.
Either way, I still don't get the second half. Confused

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send_private_message Visit_website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Thu 24 Nov 2005, 22:22    Post_subject:  

I don't usually comment on a program I have not used, so will write again when I have - probably next week.

Sorry for any confusion Embarassed

_________________
Puppy WIKI
Back to top
View user's profile Send_private_message Visit_website 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Fri 25 Nov 2005, 00:11    Post_subject:  

No problem. If you've been paying attention to my location tag, you'll have noticed that I recently moved. I no longer reside in the "State of Confusion," but some of my mail still gets sent there...
_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send_private_message Visit_website 
PeterSieg

Joined: 04 May 2005
Posts: 361
Location: Germany, 37603

PostPosted: Fri 25 Nov 2005, 04:53    Post_subject: Sounds good  

Hi. So together with Alienx remaster scripts, do we have another way to
create custom puppys, that are not only have additional apps but also can have apps deleted from standard puppy..?

It would be nice, to have the needed file lists upfrond in standard puppy..
Meaning, that when you open Pupget manager, you see all packages that one can remove already!

PS

_________________
Have fun Smile
Back to top
View user's profile Send_private_message Visit_website 
kelewax


Joined: 04 Nov 2005
Posts: 41
Location: Nigeria

PostPosted: Fri 25 Nov 2005, 09:13    Post_subject: pupbegone on windows xp instalation  

I am using puppy 1.0.6 from windows XP with NTFS harddisk. I installed it using the instructions from
http://ph-islands.net/pupinstall/
Since linux cannot safely write to NTFS harddisk I was just wondering if I could use Pupbegone to remove some default puppy applications without causing harm to my system. I would have tried it before asking but I dont know if I can recover from any serious damage.
Thanks

_________________
Which of the favours of your Lord can you deny?
Back to top
View user's profile Send_private_message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Fri 25 Nov 2005, 11:07    Post_subject:  

Well, that would put you in the same situation as the live cd users. What you have is a poor-man's install. It does the same thing as livecd, but it gets the files from the harddrive instead of the cd. So there wouldn't be much point in using it unless you're doing the remaster thing.

In any case, if you can write to your pup001 (/root), it will work. I've never had the ntfs problem, but I'm under the impression that once you put your pup001 file there you can write to that, just not the rest of the drive.

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send_private_message Visit_website 
kelewax


Joined: 04 Nov 2005
Posts: 41
Location: Nigeria

PostPosted: Fri 25 Nov 2005, 11:33    Post_subject: pupbegone for poormans install  

Thanks, I guess I will have to wait until such a time when I can create a linux partition.
_________________
Which of the favours of your Lord can you deny?
Back to top
View user's profile Send_private_message 
ting

Joined: 01 Sep 2005
Posts: 7
Location: Sandvika, Norway

PostPosted: Sat 26 Nov 2005, 12:21    Post_subject:  

I just wanted to say i love this little thing, iwe been playing around with it. I havent yet remastered anything, but i will try soon. Keep up the good work. I plan on making my own personal perfect puppy, hopefully Laughing
Back to top
View user's profile Send_private_message 
jcagle

Joined: 29 Sep 2005
Posts: 634

PostPosted: Sat 26 Nov 2005, 12:49    Post_subject:  

ooh, a perfect puppy!

So no bugs in it or anything? Nothing imperfect about it? You've got to do a lot to meet up to the name Wink

Puppy has got a lot of things that make it great and easier than most Linux distros. Very Happy
Back to top
View user's profile Send_private_message AIM 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Sat 26 Nov 2005, 17:54    Post_subject:  

Thanks. I came up with the idea when I was removing packages by hand and figured I should make a script do it for me. Then I decided the best way would be to just hack a script that could already do it. I can guarantee that this thing would be nowhere near as nice if I hadn't had PupGet to build it from. GUIs (any UI, really) are one of my weak points. So, thanks, Barry!
_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send_private_message Visit_website 
bkeadle


Joined: 05 Dec 2005
Posts: 20

PostPosted: Fri 09 Dec 2005, 21:40    Post_subject:  

Pizzasgood....you're my hero! Cool

As a newbie (just discovered on Sunday) I'm trying to remaster my own, scaled-down puppy, to become a Rescue Console (I call it my St. Benard puplet...). Having to get up to speed in a hurry has been a challenge, and I've been wondering how I was going to uninstall all the office, multimedia, and graphics stuff I don't need. Seems pretty formidable. Your beauty here makes quick work of it. Thanks alot!

I had expected this to be part of the PupGet Manager...effectively the Windows equivalent of Add/Remove programs. But as it is now...it's just an "Add Programs"...only let's me remove what I've added...not what comes with.

Thanks again for sharing!
Back to top
View user's profile Send_private_message 
bkeadle


Joined: 05 Dec 2005
Posts: 20

PostPosted: Fri 09 Dec 2005, 22:28    Post_subject:  

One comment/suggestion about the script: how 'bout a completion message...so I know when it's done (instead of wondering if it's working in the background) or, better yet, return me back to the package manager so that I can select more to uninstall if I want.
Back to top
View user's profile Send_private_message 
Pizzasgood


Joined: 04 May 2005
Posts: 6270
Location: Knoxville, TN, USA

PostPosted: Fri 09 Dec 2005, 23:24    Post_subject:  

It doesn't have one? I never noticed Embarassed It was such a pain in the butt doing the other stuff that I spent very little time modifying the windows that pop up. I guess some of what I did must have skipped a message, or done stuff after it Rolling Eyes Tomorrow I'll look into it. I've vowed never to go back into that script, but one dialog box isn't a problem.

As for tying into Pupget, I gave that about two seconds of thought when I started, realized that I'd be better off starting from scratch, and just specialized it instead. Plus, I'd rather keep Pupget "pure" than to combine it with possibly destructive code.

_________________
Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib

Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 3 Posts_count   Goto page: 1, 2, 3 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0828s ][ Queries: 11 (0.0046s) ][ GZIP on ]