FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 09-28-2011, 07:45 PM
Lisi
 
Default Wireshark detritus

Hi!

I am wanting to install the Wireshark tarball, preparatory to which I ran
aptitude purge to clear the deb out, together with its config files. I then
ran locate to find any files left so that I could remove them manually. I
got this:

Tux:/home/lisi# locate wireshark
/etc/wireshark
/etc/wireshark/init.lua
/home/lisi/.opera/icons/http%3A%2F%2Fwww.wireshark.org%2Ffavicon.png
/home/lisi/.opera/icons/www.wireshark.org.idx
/root/.wireshark
/root/.wireshark/recent
/usr/bin/wireshark
/usr/lib/wireshark
/usr/share/wireshark
/usr/share/applications/wireshark-root.desktop
/usr/share/applications/wireshark.desktop
/usr/share/apps/kappfinder/apps/Internet/wireshark.desktop
/usr/share/doc/wireshark
/usr/share/doc/wireshark-common
/usr/share/man/man1/wireshark.1.gz
/usr/share/man/man4/wireshark-filter.4.gz
/usr/share/menu/wireshark
/usr/share/pixmaps/hi48-app-wireshark.png
/var/cache/apt/archives/wireshark-common_1.0.2-3+lenny14_i386.deb
/var/cache/apt/archives/wireshark_1.0.2-3+lenny14_i386.deb
/var/lib/dpkg/info/wireshark-common.conffiles
/var/lib/dpkg/info/wireshark-common.list
/var/lib/dpkg/info/wireshark-common.md5sums
/var/lib/dpkg/info/wireshark-common.postinst
/var/lib/dpkg/info/wireshark-common.shlibs
/var/lib/dpkg/info/wireshark.list
/var/lib/dpkg/info/wireshark.md5sums
/var/lib/dpkg/info/wireshark.postinst
/var/lib/dpkg/info/wireshark.postrm
/var/lib/menu-xdg/applications/menu-xdg/X-Debian-Applications-Network-Monitoring-wireshark.desktop
/var/tmp/kdecache-lisi/favicons/ask.wireshark.org_upfiles_wsicon-ask_.png
/var/tmp/kdecache-lisi/favicons/wiki.wireshark.org.png
/var/tmp/kdecache-lisi/favicons/wireshark.zing.org.png
/var/tmp/kdecache-lisi/favicons/wiresharkdownloads.riverbed.com.png
/var/tmp/kdecache-lisi/favicons/www.wireshark.org.png
Tux:/home/lisi#

What would be a sensible way of proceding from here? Manually delete them one
by one? Or is there a simpler (=quicker) way??

Thanks,
Lisi


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201109282045.33224.lisi.reisz@gmail.com">http://lists.debian.org/201109282045.33224.lisi.reisz@gmail.com
 
Old 09-28-2011, 07:52 PM
Lisi
 
Default Wireshark detritus

On Wednesday 28 September 2011 20:45:33 Lisi wrote:
> Hi!
>
> I am wanting to install the Wireshark tarball, preparatory to which I ran
> aptitude purge to clear the deb out, together with its config files. I
> then ran locate to find any files left so that I could remove them
> manually. I got this:
>
> Tux:/home/lisi# locate wireshark
> /etc/wireshark
> /etc/wireshark/init.lua
> /home/lisi/.opera/icons/http%3A%2F%2Fwww.wireshark.org%2Ffavicon.png
> /home/lisi/.opera/icons/www.wireshark.org.idx
> /root/.wireshark
> /root/.wireshark/recent
> /usr/bin/wireshark
> /usr/lib/wireshark
> /usr/share/wireshark
> /usr/share/applications/wireshark-root.desktop
> /usr/share/applications/wireshark.desktop
> /usr/share/apps/kappfinder/apps/Internet/wireshark.desktop
> /usr/share/doc/wireshark
> /usr/share/doc/wireshark-common
> /usr/share/man/man1/wireshark.1.gz
> /usr/share/man/man4/wireshark-filter.4.gz
> /usr/share/menu/wireshark
> /usr/share/pixmaps/hi48-app-wireshark.png
> /var/cache/apt/archives/wireshark-common_1.0.2-3+lenny14_i386.deb
> /var/cache/apt/archives/wireshark_1.0.2-3+lenny14_i386.deb
> /var/lib/dpkg/info/wireshark-common.conffiles
> /var/lib/dpkg/info/wireshark-common.list
> /var/lib/dpkg/info/wireshark-common.md5sums
> /var/lib/dpkg/info/wireshark-common.postinst
> /var/lib/dpkg/info/wireshark-common.shlibs
> /var/lib/dpkg/info/wireshark.list
> /var/lib/dpkg/info/wireshark.md5sums
> /var/lib/dpkg/info/wireshark.postinst
> /var/lib/dpkg/info/wireshark.postrm
> /var/lib/menu-xdg/applications/menu-xdg/X-Debian-Applications-Network-Monit
>oring-wireshark.desktop
> /var/tmp/kdecache-lisi/favicons/ask.wireshark.org_upfiles_wsicon-ask_.png
> /var/tmp/kdecache-lisi/favicons/wiki.wireshark.org.png
> /var/tmp/kdecache-lisi/favicons/wireshark.zing.org.png
> /var/tmp/kdecache-lisi/favicons/wiresharkdownloads.riverbed.com.png
> /var/tmp/kdecache-lisi/favicons/www.wireshark.org.png
> Tux:/home/lisi#
>
> What would be a sensible way of proceding from here? Manually delete them
> one by one? Or is there a simpler (=quicker) way??
>
> Thanks,
> Lisi

Replying to my own post: there are obviously some groups where several could
be deleted at the same time with the help of *. Looked at that way it doen't
seem so daunting!

