Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] circular blockages
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
mikefot
Apprentice
Apprentice


Joined: 19 Nov 2014
Posts: 299

PostPosted: Sun Jan 28, 2018 1:15 am    Post subject: [SOLVED] circular blockages Reply with quote

Dear Folks,

I have what looks to be a couple of circular blocked packages:

djt /etc/portage # emerge --backtrack=50 --ask --newuse @preserved-rebuild

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

Calculating dependencies... done!
[ebuild  N     ] app-eselect/eselect-cdparanoia-0.1
[ebuild  N     ] dev-python/lxml-4.1.1  USE="examples threads -doc {-test}" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6"
[ebuild  N     ] media-libs/x264-0.0.20170701  USE="interlaced threads -10bit (-altivec) -opencl -pic -static-libs" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse"
[ebuild  N     ] media-libs/a52dec-0.7.4-r7  USE="-djbfft -oss -static-libs" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ] media-libs/libdca-0.0.5-r3  USE="-debug -oss -static-libs" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ] media-libs/libmad-0.15.1b-r8  USE="-debug -static-libs" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ] media-libs/libdvdread-6.0.0  USE="css -static-libs" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ] dev-libs/libcdio-2.0.0  USE="cxx -cddb -minimal -static-libs {-test}" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ] media-libs/libexif-0.6.21-r1  USE="nls -doc -static-libs" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ] app-arch/lz4-1.8.0  USE="-static-libs" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ] media-libs/libdvdnav-6.0.0  USE="-static-libs" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ] dev-libs/libcdio-paranoia-0.94_p2  USE="cxx -static-libs {-test}" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ] app-text/enchant-1.6.1  USE="hunspell -aspell -static-libs {-test} -zemberek"
[ebuild  N     ] media-libs/libmpeg2-0.5.1-r2  USE="X -sdl -static-libs" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ] sys-fs/eudev-3.2.5  USE="hwdb introspection kmod -rule-generator (-selinux) -static-libs {-test}" ABI_X86="32 (64) (-x32)"
[ebuild  N     ] virtual/libudev-232  USE="-static-libs -systemd" ABI_X86="32 (64) (-x32)"
[ebuild  N     ] sys-apps/systemd-236-r5  USE="acl gcrypt kmod lz4 pam (policykit) seccomp ssl sysv-utils vanilla -apparmor -audit -build -cryptsetup -curl -elfutils -gnuefi -http -idn -importd -libidn2 -lzma -nat -qrcode (-selinux) {-test} -usrmerge -xkb" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ] sys-apps/dbus-1.12.2  USE="X systemd -debug -doc -elogind (-selinux) -static-libs {-test} -user-session" ABI_X86="32 (64) (-x32)"
[ebuild   R    ] app-editors/emacs-25.3  USE="svg*"
[ebuild   R    ] gnome-base/gvfs-1.32.1-r1  USE="cdda*"
[ebuild   R    ] app-office/orage-4.12.1-r1  USE="libnotify*"
[ebuild   R    ] kde-frameworks/kdelibs-4.14.37  USE="qt3support* spell*"
[ebuild   R    ] xfce-base/thunar-1.6.13  USE="exif* libnotify*"
[ebuild   R    ] xfce-base/xfce4-settings-4.13.1  USE="libnotify*"
[ebuild   R    ] net-print/cups-2.2.6  USE="usb*"
[ebuild   R    ] net-wireless/bluez-5.48-r1  USE="cups*"
[ebuild   R    ] app-office/libreoffice-5.4.4.2  USE="gstreamer*"
[ebuild   R    ] net-libs/libpcap-1.8.1-r2  USE="usb*"
[ebuild   R    ] media-video/vlc-2.2.8-r1  USE="a52* cdda* dts* dvd* flac* gstreamer* libnotify* mp3* mpeg* opengl* svg* x264* xml*"
[ebuild   R    ] media-libs/libcanberra-0.30-r5  USE="gstreamer*"
[blocks B      ] sys-fs/eudev ("sys-fs/eudev" is blocking sys-apps/systemd-236-r5)
[blocks B      ] sys-apps/systemd ("sys-apps/systemd" is blocking sys-fs/eudev-3.2.5)

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

  (sys-apps/systemd-236-r5:0/2::gentoo, ebuild scheduled for merge) pulled in by
    sys-apps/systemd:0= required by (sys-apps/dbus-1.12.2:0/0::gentoo, ebuild scheduled for merge)

  (sys-fs/eudev-3.2.5:0/0::gentoo, ebuild scheduled for merge) pulled in by
    >=sys-fs/eudev-2.1.1 required by (virtual/udev-217:0/0::gentoo, installed)
    >=sys-fs/eudev-1.3:0/0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,
abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (>=sys-fs/eudev-1.3:0/0[abi_x86_32(-),abi_x86_64(-)]) required by (virtual/libudev-232:0/1::gentoo, ebuild scheduled for merge)


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

https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages

djt /etc/portage #



this bit of it

[blocks B ] sys-fs/eudev ("sys-fs/eudev" is blocking sys-apps/systemd-236-r5)
[blocks B ] sys-apps/systemd ("sys-apps/systemd" is blocking sys-fs/eudev-3.2.5)

does look a bit that way......


the output of emerge--info is here:
https://pastebin.com/P1ADbgiu

Comments appreciated on fixing this.

Regards

Michael Fothergill

PS I forgot to mention that I am running gentoo testing on an amd kaveri box.

[Moderator edit: broke long whitespace-free lines in code tags to fix thread layout. -Hu]


Last edited by mikefot on Mon Jan 29, 2018 2:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 3320
Location: Germany

PostPosted: Sun Jan 28, 2018 2:24 am    Post subject: Reply with quote

mikefot wrote:
Code:
[ebuild  N     ] sys-apps/dbus-1.12.2  USE="X systemd -debug -doc -elogind (-selinux) -static-libs {-test} -user-session" ABI_X86="32 (64) (-x32)"


mikefot,
the systemd useflag on the sys-apps/dbus package pulls sys-apps/systemd,
remove this flag (from package.use) should probably help.
Back to top
View user's profile Send private message
mikefot
Apprentice
Apprentice


Joined: 19 Nov 2014
Posts: 299

PostPosted: Sun Jan 28, 2018 11:21 am    Post subject: circular blocked packages contd. Reply with quote

Many thanks for the help again here.

I have made the following changes based on a search of every instance of systemd I could find in the package.use file:

Code:
echo "virtual/libudev -systemd" >> /etc/portage/package.use/package.use
echo "sys-auth/polkit -systemd" >> /etc/portage/package.use/package.use
echo "sys-apps/dbus -systemd" >> /etc/portage/package.use/package.use
echo "sys-auth/pambase -systemd" >> /etc/portage/package.use/package.use


and thus:

Code:
mikef-PC /etc/portage/package.use # tail -10 package.use
# required by gnome-extra/chrome-gnome-shell-9::gentoo
>=x11-libs/cairo-1.14.12 opengl
# required by dev-python/pyqtgraph-0.10.0-r1::gentoo
# required by @selected
# required by @world (argument)
>=dev-python/PyQt5-5.9.2 -svg -opengl
sys-auth/pambase -systemd
sys-apps/dbus -systemd
virtual/libudev -systemd
sys-auth/polkit -systemd
mikef-PC /etc/portage/package.use #


The package.use file is posted here:

https://paste.pound-python.org/show/bBdQTipLcXM4W7Z6lQcw/

I also had to emerge a couple of extra packages. So I have posted an updated version
of emerge info here:

https://pastebin.com/PRruCzqS

The blocked package problem is still here:

Code:
mikef-PC /etc/portage/package.use # !501
emerge --backtrack=50 sys-apps/dbus
Calculating dependencies... done!
[ebuild  N     ] app-arch/lz4-1.8.0  USE="-static-libs" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ] dev-python/lxml-4.1.1  USE="examples threads -doc {-test}" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6"
[ebuild  N     ] sys-apps/systemd-236-r5  USE="acl gcrypt kmod lz4 pam (policykit) seccomp ssl sysv-utils vanilla -apparmor -audit -build -cryptsetup -curl -elfutils -gnuefi -http -idn -importd -libidn2 -lzma -nat -qrcode (-selinux) {-test} -usrmerge -xkb" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ] sys-apps/dbus-1.12.2  USE="X systemd -debug -doc -elogind (-selinux) -static-libs {-test} -user-session" ABI_X86="32 (64) (-x32)"
[blocks B      ] sys-fs/eudev ("sys-fs/eudev" is blocking sys-apps/systemd-236-r5)
[blocks B      ] sys-apps/systemd ("sys-apps/systemd" is blocking sys-fs/eudev-3.2.5)
[blocks B      ] sys-apps/sysvinit ("sys-apps/sysvinit" is blocking sys-apps/systemd-236-r5)

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

  (sys-apps/sysvinit-2.88-r9:0/0::gentoo, installed) pulled in by
    sys-apps/sysvinit required by @selected

  (sys-apps/systemd-236-r5:0/2::gentoo, ebuild scheduled for merge) pulled in by
    sys-apps/systemd:0= required by (sys-apps/dbus-1.12.2:0/0::gentoo, ebuild scheduled for merge)


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

https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages


I didn't post my make.conf file. I think I put -systemd in it in an effort to try to kill it off. The file is
here:

https://pastebin.com/8gRibCLm

How did you figure out from my original posting that I had systemd turned on in the package.use file and not the make.conf file?

Comments appreciated on the above.

Cheers

MF

PS I recently changed my profile from number 12 to 19 ie default/linux/amd64/17.0 (stable) to default/linux/amd64/17.0/desktop/plasma (stable).

I should also point out that I had been running kde for a while until I recently decided to try to install gnome. That is where the systemd began to creep in.

I have now decided that I don't want to run gnome. I am happy to stick with kde. When I switched to the default/linux/amd64/17.0/desktop/plasma (stable)
profile I thought it was supposed to automatically make use flag selections for me and so it would kill off systemd in a big way etc. But it didn't seem to
do that in practice apparently.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 11773

PostPosted: Sun Jan 28, 2018 5:27 pm    Post subject: Reply with quote

You are using a directory for package.use. Every file in that directory is considered part of your per-package USE changes. What is the output of grep -rn systemd /etc/portage/package.use? My guess is you will find a file that is lexicographically later than package.use that enables this flag on dbus.

In my opinion, if you do not want systemd installed, you should locally mask it so that Portage is forced to pick the non-systemd solution to every question, or fail out when no such solution is available. (Likewise, if you are a systemd user, mask the non-systemd solutions.)
Back to top
View user's profile Send private message
mikefot
Apprentice
Apprentice


Joined: 19 Nov 2014
Posts: 299

PostPosted: Sun Jan 28, 2018 5:40 pm    Post subject: circular blocked packages contd. Reply with quote

Many thanks for your advice here.

I ran the command you suggested:


Code:
mikef-PC /etc/portage # grep -rn systemd /etc/portage/package.use
/etc/portage/package.use/package.use:496:# required by virtual/libudev-215-r1::gentoo[-systemd]
/etc/portage/package.use/package.use:537:# required by sys-auth/polkit-0.113::gentoo[-systemd]
/etc/portage/package.use/package.use:1857:# required by sys-apps/systemd-236-r5::gentoo
/etc/portage/package.use/package.use:1862:>=sys-apps/dbus-1.12.2 systemd
/etc/portage/package.use/package.use:1867:>=sys-auth/pambase-20150213-r1 systemd
/etc/portage/package.use/package.use:1878:sys-auth/pambase -systemd
/etc/portage/package.use/package.use:1879:sys-apps/dbus -systemd
/etc/portage/package.use/package.use:1880:virtual/libudev -systemd
/etc/portage/package.use/package.use:1881:sys-auth/polkit -systemd
/etc/portage/package.use/package.use~:496:# required by virtual/libudev-215-r1::gentoo[-systemd]
/etc/portage/package.use/package.use~:537:# required by sys-auth/polkit-0.113::gentoo[-systemd]
/etc/portage/package.use/package.use~:1857:# required by sys-apps/systemd-236-r5::gentoo
/etc/portage/package.use/package.use~:1862:>=sys-apps/dbus-1.12.2 systemd
/etc/portage/package.use/package.use~:1867:>=sys-auth/pambase-20150213-r1 systemd
mikef-PC /etc/portage #


Regards

MF

I will read some gentoo pages on masking packages.
Back to top
View user's profile Send private message
helecho
Guru
Guru


Joined: 26 Dec 2016
Posts: 342

PostPosted: Sun Jan 28, 2018 5:42 pm    Post subject: Reply with quote

Hu wrote:
You are using a directory for package.use. Every file in that directory is considered part of your per-package USE changes. What is the output of grep -rn systemd /etc/portage/package.use? My guess is you will find a file that is lexicographically later than package.use that enables this flag on dbus.

In my opinion, if you do not want systemd installed, you should locally mask it so that Portage is forced to pick the non-systemd solution to every question, or fail out when no such solution is available. (Likewise, if you are a systemd user, mask the non-systemd solutions.)


mikefot wrote:
The package.use file is posted here:

https://paste.pound-python.org/show/bBdQTipLcXM4W7Z6lQcw/


Hu, you should read more carefully!
Back to top
View user's profile Send private message
helecho
Guru
Guru


Joined: 26 Dec 2016
Posts: 342

PostPosted: Sun Jan 28, 2018 5:55 pm    Post subject: Reply with quote

mikefot, you should use euse (gentoolkit).

Code:
user $ euse -I systemd


helecho
Back to top
View user's profile Send private message
mikefot
Apprentice
Apprentice


Joined: 19 Nov 2014
Posts: 299

PostPosted: Sun Jan 28, 2018 6:08 pm    Post subject: circular blocked packages contd. Reply with quote

Many thanks for the advice.

Here is the output of the euse command:


Code:
mikef-PC /etc/portage # euse -I systemd
global use flags (searching: systemd)
************************************************************
[- c    ] systemd - Enable use of systemd-specific libraries and features like socket activation or session tracking

Installed packages matching this USE flag:
dev-db/mariadb-10.2.12
dev-qt/qtcore-5.9.3
gnome-base/gvfs-1.32.1-r1
kde-apps/ksystemlog-17.12.1
kde-plasma/plasma-workspace-5.11.5
media-sound/pulseaudio-11.1
net-libs/libvncserver-0.9.11-r1
net-misc/freerdp-2.0.0_rc1
net-misc/modemmanager-1.6.12
net-misc/networkmanager-1.10.2
net-print/cups-2.2.6
net-wireless/bluez-5.48-r1
sys-apps/accountsservice-0.6.45
sys-apps/busybox-1.28.0
sys-apps/util-linux-2.31.1
sys-auth/pambase-20150213-r1
sys-auth/polkit-0.113-r4
sys-fs/lvm2-2.02.166-r2
sys-fs/udisks-2.7.5-r1
sys-process/procps-3.3.12-r1
virtual/udev-217
x11-base/xorg-server-1.19.6
x11-misc/sddm-0.17.0-r1
xfce-base/xfce4-session-4.13.0-r1

local use flags (searching: systemd)
************************************************************
no matching entries found
mikef-PC /etc/portage #


Cheers

MF
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 5925
Location: Austria

PostPosted: Sun Jan 28, 2018 6:15 pm    Post subject: Reply with quote

*headache* There is no need to pollute your package.use file like this. systemd flag should be switched on or off in ONE place only, and that is make.conf (if not already by profile).
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
helecho
Guru
Guru


Joined: 26 Dec 2016
Posts: 342

PostPosted: Sun Jan 28, 2018 6:28 pm    Post subject: Reply with quote

mikefot, the system must be updated after a profile change.

Handbook wrote:
Profile upgrades are not to be taken lightly.


Did you update the system after changing the profile? emerge --ask --update --deep --newuse @world
Back to top
View user's profile Send private message
mikefot
Apprentice
Apprentice


Joined: 19 Nov 2014
Posts: 299

PostPosted: Sun Jan 28, 2018 6:35 pm    Post subject: circular blocked packages contd. Reply with quote

Thanks again for the comments and suggestions.

I tried to run the world update but it the blockage is preventing this.

So perhaps the systemd purge it would create itself has not occurred completely so we are relying on other fixes at present.

Maybe the package mask idea is the best one at present.

If it worked then I could delete the lines in the package.use file dealing with systemd or whatever other suggestion you might have to remove them.

Cheers

MF
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 11773

PostPosted: Sun Jan 28, 2018 6:48 pm    Post subject: Reply with quote

helecho wrote:
mikefot wrote:
The package.use file is posted here:

https://paste.pound-python.org/show/bBdQTipLcXM4W7Z6lQcw/
Hu, you should read more carefully!
helecho, you should read more carefully!
mikefot wrote:
Code:
mikef-PC /etc/portage/package.use # tail -10 package.use
For a standard prompt setup, which he appears to be using, this says he is in a directory named /etc/portage/package.use and is showing part of a file also named package.use. Although not as helpful as naming the file for what it tracks, this is a perfectly supported degenerate use of the Portage feature that combines files from certain directories.

This ignores, since I did not have access to it at the time, the output he posted after my post and before yours, which confirms he has a directory named /etc/portage/package.use.
helecho wrote:
mikefot, you should use euse (gentoolkit).
Code:
user $ euse -I systemd
Per man euse:
man euse:
BUGS
       euse  doesn't  handle  USE  flags  enabled or disabled by use.defaults,
       use.mask or package.use yet.
We know OP is using package.use. He has showed us this, several times. So why are you telling him to use a tool that is documented as not understanding that file?

mikefot wrote:
I ran the command you suggested:
Code:
mikef-PC /etc/portage # grep -rn systemd /etc/portage/package.use
/etc/portage/package.use/package.use:1862:>=sys-apps/dbus-1.12.2 systemd
/etc/portage/package.use/package.use:1879:sys-apps/dbus -systemd
/etc/portage/package.use/package.use~:1862:>=sys-apps/dbus-1.12.2 systemd
mikef-PC /etc/portage #
This is the key. You have two files in this directory that attempt to control the relevant USE flag. The latter one, with a tilde suffix, sorts later and prevails. So your package.use directory does this:
  • package.use:1862: dbus -> USE=+systemd
  • package.use:1879: dbus -> USE=-systemd
  • package.use~:1862: dbus -> USE=+systemd
Thus, the final state is +systemd. This file was likely auto-created by an editor attempting to create some sort of backup.
mikefot wrote:
I will read some gentoo pages on masking packages.
While potentially useful for later, that is no longer needed to solve this.
Back to top
View user's profile Send private message
mikefot
Apprentice
Apprentice


Joined: 19 Nov 2014
Posts: 299

PostPosted: Sun Jan 28, 2018 7:01 pm    Post subject: circular blocked packages contd. Reply with quote

Many thanks again here.

So the problem was caused by me using emacs to look at the package.use file and the editor creating a backup file which it is wont to do from time to time....

That was very perceptive.

I checked the directory and it is correct. There is a tilda copy of the package.use file.

I have deleted it and ran the emerge command again but it the blockage is still there.


