Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[TOOL]-Unclepine-Recursive Unmerge & Cleaning Tool _b18
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6065
Location: Removed by Neddy

PostPosted: Thu Dec 29, 2005 3:32 pm    Post subject: Reply with quote

Cintra wrote:
Mine too :-D
It works fine, tho' always in 'verbose' without the -v
Grazie...


kk will look into it, this has inspired me to go over my system with this tool and depclean to get it all shipshape
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Thu Dec 29, 2005 3:46 pm    Post subject: Reply with quote

Naib wrote:
Cintra wrote:
Mine too :-D
It works fine, tho' always in 'verbose' without the -v
Grazie...


kk will look into it, this has inspired me to go over my system with this tool and depclean to get it all shipshape

I say 'always', but I have only checked out -db -df & -u so far..

Edit Don't know what/when I did but unclepine has stopped working now that I have updated cdb.py et al, so I'm back to 'no cdb' for a while. the errors are like:
Code:

p4pe ~ # uncle -h

====================================
Error: Failed to import module 'cache.cdb.database'

  File "/usr/lib/portage/pym/portage.py", line 1285, in load_best_module
    mod = load_mod(best_mod)
  File "/usr/lib/portage/pym/portage.py", line 142, in load_mod
    mod = __import__(modname)
  File "/usr/lib/portage/pym/cache/cdb.py", line 7, in ?
    cdb_module = __import__("cdb")
  File "/root/cdb.py", line 14, in ?
No module named fs_template
====================================

_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
Ferdinando
Veteran
Veteran


Joined: 25 Nov 2003
Posts: 1027
Location: Gaeta (LT) - Italy

PostPosted: Sun Jan 01, 2006 10:38 am    Post subject: Reply with quote

What a wonderful way to begin a new year :(
Well, I needed to repartition my hard disk, so I made a backup, deleted and recreated my xfs partition, and restored my files; all went well, but unclepine doesn't work anymore. Now, being unclepine the only tool which behaves strangely, I wonder if it's its fault or my portage's messed up.

Straight to the problem: after an emerge, if I do 'unclepine -u -c --debug':
Code:
--------------- Starting Building Virtuals ----------------------


!!! Critical Error
!!! You miss this file : /var/db/pkg/dev-libs/libpcre-6.4/PROVIDE

This for every ebuild emerged. Thus, I create these files; but then:
Code:
Unlinked Packages: 13

        * app-admin/fam-2.7.0-r4
        * app-cdr/cdrtools-2.01.01_alpha01-r2
        * app-text/ghostscript-7.07.1-r10
        * dev-java/blackdown-jdk-1.4.2.03
        * mail-mta/ssmtp-2.61
        * media-fonts/gnu-gs-fonts-std-8.11
        * net-mail/mailbase-1
        * net-nds/portmap-5b-r9
        * sys-apps/eject-2.1.0
        * sys-apps/pcmcia-cs-3.2.8-r2
        * sys-apps/utempter-0.5.5.6
        * sys-process/vixie-cron-4.1-r8
        * x11-apps/ttmkfdir-3.0.9-r3

EDIT: I've removed a bunch of ebuilds I didn't use and repeated.

Analyzing an 'emerge -pet world' I'm pretty sure that these shouldn't be unmerged.
So, does anyone experience similar problems or has any idea about the cause?

Thanks.
Bye
_________________
La risposta, non la devi cercare fuori, la devi cercare dentro di te: e però è SBAGLIATA!
-- Corrado Guzzanti, "Pippo Chennedy Show", 1997
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Sun Jan 01, 2006 11:14 am    Post subject: Reply with quote

I have just the same! missing PROVIDE's.. have for the time being given up on unclepine, and am using dep -l & -L

There's a link to the latest dep version in the last post of this thread https://forums.gentoo.org/viewtopic-p-2995428.html#2995428

mvh
Happy New Year!
_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
Ferdinando
Veteran
Veteran


Joined: 25 Nov 2003
Posts: 1027
Location: Gaeta (LT) - Italy

PostPosted: Sun Jan 01, 2006 11:52 am    Post subject: Reply with quote

Thanks Cintra; I'll try that.

Actually, the missing PROVIDES are more a nuisance than a problem, as the content of those files can be obtained with a simple
Code:
grep PROVIDE= /var/cache/edb/dep/usr/portage/{ebuild}

and this operation can even be automated with a bash script. The real problem are those unlinked packages which are actually useful; for those, I had to check each package in the original list against the output of emerge -pet :(

Happy new year!
Bye
_________________
La risposta, non la devi cercare fuori, la devi cercare dentro di te: e però è SBAGLIATA!
-- Corrado Guzzanti, "Pippo Chennedy Show", 1997
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6065
Location: Removed by Neddy

PostPosted: Sun Jan 01, 2006 12:15 pm    Post subject: Reply with quote

Cintra wrote:
Naib wrote:
Cintra wrote:
Mine too :-D
It works fine, tho' always in 'verbose' without the -v
Grazie...


kk will look into it, this has inspired me to go over my system with this tool and depclean to get it all shipshape

I say 'always', but I have only checked out -db -df & -u so far..

Edit Don't know what/when I did but unclepine has stopped working now that I have updated cdb.py et al, so I'm back to 'no cdb' for a while. the errors are like:
Code:

p4pe ~ # uncle -h

====================================
Error: Failed to import module 'cache.cdb.database'

  File "/usr/lib/portage/pym/portage.py", line 1285, in load_best_module
    mod = load_mod(best_mod)
  File "/usr/lib/portage/pym/portage.py", line 142, in load_mod
    mod = __import__(modname)
  File "/usr/lib/portage/pym/cache/cdb.py", line 7, in ?
    cdb_module = __import__("cdb")
  File "/root/cdb.py", line 14, in ?
No module named fs_template
====================================


KK, looks like some more moved modules, will look into in a bit, helping lass atm
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Mon Jan 09, 2006 5:17 pm    Post subject: Reply with quote

thank you naib..
i've been away from the net for a while :)

i will check everything tomorrow and repack everything.
Thank You again ;)
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Wed Jan 11, 2006 2:28 pm    Post subject: Reply with quote

i'm sorry to inform that i will not make any modify to unclepine because it's now working on stable portage.
I didn't know it was an ~ portage.

All my systems are stable and i prefer to leave unclepine compatible with latest stable portage.

ASAP new portage will be stable i will investigate.

So it seem that PROVIDE file is not anymore available?
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Wed Jan 11, 2006 2:58 pm    Post subject: Reply with quote

Yes, for example
Code:
 # uncle -db ppp

!!! Critical Error
!!! You miss this file : /var/db/pkg/x11-libs/wxGTK-2.4.2-r4/PROVIDE

_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Wed Jan 11, 2006 3:04 pm    Post subject: Reply with quote

can you please do

Code:

ls /var/db/pkg/x11-libs/wxGTK-2.4.2-r4


i hope they kept these informations not only in portage tree..

maybe check on a recently emerged package wich really PROVIDES something (like mta or xorg)

thank you
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Wed Jan 11, 2006 3:08 pm    Post subject: Reply with quote

Code:
# ls /var/db/pkg/x11-libs/wxGTK-2.4.2-r4
CATEGORY  CHOST     CXXFLAGS  environment.bz2  IUSE     PDEPEND  SLOT
CBUILD    CONTENTS  DEPEND    FEATURES         LICENSE  PF       USE
CFLAGS    COUNTER   EAPI      INHERITED        NEEDED   RDEPEND  wxGTK-2.4.2-r4.ebuild

# ls /var/db/pkg/x11-base/xorg-x11-6.8.2-r6
ASFLAGS   CHOST     CXXFLAGS         EXTRA_ECONF     IUSE         NEEDED   RDEPEND
CATEGORY  CONTENTS  DEBUGBUILD       EXTRA_EINSTALL  LDFLAGS      PDEPEND  RESTRICT
CBUILD    COUNTER   DEPEND           EXTRA_MAKE      LIBCFLAGS    PF       SLOT
CC        CTARGET   EAPI             FEATURES        LIBCXXFLAGS  PKGUSE   USE
CFLAGS    CXX       environment.bz2  INHERITED       LICENSE      PROVIDE  xorg-x11-6.8.2-r6.ebuild

_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Wed Jan 11, 2006 3:13 pm    Post subject: Reply with quote

so...
your xorg is recently compiled with new portage?

if answer is yes it means that new portage will not write down PROVIDE file if empty.

Let me know :)
Thank You again
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Wed Jan 11, 2006 3:17 pm    Post subject: Reply with quote