Sorry for the noise. :-(

Lisi

Lisi


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201109282052.21280.lisi.reisz@gmail.com">http://lists.debian.org/201109282052.21280.lisi.reisz@gmail.com
 
Old 09-28-2011, 10:41 PM
Greg Madden
 
Default Wireshark detritus

On Wednesday 28 September 2011 11:52:21 am Lisi wrote:
> On Wednesday 28 September 2011 20:45:33 Lisi wrote:
> > Hi!
> >
> > I am wanting to install the Wireshark tarball, preparatory to which I
> > ran aptitude purge to clear the deb out, together with its config files.
> > I then ran locate to find any files left so that I could remove them
> > manually. I got this:
> >
> > Tux:/home/lisi# locate wireshark
> > /etc/wireshark
> > /etc/wireshark/init.lua
> > /home/lisi/.opera/icons/http%3A%2F%2Fwww.wireshark.org%2Ffavicon.png
> > /home/lisi/.opera/icons/www.wireshark.org.idx
> > /root/.wireshark
> > /root/.wireshark/recent
> > /usr/bin/wireshark
> > /usr/lib/wireshark
> > /usr/share/wireshark
> > /usr/share/applications/wireshark-root.desktop
> > /usr/share/applications/wireshark.desktop
> > /usr/share/apps/kappfinder/apps/Internet/wireshark.desktop
> > /usr/share/doc/wireshark
> > /usr/share/doc/wireshark-common
> > /usr/share/man/man1/wireshark.1.gz
> > /usr/share/man/man4/wireshark-filter.4.gz
> > /usr/share/menu/wireshark
> > /usr/share/pixmaps/hi48-app-wireshark.png
> > /var/cache/apt/archives/wireshark-common_1.0.2-3+lenny14_i386.deb
> > /var/cache/apt/archives/wireshark_1.0.2-3+lenny14_i386.deb
> > /var/lib/dpkg/info/wireshark-common.conffiles
> > /var/lib/dpkg/info/wireshark-common.list
> > /var/lib/dpkg/info/wireshark-common.md5sums
> > /var/lib/dpkg/info/wireshark-common.postinst
> > /var/lib/dpkg/info/wireshark-common.shlibs
> > /var/lib/dpkg/info/wireshark.list
> > /var/lib/dpkg/info/wireshark.md5sums
> > /var/lib/dpkg/info/wireshark.postinst
> > /var/lib/dpkg/info/wireshark.postrm
> > /var/lib/menu-xdg/applications/menu-xdg/X-Debian-Applications-Network-Mon
> >it oring-wireshark.desktop
> > /var/tmp/kdecache-lisi/favicons/ask.wireshark.org_upfiles_wsicon-ask_.png
> > /var/tmp/kdecache-lisi/favicons/wiki.wireshark.org.png
> > /var/tmp/kdecache-lisi/favicons/wireshark.zing.org.png
> > /var/tmp/kdecache-lisi/favicons/wiresharkdownloads.riverbed.com.png
> > /var/tmp/kdecache-lisi/favicons/www.wireshark.org.png
> > Tux:/home/lisi#
> >
> > What would be a sensible way of proceding from here? Manually delete
> > them one by one? Or is there a simpler (=quicker) way??
> >
> > Thanks,
> > Lisi
>
> Replying to my own post: there are obviously some groups where several
> could be deleted at the same time with the help of *. Looked at that way
> it doen't seem so daunting!
>
> Sorry for the noise. :-(


You need to purge wireshark-common, that gets rid of all but your home entries.

Run 'updatedb' before locate :-)

--
Greg Madden
Precision Air Balance, Inc.
Phone: (907)276-0461


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201109281441.14382.pabi@gci.net">http://lists.debian.org/201109281441.14382.pabi@gci.net
 
Old 09-28-2011, 10:43 PM
Greg Madden
 
Default Wireshark detritus

On Wednesday 28 September 2011 11:52:21 am Lisi wrote:
> On Wednesday 28 September 2011 20:45:33 Lisi wrote:
> > Hi!
> >
> > I am wanting to install the Wireshark tarball, preparatory to which I
> > ran aptitude purge to clear the deb out, together with its config files.
> > I then ran locate to find any files left so that I could remove them
> > manually. I got this:
> >
> > Tux:/home/lisi# locate wireshark
> > /etc/wireshark
> > /etc/wireshark/init.lua
> > /home/lisi/.opera/icons/http%3A%2F%2Fwww.wireshark.org%2Ffavicon.png
> > /home/lisi/.opera/icons/www.wireshark.org.idx
> > /root/.wireshark
> > /root/.wireshark/recent
> > /usr/bin/wireshark
> > /usr/lib/wireshark
> > /usr/share/wireshark
> > /usr/share/applications/wireshark-root.desktop
> > /usr/share/applications/wireshark.desktop
> > /usr/share/apps/kappfinder/apps/Internet/wireshark.desktop
> > /usr/share/doc/wireshark
> > /usr/share/doc/wireshark-common
> > /usr/share/man/man1/wireshark.1.gz
> > /usr/share/man/man4/wireshark-filter.4.gz
> > /usr/share/menu/wireshark
> > /usr/share/pixmaps/hi48-app-wireshark.png
> > /var/cache/apt/archives/wireshark-common_1.0.2-3+lenny14_i386.deb
> > /var/cache/apt/archives/wireshark_1.0.2-3+lenny14_i386.deb
> > /var/lib/dpkg/info/wireshark-common.conffiles
> > /var/lib/dpkg/info/wireshark-common.list
> > /var/lib/dpkg/info/wireshark-common.md5sums
> > /var/lib/dpkg/info/wireshark-common.postinst
> > /var/lib/dpkg/info/wireshark-common.shlibs
> > /var/lib/dpkg/info/wireshark.list
> > /var/lib/dpkg/info/wireshark.md5sums
> > /var/lib/dpkg/info/wireshark.postinst
> > /var/lib/dpkg/info/wireshark.postrm
> > /var/lib/menu-xdg/applications/menu-xdg/X-Debian-Applications-Network-Mon
> >it oring-wireshark.desktop
> > /var/tmp/kdecache-lisi/favicons/ask.wireshark.org_upfiles_wsicon-ask_.png
> > /var/tmp/kdecache-lisi/favicons/wiki.wireshark.org.png
> > /var/tmp/kdecache-lisi/favicons/wireshark.zing.org.png
> > /var/tmp/kdecache-lisi/favicons/wiresharkdownloads.riverbed.com.png
> > /var/tmp/kdecache-lisi/favicons/www.wireshark.org.png
> > Tux:/home/lisi#
> >
> > What would be a sensible way of proceding from here? Manually delete
> > them one by one? Or is there a simpler (=quicker) way??
> >
> > Thanks,
> > Lisi
>
> Replying to my own post: there are obviously some groups where several
> could be deleted at the same time with the help of *. Looked at that way
> it doen't seem so daunting!
>
> Sorry for the noise. :-(


You need to purge wireshark-common, that gets rid of all but your home entries.

Run 'updatedb' before locate :-)

--
Peace,

Greg


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201109281443.20497.gomadtroll@gci.net">http://lists.debian.org/201109281443.20497.gomadtroll@gci.net
 
Old 09-28-2011, 11:30 PM
Mike McClain
 
Default Wireshark detritus

On Wed, Sep 28, 2011 at 08:45:33PM +0100, Lisi wrote:
> Hi!
>
> I am wanting to install the Wireshark tarball, preparatory to which I ran
> aptitude purge to clear the deb out, together with its config files. I then
> ran locate to find any files left so that I could remove them manually. I
> got this:
>
> Tux:/home/lisi# locate wireshark
> /etc/wireshark
<snip>
> What would be a sensible way of proceding from here? Manually delete them one
> by one? Or is there a simpler (=quicker) way??

More than one.

for f in $( locate wireshark ); do
if [ -f $f ]; then
echo $f is a file;
#rm $f;
elif [ -d $f ]; then
echo $f is a directory;
#rm -f $f;
else
echo $f not dealt with.
fi
done
Remove the comment marks (#) when you're sure you've got it right.

find / -type f -name '*wireshark*' -exec rm {};
find / -type d -name '*wireshark*' -exec rmdir {};
This latter pair are problematic unless you first run without the -exec ...
and are sure you're only removing things you don't want.
G'luck,
Mike

--
Satisfied user of Linux since 1997.
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110928233019.GA22142@playground">http://lists.debian.org/20110928233019.GA22142@playground
 
Old 09-30-2011, 09:00 AM
Clive Standbridge
 
Default Wireshark detritus

> Hi!
>
> I am wanting to install the Wireshark tarball, preparatory to which I
> ran
> aptitude purge to clear the deb out, together with its config files.
> I then
> ran locate to find any files left so that I could remove them
> manually. I
> got this:
>
> Tux:/home/lisi# locate wireshark
[file list omitted]
> What would be a sensible way of proceding from here? Manually delete
> them one
> by one? Or is there a simpler (=quicker) way??

One possible quick and simple command you can use is xargs.

For example,
locate -e0 wireshark | xargs -0r rm

That would leave any directories with "wireshark" in the name, so an
alternative command would be
locate -e0b wireshark | xargs -0r rm -rf

The -e option suppresses printing of non-existent files.

The -b option matches only basenames.

The -r option prevents xargs running its command on an empty file
list.

The pair of -0 options deals with white-space and non-printing
characters in file names.


--
Cheers,
Clive


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110930090015.GA12837@rimmer.esmertec.com">http://lists.debian.org/20110930090015.GA12837@rimmer.esmertec.com
 

Thread Tools




All times are GMT. The time now is 06:25 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org