Emerge fails to install VirtualBox and throws sync error

Anything that pertains to Portage

Moderator: Moderators

Emerge fails to install VirtualBox and throws sync error

Postby sqlpython » Sat Jun 13, 2009 7:17

I decided to install VirtualBox on my recent Sabayon 4.1 amd64 install.
I have used Sabayon off and on for three plus years but just used it and never really went under the hood/bonnet so to speak.
I only remember using emerge once. My questions being
1. Do My final emerge messages indicate a problem with my system or ports?
2. One message says "config files in '/etc' need updating" ...What? Why?
3. Would someone could comment on the results of my attempt to install VirtualBoX
....and how to best correct my attempt it would be Appreciated?

So I followed the instructions on
http://wiki.sabayonlinux.org/index.php? ... Virtualbox

The steps in a Terminal were
1: emerge --sync && layman -S
2: rmmod vboxdrv
3: emerge -C virtualbox
OR
3a: emerge -C virtualbox-bin
if you pulled an error trying to unmerge just using virtualbox as the package name
4: USE="additions" emerge virtualbox-bin
5: modprobe vboxdrv
6: useradd -G vboxusers YOUR_USER_NAME

I had errors in the first three steps. The first step provided a lenghty message at the end so I will
post the first step results last to make the post more readable.
Here are the other steps results.

Code: Select all
sqlpython #  rmmod vboxdrv
ERROR: Module vboxdrv does not exist in /proc/modules
sqlpython # emerge -C virtualbox

--- Couldn't find 'virtualbox' to unmerge.

>>> No packages selected for removal by unmerge

Code: Select all
emerge --sync && layman -S


In the end I ended up with... Any input is appreciated.
Number of files: 134927
Number of files transferred: 113718
Total file size: 177660305 bytes
Total transferred file size: 177355616 bytes
Literal data: 177355616 bytes
Matched data: 0 bytes
File list size: 3331982
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 2242670
Total bytes received: 185848352

sent 2242670 bytes received 185848352 bytes 154743.74 bytes/sec
total size is 177660305 speedup is 0.94


Performing Global Updates: /usr/portage/profiles/updates/1Q-2009
(Could take a couple of minutes if you have a lot of binary packages.)
.='update pass' *='binary update' #='/var/db update' @='/var/db move'
s='/var/db SLOT move' %='binary move' S='binary SLOT move'
p='update /etc/portage/package.*'
..............


Performing Global Updates: /usr/portage/profiles/updates/2Q-2009
(Could take a couple of minutes if you have a lot of binary packages.)
.='update pass' *='binary update' #='/var/db update' @='/var/db move'
s='/var/db SLOT move' %='binary move' S='binary SLOT move'
p='update /etc/portage/package.*'
...............................................


Performing Global Updates: /usr/portage/profiles/updates/3Q-2009
(Could take a couple of minutes if you have a lot of binary packages.)
.='update pass' *='binary update' #='/var/db update' @='/var/db move'
s='/var/db SLOT move' %='binary move' S='binary SLOT move'
p='update /etc/portage/package.*'

ppps@s#


* IMPORTANT: 1 config files in '/etc' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.
q: Updating ebuild cache ...
q: Finished 26432 entries in 0.814843 seconds

* An update to portage is available. It is _highly_ recommended
* that you update portage now, before any other packages are updated.

* To update portage, run 'emerge portage' now.

* Running command "/usr/bin/svn up "/usr/local/portage/layman/sabayon""...
svn: Server sent unexpected return value (405 Method Not Allowed) in response to PROPFIND request for '/overlay'
*
* Errors:
* ------
*
* The source of the overlay "sabayon" seems to have changed. You currently syncfrom "http://svn.sabayonlinux.org/overlay/" while the global layman list reports "git://sabayon.org/projects/overlay.git" as correct location. Please consider removing and readding the overlay!
*
* Failed to sync overlay "sabayon".
* Error was: Syncing overlay "sabayon" returned status 256!
*
Criticism accepted for Solutions that work. ;^)
Sabayon 11-DEBIAN 7-#Sid-Slackware 14-Calculate 13-
User avatar
sqlpython
Technological Hen
 
Posts: 324
Joined: Mon Jun 18, 2007 7:01
Location: If It Moves Compile It

Re: Emerge fails to install VirtualBox and throws sync error

Postby wolfden » Sat Jun 13, 2009 7:39

User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Emerge fails to install VirtualBox and throws sync error

Postby sqlpython » Sat Jun 13, 2009 16:31

Wolfden, I followed the instructions from your link but it is not going well.
The Overlays deleted just fine.... but it was all downhill after that..

Here are the results... issued as ..... su

Code: Select all
sqlpython # layman -d sabayon
* Successfully deleted overlay "sabayon".
sqlpython # layman -a sabayon 
* Failed to add overlay "sabayon".     
* Error was: Binary /usr/bin/git seems to be missing! Overlay type "git" not supported. Did you emerge dev-util/git?                                                   
sqlpython # emerge dev-util/git
Calculating dependencies... done!       
[ebuild     U ] perl-core/Test-Harness-3.17 [3.14]
[ebuild     U ] perl-core/Scalar-List-Utils-1.21 [1.19]
[ebuild     U ] dev-python/pygtk-2.14.1 [2.13.0]       
[ebuild     U ] perl-core/Compress-Raw-Bzip2-2.020 [2.015]
[ebuild     U ] perl-core/Compress-Raw-Zlib-2.020 [2.015]
[ebuild  N    ] dev-perl/Net-SMTP-SSL-1.01               
[ebuild  N    ] virtual/perl-Test-Harness-3.17           
[ebuild     U ] virtual/perl-Scalar-List-Utils-1.21 [1.19]
[ebuild     U ] dev-python/gnome-python-desktop-base-2.26.0 [2.24.0]
[ebuild     U ] dev-python/gnome-python-base-2.26.1 [2.22.3]       
[ebuild  N    ] virtual/perl-Compress-Raw-Bzip2-2.020               
[ebuild     U ] virtual/perl-Compress-Raw-Zlib-2.020 [2.015]       
[ebuild     U ] dev-python/libgnomecanvas-python-2.26.1 [2.22.3]   
[ebuild     U ] dev-python/libgnomeprint-python-2.26.0 [2.24.0]     
[ebuild  N    ] dev-python/gtksourceview-python-2.26.0  USE="-debug -doc -examples"
[ebuild  N    ] perl-core/IO-Compress-2.020                                         
[ebuild  N    ] virtual/perl-IO-Compress-2.020                                     
[ebuild     U ] perl-core/Archive-Tar-1.50 [1.44]                                   
[ebuild     U ] virtual/perl-Archive-Tar-1.50 [1.44]                               
[ebuild     U ] perl-core/Module-Build-0.33 [0.31.012]                             
[ebuild     U ] virtual/perl-Module-Build-0.33 [0.31.012]                           
[ebuild  N    ] dev-perl/Error-0.17.015  USE="-test"                               
[ebuild  N    ] dev-util/git-1.6.3.1  USE="curl gtk iconv perl webdav -bash-completion -cgi -cvs -doc -emacs -mozsha1 (-ppcsha1) -subversion -threads -tk -xinetd"     
[blocks B     ] <virtual/perl-IO-Compress-Base-2.017 ("<virtual/perl-IO-Compress-Base-2.017" is blocking perl-core/IO-Compress-2.020)                                   
[blocks B     ] perl-core/IO-Compress-Zlib ("perl-core/IO-Compress-Zlib" is blocking perl-core/IO-Compress-2.020)                                                       
[blocks B     ] perl-core/IO-Compress-Bzip2 ("perl-core/IO-Compress-Bzip2" is blocking perl-core/IO-Compress-2.020)                                                     
[blocks B     ] <virtual/perl-Compress-Zlib-2.017 ("<virtual/perl-Compress-Zlib-2.017" is blocking perl-core/IO-Compress-2.020)                                         
[blocks B     ] perl-core/IO-Compress-Base ("perl-core/IO-Compress-Base" is blocking perl-core/IO-Compress-2.020)                                                       
[blocks B     ] <virtual/perl-IO-Compress-Zlib-2.017 ("<virtual/perl-IO-Compress-Zlib-2.017" is blocking perl-core/IO-Compress-2.020)                                   
[blocks B     ] perl-core/Compress-Zlib ("perl-core/Compress-Zlib" is blocking perl-core/IO-Compress-2.020)                                                             

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.                 

  ('ebuild', '/', 'perl-core/IO-Compress-2.020', 'merge') pulled in by
    ~perl-core/IO-Compress-2.020 required by ('ebuild', '/', 'virtual/perl-IO-Compress-2.020', 'merge')                                                                 
    ~perl-core/IO-Compress-2.020 required by ('ebuild', '/', 'perl-core/Archive-Tar-1.50', 'merge')                                                                     

  ('installed', '/', 'virtual/perl-IO-Compress-Zlib-2.015', 'nomerge') pulled in by
    virtual/perl-IO-Compress-Zlib:0 required by @world

  ('installed', '/', 'perl-core/IO-Compress-Bzip2-2.015', 'nomerge') pulled in by
    perl-core/IO-Compress-Bzip2:0 required by @world

  ('installed', '/', 'virtual/perl-Compress-Zlib-2.015', 'nomerge') pulled in by
    virtual/perl-Compress-Zlib:0 required by @world

  ('installed', '/', 'perl-core/Compress-Zlib-2.015', 'nomerge') pulled in by
    perl-core/Compress-Zlib:0 required by @world

  ('installed', '/', 'perl-core/IO-Compress-Zlib-2.015', 'nomerge') pulled in by
    perl-core/IO-Compress-Zlib:0 required by @world

  ('installed', '/', 'virtual/perl-IO-Compress-Base-2.015', 'nomerge') pulled in by
    virtual/perl-IO-Compress-Base:0 required by @world

  ('installed', '/', 'perl-core/IO-Compress-Base-2.015', 'nomerge') pulled in by
    perl-core/IO-Compress-Base:0 required by @world


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
Criticism accepted for Solutions that work. ;^)
Sabayon 11-DEBIAN 7-#Sid-Slackware 14-Calculate 13-
User avatar
sqlpython
Technological Hen
 
