Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18289 - "emerge -f" gives ugly error message while "emerge" (without -f) does not
Summary: "emerge -f" gives ugly error message while "emerge" (without -f) does not
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-27 08:09 UTC by Stefan Sarzio
Modified: 2003-04-28 05:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Sarzio 2003-03-27 08:09:16 UTC
s. Actual Results



Reproducible: Always
Steps to Reproduce:
1. emerge openoffice -f
2. emerge openoffice
3.

Actual Results:  
emerge openoffice -f
Calculating dependencies ...done!
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1862, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1098, in merge
    y=portage.portdb.findname(x[2])
  File "/usr/lib/python2.2/site-packages/portage.py", line 3032, in findname
    return self.root+"/"+mysplit[0]+"/"+psplit[0]+"/"+mysplit[1]+".ebuild"
TypeError: unsubscriptable object

Expected Results:  
emerge openoffice
Calculating dependencies ...done!

!!! Error: the app-office/openoffice-bin package conflicts with this package 
and both can't be installed on the same system together.
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2003-03-27 08:51:51 UTC
The problem occurs when using the -f flag with all packages that conflicts with other packags. Portage tries to determinate the name of the blocked ebuild. Adding

if mylist[x][0]=="blocks":
  continue

to line 1075 of /usr/bin/emerge fixes this problem.
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2003-04-02 09:03:28 UTC
any status-report? 
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2003-04-28 05:16:44 UTC
This was fixed from another bug.