maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Is there a way to show which extras-devel are installed? (https://talk.maemo.org/showthread.php?t=49336)

Janniman 2010-04-06 12:41

Is there a way to show which extras-devel are installed?
 
At some point I installed some extras-devel and am having second thoughts about it now. Is there any way of showing which are devel and testing from the others that are installed?
Thanks

Rob1n 2010-04-06 13:20

Re: Is there a way to show which extras-devel are installed?
 
I've written a script to do that - http://www.robinhill.me.uk/maemo/package_sources.html

Janniman 2010-04-06 13:58

Re: Is there a way to show which extras-devel are installed?
 
thanks, but I have absolutely no idea how to use that! Any pointers? What are the risks?
I'm removing the extras devels cos I want to make my phone safer! So dont wanna risk bricking it with somethign else!
thanks

Rob1n 2010-04-06 15:05

Re: Is there a way to show which extras-devel are installed?
 
Quote:

Originally Posted by Janniman (Post 597701)
thanks, but I have absolutely no idea how to use that! Any pointers? What are the risks?
I'm removing the extras devels cos I want to make my phone safer! So dont wanna risk bricking it with somethign else!
thanks

There's no risk - the script doesn't change anything at all (it's only reading files). You'll need to download the script from the site and save it to your N900. Then open X Terminal and type in the following:
Code:

cd MyDocs
perl package_sources.pl > sources.txt

The sources.txt file will then contain information on which packages you've installed and which repository they're currently found in. You can then either copy the file to your PC to look though, or directly get a list of which packages are from extras-devel by running:
Code:

grep -i extras-devel sources.txt
If the repository is not named "extras-devel" on your phone then you'll need to change that bit. You can do similar for extras-testing.

Oh, and you'll need to make sure the repositories are still enabled before running this - if they're not enabled then the script can't find which packages the repository contains.

Janniman 2010-04-07 11:46

Re: Is there a way to show which extras-devel are installed?
 
Sorry for being a Noob, but how do I save it from the site, where do I save it and what do I save it as? I tried jus saving the page, but it didnt work.
thanks

Rob1n 2010-04-07 12:55

Re: Is there a way to show which extras-devel are installed?
 
Quote:

Originally Posted by Janniman (Post 599200)
Sorry for being a Noob, but how do I save it from the site, where do I save it and what do I save it as? I tried jus saving the page, but it didnt work.
thanks

If you're using the N900, then open the site and tap (and hold) on the "script itself" link. It should pop up a menu including "Save link as". Then just select the location - tap on the up arrow until you reach the very top level, then tap on the line with the icon of an N900 to open that directory, then tap on it again (next to the up arrow) to select it.

Janniman 2010-04-07 15:15

Re: Is there a way to show which extras-devel are installed?
 
managed to get the script loaded ok now, and first command goes through all apps, however, second command for extras devel doesnt do anything. does that mean Ive removed all the devel and testing?
also how do i save the output to the computer?
thanks for all your help.
Janni

Rob1n 2010-04-07 15:40

Re: Is there a way to show which extras-devel are installed?
 
Quote:

Originally Posted by Janniman (Post 599479)
managed to get the script loaded ok now, and first command goes through all apps, however, second command for extras devel doesnt do anything. does that mean Ive removed all the devel and testing?
also how do i save the output to the computer?

The first command shouldn't print anything out at all, it should just create the sources.txt file. If not, you've probably typed in something wrong - don't forget the '>' character.

If it did work correctly and has created the sources.txt file (you can use "ls" to get a listing of the files in the directory), then you can double check the list of repositories you have software installed from by running:
Code:

cut -f1 sources.txt | sort | uniq
If you connect to your PC in mass storage mode, the sources.txt file will be in the root directory of the mapped drive. If you use PC Suite mode, it'll be in the Data subdirectory.

Janniman 2010-04-08 08:25

Re: Is there a way to show which extras-devel are installed?
 
when I typed
cd MyDocs
perl package_sources.pl > sources.txt

it went through a load of files. does that mean I did something wrong?
thanks

Rob1n 2010-04-08 08:47

Re: Is there a way to show which extras-devel are installed?
 
Quote:

Originally Posted by Janniman (Post 600665)
when I typed
cd MyDocs
perl package_sources.pl > sources.txt

it went through a load of files. does that mean I did something wrong?
thanks

The '>' character tells it to redirect the output to the file, so it shouldn't be printing anything out to the screen. Make sure you put spaces in around the '>'. If you're still having problems, can you post screenshots of the command line (before you run it) and a sample of the output you get.


All times are GMT. The time now is 21:17.

vBulletin® Version 3.8.8