Code:
mikef-PC /etc/portage/package.use # emerge --backtrack=50 sys-apps/dbus
Calculating dependencies... done!
[ebuild  N     ] app-arch/lz4-1.8.0  USE="-static-libs" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ] dev-python/lxml-4.1.1  USE="examples threads -doc {-test}" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6"
[ebuild  N     ] sys-apps/systemd-236-r5  USE="acl gcrypt kmod lz4 pam (policykit) seccomp ssl sysv-utils vanilla -apparmor -audit -build -cryptsetup -curl -elfutils -gnuefi -http -idn -importd -libidn2 -lzma -nat -qrcode (-selinux) {-test} -usrmerge -xkb" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ] sys-apps/dbus-1.12.2  USE="X systemd -debug -doc -elogind (-selinux) -static-libs {-test} -user-session" ABI_X86="32 (64) (-x32)"
[uninstall     ] sys-fs/eudev-3.2.5
[blocks b      ] sys-apps/systemd ("sys-apps/systemd" is blocking sys-fs/eudev-3.2.5)
[blocks b      ] sys-fs/eudev ("sys-fs/eudev" is blocking sys-apps/systemd-236-r5)
[blocks B      ] sys-apps/sysvinit ("sys-apps/sysvinit" is blocking sys-apps/systemd-236-r5)

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

  (sys-apps/systemd-236-r5:0/2::gentoo, ebuild scheduled for merge) pulled in by
    sys-apps/systemd:0= required by (sys-apps/dbus-1.12.2:0/0::gentoo, ebuild scheduled for merge)

  (sys-apps/sysvinit-2.88-r9:0/0::gentoo, installed) pulled in by
    sys-apps/sysvinit required by @selected


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

https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages


There is also a tilda version of make.conf. I will remove it aswell.

MF

PS Removing the make.conf~ file has worked.......

emerge sys-apps/dbus has succeeded.

I think that the title of "Sherlock Holmes" be awarded to Hu for this at least.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5200
Location: Removed by Neddy

PostPosted: Sun Jan 28, 2018 7:19 pm    Post subject: Reply with quote

Code:
[blocks b      ] sys-apps/systemd ("sys-apps/systemd" is blocking sys-fs/eudev-3.2.5)
[blocks b      ] sys-fs/eudev ("sys-fs/eudev" is blocking sys-apps/systemd-236-r5)


First question... any reason you want eudev over systemd-udev when you are already using systemd?
eudev is a fork of systemd-udev (by gentoo) once udev was absorbed by systemd. By all means used eudev over systemd-udev BUT an understanding as to what exactly you want will help provide the best solution

These however are now soft-blocks and portage should be able to resolve this

Code:
[blocks B      ] sys-apps/sysvinit ("sys-apps/sysvinit" is blocking sys-apps/systemd-236-r5)


do you have: sysv-utils USE flag enabled on systemd? these are incompatible.
May I recommend getting into the habit of the verbose emerge option, this provides USE flags enabled/disabled and helps alot with debugging
This is the hard-block and must be resolved to continue (as least with this command)
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king


Last edited by Naib on Sun Jan 28, 2018 7:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
helecho
Guru
Guru


Joined: 26 Dec 2016
Posts: 342

PostPosted: Sun Jan 28, 2018 7:20 pm    Post subject: Reply with quote

@Hu: I'm sorry, I was misleaded by the mitigating circumstances! :mrgreen:
Back to top
View user's profile Send private message
mikefot
Apprentice
Apprentice


Joined: 19 Nov 2014
Posts: 299

PostPosted: Sun Jan 28, 2018 7:39 pm    Post subject: circular blockages contd Reply with quote

Dear All,

I am now trying a world update after the dbus fix.

Sadly a new set of blockages has appeared.

I ran emerge with the -v option which I think is verbose.

The output is here:

https://pastebin.com/nphp4EU5

The blocks do include a clash between sysvinit and systemd:

Code:
[blocks B      ] sys-apps/systemd ("sys-apps/systemd" is blocking sys-fs/eudev-3.2.5)
[blocks B      ] sys-apps/gentoo-systemd-integration ("sys-apps/gentoo-systemd-integration" is blocking sys-fs/eudev-3.2.5)
[blocks B      ] sys-apps/sysvinit ("sys-apps/sysvinit" is blocking sys-apps/systemd-236-r5)
[blocks B      ] kde-apps/kde4-l10n ("kde-apps/kde4-l10n" is blocking kde-apps/kimagemapeditor-17.12.1, kde-apps/kolf-17.12.1, kde-apps/palapeli-17.12.1, kde-apps/sweeper-17.12.1, kde-apps/kget-17.12.1, kde-apps/ksirk-17.12.1, kde-apps/zeroconf-ioslave-17.12.1)
[blocks B      ] <sys-libs/glibc-2.26 ("<sys-libs/glibc-2.26" is blocking net-libs/libnsl-1.2.0)
[blocks B      ] sys-fs/eudev ("sys-fs/eudev" is blocking sys-apps/systemd-236-r5, sys-apps/gentoo-systemd-integration-7)



I will post some more comments shortly.

MF

PS I am trying to stop using systemd

I can't find much use of sysvinit by other packages etc:

Code:
djt /etc/portage # euse -I sysvinit
global use flags (searching: sysvinit)
************************************************************
no matching entries found

local use flags (searching: sysvinit)
************************************************************
no matching entries found
djt /etc/portage #


I tried running emerge again:

Code:
djt /etc/portage # emerge -v --backtrack=50 --ask --update @world

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

Calculating dependencies... done!
[ebuild  N     ] dev-python/lxml-4.1.1::gentoo  USE="examples threads -doc {-test}" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6" 2,326 KiB
[ebuild  N     ] app-arch/lz4-1.8.0:0/r131::gentoo  USE="-static-libs" ABI_X86="(64) -32 (-x32)" 218 KiB
[ebuild  N     ] sys-apps/systemd-236-r5:0/2::gentoo  USE="acl gcrypt kmod lz4 pam (policykit) seccomp ssl sysv-utils vanilla -apparmor -audit -build -cryptsetup -curl -elfutils -gnuefi -http -idn -importd -libidn2 -lzma -nat -qrcode (-selinux) {-test} -usrmerge -xkb" ABI_X86="(64) -32 (-x32)" 6,655 KiB
[ebuild     U  ] sys-apps/dbus-1.12.2::gentoo [1.10.18::gentoo] USE="X systemd* -debug -doc -elogind (-selinux) -static-libs {-test} -user-session" ABI_X86="32 (64) (-x32)" 0 KiB
[blocks B      ] sys-apps/sysvinit ("sys-apps/sysvinit" is blocking sys-apps/systemd-236-r5)
[blocks B      ] sys-fs/eudev ("sys-fs/eudev" is blocking sys-apps/systemd-236-r5)
[blocks B      ] sys-apps/systemd ("sys-apps/systemd" is blocking sys-fs/eudev-3.2.5)

Total: 4 packages (1 upgrade, 3 new), Size of downloads: 9,197 KiB
Conflict: 3 blocks (3 unsatisfied)

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

  (sys-apps/sysvinit-2.88-r9:0/0::gentoo, installed) pulled in by
    >=sys-apps/sysvinit-2.86-r6 required by (sys-apps/openrc-0.34.11:0/0::gentoo, installed)
    sys-apps/sysvinit required by @selected

  (sys-fs/eudev-3.2.5:0/0::gentoo, installed) pulled in by
    >=sys-fs/eudev-2.1.1 required by (virtual/udev-217:0/0::gentoo, installed)

  (sys-apps/systemd-236-r5:0/2::gentoo, ebuild scheduled for merge) pulled in by
    sys-apps/systemd required by (virtual/tmpfiles-0:0/0::gentoo, installed)
    sys-apps/systemd:0= required by (sys-apps/dbus-1.12.2:0/0::gentoo, ebuild scheduled for merge)


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

https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages

djt /etc/portage #


Lack of dbus meant I had to run gentoo under chroot in debian. Thanks to Hu I am now running it natively.

Comments appreciated on the above.

MF


Last edited by mikefot on Sun Jan 28, 2018 7:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 5925
Location: Austria

PostPosted: Sun Jan 28, 2018 7:49 pm    Post subject: Re: circular blockages contd Reply with quote

