DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-07-06 17:59:54

flashman1207
Member
Registered: 2008-05-27
Posts: 92

Accidentaly installed packages - How do I remove

In my enthusiasm to install one of the funplug packages (lsof) I typed in "funpkg -i *.tgz" which of course started installing every single one. I managed to stop it after the following were installed via cntl-z

apr-1.2.12-2
apr-util-1.2.12-1
autoconf-2.61-2
automake-1.10.1-2
bash-3.2-3
binutils-2.18.50.0.1-4
bison-2.3-3
btpd-0.13-4
bzip2-1.0.5-2
convmv-1.12-2
coreutils-6.10-2
cvs-1.11.22-2
db42-4.2.52-1

How now do i uninstall them and put myself back where I started?

Thanks in advance
Tony

Offline

 

#2 2008-07-06 18:08:09

rcblackwell
Member
From: Pickering, ON
Registered: 2008-05-19
Posts: 204
Website

Re: Accidentaly installed packages - How do I remove

flashman1207 wrote:

In my enthusiasm to install one of the funplug packages (lsof) I typed in "funpkg -i *.tgz" which of course started installing every single one. I managed to stop it after the following were installed via cntl-z

apr-1.2.12-2
apr-util-1.2.12-1
autoconf-2.61-2
automake-1.10.1-2
bash-3.2-3
binutils-2.18.50.0.1-4
bison-2.3-3
btpd-0.13-4
bzip2-1.0.5-2
convmv-1.12-2
coreutils-6.10-2
cvs-1.11.22-2
db42-4.2.52-1

How now do i uninstall them and put myself back where I started?

Thanks in advance
Tony

I believe the -r switch will achieve what you want; funpkg -r <package.name>

Bob Blackwell
Pickering, ON


Bob Blackwell
Pickering, ON

Offline

 

#3 2008-07-06 22:31:00

bq041
Member
From: USA
Registered: 2008-03-19
Posts: 709

Re: Accidentaly installed packages - How do I remove

If you only hit ctrl-z, then you still need to kill the process and hit fg to terminate it properly.


DNS-323     F/W: 1.04b84  H/W: A1  ffp: 0.5  Drives: 2X 400 GB Seagate SATA-300
DNS-323     F/W: 1.05b28  H/W: B1  ffp: 0.5  Drives: 2X 1 TB  WD SATA-300
DSM-G600   F/W: 1.02       H/W: B                Drive:  500 GB WD ATA

Offline

 

#4 2008-07-07 04:00:58

flashman1207
Member
Registered: 2008-05-27
Posts: 92

Re: Accidentaly installed packages - How do I remove

Thanks, will try that. I was looking for some doco on the funpkg syntax but couldn't find it anywhere, is it documented somewhere?

Tony

Offline

 

#5 2008-07-07 04:02:58

flashman1207
Member
Registered: 2008-05-27
Posts: 92

Re: Accidentaly installed packages - How do I remove

bq041 wrote:

If you only hit ctrl-z, then you still need to kill the process and hit fg to terminate it properly.

The box has been rebooted since i did the ctrl-z. Will that have done the job ??? If not, how do I see if the process is still running and how do I kill it (I'm a newbie/idiot)

Tony

Offline

 

#6 2008-07-07 05:39:49

bq041
Member
From: USA
Registered: 2008-03-19
Posts: 709

Re: Accidentaly installed packages - How do I remove

Yes, a reboot will, but it is good measure if you ctrl-z (stop) something, to kill it and then bring it back to the foreground.  Anyway, you can use ps or top to get the PID # and then type: kill <PID #>.  Once that is done, type fg to bring it back to the foreground and it will terminate.


DNS-323     F/W: 1.04b84  H/W: A1  ffp: 0.5  Drives: 2X 400 GB Seagate SATA-300
DNS-323     F/W: 1.05b28  H/W: B1  ffp: 0.5  Drives: 2X 1 TB  WD SATA-300
DSM-G600   F/W: 1.02       H/W: B                Drive:  500 GB WD ATA

Offline

 

#7 2008-07-07 07:44:03

flashman1207
Member
Registered: 2008-05-27
Posts: 92

Re: Accidentaly installed packages - How do I remove

bq041 wrote:

Yes, a reboot will, but it is good measure if you ctrl-z (stop) something, to kill it and then bring it back to the foreground.  Anyway, you can use ps or top to get the PID # and then type: kill <PID #>.  Once that is done, type fg to bring it back to the foreground and it will terminate.

Many thanks...

Offline

 

#8 2008-07-07 14:54:05

rcblackwell
Member
From: Pickering, ON
Registered: 2008-05-19
Posts: 204
Website

Re: Accidentaly installed packages - How do I remove

flashman1207 wrote:

Thanks, will try that. I was looking for some doco on the funpkg syntax but couldn't find it anywhere, is it documented somewhere?

Tony

I've not come across any documentation. How I found out about the -r command was by typing funpkg at the cmd prompt.

Bob Blackwell
Pickering, ON


Bob Blackwell
Pickering, ON

Offline

 

#9 2008-07-07 16:39:03

flashman1207
Member
Registered: 2008-05-27
Posts: 92

Re: Accidentaly installed packages - How do I remove

rcblackwell wrote:

flashman1207 wrote:

Thanks, will try that. I was looking for some doco on the funpkg syntax but couldn't find it anywhere, is it documented somewhere?

Tony

I've not come across any documentation. How I found out about the -r command was by typing funpkg at the cmd prompt.

Bob Blackwell
Pickering, ON

I did consider that but after my last mistake thought better than just to try things, didn't want to stuff it up anymore. So, many thanks for that and thanks to all others who answered my post....

Tony

Offline

 

#10 2008-07-07 16:49:26

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Accidentaly installed packages - How do I remove

flashman1207 wrote:

I did consider that but after my last mistake thought better than just to try things, didn't want to stuff it up anymore. So, many thanks for that and thanks to all others who answered my post....

The packages eat a little of your disk, but that's about it. I usually recommend to install all packages, anyway. Nothing will be started automatically, unless you ask for it (i.e. you do a chmod a+x, or run the start script manually).

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB