View previous topic :: View next topic |
Author |
Message |
barum87 n00b
Joined: 28 Mar 2005 Posts: 62
|
Posted: Sun Dec 18, 2005 7:54 pm Post subject: Utempter blocking libutempter? |
|
|
Ehh...I don't even know what these programs do, but these are stopping me from updating my portage along with other softwares.
Code: | emerge -uDp world
These are the packages that I would merge, in order:
Calculating world dependencies ...done!
[blocks B ] sys-apps/utempter (is blocking sys-libs/libutempter-1.1.2.1)
[ebuild U ] sys-apps/portage-2.1_pre1 [2.0.53]
|
The output is something like this.
I'm using ~amd64 tree. |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Sun Dec 18, 2005 10:07 pm Post subject: |
|
|
They allow unprivileged users to write utmp entries.
Both utempter and libutempter provide virtual/utempter, interestingly utempter-0.5.5.6 does not depend on virtual/utempter being absent before its install I suspect that to be an oversight. Basically choose one, discard the other.
I suggest libutempter for the simple reason that something seems to want it instead of utempter. |
|
Back to top |
|
|
Maf Guru
Joined: 15 May 2005 Posts: 309
|
Posted: Fri Jun 02, 2006 4:55 pm Post subject: |
|
|
today i emerge --sync'ed my portage tree, tried to -DuN world and got this:
Code: |
Calculating world dependencies ...done!
[blocks B ] sys-apps/utempter (is blocking sys-libs/libutempter-1.1.2.1)
[ebuild N ] sys-libs/libutempter-1.1.2.1 0 kB
|
What am I supposed to do with this? Thanx in advance |
|
Back to top |
|
|
michel7 Guru
Joined: 04 May 2006 Posts: 461 Location: localhost
|
Posted: Fri Jun 02, 2006 4:58 pm Post subject: |
|
|
I have the same issue too ...
Code: |
Calculating world dependencies... done!
[blocks B ] sys-apps/utempter (is blocking sys-libs/libutempter-1.1.2.1)
[ebuild N ] sys-libs/libutempter-1.1.2.1 21 kB
[ebuild U ] x11-terms/xterm-213-r1 [213] USE="truetype -Xaw3d -doc -toolbar -unicode" 747 kB
Total size of downloads: 768 kB
!!! Error: The above package list contains packages which cannot be installed
!!! at the same time on the same system.
|
|
|
Back to top |
|
|
Rob Paxon n00b
Joined: 27 Mar 2006 Posts: 26
|
Posted: Fri Jun 02, 2006 5:01 pm Post subject: |
|
|
Maf wrote: | today i emerge --sync'ed my portage tree, tried to -DuN world and got this:
Code: |
Calculating world dependencies ...done!
[blocks B ] sys-apps/utempter (is blocking sys-libs/libutempter-1.1.2.1)
[ebuild N ] sys-libs/libutempter-1.1.2.1 0 kB
|
What am I supposed to do with this? Thanx in advance |
"emerge --unmerge utempter" then "emerge libutempter", then continue on with your world update. You could always skip the second step since the world update is going to merge libutempter, anyhow.
I have just done this and haven't had any issues yet. |
|
Back to top |
|
|
Maf Guru
Joined: 15 May 2005 Posts: 309
|
Posted: Fri Jun 02, 2006 5:11 pm Post subject: |
|
|
Does it mean that utempter is no longer needed?
And libutempter is his replacement? |
|
Back to top |
|
|
kortec n00b
Joined: 20 Dec 2004 Posts: 68
|
Posted: Fri Jun 02, 2006 6:57 pm Post subject: |
|
|
I'm not a dev, but that's usually what the case is. When things are this similar in name, you can check out the portage tree, and you'll see that it's probably a switch. Something like this isn't as critical as the shadow/pam-login block, but with a little research you can make a good educated guess.
[edit]
I actually just did
Code: |
emerge -C utempter
emerge libutempter
|
which seems to have broken the odd .so.# link or two. This is pretty easily fixed by running something like
Code: |
revdep-rebuild --library=libutempter.so.0
|
though in this case what broke was xterm, which was the next thing to in a -uDa world, and probably why the upgrade got pulled down.
Last edited by kortec on Fri Jun 02, 2006 7:10 pm; edited 1 time in total |
|
Back to top |
|
|
speeddemon Apprentice
Joined: 27 Sep 2003 Posts: 162
|
Posted: Fri Jun 02, 2006 7:09 pm Post subject: |
|
|
I just synced and got this same issue today. This is the 2nd time in the past couple of weeks this has happened (pam / shadow was the other). If this is a common issue that is going to happen to everyone else, isnt' there someway to keep it from happening? |
|
Back to top |
|
|
kortec n00b
Joined: 20 Dec 2004 Posts: 68
|
Posted: Fri Jun 02, 2006 7:14 pm Post subject: |
|
|
To some extent it's above our heads. The gentoo devs or project devs decide to change how their linking structure works, or what the name of something really should be -- in this case it looks like they (ebuild maint folks, or the project devs -- I'm really just speculating here) began to think utempter was more of a library than a program, and that its name should reflect that. Or something major changes, like which program best takes care of login authentications (pam_login vs. shadow). It's just that portage is polite enough to ask us instead of thinking it's smart enough to decide on our behalf. |
|
Back to top |
|
|
therisen n00b
Joined: 27 May 2006 Posts: 36 Location: Germany
|
Posted: Fri Jun 02, 2006 7:53 pm Post subject: |
|
|
If you do a Code: | emerge -avuDt world | you can see that it is xterm who requested the change. However, I did a Code: | equery depends utempter | which showed me that no package is currently using utempter, so I safely could unmerge it.
HTH, therisen _________________ "Pure mathematics is on the whole distinctly more useful than applied.
For what is useful above all is technique, and mathematical technique
is taught mainly through pure mathematics.
Godfrey H. Hardy |
|
Back to top |
|
|
Insanity5902 Veteran
Joined: 23 Jan 2004 Posts: 1228 Location: Fort Worth, Texas
|
Posted: Fri Jun 02, 2006 8:49 pm Post subject: |
|
|
Another little something to make some of those have a bit more warm and cozy feeling about this.
When you umerge utempter, you will notice it gets rid of /usr/lib/libutempter.so and all the likes. and libutempter is just going to put them all back. _________________ Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
Keruskerfuerst Advocate
Joined: 01 Feb 2006 Posts: 2289 Location: near Augsburg, Germany
|
Posted: Sat Jun 03, 2006 8:48 am Post subject: |
|
|
I have unmerged utempter and emerge -avuD --deep world is working now. |
|
Back to top |
|
|
jstuart n00b
Joined: 03 Dec 2002 Posts: 57
|
Posted: Sat Jun 03, 2006 10:02 am Post subject: |
|
|
Keruskerfuerst wrote: | I have unmerged utempter and emerge -avuD --deep world is working now. |
Just FYI, you don't need -D and --deep they are both the same thing. _________________ Jeff Stuart
JAHGU (Just another happy Gentoo User) |
|
Back to top |
|
|
luispa Guru
Joined: 17 Mar 2006 Posts: 359 Location: España
|
Posted: Sat Jun 03, 2006 10:33 am Post subject: |
|
|
As said before this type of 'blockings' are traditional minor issues we, gentoo users, suffer. The inpact will vary depending on your system, and as a rule of thumb I recomend you either check here in the forum where you'll find the solution (my experience is 100% of the times) or continue learing on Portage and how to find out dependencies and how to solve them by yourself.
You'll see that your dependencies will vary depending on what you've installed, just as an example look at my case, I first did:
Code: |
# emerge -C utempter
# emerge libutempter
|
Them the reverse dependency rebuild show interesting dependencies (I've left only interisting output here):
Code: | # revdep-rebuild --library=libutempter.so.0
:
:
Checking dynamic linking...
found /usr/bin/Esetroot
found /usr/bin/Etbg
found /usr/bin/Eterm
found /usr/bin/Ettable
found /usr/bin/xterm
found /usr/lib/libEterm-0.9.3.so
done.
(/root/.revdep-rebuild_bf98354d.3_rebuild)
:
:
All prepared. Starting rebuild...
emerge --oneshot =x11-terms/eterm-0.9.3-r4 =x11-terms/xterm-207
..........
Calculating dependencies ...done!
>>> emerge (1 of 2) x11-terms/eterm-0.9.3-r4 to /
:
etc...
|
So, in this case libutemper got installed and also eterm & xterm recompiled (installed). See the output from the log of installed packages in my system:
Code: |
# genlop -l | tail -n 4
Sat Jun 3 12:15:37 2006 >>> sys-libs/libutempter-1.1.2.1
Sat Jun 3 12:27:50 2006 >>> x11-terms/eterm-0.9.3-r4
Sat Jun 3 12:28:46 2006 >>> x11-terms/xterm-207
|
|
|
Back to top |
|
|
dave-gallagher n00b
Joined: 01 Mar 2006 Posts: 29
|
Posted: Sat Jun 03, 2006 3:22 pm Post subject: |
|
|
Last edited by dave-gallagher on Fri Jan 13, 2023 1:31 am; edited 1 time in total |
|
Back to top |
|
|
dalek Veteran
Joined: 19 Sep 2003 Posts: 1353 Location: Mississippi USA
|
Posted: Sat Jun 03, 2006 3:42 pm Post subject: |
|
|
therisen wrote: | However, I did a Code: | equery depends utempter | which showed me that no package is currently using utempter, so I safely could unmerge it.
HTH, therisen |
Code: | root@smoker / # equery depends utempter
[ Searching for packages depending on utempter... ]
kde-base/kdelibs-3.5.3
root@smoker / # |
Seems that if you use KDE 3.5.3, it needs it.
_________________ My rig: Gigabyte GA-970A-UD3P mobo, AMD FX-8350 Eight-Core CPU, ZALMAN CNPS10X Performa CPU cooler,
G.SKILL 32GB DDR3 PC3 12800 Memory Nvidia GTX-650 video card LG W2253 Monitor
60TBs of hard drive space using LVM
Cooler Master HAF-932 Case |
|
Back to top |
|
|
irondog l33t
Joined: 07 Jul 2003 Posts: 715 Location: Voor mijn TV. Achter mijn pc.
|
Posted: Sat Jun 03, 2006 4:01 pm Post subject: |
|
|
Rob Paxon wrote: | "emerge --unmerge utempter" then "emerge libutempter", | Hi Rob. Don't forget to use --oneshot:
Code: | emerge libutempter --oneshot |
Welcome to the Gentoo forums. _________________ Alle dingen moeten onzin zijn. |
|
Back to top |
|
|
cfgauss l33t
Joined: 18 May 2005 Posts: 688 Location: USA
|
Posted: Sat Jun 03, 2006 4:48 pm Post subject: |
|
|
Quote: | Code: | root@smoker / # equery depends utempter
[ Searching for packages depending on utempter... ]
kde-base/kdelibs-3.5.3
root@smoker / # |
Seems that if you use KDE 3.5.3, it needs it.
|
I have the same dependency. Does this mean that I cannot unmerge utempter? |
|
Back to top |
|
|
weaksauce Apprentice
Joined: 17 Nov 2005 Posts: 204 Location: NYC
|
Posted: Sat Jun 03, 2006 5:11 pm Post subject: |
|
|
Quote: |
Hi Rob. Don't forget to use --oneshot:
Code:
emerge libutempter --oneshot
|
wait, is there a particular reason we don't want this in our world file for future updates? |
|
Back to top |
|
|
pbardet Tux's lil' helper
Joined: 11 Dec 2003 Posts: 143 Location: wpg, mb
|
Posted: Sat Jun 03, 2006 5:17 pm Post subject: |
|
|
Even kde 3.5.2-r6
Code: | natasha ~ # equery depends utempter
[ Searching for packages depending on utempter... ]
kde-base/kdelibs-3.5.2-r6 |
But I just removed it anyway and emerged libutempter instead.
It seems both packages contain the same files anyway. It shouldn't break kdelibs.
For those curious of what got removed and what added...
Code: | natasha ~ # emerge --unmerge utempter
sys-apps/utempter
selected: 0.5.5.6
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 sys-apps/utempter-0.5.5.6...
No package files given... Grabbing a set.
<<< obj /usr/sbin/utempter
<<< obj /usr/lib/libutempter.so.0.5.5
<<< obj /usr/include/utempter.h
<<< obj /usr/bin/utmp
<<< sym /usr/lib/libutempter.so.0.5
<<< sym /usr/lib/libutempter.so.0
<<< sym /usr/lib/libutempter.so
--- !empty dir /usr/sbin
--- !empty dir /usr/lib
--- !empty dir /usr/include
--- !empty dir /usr/bin
--- !empty dir /usr |
Code: | natasha ~ # emerge libutempter
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-libs/libutempter-1.1.2.1 to /
[...]
>>> Merging sys-libs/libutempter-1.1.2.1 to /
* >>> SetGID: [chmod o-r] /var/tmp/portage/libutempter-1.1.2.1/image//usr/lib/utempter/utempter ... [ ok ]
--- /usr/
--- /usr/lib/
>>> /usr/lib/libutempter.so.1.1.2
>>> /usr/lib/utempter/
>>> /usr/lib/utempter/utempter
>>> /usr/lib/libutempter.a
--- /usr/sbin/
>>> /usr/sbin/utempter -> ../lib/utempter/utempter
--- /usr/include/
>>> /usr/include/utempter.h
>>> /usr/lib/libutempter.so.0 -> libutempter.so.1.1.2
>>> /usr/lib/libutempter.so -> libutempter.so.0
>>> Regenerating /etc/ld.so.cache...
>>> sys-libs/libutempter-1.1.2.1 merged.
>>> Recording sys-libs/libutempter in "world" favorites file...
>>> clean: No packages selected for removal.
>>> Auto-cleaning packages ...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date. |
I'm currently running revdep-rebuild, just in case... |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sat Jun 03, 2006 5:20 pm Post subject: |
|
|
cfgauss wrote: | Does this mean that I cannot unmerge utempter? |
Just run:
Code: | emerge --unmerge utempter && emerge libutempter |
|
|
Back to top |
|
|
alejandrobiondo n00b
Joined: 28 Mar 2006 Posts: 40
|
Posted: Sat Jun 03, 2006 7:46 pm Post subject: |
|
|
weaksauce wrote: | Quote: |
Hi Rob. Don't forget to use --oneshot:
Code:
emerge libutempter --oneshot
|
wait, is there a particular reason we don't want this in our world file for future updates? |
Of course you can put it on the world file, but it better if you have only your main packages, and that doesn't mean that the ones that are not there won't be updated.
That's why we have the "--deep" (or "-D") clause on the emerge program, if you make:
...then every packages that are on the world, and every dependencies will be updated. |
|
Back to top |
|
|
troymc Guru
Joined: 22 Mar 2006 Posts: 553
|
Posted: Sat Jun 03, 2006 8:00 pm Post subject: |
|
|
And the ultimate reasoning behind the change is:
Code: |
*libutempter-1.1.2.1 (13 May 2005)
13 May 2005; Seemant Kulleen <seemant@gentoo.org>
+libutempter-1.1.2.1.ebuild:
New package as a replacement for sys-apps/utempter. This seems to be the
package we will move to as the preferred utempter, as it works better for
freebsd, and also mike harris of redhat/freedesktop is rumoured to be
rejumping the development of this. At any rate, at least Flameeyes will
be happy.
|
troymc |
|
Back to top |
|
|
irondog l33t
Joined: 07 Jul 2003 Posts: 715 Location: Voor mijn TV. Achter mijn pc.
|
Posted: Sat Jun 03, 2006 9:53 pm Post subject: |
|
|
weaksauce wrote: | wait, is there a particular reason we don't want this in our world file for future updates? | The real question is the other way around: Is there a particular reason to have this package in world? This reason might actually exist, but I think it does not in this case.
--oneshot has nothing to do with future updates (alejandrobiondo explained this). If the package is a dependancy of an other world package, it will be updated. _________________ Alle dingen moeten onzin zijn. |
|
Back to top |
|
|
Jointy Tux's lil' helper
Joined: 23 Dec 2005 Posts: 142 Location: Saarbrücken
|
Posted: Sun Jun 04, 2006 4:52 pm Post subject: |
|
|
^^same issue here
Code: |
plato ~ # emerge -av --update --newuse --deep world
These are the packages that I would merge, in order:
Calculating world dependencies ...done!
[blocks B ] sys-apps/utempter (is blocking sys-libs/libutempter-1.1.2.1)
[blocks B ] sys-fs/cryptsetup-luks (is blocking sys-fs/cryptsetup-0.1-r3)
|
^^and I had uninstalled it befor ??)
^^whats going wrong there ?? _________________ [Host: Arko]
ASUS G1S
http://gentoo-wiki.com/HARDWARE_Asus_G1S
[Host: Pandora]
PIII 1Ghz (133) / 512MB
1x40GB & 60GB (mdRAID1)
Hardened Stage 1 Server
[Host: Plato]
verkauft (OpenSuse 11.0) |
|
Back to top |
|
|
|