Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Portage error unmerging ttmkfdir
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
Lowspirit
Apprentice
Apprentice


Joined: 31 Jul 2002
Posts: 258
Location: Northern Sweden

PostPosted: Sat Sep 18, 2004 3:21 pm    Post subject: Portage error unmerging ttmkfdir Reply with quote

It's only ttmkfdir, searched board like crazy but no one else seems to have had same problem. Any ideas?

Code:
 * Caching service dependencies...
 * Caching service dependencies...
>>> Auto-cleaning packages ...

 x11-misc/ttmkfdir
    selected: 3.0.9-r1
   protected: 3.0.9-r2
     omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging x11-misc/ttmkfdir-3.0.9-r1...
No package files given... Grabbing a set.
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2832, in ?
    unmerge("clean", ["world"])
  File "/usr/bin/emerge", line 2040, in unmerge
    retval=portage.unmerge(mysplit[0],mysplit[1],portage.root,mysettings,unmerge_action not in ["clean","prune"])
  File "/usr/lib/portage/pym/portage.py", line 2549, in unmerge
    mylink.unmerge(trimworld=mytrimworld,cleanup=1)
  File "/usr/lib/portage/pym/portage.py", line 5672, in unmerge
    spawn("bzip2 -d "+self.dbdir+"/environment.bz2",self.settings,free=1)
  File "/usr/lib/portage/pym/portage.py", line 1445, in spawn
    return portage_exec.spawn_bash(mystring,env=env,**keywords)
  File "/usr/lib/portage/pym/portage_exec.py", line 29, in spawn_bash
    return spawn(args,env=env,opt_name=opt_name,**keywords)
  File "/usr/lib/portage/pym/portage_exec.py", line 118, in spawn
    raise str(e)+":\n   "+mycommand+" "+string.join(myargs)
TypeError: cannot concatenate 'str' and 'list' objects
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2832, in ?
    unmerge("clean", ["world"])
  File "/usr/bin/emerge", line 2040, in unmerge
    retval=portage.unmerge(mysplit[0],mysplit[1],portage.root,mysettings,unmerge_action not in ["clean","prune"])
  File "/usr/lib/portage/pym/portage.py", line 2549, in unmerge
    mylink.unmerge(trimworld=mytrimworld,cleanup=1)
  File "/usr/lib/portage/pym/portage.py", line 5683, in unmerge
    a=doebuild(myebuildpath,"prerm",self.myroot,self.settings,cleanup=cleanup,use_cache=0,tree="vartree")
  File "/usr/lib/portage/pym/portage.py", line 2330, in doebuild
    return spawn(EBUILD_SH_BINARY+" "+mydo,mysettings,debug=debug,free=1,logfile=logfile)
  File "/usr/lib/portage/pym/portage.py", line 1445, in spawn
    return portage_exec.spawn_bash(mystring,env=env,**keywords)
  File "/usr/lib/portage/pym/portage_exec.py", line 29, in spawn_bash
    return spawn(args,env=env,opt_name=opt_name,**keywords)
  File "/usr/lib/portage/pym/portage_exec.py", line 118, in spawn
    raise str(e)+":\n   "+mycommand+" "+string.join(myargs)
TypeError: cannot concatenate 'str' and 'list' objects
!!! FAILED prerm: 1

_________________
Gentoo | AMD X2 3800+ 2GB RAM | Kernel 2.6.30 . ReiserFS . CFQ . GCC4.3.3 | Firefox 3.5 | Gnome 2.26 w/ Compiz-Fusion
"Penguins are the only fish that can fly"
Back to top
View user's profile Send private message
diastelo
Guru
Guru


Joined: 23 Feb 2004
Posts: 521

PostPosted: Sun Sep 19, 2004 3:37 pm    Post subject: Reply with quote

I usually only get that sort of error if I manually kill emerge for some reason. Perhaps something happened to make it crash. In any case, have you tried re-emerging ttmkfdir and then removing it? You can specify a particular version by doing something like

Code:
emerge =x11-misc/ttmkfdir-3.0.9-r1


You can also try removing and deleting the ttmkfdir folders that you can find in /var/tmp/portage.
_________________
"No question is so difficult to answer as that to which the answer is obvious" -- George Bernard Shaw
Back to top
View user's profile Send private message
Lowspirit
Apprentice
Apprentice


Joined: 31 Jul 2002
Posts: 258
Location: Northern Sweden

PostPosted: Sun Oct 10, 2004 9:53 am    Post subject: Reply with quote

bump...

Still getting this, my poor gentoo is bjoken, everything else compiles just fine but after every emerge I do it wants to unmerge that ttmkfdir so the emerge never really get to finish cleanly.

Any help to work around even would be nice, if there is no solution.
_________________
Gentoo | AMD X2 3800+ 2GB RAM | Kernel 2.6.30 . ReiserFS . CFQ . GCC4.3.3 | Firefox 3.5 | Gnome 2.26 w/ Compiz-Fusion
"Penguins are the only fish that can fly"
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4975
Location: Gothenburg, Sweden

PostPosted: Sun Oct 10, 2004 10:04 am    Post subject: Reply with quote

Could be a problem with your package database. Check the files in /var/db/pkg/x11-misc/ttmkfdir-3.0.9-r1/ for problems. Did you try to re-emerge the older version?
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Back to top
View user's profile Send private message
Lowspirit
Apprentice
Apprentice


Joined: 31 Jul 2002
Posts: 258
Location: Northern Sweden

PostPosted: Sun Oct 10, 2004 10:14 am    Post subject: Reply with quote

Much love in your direction. Removed the contents of that dir, and re-emerged the older package, problem solved.

I had done every possible combination EXCEPT digging in that dir before.

Code:
 x11-misc/ttmkfdir
    selected: 3.0.9-r2
   protected: 3.0.9-r1
     omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging x11-misc/ttmkfdir-3.0.9-r2...
No package files given... Grabbing a set.
<<<        obj /usr/share/doc/ttmkfdir-3.0.9-r2/README.gz
--- !mtime obj /usr/X11R6/bin/ttmkfdir
<<<        dir /usr/share/doc/ttmkfdir-3.0.9-r2
--- !empty dir /usr/share/doc
--- !empty dir /usr/share
--- !empty dir /usr/X11R6/bin
--- !empty dir /usr/X11R6
--- !empty dir /usr
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...
>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


 * GNU info directory index is up-to-date.


Ahhhhhhhhh...
_________________
Gentoo | AMD X2 3800+ 2GB RAM | Kernel 2.6.30 . ReiserFS . CFQ . GCC4.3.3 | Firefox 3.5 | Gnome 2.26 w/ Compiz-Fusion
"Penguins are the only fish that can fly"
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