Pages

Search

rpm problem... - Forums Linux

rpm problem... - Forums Linux


rpm problem...

Posted: 30 Jan 2005 08:35 PM PST

In comp.os.linux.setup Mike Thatcher <net>: 
 

Happens in rare cases, make sure there's zero process accessing
the rpm db (ps/lsof) and run:

rm /var/lib/rpm/__*
rpm --rebuilddb

This should fix things.

[..]

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo qr | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 210: We didn't pay the Internet bill and it's
been cut off.

Beginning to understand grub

Posted: 30 Jan 2005 03:45 PM PST

Lawrence D'Oliveiro wrote: 

Good idea. I've made about five copies of the current MBR of the first
disk, and I could if necessary restore the partition table from that
since I know where to find out how the information is stored. But fdisk
of sfdisk would certainly simplify that. Indeed, on a couple of
occasions, I actually did restore partition information, and I was
amazed that it worked.

Xwindows isn't working - Fatal Service Error: no screen found

Posted: 30 Jan 2005 11:42 AM PST

com wrote:
 

..... /etc/X11/XF86Config
..
--
<< http://michaeljtobler.homelinux.com/ >>
QOTD: "I don't give a flying fuck at a rolling doughnut."

.NET for Linux: MSDN library: bad browser interoperability

Posted: 30 Jan 2005 11:12 AM PST


mun.ca wrote: 
selected 

That's because of the tree control/code used in IE. There is no
"standard" for such a beast. Behaves this way because MS used/uses it
with its html based .chm help files (which were meant to simulate the
still older .hlp file browser) and programmer documentation.
Personally, I prefer the less cluttered pane one gets with other
browsers. Maintaining the parent links once you're several levels down
is expensive (memory and real estate) as well.

IE also remains without a real tabbed browser and MS tries to promote
the idea that users really don't want/need it. At least they have not
taken explicit steps to "break" them as they did with Opera's MDI model
of browsing.

BTW, works fine for me (without the clutter) in Konqueror, as well.
prg
email above disabled

How does it do it.

Posted: 30 Jan 2005 08:01 AM PST


"mjt" <ru> wrote in message
news:net... 

Note: the Fedora Core 3 RPM's for 2.6.x kernels include and publish these
dependencies. They're quite nice.


Dual Boot Failed to boot XP - SOS !!

Posted: 30 Jan 2005 01:24 AM PST

.... assuming you actually do have the same problem I did (but we all know
what assuming can do).

What it came down to was I had to reinstall grub on the MBR of the
hard-drive my XP and Linux partitions are on. This is actually pretty easy
to do; the hard part is figuring out you need to do this in the first place,
and then figuring out how to do it. Hopefully I can spare you some of the
pain and agony I went through trying to solve this problem.

To reinstall grub on the MBR:

1. Logon to Linux as the root user

2. Run the program "Terminal" on the menu Programs > System Tools. You
should now see a window with a command prompt in it that looks
similar the following:

[root@localhost ~]#

3. Type 'grub' at the command prompt and press <enter>. This starts the
grub configuration program which replaces the old command prompt
shown above, with the grub command prompt as displayed below.

GNU GRUB version 0.95 (640K lower / 3072K upper memory)

[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename.]

grub>

4. At this command prompt type the following command, and then press
enter after you have found the number to substitute in for X for
your system:

grub> root (hd0,X)/boot

X is the number of the partition your Linux /boot directory is on.
NOTE: this is not necessarily the same number as used by Linux, i.e.
(hd0,2) is
not necessarily the same partition as hda2. For a list of partition
numbers type root
(hd0, and then press TAB; the partition of your Linux system is the
one that has file-system
type: ext2fs.

5. Next, type this command at the grub prompt:

grub> setup (hd0)

Notice there is no partition number with hd0. This installs grub in
the MBR, as opposed to
the first sector of any given partition. Grub needs to be installed
on the MBR for a duel boot system.

When the installation is finished, type quit at the grub prompt and
press enter to get backto the regular prompt.

That should do it. Exit Linux, reboot and see what happens. As always, make
sure you have a good boot-disk ready before working with grub in case
anything goes fubar.

Good luck with your system!

David Kirk





"ElZorro" <com> wrote in message
news:googlegroups.com... 


Mandrake 10.0 Install - Webmin/Shorewall issues.

Posted: 29 Jan 2005 10:17 PM PST

Here in comp.os.linux.setup,
Bit Twister <com> spake unto us, saying:
 

A Followup newsgroup is sometimes appropriate, sometimes not. It all
depends on the nature of the groups involved and the subject of the
thread in question. Judgement call, IMO.

--
-Rich Steiner >>>---> http://www.visi.com/~rsteiner >>>---> Smyrna, GA USA
OS/2 + eCS + Linux + Win95 + DOS + PC/GEOS + Executor = PC Hobbyist Heaven!
WARNING: I've seen FIELDATA FORTRAN V and I know how to use it!
The Theorem Theorem: If If, Then Then.

USB Serial Port Adapter Troubles

Posted: 29 Jan 2005 09:07 PM PST

My apologies, I won't make those mistakes again.

- David Kirk


Fedora Core 3 boot floppy from win2k, no cd-burning

Posted: 29 Jan 2005 04:05 PM PST

The express version gives this message when selecting the boot image:

The Nero installation contains an image of bootable
floppy disk, which will be used to make your disc
bootable. You can select a boot locale, which will
preare the appropiate country code page and keyboard
layout for included DOS.

Alternatively, the A:> drive can be selected so that the disc being
burned will
boot the same way as the floppy in the A:\, grr.




There's no such mention in the "full" way of doing things, but the
exact same
choice appears without the message...?




Here's what I did, not from Nero express but the full version.
Unfortunately,
the interface is different from that described in the link.

....
(demo version, enter serial number...)

File-->New

"New Compilation window"
(select cdrom boot)

Boot: Image File:
C:\Documents and Settings\Administrator\Desktop\FC3-i386-disc1.iso


(other tags left as default)


New Window "ISO1 - Nero Burning ROM"

ISO1 tab:
New


File-->compilation properties
brings up "New Compilation Window" to double check things


Recorder-->Burn Compilation
brings up "Burn Compilation" window

click "burn"

More grub questions

Posted: 29 Jan 2005 06:19 AM PST

Leonard Evens wrote: 
[snip]> > I ran into this problem when trying to copy stage1 and stage2
to a 
/boot/grub 
the 
 
want to 

Oops, this won't work as often than not -- these have (the same)
embedded data specific to _this_ hard disk. That's why the ones in
/usr/share/grub/i386 are copied (and "compiled") into /boot/grub so you
retain a "pristeen" original copy of the base files that can be used to
(re)install grub. If all hosts have the same disk layout, grub root
and device.map file then the files from /boot/grub should (for sure?)
work on all hosts.
 
know 

I had forgotten that stage2 file also gets embedded data -- normally
the embedded data from stage1_5 is used, but stage2 gets the same
"location" data for setups that don't use stage1_5. Completely forgot
this ... duh.
 
same 
I've 
also 
difference at 
files are 
by yum 
to 
and 

It's what I get for assuming khexedit works like the hexeditor I
usually use. The "Find" funciton in khexedit searches (only?) the data
and you must use the menu's Edit | Go to ... entry to navigate
addresses. Doublely bad duh. Is that "duh duh" or just "Wake up,
stupid!"?

It is _possible_ to update grub but evidently it should not be a
_major_ version change -- at least according to the Synaptic notice
that accompanies my (new) installed copy -- it's _still_ a v.92 (just a
minor bug fix?). Are all v.9x grubs compatible? Hmmm...
 
OS on 
info. 
for 
files 
navigate 
the 

My memory is going to poop -- have no idea why I did not recall that
config file location info is embedded in stage1_5 (stage2 I can see
forgetting, but stage1_5?). Anyway, the "space" for embedded data is
pretty small and with a fixed "start/end" position. Code begins at
offset 0x70. Maybe this time the info will "stick" better -- yeh,
sure...
 
be 
grub 
something 
from 
 
specification 

497 dec is 0x01F0 which is the start of the embedded data area which
continues till 0x0270 (624 dec). My khexedit shows this embedded
(ascii):
ºéê.ç...¡éê... .
êp......ÿÿ......
...0.92.(hd0,1)/g
rub/grub.conf...
.................
.................
.................
.................
ú1À.Ø.Ð.Àgf.-Ð..

Note the embedded version string followed by the location of
/boot/grub/grub.conf (aka menu.lst)
 
 
when 

