Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How can I work around this dependancy issue?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
avanesov
n00b
n00b


Joined: 05 Aug 2009
Posts: 5

PostPosted: Sun Aug 09, 2009 1:39 am    Post subject: How can I work around this dependancy issue? Reply with quote

I have sabayon 4.2 installed and wanted to start using portage for all my updating so I did a "sudo emerge --pretend --update --newuse --deep @system @world" and recieved the following output:

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "=app-admin/system-config-printer-common-1.1.3".
(dependency required by "kde-base/system-config-printer-kde-4.2.4" [ebuild])
(dependency required by "@world" [argument])


When I run: $ emerge --pretend system-config-printer-common


I get:
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] app-admin/system-config-printer-common-1.1.8 USE="-doc"


So there is obviously a more recent version of the required dependancy out there.

I have checked all the files in /etc/portage/ (package.*) and cannot find any referance to =app-admin/system-config-printer-common-1.1.3. Is this a dependancy coded into an ebuild? Can it be changed? Is there another way to try and resolve this?

My system is 64 bit and because it is installed from a sabayon4.2 disc it is running ~amd64 if I understand correctly.

I am new to linux troubleshooting and Gentoo so if I need to post any additional output please let me know.
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2469
Location: /home/zach

PostPosted: Sun Aug 09, 2009 2:13 am    Post subject: Reply with quote

Moved from Portage & Programming to Unsupported Software, as it pertains to Sabayon and not Gentoo.
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3221

PostPosted: Sun Aug 09, 2009 2:14 am    Post subject: Reply with quote

If you take a look at the dependencies for system-config-printer-kde it actually requires =system-config-printer-common-1.1.3, which is giving you the problem. I'm not sure if this is a mistake in the ebuild, or if the software really requires that specific version. If you want to bypass this one issue, you could copy the ebuild to a local portage overlay and edit that dependency.

You might run into other issues down the road migrating from sabayon to gentoo... not really sure. If you really want to switch to Gentoo, it might be easy to just go from scratch.

BTW - This thread should go in unsupported software, since it's related to sabayon...
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Sun Aug 09, 2009 2:20 am    Post subject: Reply with quote

Your caught in kde dependency hell. kde is a pain to update because of 3 versions that are available, 3.5, 4.2 and to make it a PITA 4.5. You probably 3.5 installed. From
    eix kde
    * kde-base/system-config-printer-kde
    Available versions:
    (4.2) [M](~)4.2.4
    (4.3) [M](~)4.3.0

and
Which is probably pulled in by kde-3.5. If you go to the desktop forums you find plenty moaning and fixs.

Frankly my method is extreme but it works. If you have eix, equery or qlist or "emerge world -ep|grep kde" you can get a list of what kde files you have and unmerge the lot. Now install a couple of programs you want like kate or koffice. You want only one or 2 programs and specify a version I picked kate-3.5. That pulled in only the kde-3.5 support programs. If you pick kate-4.2 you get 4.2. I also unmerge qt progs because they're just as confused and instead of trying to figure out the mess delete them. The correct version for your kde-version, will be pulled back in.
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
avanesov
n00b
n00b


Joined: 05 Aug 2009
Posts: 5

PostPosted: Sun Aug 09, 2009 2:26 pm    Post subject: Reply with quote

Thanks. I may try the uninstall/reinstall of the KDE modules. I tried a straight Gentoo build but had trouble with getting X setup correctly (wouldnt recognize usb keyboard and mouse) and couldnt seem to get portage to use >=KDE 4.2 instead of 3.5 so I installed Sabayon.
Back to top
View user's profile Send private message
avanesov
n00b
n00b


Joined: 05 Aug 2009
Posts: 5

PostPosted: Sun Aug 09, 2009 2:50 pm    Post subject: Reply with quote

Hrmm, appreantly my @world file is now missing. The only thing I know of that may have mucked it up is trying out porthole (i made a couple mistakes not realizing it was working on something when I thought it was being unresponsive).

Is there an easy way to rebuild the @world file?
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3221

PostPosted: Sun Aug 09, 2009 3:31 pm    Post subject: Reply with quote

avanesov wrote:
Thanks. I may try the uninstall/reinstall of the KDE modules. I tried a straight Gentoo build but had trouble with getting X setup correctly (wouldnt recognize usb keyboard and mouse) and couldnt seem to get portage to use >=KDE 4.2 instead of 3.5 so I installed Sabayon.

The newest xorg requires that you built it with the hal useflag (the default) and use evdev to autoplug the mouse and keyboard. If you rebuild it with INPUT_DEVICES="evdev" you probably would be fine.

Sometimes the new xorg-server can run without and xorg.conf, but sometimes you need one (I do). You can easily auto generate a pretty decent one with `Xorg -configure`.

KDE-4.x is still masked under ~x86, which is why portage wanted to pull in the 3.5 branch. You need to unmask the packages you need in /etc/portage/package.keywords to upgrade to KDE-4.x. I personally stopped using KDE a while back, so I'm not sure how the update process works, but I'm sure there are more than a few threads in the forums that could help you.

avanesov wrote:
Hrmm, appreantly my @world file is now missing. The only thing I know of that may have mucked it up is trying out porthole (i made a couple mistakes not realizing it was working on something when I thought it was being unresponsive).

Is there an easy way to rebuild the @world file?


Do you mean that /var/lib/portage/world is missing? You are pretty much done if that's the case. Once portage looses track of what is installed, I think the only way to repair things is to recreate the world file by hand, from a backup, or re-emerge all the packages on your system, based on logs found in /var/log/emerge.log.

I really think the best option is to start over again with a clean install. We are here to help if you need us, and I think using my above advice you can get your xorg working better than last time.

If you really want to / need to keep your sabayon install you probably will be able to update things (with some challenge) and if you didn't nuke your world file.
Back to top
View user's profile Send private message
avanesov
n00b
n00b


Joined: 05 Aug 2009
Posts: 5

PostPosted: Sun Aug 09, 2009 3:39 pm    Post subject: Reply with quote

kk, thx. Im heading off to church atm but ill dig around some more when I get back if I have time and see what I can do based on your advice.
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Sun Aug 09, 2009 4:51 pm    Post subject: Reply with quote

Sounds like sabayon was using portage-2.2 which uses sets but gentoo stable uses portage-2.1 which doesnt. So you would " emerge system or world" If you want to use portage-2.2 then
Code:
echo "sys-apps/portage">>/etc/portage/package.keywords

_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
loftwyr
l33t
l33t


Joined: 29 Dec 2004
Posts: 970
Location: 43°38'23.62"N 79°27'8.60"W

PostPosted: Sun Aug 09, 2009 5:58 pm    Post subject: Reply with quote

regenworld (from gentoolkit) will regenerate your world file.
_________________
My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing.
Back to top
View user's profile Send private message
dol-sen
Developer
Developer


Joined: 30 Jun 2002
Posts: 2803
Location: Richmond, BC, Canada

PostPosted: Mon Aug 10, 2009 7:14 am    Post subject: Reply with quote

avanesov wrote:
Hrmm, appreantly my @world file is now missing. The only thing I know of that may have mucked it up is trying out porthole (i made a couple mistakes not realizing it was working on something when I thought it was being unresponsive).


Porthole did not muck up your @world file. It uses portage to gather information only and does not mess with those files. When you emerge a package with it it calls emerge in a terminal just like what you would do manually. It was most likely that when you killed it the running emerge command was doing something with that file. The unresponsiveness you saw was most likely due to heavy compilation coupled with a lot of output to handle in it's terminal. Porthole's terminal is coded in python which is a little slow for heavy terminal activity. I plan on changing that in the future.

Also, porthole is capable of running as a user (when in the portage group) so to further protect from any remote possible system corruption caused by it (if your paranoid). Then only the actual emerge call is given superuser privilege.
_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
avanesov
n00b
n00b


Joined: 05 Aug 2009
Posts: 5

PostPosted: Tue Aug 11, 2009 12:47 am    Post subject: Reply with quote

dol-sen wrote:
It was most likely that when you killed it the running emerge command was doing something with that file.
That is pretty much what I meant. I certainly diddnt mean to suggest that Porthole killed it while working as intended.


As of right now I have reinstalled (fresh) with a minimal install (cmd line only) from the Sabayon CD and have tweaked the use flags a little; so far I have successfully worked around the few dependancy/version conflicts that have popped up while updating the base install with emerge. As soon as this current emerge is done I should be able to update world and then start installing KDE and dependancies.


On a side note, does anyone know if a good resource is available for what use flags to +/- for a gentoo based KDE4.2 system? Or any other good advice on what would need masking ect...? I am trying to get as pure of a QT4/kde4.X system as possible....trying to avoid anything that is gnome/gtk.
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
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