Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

problem when updating


adcdam

Question

Hi,

i followed this guide

# install -d /var/git
# cd /var/git
# git clone https://github.com/funtoo/meta-repo.git
# cd meta-repo
# git submodule init
# git submodule update
# rm /usr/share/portage/config/repos.conf
# mv /etc/portage/repos.conf /etc/portage/repos.conf.bak
# ln -s /var/git/meta-repo/repos.conf /etc/portage/repos.conf
# chown -R portage:portage /var/git/meta-repo

after sudo emerge -auDN @world

 

i got this:

 

 
Calculating dependencies... done!


!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:


x11-base/xorg-server:0


  (x11-base/xorg-server-1.17.4-r1:0/1.17.4::xorg-kit, ebuild scheduled for merge) pulled in by
    (no parents that aren't satisfied by other packages in this slot)


  (x11-base/xorg-server-1.19.1_p20170228:0/1.19.1_p20170228::gentoo, installed) pulled in by
    x11-base/xorg-server:0/1.19.1_p20170228= required by (x11-drivers/xf86-input-keyboard-1.9.0:0/0::gentoo, installed)
                        ^^^^^^^^^^^^^^^^^^^^                                                                                                               
    (and 2 more with the same problem)


NOTE: Use the '--verbose-conflicts' option to display parents omitted above


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.


For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.



how can i solve this?

thanks a lot!

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

The conversion to meta-repo from ports-2012 downgrades xorg-server from 1.19.1_p20170228 to 1.17.4-r1
You manually removed xorg-server-1.19.1_p20170228 which was being replaced with xorg-server-1.17.4-r1

Due to the file collision you haven't finished installing x11-base/xorg-server-1.17.4-r1
 
I had the same file collision error that prevented xorg-server from updating.

# mv /usr/share/X11/xorg.conf.d/10-evdev.conf /usr/share/X11/xorg.conf.d/10-evdev.conf~

No file collision after rename, install of xorg-server-1.17.4-r1 should succeed.
Before starting Xorg check for /usr/share/X11/xorg.conf.d/10-evdev.conf
If you start xorg-server without 10-evdev.conf the mouse won't move the cursor.
On my system it didn't exist, I rename 10-evdev.conf~ back to 10-evdev.conf

# mv /usr/share/X11/xorg.conf.d/10-evdev.conf~ /usr/share/X11/xorg.conf.d/10-evdev.conf

After the update is finished:
funtoo rj # eix -I xorg-server
x11-base/xorg-server [1]
Available versions: 1.17.4(0/1.17.4) 1.17.4-r1(0/1.17.4) {dmx doc glamor ipv6 kdrive libressl minimal nptl selinux static-libs +suid systemd tslib +udev unwind wayland xephyr xnest xorg xvfb}
Installed versions: 1.17.4-r1(0/1.17.4)(07:05:44 PM 07/27/2017)(glamor ipv6 nptl suid udev xorg -dmx -doc -kdrive -libressl -minimal -selinux -static-libs -systemd -tslib -unwind -wayland -xephyr -xnest -xvfb)
Homepage: http://xorg.freedesktop.org/
Description: X.Org X servers

[1] "xorg-kit" /var/git/meta-repo/kits/xorg-kit

 

funtoo rj # equery list -po x11-base/xorg-server
 * Searching for xorg-server in x11-base ...
[--O] [  ] x11-base/xorg-server-1.17.4:0/1.17.4
[i-O] [  ] x11-base/xorg-server-1.17.4-r1:0/1.17.4
 

Link to comment
Share on other sites

  • 0

i did that, portage try to install the old version of xorg-server and there are some rebuilds

>>> Failed to install x11-base/xorg-server-1.17.4-r1, Log file:

>>>  '/var/tmp/portage/x11-base/xorg-server-1.17.4-r1/temp/build.log'


 * Messages for package x11-base/xorg-server-1.17.4-r1:


 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at https://bugs.gentoo.org/unless you report exactly
 * which two packages install the same file(s). See
 * https://wiki.gentoo.org/wiki/Knowledge_Base:Blockersfor tips on how
 * to solve the problem. And once again, please do NOT file a bug report
 * unless you have completely understood the above message.
 * 
 * Detected file collision(s):
 * 
 *  /usr/share/X11/xorg.conf.d/10-evdev.conf
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * x11-drivers/xf86-input-evdev-2.10.5:0::gentoo
 *  /usr/share/X11/xorg.conf.d/10-evdev.conf
 * 
 * Package 'x11-base/xorg-server-1.17.4-r1' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.


 * GNU info directory index is up-to-date.
Link to comment
Share on other sites

  • 0


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


Calculating dependencies... done!
[ebuild  N     ] x11-base/xorg-server-1.17.4-r1  USE="ipv6 nptl suid udev xorg -dmx -doc -glamor -kdrive -libressl -minimal (-selinux) -static-libs -systemd -tslib -unwind -wayland -xephyr -xnest -xvfb" 
[ebuild  rR    ] x11-drivers/xf86-input-mouse-1.9.2 
[ebuild  rR    ] x11-drivers/xf86-input-keyboard-1.9.0 
[ebuild     UD ] x11-drivers/xf86-input-evdev-2.9.2 [2.10.5]
[ebuild     UD ] sys-fs/udisks-2.1.8 [2.6.5]
[ebuild     U  ] app-crypt/gnupg-2.1.20 [2.1.18]
[ebuild     UD ] media-gfx/icoutils-0.31.1 [0.31.3]
[ebuild     U  ] app-editors/vim-core-8.0.0911 [8.0.0606]
[ebuild     U  ] app-editors/vim-8.0.0911 [8.0.0606]
[ebuild     UD ] x11-base/xorg-drivers-1.17 [1.19]
[ebuild  rR    ] x11-drivers/nvidia-drivers-381.22 [381.22]
[ebuild     U  ] www-client/google-chrome-60.0.3112.90 [60.0.3112.78]
[ebuild     U  ] dev-qt/qtgui-5.7.1-r1 [5.7.1]
[ebuild     U  ] www-client/firefox-55.0 [54.0.1]


The following packages are causing rebuilds:


  (x11-base/xorg-server-1.17.4-r1:0/1.17.4::xorg-kit, ebuild scheduled for merge) causes rebuilds for:
    (x11-drivers/nvidia-drivers-381.22:0/381::xorg-kit, ebuild scheduled for merge)
    (x11-drivers/xf86-input-keyboard-1.9.0:0/0::xorg-kit, ebuild scheduled for merge)
    (x11-drivers/xf86-input-mouse-1.9.2:0/0::xorg-kit, ebuild scheduled for merge)


Would you like to merge these packages? [Yes/No] 

Link to comment
Share on other sites

  • 0

Hi, thanks i did that

i got the same

* Messages for package x11-base/xorg-server-1.17.4-r1:

 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at https://bugs.gentoo.org/ unless you report exactly
 * which two packages install the same file(s). See
 * https://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how
 * to solve the problem. And once again, please do NOT file a bug report
 * unless you have completely understood the above message.
 * 
 * Detected file collision(s):
 * 
 *  /usr/share/X11/xorg.conf.d/10-evdev.conf
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * x11-drivers/xf86-input-evdev-2.10.5:0::gentoo
 *  /usr/share/X11/xorg.conf.d/10-evdev.conf
 * 
 * Package 'x11-base/xorg-server-1.17.4-r1' NOT merged due to file
 * collisions. If necessary, refer to your elog messages for the whole
 * content of the above message.


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

before i was stupid and did emerge -C xorg-server and deleted the newer version, i dont now what im doing i need a coffee 

why there are packages that need rebuild here?

 

 

 
sudo equery list -po  x11-base/xorg-server
Contrase?a: 
Unavailable repository 'gentoo' referenced by masters entry in '/var/lib/layman/sunrise/metadata/layout.conf'
!!! Unable to parse profile: '/etc/portage/make.profile'
!!! ParseError: Parent 'gentoo:funtoo/1.0/linux-gnu/arch/x86-64bit' not found: '/etc/portage/make.profile/parent'
 * Searching for xorg-server in x11-base ...
[--O] [  ] x11-base/xorg-server-1.17.4:0/1.17.4
[--O] [  ] x11-base/xorg-server-1.17.4-r1:0/1.17.4
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...