I think this embeding takes place in the setup command.
 
to 
do 
 

I think you will need to make a grub boot floppy that contains the
"pristeen" originals from /usr/share/grub/i386 together with grub
executable so that you can run grub at each location.

See $ info grub (or grub manual html page)
Creating a GRUB boot floppy
Note that this is _not_ a copy of the files in /boot/grub which have
hard idsk location info embedded in them. IIRC, the floppy is not even
formatted -- but we know how my memory is working, don't we?

You might try (?) the grub-install script with the just-copy option
which copies the /usr/share/grub/i386 files to /boot/grub, then run
grub from a grub boot floppy??? Couldn't really find any info about
this or if this is how Anaconda places the /usr/share/grub/i386 files
into /boot/grub when you install (RH/FC) Linux from CD.

Found my old grub links for what it's worth:
http://www.uruk.org/orig-grub/embedded_data.txt
http://www.uruk.org/orig-grub/technical.html
http://www.gnu.org/software/grub/
http://geodsoft.com/howto/dualboot/grub.htm#floppy
http://www.desktop-linux.net/grub.htm
http://www.linuxexposed.com/internal.php?op=modload&name=Sections&file=index&r eq=printpage&artid=39
hth,
prg
email above disabled

"could not chown/chmod tty device" at login

Posted: 29 Jan 2005 05:51 AM PST

Thanks for the incredibly fast answer,

I looked in inittab and saw that fgetty was supposed to be started, so I
tried to start it while I was in "konsole" and it gave an segmentation
fault.

I now just removed the fgetty package, and restored fgetty to getty in
the inittab and everything works fine again. (I installed fgetty because
I tried an howto/tricks page... Silly me)

Thanks
Leon


Peter T. Breuer schreef: 

How to make Linux CD bootable

Posted: 28 Jan 2005 10:13 AM PST

MR wrote:[..] 

I think the problem isn't that Nero isn't making a bootable cd, but
that Nero "insterts" Caldera DR-DOS as the "method" with which to boot
the cd. Alternatively, Nero let's the "boot method" be described from
the floppy drive.

This "feature" from Nero doesn't appear in any documentation so far :(
thanks,

Thufir Hawat

Line graphics on console

Posted: 28 Jan 2005 01:11 AM PST


Thomas Dickey wrote: 
actual 
can 
box 
work 
(and 
ignores 
this). 
there's 
doesn't 
compiling/linking 
program. 

Thanks for this reply, Thomas. I have now done a bit more reading on
the topic, and I understand that you are the maintainer of the ncurses
library. I appreciate your input.

My program is written in Python, which uses a wrapper over the ncurses
library. Apparently there has been some discussion of wrapping
ncursesw, but this does not seem to have continued - I assume from lack
of demand. Unfortunately I do not have the knowledge to do this myself.

I did receive one suggestion that made sense - run my program using
LANG=C and TERM=vt100. It feels as if this ought to work, but it did
not make any difference. Is there a way of getting this approach to
work?

TIA

Frank Millman

definitive adsl connection test

Posted: 27 Jan 2005 10:55 PM PST

On Fri, 28 Jan 2005 17:55:15 +1100, faeychild wrote:
 
....
 

On my DSL modem, a hard reset clears the user login info. Even though
the modem is connected, I can't put traffic through it until it has
logged in to my ISP. Is it possible that you need to log into the modem
and re-enter the login data? Or is the login info stored on your PC?

--
Mark South: World Citizen, Net Denizen

Sun 220r Enterprises + Debian + Raptor GFX 8P

Posted: 27 Jan 2005 08:47 PM PST


Paul Walz wrote: 
for 
Quote:

x86 

 
trying 

DUH...

While googling I just thought I would try to see if anyone _had_ played
with it on x86 -- there have been some -- and in the process forgot you
were on a Sparc machine. And this was _after_ googling
comp.unix.solaris. Brain cells must be dying at an increasing rate.

Anyway, I don't recall that anyone around here is currently running
Linux on Sparc, though, IIRC, some have in the past. That was why I
made a quick peek at comp.unix.solaris before wandering in the mists of
google.

You'll probably have better luck over at comp.unix.solaris. I googled
this:
http://groups-beta.google.com/group/comp.unix.solaris/search?q=debian&start=0&
but adding raptor to the terms gave nothing (at all useful).

