| View previous topic :: View next topic |
| Author |
Message |
MisterX n00b

Joined: 27 May 2003 Posts: 7 Location: Madison, AL
|
Posted: Sun Jun 01, 2003 4:25 pm Post subject: /bin/mktemp corrupted, what package to fix? |
|
|
Pardon the newbie question, but it appears my /bin/mktemp is corrupted. I get errors similar to this emerging several packages. Quake3 is just the latest victim...
# emerge quake3
Calculating dependencies ...done!
>>> emerge (1 of 1) app-games/quake3-1.32b to /
>>> md5 src_uri linuxq3apoint-1.32b.x86.run
* Adding group 'games' to your system ...
/bin/mktemp: line 1: Utilities for CVS administration.: command not found
/bin/mktemp: line 3: import: command not found
/bin/mktemp: line 4: import: command not found
/bin/mktemp: line 5: import: command not found
/bin/mktemp: line 6: import: command not found
/bin/mktemp: line 7: import: command not found
/bin/mktemp: line 9: syntax error near unexpected token `('
/bin/mktemp: line 9: `if not hasattr(time, 'timezone'):'
touch: file arguments missing
Try `touch --help' for more information.
* - Groupid: 35
groupadd: group games exists
!!! ERROR: app-games/quake3-1.32b failed.
!!! Function enewgroup, Line 628, Exitcode 9
!!! enewgroup failed
A quick glance over my /bin/mktemp file tells me it has been hammered by something. What package should I re-emerge to get it fixed? Is there some kind of emerge --verify or emerge --force that I should do to make sure mktemp gets fixed? |
|
| Back to top |
|
 |
shadow255 Guru


Joined: 04 Apr 2003 Posts: 406
|
Posted: Sun Jun 01, 2003 5:06 pm Post subject: |
|
|
| Code: | $ qpkg -i -f /bin/mktemp
sys-apps/debianutils-1.16.7-r1 *
A selection of tools from Debian [ http://packages.debian.org/unstable/base/debianutils.html ]
|
If you don't have qpkg on your system, you can get it by emerging app-admin/gentoolkit. I keep on finding great uses for it. Just last week I wanted to see which games I had emerged from portage: | Code: | $ qpkg -I app-games
app-games/abuse_sdl *
app-games/chromium *
app-games/crack-attack *
app-games/eboard *
app-games/enigma *
app-games/fortune-mod *
app-games/fortune-mod-bofh-excuses *
app-games/fortune-mod-hitchhiker *
app-games/frozen-bubble *
app-games/gnuchess *
app-games/kobodeluxe *
app-games/nethack *
app-games/racer-bin *
app-games/tuxracer *
app-games/xgalaga *
|
Okay, I thought it was awesome, but your mileage may vary.
For those who are used to rpm-style queries, there's also sys-apps/epm. I found that epm -qf /bin/mktemp works to identify the owning package, but epm -qif /bin/mktemp is more verbose than I like in order to just find out which version of the package is installed.
Good luck with your problem! _________________ Vogon poetry is of course the third worst in the Universe. -- Douglas Adams, The Hitchhiker's Guide to the Galaxy |
|
| Back to top |
|
 |
MisterX n00b

Joined: 27 May 2003 Posts: 7 Location: Madison, AL
|
Posted: Sun Jun 01, 2003 6:39 pm Post subject: Nailed it |
|
|
| Thanks much, shadow255. emerged debianutils and all is well again. Also emerged qpkg, just what I needed. |
|
| Back to top |
|
 |
|
|
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
|
|