Sun Dec 18 16:20:20 2005 >>> sys-apps/portage-2.1_pre1
Thu Dec 22 08:39:51 2005 >>> x11-base/xorg-x11-6.8.2-r6
mvh

Its a pleasure if it means we get a working version of unclepine sooner ;-)
_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Wed Jan 11, 2006 3:42 pm    Post subject: Reply with quote

on line 587
it is...
Code:

def add_virtual_from_local(dirname):
        """ read PROVIDE file and sets virtual dict """
        try:
                if os.path.getsize(dirname+'/PROVIDE')<1:return
                fd=open(dirname+'/PROVIDE','r')
                filecontent=fd.read()
                fd.close()

        except:
                missing_file_warning(dirname+'/PROVIDE\n')
        filecontent=purge_void(filecontent.replace('\t',' ').replace('\n',' ').strip(' ').split(' '))
        add_general_virtual(dirname,filecontent)




transform in

Code:
def add_virtual_from_local(dirname):
        """ read PROVIDE file and sets virtual dict """
        try:
                if os.path.getsize(dirname+'/PROVIDE')<1:return
                fd=open(dirname+'/PROVIDE','r')
                filecontent=fd.read()
                fd.close()

                filecontent=purge_void(filecontent.replace('\t',' ').replace('\n',' ').strip(' ').split(' '))
                add_general_virtual(dirname,filecontent)
        except:
                 pass





it's a dirty hack but shoud work..
beware of indentation.. use tabs

Bye
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Wed Jan 11, 2006 3:45 pm    Post subject: Reply with quote

transform in ??
_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Wed Jan 11, 2006 4:03 pm    Post subject: Reply with quote

becomes...
sorry for my english :)

bye
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Wed Jan 11, 2006 4:30 pm    Post subject: Reply with quote

this is after the above mod.. using version="0.1_beta18" as the base
Code:
# ./unclepine.bak -h
Traceback (most recent call last):
  File "./unclepine.bak", line 42, in ?
    from portage import flatten,match_from_list,pkgcmp,catpkgsplit,dep_opconvert,dep_parenreduce,isvalidatom
ImportError: cannot import name dep_opconvert

I've got a feeling there was another mod about this
mvh
_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Wed Jan 11, 2006 4:39 pm    Post subject: Reply with quote

i think you modified original unclepine...
you should modify naib version :)

bye
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Wed Jan 11, 2006 4:40 pm    Post subject: Reply with quote

yes there was a suggested mod on the previous page, which with your current mod allows unclepine to work, the only snag being the printing of this type of line
Code:
 
...
...
Ignoring :games-simulation/planets-0.1.10
Ignoring :games-simulation/planets-0.1.10
Ignoring :games-simulation/planets-0.1.10
Ignoring :net-analyzer/netselect-0.3-r1
Ignoring :net-analyzer/netselect-0.3-r1
Ignoring :net-analyzer/netselect-0.3-r1
Ignoring :net-analyzer/hping-2.0.0_rc3-r1
Ignoring :net-analyzer/hping-2.0.0_rc3-r1
Ignoring :net-analyzer/hping-2.0.0_rc3-r1
Ignoring :net-analyzer/tcpdump-3.9.3
Ignoring :net-analyzer/tcpdump-3.9.3
Ignoring :net-analyzer/tcpdump-3.9.3

net-dialup/ppp-2.4.2-r15
HAS THESE DEPENDENCIES:
        * sys-apps/sed-4.1.4 (S)
        * sys-devel/gnuconfig-20051113 (WS)
        * sys-devel/patch-2.5.9 (S)
        * sys-libs/pam-0.78-r3 (WS)

* ENTRY IN WORLD FILE

_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Wed Jan 11, 2006 4:42 pm    Post subject: Reply with quote

xchris wrote:
i think you modified original unclepine...
you should modify naib version :)

bye

right thats what I have now done with the above output

edit: its now called uncle-naib :-)
_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Wed Jan 11, 2006 5:01 pm    Post subject: Reply with quote

i don't think it's related to latest mod.

how many packages are ignored? 10?100?more?
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Wed Jan 11, 2006 5:07 pm    Post subject: Reply with quote

xchris wrote:
i don't think it's related to latest mod.

how many packages are ignored? 10?100?more?

no it was there earlier too - about a 1000
_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
Ferdinando
Veteran
Veteran


Joined: 25 Nov 2003
Posts: 1027
Location: Gaeta (LT) - Italy

PostPosted: Wed Jan 11, 2006 5:33 pm    Post subject: Reply with quote

Cintra wrote:
no it was there earlier too - about a 1000

Code:
exairetos@Aurora ~ $ unclepine -u &> output
exairetos@Aurora ~ $ wc -l output
1003 output
exairetos@Aurora ~ $ tail -n 30 output
Unlinked Packages: 26

        * app-admin/eselect-opengl-1.0.3
        * app-admin/fam-2.7.0-r4
        * app-cdr/cdrtools-2.01.01_alpha01-r2
        * app-misc/ca-certificates-20050804
        * app-text/docbook-dsssl-stylesheets-1.79
        * app-text/ghostscript-esp-7.07.1-r10
        * app-text/poppler-bindings-0.4.3-r2
        * dev-java/ant-core-1.6.5-r2
        * dev-java/blackdown-jdk-1.4.2.03
        * dev-java/java-config-1.2.11-r1
        * mail-mta/ssmtp-2.61
        * media-fonts/gnu-gs-fonts-std-8.11
        * media-libs/glide-v3-3.10-r4
        * media-libs/glut-3.7.1
        * media-libs/netpbm-10.31-r1
        * net-mail/mailbase-1
        * net-nds/portmap-5b-r9
        * sys-apps/eject-2.1.0
        * sys-apps/pcmcia-cs-3.2.8-r2
        * sys-apps/utempter-0.5.5.6
        * sys-kernel/gentoo-sources-2.6.15
        * sys-process/vixie-cron-4.1-r8
        * x11-apps/ttmkfdir-3.0.9-r3
        * x11-base/opengl-update-3.0.0
        * x11-base/xorg-x11-6.8.2-r6
        * x11-terms/xterm-207

There's something fishy here, isn't it? :D

P.S. Btw, if uncle pine is now x86, how will aunt mary behave? Anyway, poor aunt isn't dead, is it? :)

Bye
_________________
La risposta, non la devi cercare fuori, la devi cercare dentro di te: e però è SBAGLIATA!
-- Corrado Guzzanti, "Pippo Chennedy Show", 1997
Back to top
View user's profile Send private message
xchris
Advocate
Advocate


Joined: 10 Jul 2003
Posts: 2824

PostPosted: Wed Jan 11, 2006 5:35 pm    Post subject: Reply with quote

this is not good..
unclepine will work very bad in these conditions..
because it ignores packages that may be necessary.

I cannot help that much because i cannot test on my pc... sorry

ASA this portage will be marked stable i will adjust everything.

bye
_________________
while True:Gentoo()
Back to top
View user's profile Send private message
Ferdinando
Veteran
Veteran


Joined: 25 Nov 2003
Posts: 1027
Location: Gaeta (LT) - Italy

PostPosted: Wed Jan 11, 2006 5:40 pm    Post subject: Reply with quote

xchris wrote:
ASA this portage will be marked stable i will adjust everything.

That's ok, we'll wait.
Btw, you've been evading all questions about ol' lil' aunt mary lately, I'm beginning to think she's really dead :twisted:

Bye :D
_________________
La risposta, non la devi cercare fuori, la devi cercare dentro di te: e però è SBAGLIATA!
-- Corrado Guzzanti, "Pippo Chennedy Show", 1997
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Page 8 of 9

 
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