Posts: 324
Joined: Mon Jun 18, 2007 7:01
Location: If It Moves Compile It

Re: Emerge fails to install VirtualBox and throws sync error

Postby WarraWarra » Sat Jun 13, 2009 18:47

virtualbox 2.2.4 is in equo or I have seen it in there. Just check. You can also just install the .run from virtualbox website and then
modprobe vboxdrv
or set it to load or boot.

equo search virtualbox
equo install virtualbox

Git you will have to install either with equo or emerge.
equo search git
equo install dev-util/git

or
emerge dev-utils/git

Installing qgit also works.

Once git is there then
layman -a sabayon
layman -S

The sync problem is dew to circular dependency's so manually install some of them or use
equo world -avp
and get the rest manually.
User avatar
WarraWarra
Sagely Hen
 
Posts: 1989
Joined: Wed Jan 03, 2007 21:01
Location: 31.324270, -113.585511

Re: Emerge fails to install VirtualBox and throws sync error

Postby wolfden » Sat Jun 13, 2009 21:03

sqlpython wrote:Wolfden, I followed the instructions from your link but it is not going well.
The Overlays deleted just fine.... but it was all downhill after that..

Here are the results... issued as ..... su

Code: Select all
sqlpython # layman -d sabayon
* Successfully deleted overlay "sabayon".
sqlpython # layman -a sabayon 
* Failed to add overlay "sabayon".     
* Error was: Binary /usr/bin/git seems to be missing! Overlay type "git" not supported. Did you emerge dev-util/git?                                                   
sqlpython # emerge dev-util/git
Calculating dependencies... done!       
[ebuild     U ] perl-core/Test-Harness-3.17 [3.14]
[ebuild     U ] perl-core/Scalar-List-Utils-1.21 [1.19]
[ebuild     U ] dev-python/pygtk-2.14.1 [2.13.0]       
[ebuild     U ] perl-core/Compress-Raw-Bzip2-2.020 [2.015]
[ebuild     U ] perl-core/Compress-Raw-Zlib-2.020 [2.015]
[ebuild  N    ] dev-perl/Net-SMTP-SSL-1.01               
[ebuild  N    ] virtual/perl-Test-Harness-3.17           
[ebuild     U ] virtual/perl-Scalar-List-Utils-1.21 [1.19]
[ebuild     U ] dev-python/gnome-python-desktop-base-2.26.0 [2.24.0]
[ebuild     U ] dev-python/gnome-python-base-2.26.1 [2.22.3]       
[ebuild  N    ] virtual/perl-Compress-Raw-Bzip2-2.020               
[ebuild     U ] virtual/perl-Compress-Raw-Zlib-2.020 [2.015]       
[ebuild     U ] dev-python/libgnomecanvas-python-2.26.1 [2.22.3]   
[ebuild     U ] dev-python/libgnomeprint-python-2.26.0 [2.24.0]     
[ebuild  N    ] dev-python/gtksourceview-python-2.26.0  USE="-debug -doc -examples"
[ebuild  N    ] perl-core/IO-Compress-2.020                                         
[ebuild  N    ] virtual/perl-IO-Compress-2.020                                     
[ebuild     U ] perl-core/Archive-Tar-1.50 [1.44]                                   
[ebuild     U ] virtual/perl-Archive-Tar-1.50 [1.44]                               
[ebuild     U ] perl-core/Module-Build-0.33 [0.31.012]                             
[ebuild     U ] virtual/perl-Module-Build-0.33 [0.31.012]                           
[ebuild  N    ] dev-perl/Error-0.17.015  USE="-test"                               
[ebuild  N    ] dev-util/git-1.6.3.1  USE="curl gtk iconv perl webdav -bash-completion -cgi -cvs -doc -emacs -mozsha1 (-ppcsha1) -subversion -threads -tk -xinetd"     
[blocks B     ] <virtual/perl-IO-Compress-Base-2.017 ("<virtual/perl-IO-Compress-Base-2.017" is blocking perl-core/IO-Compress-2.020)                                   
[blocks B     ] perl-core/IO-Compress-Zlib ("perl-core/IO-Compress-Zlib" is blocking perl-core/IO-Compress-2.020)                                                       
[blocks B     ] perl-core/IO-Compress-Bzip2 ("perl-core/IO-Compress-Bzip2" is blocking perl-core/IO-Compress-2.020)                                                     
[blocks B     ] <virtual/perl-Compress-Zlib-2.017 ("<virtual/perl-Compress-Zlib-2.017" is blocking perl-core/IO-Compress-2.020)                                         
[blocks B     ] perl-core/IO-Compress-Base ("perl-core/IO-Compress-Base" is blocking perl-core/IO-Compress-2.020)                                                       
[blocks B     ] <virtual/perl-IO-Compress-Zlib-2.017 ("<virtual/perl-IO-Compress-Zlib-2.017" is blocking perl-core/IO-Compress-2.020)                                   
[blocks B     ] perl-core/Compress-Zlib ("perl-core/Compress-Zlib" is blocking perl-core/IO-Compress-2.020)                                                             

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.                 

  ('ebuild', '/', 'perl-core/IO-Compress-2.020', 'merge') pulled in by
    ~perl-core/IO-Compress-2.020 required by ('ebuild', '/', 'virtual/perl-IO-Compress-2.020', 'merge')                                                                 
    ~perl-core/IO-Compress-2.020 required by ('ebuild', '/', 'perl-core/Archive-Tar-1.50', 'merge')                                                                     

  ('installed', '/', 'virtual/perl-IO-Compress-Zlib-2.015', 'nomerge') pulled in by
    virtual/perl-IO-Compress-Zlib:0 required by @world

  ('installed', '/', 'perl-core/IO-Compress-Bzip2-2.015', 'nomerge') pulled in by
    perl-core/IO-Compress-Bzip2:0 required by @world

  ('installed', '/', 'virtual/perl-Compress-Zlib-2.015', 'nomerge') pulled in by
    virtual/perl-Compress-Zlib:0 required by @world

  ('installed', '/', 'perl-core/Compress-Zlib-2.015', 'nomerge') pulled in by
    perl-core/Compress-Zlib:0 required by @world

  ('installed', '/', 'perl-core/IO-Compress-Zlib-2.015', 'nomerge') pulled in by
    perl-core/IO-Compress-Zlib:0 required by @world

  ('installed', '/', 'virtual/perl-IO-Compress-Base-2.015', 'nomerge') pulled in by
    virtual/perl-IO-Compress-Base:0 required by @world

  ('installed', '/', 'perl-core/IO-Compress-Base-2.015', 'nomerge') pulled in by
    perl-core/IO-Compress-Base:0 required by @world


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked


Are you familiar with portage? If not, I would recommend you stick with entropy as you can break the system if you don't know what you are doing. This problem doesn't happen with new portage as it handles blocked packages. Also try
Code: Select all
equo install dev-util/git

Code: Select all
layman -a sabayon


seriously tho, you don't want to be mixing package managers without fully understanding things.
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: Emerge fails to install VirtualBox and throws sync error

Postby sqlpython » Sun Jun 14, 2009 17:40

Warra Warra: Thanks your input is always helpful.

Wolfden:
All is working but for some reason the layman -af would not work without seperating the a f switches into seperate lines.
Are you familiar with portage? If not, I would recommend
you stick with entropy as you can break the system if you don't know what you are doing.

Yeah good advice for the those with a single valuable install. I have at any time 12 BSD and Linux installs across 7 machines. Besides if I break Sabayon, I get to keep the pieces.
I am not very worried about a broken system. As a 15 year Linux User and Programmer coming from an OS/2 environment I had a lot to learn. Starting in 95 with Slackware Packages, then Redhat RPM, on to FreeBSD Ports, Debian DEBs and so on. My opinion is that these days with hardware speed and capacity as it is a modular system is every bit as fast. Although I must admit compiling is fun. Saybayon has taken a Gentoo base and made it very accessable for the (if you pardon the Pun) Layman.

