Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Utempter blocking libutempter?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
barum87
n00b
n00b


Joined: 28 Mar 2005
Posts: 62

PostPosted: Sun Dec 18, 2005 7:54 pm    Post subject: Utempter blocking libutempter? Reply with quote

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
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 9273

PostPosted: Sun Dec 18, 2005 10:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
Maf
Apprentice
Apprentice


Joined: 15 May 2005
Posts: 291

PostPosted: Fri Jun 02, 2006 4:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
michel7
Guru
Guru


Joined: 04 May 2006
Posts: 461
Location: localhost

PostPosted: Fri Jun 02, 2006 4:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
Rob Paxon
n00b
n00b


Joined: 27 Mar 2006
Posts: 26

PostPosted: Fri Jun 02, 2006 5:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Maf
Apprentice
Apprentice


Joined: 15 May 2005
Posts: 291

PostPosted: Fri Jun 02, 2006 5:11 pm    Post subject: Reply with quote

Does it mean that utempter is no longer needed?
And libutempter is his replacement?
Back to top
View user's profile Send private message
kortec
n00b
n00b


Joined: 20 Dec 2004
Posts: 68

PostPosted: Fri Jun 02, 2006 6:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
speeddemon
Apprentice
Apprentice


Joined: 27 Sep 2003
Posts: 162

PostPosted: Fri Jun 02, 2006 7:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
kortec
n00b
n00b


Joined: 20 Dec 2004
Posts: 68

PostPosted: Fri Jun 02, 2006 7:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
therisen
n00b
n00b


Joined: 27 May 2006
Posts: 36
Location: Germany

PostPosted: Fri Jun 02, 2006 7:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Insanity5902
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1228
Location: Fort Worth, Texas

PostPosted: Fri Jun 02, 2006 8:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2288
Location: near Augsburg, Germany

PostPosted: Sat Jun 03, 2006 8:48 am    Post subject: Reply with quote

I have unmerged utempter and emerge -avuD --deep world is working now.
Back to top
View user's profile Send private message
jstuart
n00b
n00b


Joined: 03 Dec 2002
Posts: 57

PostPosted: Sat Jun 03, 2006 10:02 am    Post subject: Reply with quote

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
View user's profile Send private message
luispa
Guru
Guru


Joined: 17 Mar 2006
Posts: 357
Location: España

PostPosted: Sat Jun 03, 2006 10:33 am    Post subject: Reply with quote

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
View user's profile Send private message
dave-gallagher
n00b
n00b


Joined: 01 Mar 2006
Posts: 38

PostPosted: Sat Jun 03, 2006 3:22 pm    Post subject: Reply with quote

All real helpful everyone. I had the same issue. Thanks!
Back to top
View user's profile Send private message
dalek
Veteran
Veteran


Joined: 19 Sep 2003
Posts: 1337
Location: Mississippi USA

PostPosted: Sat Jun 03, 2006 3:42 pm    Post subject: Reply with quote

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.

:D :D :D :D
_________________
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
9TBs of hard drive space using LVM
Cooler Master HAF-932 Case
Back to top
View user's profile Send private message
irondog
l33t
l33t


Joined: 07 Jul 2003
Posts: 715
Location: Voor mijn TV. Achter mijn pc.

PostPosted: Sat Jun 03, 2006 4:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
cfgauss
Guru
Guru


Joined: 18 May 2005
Posts: 564
Location: USA

PostPosted: Sat Jun 03, 2006 4:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
weaksauce
Apprentice
Apprentice


Joined: 17 Nov 2005
Posts: 204
Location: NYC

PostPosted: Sat Jun 03, 2006 5:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
pbardet
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2003
Posts: 143
Location: wpg, mb

PostPosted: Sat Jun 03, 2006 5:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sat Jun 03, 2006 5:20 pm    Post subject: Reply with quote

cfgauss wrote:
Does this mean that I cannot unmerge utempter?

Just run:
Code:
emerge --unmerge utempter && emerge libutempter
Back to top
View user's profile Send private message
alejandrobiondo
n00b
n00b


Joined: 28 Mar 2006
Posts: 40

PostPosted: Sat Jun 03, 2006 7:46 pm    Post subject: Reply with quote

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:

Code:
emerge -uDav world


...then every packages that are on the world, and every dependencies will be updated.
Back to top
View user's profile Send private message
troymc
Guru
Guru


Joined: 22 Mar 2006
Posts: 553

PostPosted: Sat Jun 03, 2006 8:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
irondog
l33t
l33t


Joined: 07 Jul 2003
Posts: 715
Location: Voor mijn TV. Achter mijn pc.

PostPosted: Sat Jun 03, 2006 9:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Jointy
Tux's lil' helper
Tux's lil' helper


Joined: 23 Dec 2005
Posts: 142
Location: Saarbrücken

PostPosted: Sun Jun 04, 2006 4:52 pm    Post subject: Reply with quote

^^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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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