mikefot wrote:
Code:
[blocks B      ] kde-apps/kde4-l10n ("kde-apps/kde4-l10n" is blocking kde-apps/kimagemapeditor-17.12.1, kde-apps/kolf-17.12.1, kde-apps/palapeli-17.12.1, kde-apps/sweeper-17.12.1, kde-apps/kget-17.12.1, kde-apps/ksirk-17.12.1, kde-apps/zeroconf-ioslave-17.12.1)

It appears your world file is polluted with at least kde-apps/kde4-l10n. Remove it.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
mikefot
Apprentice
Apprentice


Joined: 19 Nov 2014
Posts: 299

PostPosted: Sun Jan 28, 2018 8:12 pm    Post subject: circular blockages contd Reply with quote

Many thanks for the comments and suggestions.

Do I have to use the emerge deselect command to remove the kde-apps/kde4-l10n package from the world file or do I use another method?

Thanks

Regds

MF

PS I have posted the emerge -v --info here:

https://pastebin.com/vpLJBQDJ
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5200
Location: Removed by Neddy

PostPosted: Sun Jan 28, 2018 8:22 pm    Post subject: Reply with quote

ok step back... lots going on & when this happens with me I revert to the lowest common emerge command.

My standard emerge command is: emerge -auNDv @world --complete-graph --with-bdeps=y --keep-going --verbose-conflicts --backtrack=30

if this fails and it isn't obvious why I simplify

1) emerge -auNDv @world --complete-graph --with-bdeps=y --keep-going --verbose-conflicts --backtrack=30
becomes
2) emerge -auNv @world
becomes
3) emerge -auv @world
THEN
4) emerge -auNDv @system
becomes
5) emerge -auNv @system
becomes
6) emerge -auv @system



once you get to a step that will resolve and build its working to the previous to whittle down the total number of packages. I had to follow this process this weekend as my home NAS hasn't been updated in like 6months... now emerge -auNDv @world --complete-graph --with-bdeps=y --keep-going --verbose-conflicts --backtrack=30 is running perfectly fine once I was able to build what was resolvable and then deal with perl...



So ... follow a similar methodology, determine the smallest set portage command that will resolve & build. Post which one & equally let it build. The try again to reduce the actual number of packages listed.

The fact systemd is there means @system could also be an issue
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
mikefot
Apprentice
Apprentice


Joined: 19 Nov 2014
Posts: 299

PostPosted: Sun Jan 28, 2018 8:42 pm    Post subject: [SOLVED]circular blockages contd Reply with quote

Dear All,

The blockage is a pain at present. I will continue massaging it with the various suggestions
that have been provided.

I am posting the latest make.conf here:

https://pastebin.com/1vcVX4g1

Cheers

MF

PS I have looked at the package mask page. I have a package mask file ready to use.

The sample command on the page is:

Code:
echo ">x11-drivers/ati-drivers-12.6_beta_pre897" >> /etc/portage/package.mask

is a generic command like

Code:
echo "systemd" >> /etc/portage/package.mask

work or do I need something more sophisticated than that here?

Perhaps it should be this:

e.g. # Mask doc
doc
# Unmask mysql
-mysql

ie the use.mask command discussed here?

https://wiki.gentoo.org/wiki//etc/portage/profile/use.mask


I would try #Mask systemd as a command


I do not have a /usr/portage/profile directory in my install let alone a use.mask file.

So I guess I need to create both from scratch?

I went ahead and created the directory and file and then tried the command Mask systemd but it did not work.

So I googled around and found
Code:
echo "systemd" >> /etc/portage/profile/use.mask
as an alternative and did that instead.

This has solved the problem. The blockage has been removed.

Many thanks to everyone for assistance with this problem, especially to Hu whose suggestions of the use.mask and care with emacs really helped here.

I think that the option of use flag masking is a good one, rather than moving use flag tags between the make.conf and package.use files which in this case amounted to moving deck chairs around on the Titanic in practice ........

Regards

MF
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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