Here are the steps I went through to bring the packages/ports in and then install VirtualBox.
I am sure that I have made at least two unecessary moves but until I had updated and configured I could not see the port in my system.
Thanks again.........Please critque the steps as I am sure I could have done it better/easier.

Code: Select all
sqlpython #  emerge --sync && layman -S


Code: Select all
sqlpython # emerge enthropy
sqlpython # equo update
sqlpython # equo install dev-util/git
sqlpython # equo conf update
sqlpython # layman -a sabayon
sqlpython # layman -f sabayon


Then I used Spritz and installed VirtualBox.
All seems to work fine now but even minusing all the updating gyrations the actual
install of VirtualBox was a greater odyssey, comparably, then I would have expected.
Criticism accepted for Solutions that work. ;^)
Sabayon 11-DEBIAN 7-#Sid-Slackware 14-Calculate 13-
User avatar
sqlpython
Technological Hen
 
Posts: 324
Joined: Mon Jun 18, 2007 7:01
Location: If It Moves Compile It

Re: Emerge fails to install VirtualBox and throws sync error

Postby wolfden » Sun Jun 14, 2009 21:26

The layman thing is due to change from svn to git - I don't know why some have issues with layman -a sabayon as it should work just fine. layman -f is same as doing laymant -s, so I assume your layman -a worked fine after you got git installed.

If you want to compile I suggest a core install, edit configs, rebuild, than build on top of that. This will save you hassels with portage issues.
User avatar
wolfden
Sharecropper
 
Posts: 8822
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest