Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
error "unmerging" ati-drivers... [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
apumarco
n00b
n00b


Joined: 11 Mar 2004
Posts: 11

PostPosted: Wed Mar 09, 2005 7:13 pm    Post subject: error "unmerging" ati-drivers... [SOLVED] Reply with quote

Well, my problem is the following... I want to install the new (masked) ati-drivers
Code:

#ACCEPT_KEYWORDS="~x86" emerge -p ati-drivers

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[blocks B     ] <media-video/ati-drivers-8.8.25-r3 (is blocking x11-base/opengl-update-2.1.1-r1)
[ebuild     U ] x11-base/opengl-update-2.1.1-r1 [2.0_pre5]
[ebuild     U ] media-video/ati-drivers-8.10.19 [8.8.25]


But I can't unmerge my actual ati drivers 8O this is the error I get:
Code:

# ACCEPT_KEYWORDS="~x86" emerge -C ati-drivers

 media-video/ati-drivers
    selected: 8.8.25 3.9.0-r1
   protected: none
     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 media-video/ati-drivers-8.8.25...
No package files given... Grabbing a set.
<<<        obj /usr/lib/opengl/ati/lib/libGL.so.1.2
<<<        obj /usr/lib/opengl/ati/lib/libGL.la
<<<        obj /usr/lib/modules/linux/libfglrxdrm.a
<<<        obj /usr/lib/modules/drivers/fglrx_drv.o
<<<        obj /usr/lib/modules/dri/fglrx_dri.so
<<<        obj /usr/lib/libfglrx_gamma.so.1.0
<<<        obj /usr/lib/libfglrx_gamma.a
<<<        obj /usr/include/include/GL/glxATI.h
<<<        obj /usr/include/X11/extensions/fglrx_gamma.h
<<<        obj /opt/ati/bin/fglrxinfo
<<<        obj /opt/ati/bin/fglrxconfig
<<<        obj /opt/ati/bin/fglrx_xgamma
--- cfgpro obj /lib/modules/2.6.10-gentoo-r6/video/fglrx.ko
--- cfgpro dir /lib/modules/2.6.10-gentoo-r6/video
--- cfgpro dir /lib/modules/2.6.10-gentoo-r6
<<<        obj /etc/env.d/09ati
--- cfgpro dir /etc/env.d
<<<        sym /usr/lib/opengl/ati/lib/libGL.so.1
<<<        sym /usr/lib/opengl/ati/lib/libGL.so
<<<        dir /usr/lib/opengl/ati/lib
<<<        dir /usr/include/include/GL
<<<        dir /usr/include/include
--- !empty dir /usr/lib/opengl/ati
--- !empty dir /usr/lib/opengl
--- !empty dir /usr/lib/modules/linux
--- !empty dir /usr/lib/modules/drivers
--- !empty dir /usr/lib/modules/dri
--- !empty dir /usr/lib/modules
--- !empty dir /usr/lib
--- !empty dir /usr/include/X11/extensions
--- !empty dir /usr/include/X11
--- !empty dir /usr/include
--- !empty dir /usr
--- !empty dir /opt/ati/bin
--- !empty dir /opt/ati
--- !empty dir /opt
--- !empty dir /lib/modules
--- !empty dir /lib
--- !empty dir /etc
--- !targe sym /usr/lib/opengl/ati/include
--- !targe sym /usr/lib/opengl/ati/extensions
>>> Unmerging media-video/ati-drivers-3.9.0-r1...
No package files given... Grabbing a set.

QA Notice: ECLASS 'eutils' inherited illegally in media-video/ati-drivers-3.9.0-r1


QA Notice: ECLASS 'multilib' inherited illegally in media-video/ati-drivers-3.9.0-r1


QA Notice: ECLASS 'rpm' inherited illegally in media-video/ati-drivers-3.9.0-r1

/usr/lib/portage/bin/ebuild.sh: /var/db/pkg/media-video/ati-drivers-3.9.0-r1/ati-drivers-3.9.0-r1.ebuild: line 169: unexpected EOF while looking for matching `"'
/usr/lib/portage/bin/ebuild.sh: /var/db/pkg/media-video/ati-drivers-3.9.0-r1/ati-drivers-3.9.0-r1.ebuild: line 173: syntax error: unexpected end of file

!!! ERROR: media-video/ati-drivers-3.9.0-r1 failed.
!!! Function , Line 1702, Exitcode 1
!!! error sourcing ebuild
!!! If you need support, post the topmost build error, NOT this status message.

!!! FAILED prerm: 1


I would really apreciate any help with this :wink:


Last edited by apumarco on Wed Mar 09, 2005 11:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
jkt
Retired Dev
Retired Dev


Joined: 06 Feb 2004
Posts: 1250
Location: Prague, Czech republic, EU

PostPosted: Wed Mar 09, 2005 7:31 pm    Post subject: Reply with quote

you've hit some broken ebuild in potrage tree. `emerge -q --sync` again, and ask the developer who submitted the .ebuild file if he could be more carefull next time :-).

or, of course, your filesystme could be broken.
_________________
cd /local/pub && more beer > /dev/mouth

Česká dokumentace
Back to top
View user's profile Send private message
epm
n00b
n00b


Joined: 09 Mar 2005
Posts: 6

PostPosted: Wed Mar 09, 2005 7:52 pm    Post subject: Same here Reply with quote

I have a similar problem. I have the same 'blocks' message, and I unmerged my ati-drivers-8.8.25*. Then I tried to emerge, but the block is not gone. I used etcat -v and it does not show any blocking packages to be present on my system. What gives? Syncing does not fix the problem.
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Wed Mar 09, 2005 7:59 pm    Post subject: Reply with quote

Try unmerging both ati-drivers and opengl-update, then merging them again (make sure you get the ~x86 versions).
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
epm
n00b
n00b


Joined: 09 Mar 2005
Posts: 6

PostPosted: Wed Mar 09, 2005 8:29 pm    Post subject: Fixed it Reply with quote

Actually, I just fixed it. I poked around in the ebuilds and found that opengl-update-2.1.1-r1 depended on you having at least ati-drivers-8.8.25-r3, but ati-drivers-8.8.25-r3 (and 8.10.19) requires that you have >opengl-update-2.1-pre1, so the dependencies can never be solved. To fix it, I did the following:
1. I opened up opengl-update-2.1.1-r1.ebuild
2. changed
Code:
 
RDEPEND="!x11-base/xfree86
         !<x11-base/xorg-x11-6.8.0-r4
         !<media-video/ati-drivers-8.8.25-r3"

to
Code:

RDEPEND="!x11-base/xfree86
         !<x11-base/xorg-x11-6.8.0-r4"

And it works.
Back to top
View user's profile Send private message
jkt
Retired Dev
Retired Dev


Joined: 06 Feb 2004
Posts: 1250
Location: Prague, Czech republic, EU

PostPosted: Wed Mar 09, 2005 8:33 pm    Post subject: Re: Fixed it Reply with quote

epm wrote:
I poked around in the ebuilds and found that opengl-update-2.1.1-r1 depended on you having at least ati-drivers-8.8.25-r3, but ati-drivers-8.8.25-r3 (and 8.10.19) requires that you have >opengl-update-2.1-pre1, so the dependencies can never be solved.


Please, could you report it as a bug at Gentoo Bugzilla?
_________________
cd /local/pub && more beer > /dev/mouth

Česká dokumentace
Back to top
View user's profile Send private message
epm
n00b
n00b


Joined: 09 Mar 2005
Posts: 6

PostPosted: Wed Mar 09, 2005 9:06 pm    Post subject: Bug Reply with quote

Somebody already has: https://bugs.gentoo.org/show_bug.cgi?id=81513

However, the 'solution' posted in the additional comments did not work for me.
Back to top
View user's profile Send private message
epm
n00b
n00b


Joined: 09 Mar 2005
Posts: 6

PostPosted: Wed Mar 09, 2005 9:18 pm    Post subject: Another thing Reply with quote

The depency wouldn't be circular if gentoo respected the distinction between depend and rdepend. It doesn't seem too hard either. A reasonable solution would be to do a two-stage emerge: first emerge and resolve all depends, then do another step where you resolve all rdepends. Why isn't this implemented? From what I understand, portage attempts to satisfy all depends and rdepends at once. (see : http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1#doc_chap5)
Back to top
View user's profile Send private message
jkt
Retired Dev
Retired Dev


Joined: 06 Feb 2004
Posts: 1250
Location: Prague, Czech republic, EU

PostPosted: Wed Mar 09, 2005 9:25 pm    Post subject: Re: Fixed it Reply with quote

epm wrote:
and found that opengl-update-2.1.1-r1 depended on you having at least ati-drivers-8.8.25-r3, but ati-drivers-8.8.25-r3 (and 8.10.19) requires that you have >opengl-update-2.1-pre1, so the dependencies can never be solved.

nope, opengl-update does not require >=media-video/ati-drivers-8.8.25-r3, it only refuses to compile with anything older than media-video/ati-drivers-8.8.25-r3. So, if you remove your ati-drivers, update opengl-update and than also ati-drivers, everything should be fine, IMHO.

I don't know, however, why was that bug marked as "RESOLVED INVALID"...
_________________
cd /local/pub && more beer > /dev/mouth

Česká dokumentace
Back to top
View user's profile Send private message
jkt
Retired Dev
Retired Dev


Joined: 06 Feb 2004
Posts: 1250
Location: Prague, Czech republic, EU

PostPosted: Wed Mar 09, 2005 9:29 pm    Post subject: Re: error "unmerging" ati-drivers... Reply with quote

apumarco wrote:
Code:

#ACCEPT_KEYWORDS="~x86" emerge -p ati-drivers

don't use the ACCEPT_KEYWORDS=~arch, use /etc/portage/package.keywords instead.

Quote:
Code:
# ACCEPT_KEYWORDS="~x86" emerge -C ati-drivers

specifying ARCH while unmerging is not required, AFAIK.
_________________
cd /local/pub && more beer > /dev/mouth

Česká dokumentace
Back to top
View user's profile Send private message
epm
n00b
n00b


Joined: 09 Mar 2005
Posts: 6

PostPosted: Wed Mar 09, 2005 9:40 pm    Post subject: Reply with quote

Yep, I'm wrong. The real problem was that I wanted to keep older versions of ati-drivers around on my system instead of removing them all.
Back to top
View user's profile Send private message
jkt
Retired Dev
Retired Dev


Joined: 06 Feb 2004
Posts: 1250
Location: Prague, Czech republic, EU

PostPosted: Wed Mar 09, 2005 9:47 pm    Post subject: Reply with quote

epm wrote:
Yep, I'm wrong. The real problem was that I wanted to keep older versions of ati-drivers around on my system instead of removing them all.

use `emerge -C =media-video/ati-drivers-8.10.19` to remove only specified version of package (notice the "=" sign).

If you just want to create a backup snapshot fo some package, you can, but I cannot remember the tool which can do this :-(. I'll try to search :-)
_________________
cd /local/pub && more beer > /dev/mouth

Česká dokumentace


Last edited by jkt on Wed Mar 09, 2005 9:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
epm
n00b
n00b


Joined: 09 Mar 2005
Posts: 6

PostPosted: Wed Mar 09, 2005 9:52 pm    Post subject: Reply with quote

Originally that is what I had done, but I was still having the problem mentioned above, which from what I understand is from the the older versions of ati-drivers conflicting with !<media-video/ati-drivers-8.8.25-r3 in the ebuild.
Back to top
View user's profile Send private message
jkt
Retired Dev
Retired Dev


Joined: 06 Feb 2004
Posts: 1250
Location: Prague, Czech republic, EU

PostPosted: Wed Mar 09, 2005 10:00 pm    Post subject: Reply with quote

jkt wrote:
If you just want to create a backup snapshot fo some package, you can, but I cannot remember the tool which can do this :-(. I'll try to search :-)


`quickpkg` :-)
_________________
cd /local/pub && more beer > /dev/mouth

Česká dokumentace
Back to top
View user's profile Send private message
apumarco
n00b
n00b


Joined: 11 Mar 2004
Posts: 11

PostPosted: Wed Mar 09, 2005 10:37 pm    Post subject: still didn't solve it.. Reply with quote

First of all, I just wanted to say that I really appreciate the lots of replies this thread got :wink:

So far this is what I did...


well, I just tried the "emerge -C =media-video/ati-drivers-8.8.25" and it unmerged it without any errors..
Code:

 # emerge -C =media-video/ati-drivers-8.8.25

 media-video/ati-drivers
    selected: 8.8.25
   protected: none
     omitted: 3.9.0-r1

>>> '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 media-video/ati-drivers-8.8.25...
No package files given... Grabbing a set.
<<<        obj /usr/lib/opengl/ati/lib/libGL.so.1.2
<<<        obj /usr/lib/opengl/ati/lib/libGL.la
<<<        obj /usr/lib/modules/linux/libfglrxdrm.a
<<<        obj /usr/lib/modules/drivers/fglrx_drv.o
<<<        obj /usr/lib/modules/dri/fglrx_dri.so
<<<        obj /usr/lib/libfglrx_gamma.so.1.0
<<<        obj /usr/lib/libfglrx_gamma.a
<<<        obj /usr/include/include/GL/glxATI.h
<<<        obj /usr/include/X11/extensions/fglrx_gamma.h
<<<        obj /opt/ati/bin/fglrxinfo
<<<        obj /opt/ati/bin/fglrxconfig
<<<        obj /opt/ati/bin/fglrx_xgamma
--- cfgpro obj /lib/modules/2.6.10-gentoo-r6/video/fglrx.ko
--- cfgpro dir /lib/modules/2.6.10-gentoo-r6/video
--- cfgpro dir /lib/modules/2.6.10-gentoo-r6
<<<        obj /etc/env.d/09ati
--- cfgpro dir /etc/env.d
<<<        sym /usr/lib/opengl/ati/lib/libGL.so.1
<<<        sym /usr/lib/opengl/ati/lib/libGL.so
<<<        dir /usr/lib/opengl/ati/lib
<<<        dir /usr/include/include/GL
<<<        dir /usr/include/include
--- !empty dir /usr/lib/opengl/ati
--- !empty dir /usr/lib/opengl
--- !empty dir /usr/lib/modules/linux
--- !empty dir /usr/lib/modules/drivers
--- !empty dir /usr/lib/modules/dri
--- !empty dir /usr/lib/modules
--- !empty dir /usr/lib
--- !empty dir /usr/include/X11/extensions
--- !empty dir /usr/include/X11
--- !empty dir /usr/include
--- !empty dir /usr
--- !empty dir /opt/ati/bin
--- !empty dir /opt/ati
--- !empty dir /opt
--- !empty dir /lib/modules
--- !empty dir /lib
--- !empty dir /etc
--- !targe sym /usr/lib/opengl/ati/include
--- !targe sym /usr/lib/opengl/ati/extensions
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...

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



As you can see it omits the 3.9.0, when I try to unmerge them with the "=" sign I get:

Code:

# emerge -C =media-video/ati-drivers-3.9.0-r1

 media-video/ati-drivers
    selected: 3.9.0-r1
   protected: none
     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 media-video/ati-drivers-3.9.0-r1...
No package files given... Grabbing a set.

QA Notice: ECLASS 'eutils' inherited illegally in media-video/ati-drivers-3.9.0-r1


QA Notice: ECLASS 'multilib' inherited illegally in media-video/ati-drivers-3.9.0-r1


QA Notice: ECLASS 'rpm' inherited illegally in media-video/ati-drivers-3.9.0-r1

/usr/lib/portage/bin/ebuild.sh: /var/db/pkg/media-video/ati-drivers-3.9.0-r1/ati-drivers-3.9.0-r1.ebuild: line 169: unexpected EOF while looking for matching `"'
/usr/lib/portage/bin/ebuild.sh: /var/db/pkg/media-video/ati-drivers-3.9.0-r1/ati-drivers-3.9.0-r1.ebuild: line 173: syntax error: unexpected end of file

!!! ERROR: media-video/ati-drivers-3.9.0-r1 failed.
!!! Function , Line 1702, Exitcode 1
!!! error sourcing ebuild
!!! If you need support, post the topmost build error, NOT this status message.

!!! FAILED prerm: 1


and the 'ACCEPT_KEYWORDS="~x86" emerge -p ati-drivers' says that the 8.8.25 are still installed... 8O
Code:

 # ACCEPT_KEYWORDS="~x86" emerge -p ati-drivers

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[blocks B     ] <media-video/ati-drivers-8.8.25-r3 (is blocking x11-base/opengl-update-2.1.1-r1)
[ebuild     U ] x11-base/opengl-update-2.1.1-r1 [2.0_pre5]
[ebuild  NS   ] media-video/ati-drivers-8.10.19



Well later on (tomorrow...) I will try: checking filesystem, sync(ing) and editing the ebuild... If something solves the problem I will report it, at least I hope solving it..:?



EDIT:
I just edited the ebuild, and emerged the new ati-drivers - now everything works fine.
Thanks to all of you guys - specially epm for your help!
Back to top
View user's profile Send private message
jkt
Retired Dev
Retired Dev


Joined: 06 Feb 2004
Posts: 1250
Location: Prague, Czech republic, EU

PostPosted: Thu Mar 10, 2005 2:05 pm    Post subject: Re: still didn't solve it.. Reply with quote

apumarco wrote:

Code:

# emerge -C =media-video/ati-drivers-3.9.0-r1
/usr/lib/portage/bin/ebuild.sh: /var/db/pkg/media-video/ati-drivers-3.9.0-r1/ati-drivers-3.9.0-r1.ebuild: line 169: unexpected EOF while looking for matching `"'
/usr/lib/portage/bin/ebuild.sh: /var/db/pkg/media-video/ati-drivers-3.9.0-r1/ati-drivers-3.9.0-r1.ebuild: line 173: syntax error: unexpected end of file

!!! ERROR: media-video/ati-drivers-3.9.0-r1 failed.
!!! Function , Line 1702, Exitcode 1
!!! error sourcing ebuild
!!! If you need support, post the topmost build error, NOT this status message.

!!! FAILED prerm: 1


well, the problem is/was that the ebuild which portage "remembered" as used for installation of ati-drivers-3.9.0-r1, stored under /var/db/pkg/, got corrupted. The most probable reason is that your filesystmem holding this directory got corrupted, so I'll strongly suggest you to run fsck on it, even if you currently don't have any problems at all.
_________________
cd /local/pub && more beer > /dev/mouth

Česká dokumentace
Back to top
View user's profile Send private message
apumarco
n00b
n00b


Joined: 11 Mar 2004
Posts: 11

PostPosted: Fri Mar 11, 2005 8:46 am    Post subject: fsk Reply with quote

Well, I did as you suggested, but I it was unable to find any errors at all on my filesystem... I guess this will just be an "unsolved mistery", but at least anything else works fine now 8)
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


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

PostPosted: Fri Mar 11, 2005 12:05 pm    Post subject: Re: fsk Reply with quote

apumarco wrote:
Well, I did as you suggested, but I it was unable to find any errors at all on my filesystem... I guess this will just be an "unsolved mistery", but at least anything else works fine now 8)

See GF19: Emerge fails to unmerge a package to get rid of ati-drivers-3.9.0-r1.
Also, the blocking is solved much cleaner in https://forums.gentoo.org/viewtopic-t-306912.html

Moved from Portage & Programming.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.freenode.net
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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