Around here, you might get some pointers on where further to search by
posting for something more general, like:
Where to get help for Debian on Ultrasparc

At least someone may point you in the right direction if you include
where you've already searched.

re: the link you sited, I saw that one too -- it's what got me snooping
to see if anyone knew how to get it working with XFree86, then chasing
ghosts ;)

IIRC, I did run into a mailing list post that used xdpyinfo and
suspected the default 8+24 mode was something XFree86 doesn't grok and
yada, yada, yada about _their_ problem with fvwm:
http://www.hpc.uh.edu/fvwm/archive/0210/msg00036.html
which makes sense to me in that on x86 hardware _any_ 8 bit graphic
would transparently map to 24 bit. It may have to do with
"simultaneous" hardware acceleration support(?).

Googled: linux Raptor GFX 8P graphics card

And read elsewhere -- but can't find it now -- that they suggested
using the Linux frame buffer driver rather than the PGX(?). Oops,
found it:
http://lists.debian.org/debian-sparc/2004/03/msg00047.html
[q]
Are you using the Permedia framebuffer driver on console?
There appear to be some deficiencies in XFree86's PM2V driver for the
Raptor GFX 8P, which change if you initialize the card with the Linux
2.4 fb driver (which itself has deficiencies for this card).
[eq]

You may have to resort to posting on a mailing list -- but which one?
sorry for the mix-up,
prg
email above disabled

200gb showing as 120gb

Posted: 27 Jan 2005 05:53 PM PST

Galldrian wrote:
 

Start with something like Knoppix LiveCD and its QtParted
to see what it reports the drive size as.
It is strange if the bios is reporting it correctly
but Linux isn't - usually its the other way around.
On one PC, I've got 160Gb working even though bios reports
it at its limit of 80Gb.
http://www.frozentech.com/content/livecd.php

dsl modem and factory reset

Posted: 27 Jan 2005 03:41 PM PST

On Fri, 28 Jan 2005 14:31:52 -0800, prg wrote:
 
Security has never been a problem (on my comp with the modem) and is on
24/7 
Only one of 34 with his own comp running Suse. My wife runs win XP and all
three of us do not run as a network. 

--
Linux counter number 335851
Neil
Delete delete to email

VMWare - Linux host - Win2K guest - network connection drops after 20minutes

Posted: 27 Jan 2005 03:26 PM PST


'NAT'

(I couldn't use Bridged because I have a wireless NIC)

Thx for asking,
J.


mjt wrote: 
guest, 
roast beef. 

Resetting grub?

Posted: 27 Jan 2005 02:26 PM PST


Leonard Evens wrote: 
[snip] 
 
safer 

Yes, this obviates the need to run the grub emulator from a "running"
OS as you are doing with grub-install from a Linux command line
(console or X terminal). That's why it's called "native" install.
 
clear 
time 
disk 
stage2 

1) quite common -- partitions don't have "names" till they are mounted
to the root tree somewhere (which is why the mount point has to already
exist).

2)you've got it -- grub needs to be pointed to the right _partition_ to
find its files at boot.
 
you 
don't 
 

And it never will be as each OS tends to write its code portion of the
mbr differenty. If you want to know what grub puts there, simply
"read" the grub stage1 file. Or go to the link I provided in other
post ;-)
 
partition, 
in 
configuration 
look 
actually 
 

"Easiest" way to see what grub-install does is to read the script.
It's /sbin/grub-install. Basically it runs the setup command and
provides info you would have to enter by hand. Think Anaconda runs it
with some switches appropriate for the occassion. The script gives a
pretty good idea of how it all works "in general".
hth,
prg
email above disabled

Dual booting Linux and WinXP Home

Posted: 27 Jan 2005 12:13 PM PST

com wrote:
 

Mepis LiveCD has a nice GUI based grub installer.
http://www.frozentech.com/content/livecd.php
Boot from liveCD, install, and it always works.
If need to change anything, you can then adjust the
/boot/grub/menu.lst
text file in the boot drive to add on more OSes.
I've got more than 10 operating systems booting off one PC.


Do I have to know UNIX command set before installing Linux?

Posted: 27 Jan 2005 09:59 AM PST

On 2005-01-27, MLH <net> wrote:
 

What happens if you just hit [RETURN] at the BOOT: prompt?

The default action should be to simply start loading th kernel.

--

John (dhs.org)