Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lint from old ebuilds (e.g. monitorix)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Mon Feb 06, 2017 10:54 pm    Post subject: lint from old ebuilds (e.g. monitorix) Reply with quote

Code:
ASUS-G75VW roman # splat monitorix
 * www-misc/monitorix-3.2.1

   Emerged at: Mi Okt 16 11:34:21 2013
   Build time: 17 seconds

ASUS-G75VW roman #


Code:
roman@ASUS-G75VW ~ $ equery y monitorix
Keywords for www-misc/monitorix:
         |                                 |   u   | 
         | a a         p s     a   n r     |   n   | 
         | l m   h i   p p   m r m i i s   | e u s | r
         | p d a p a p c a x i m 6 o s 3   | a s l | e
         | h 6 r p 6 p 6 r 8 p 6 8 s c 9 s | p e o | p
         | a 4 m a 4 c 4 c 6 s 4 k 2 v 0 h | i d t | o
---------+---------------------------------+-------+-------
3.5.1    | o ~ o o o o o o ~ o o o o o o o | 5 # 0 | gentoo
3.8.1-r1 | o ~ o o o o o o ~ o o o o o o o | 5 #   | gentoo
3.9.0    | o ~ o o o o o o ~ o o o o o o o | 6 o   | gentoo
roman@ASUS-G75VW ~ $ ls -alh /usr/share/monitorix
total 20K
drwxr-xr-x   3 root root 4,0K Okt 16  2013 .
drwxr-xr-x 297 root root  12K Feb  4 03:11 ..
drwxr-xr-x   3 root root 4,0K Okt 16  2013 htdocs
roman@ASUS-G75VW ~ $


Code:
roman@ASUS-G75VW ~ $ ls -alh /usr/share/monitorix/htdocs/
total 20K
drwxr-xr-x 3 root root 4,0K Okt 16  2013 .
drwxr-xr-x 3 root root 4,0K Okt 16  2013 ..
drwxr-xr-x 2 root root 4,0K Okt 16  2013 cgi
-rw-r--r-- 1 root root 5,0K Okt 16  2013 index.html


Code:
ASUS-G75VW roman # equery belongs /usr/share/monitorix/htdocs/index.html
 * Searching for /usr/share/monitorix/htdocs/index.html ...
ASUS-G75VW roman #


I had the impression that the package manager, portage, removes anything except config files in /etc.

My installation is quite old. Are there any other folders which may contain lint? Lint refers to any unwanted remains from pacakges which are not installed, except small config files in /etc.

--

Code:
ASUS-G75VW roman # equery belongs /usr/share/fish/tools/deroff.pyc
 * Searching for /usr/share/fish/tools/deroff.pyc ...


Code:
ASUS-G75VW roman # equery y fish
Keywords for app-shells/fish:
      |                                 |   u   | 
      | a a         p s     a   n r     |   n   | 
      | l m   h i   p p   m r m i i s   | e u s | r
      | p d a p a p c a x i m 6 o s 3   | a s l | e
      | h 6 r p 6 p 6 r 8 p 6 8 s c 9 s | p e o | p
      | a 4 m a 4 c 4 c 6 s 4 k 2 v 0 h | i d t | o
------+---------------------------------+-------+-------
2.4.0 | o + o o o + ~ o + o o o o o o o | 6 o 0 | gentoo
2.5.0 | o ~ o o o ~ ~ o ~ o o o o o o o | 6 o   | gentoo
ASUS-G75VW roman # qlist -Iv fish


--

empty folder madness

Code:
ASUS-G75VW roman # ls -alh /usr/share/eclipse-ecj/
total 16K
drwxr-xr-x   2 root root 4,0K Apr  8  2012 .
drwxr-xr-x 295 root root  12K Feb  6 23:59 ..


Not necessary when we have cli tools which refuse to remove folders with contents. So it is safe to utilize those and have a smaller root partition.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9679
Location: almost Mile High in the USA

PostPosted: Mon Feb 06, 2017 11:47 pm    Post subject: Reply with quote

Portage will not remove files that:

- are shared with other packages
- edited by the user
- not in the initial install tracking list (i.e. created by the package or by the user)

And of course it will not remove
- directories that have any files in them that are not portage created.

So yes, it will leave crud around if you don't look for it.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum