HELP - trying to use YUM with Fedora3
by Reg Clemens
From: clemens(a)dwf.com
Im trying to use YUM with Fedora3, (I previously used apt-get), and I must be doing
something stupid, but I cant see it.
in /home/ftp/yum/fedora3/RPMS.os I have the RPMS from the 4 binary CDs
in /home/ftp/yum/fedora3/RPMS.updates I have all the updates to date.
I have run yum-arch on each of them, viz
yum-arch /home/ftp/yum/fedora3/RPMS.os
yum-arch /home/ftp/yum/fedora3/RPMS.updates
my /etc/yum.conf file reads
[root@orion etc]# more /etc/yum.conf
[main]
cachedir=/var/cache/yum
# debuglevel=2
debuglevel=10
logfile=/var/log/yum.log
pkgpolicy=newest
# distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
# gpgcheck=1
gpgcheck=0
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
[base]
name=Fedora3 Core base
baseurl=ftp://orion/yum/fedora3/RPMS.os
gpgcheck=0
[updates]
name=Fedora3 Core updates
baseurl=ftp://orion/yum/fedora3/RPMS.updates
gpgcheck=0
---
When I TRY to run 'yum update' to bring this initial install up
to date, I get the message:
[root@orion ~]# yum update
Repository base already added, not adding again
Yum Version: 2.1.11
COMMAND: yum update
Installroot: /
You have enabled checking of packages via GPG keys. This is a good thing.
However, you do not have any GPG public keys installed. You need to download
the keys for packages you wish to install and install them.
You can do that by running the command:
rpm --import public.gpg.key
For more information contact your distribution or package provider.
---
Now I have several problems:
(1) why is it saying 'You have enabled checking of packages via GPG keys'
when I turned that off in [main] and in each section???
(2) The command 'rpm --import public.gpg.key' does NOT work, I get:
root@orion ~]# rpm --import public.gpg.key
error: public.gpg.key: import read failed.
(3) What is this message
'Repository base already added, not adding again'
---
any and all help appreciated,- If I cant get this thing to work, or at
least get some sensable error messages out of it, Im going to have to
go back to apt-get (sigh).
Reg.Clemens
reg(a)dwf.com
18 years, 11 months
SCSI tape problems
by Terry Horsnell
Hi all,
I wonder if I could ask your advice about a very strange
SCSI tape problem I'm having. I have an Overland Neo2000
tapelibrary containing dual Quantum SDLT2 drives, attached
to a dual Opteron box via an Adaptec 3920 controller.
The system is running FC3 up2date'd on April 6th
and with kernel 2.6.10-1.770_FC3smp.
The problem appears to be that the tapes drop records
when being written, but that this can be fixed by increasing
the blocksize.
I have a bunch of test files filled with random numbers:
e.g.
-rw-r--r-- 1 root root 500000 Apr 26 11:03 tapetest500K
-rw-r--r-- 1 root root 1000000000 Apr 26 12:48 /var/tapetest1G
When I write these to tape and read them back, I get things like
the following:
[root@ls1 ~]$ dd if=tapetest500K of=/dev/st1 bs=10240 ; dd if=/dev/st1 of=junk bs=10240 ; cmp tapetest500K junk
48+1 records in
48+1 records out
36+1 records in
36+1 records out
tapetest500K junk differ: byte 215041, line 854
[root@ls1 ~]$ dd if=tapetest500K of=/dev/st1 bs=20480 ; dd if=/dev/st1 of=junk bs=20480 ; cmp tapetest500K junk
24+1 records in
24+1 records out
24+1 records in
24+1 records out
[root@ls1 ~]$ ( cd /var ; dd if=tapetest1G of=/dev/st1 bs=10240 ; dd if=/dev/st1 of=junk bs=10240 ; cmp tapetest1G junk )
97656+1 records in
97656+1 records out
90107+1 records in
90107+1 records out
tapetest1G junk differ: byte 215041, line 866
[root@ls1 ~]$ ( cd /var ; dd if=tapetest1G of=/dev/st1 bs=20480 ; dd if=/dev/st1 of=junk bs=20480 ; cmp tapetest1G junk )
48828+1 records in
48828+1 records out
48801+1 records in
48801+1 records out
tapetest1G junk differ: byte 2621441, line 10186
[root@ls1 ~]$ (cd /var ; dd if=tapetest1G of=/dev/st1 bs=32768 ; dd if=/dev/st1 of=junk bs=32768 ; cmp tapetest1G junk)
30517+1 records in
30517+1 records out
30517+1 records in
30517+1 records out
[root@ls1 ~]$
The problem happens on both tapedrives.
No errors are logged in /var/log/messages.
The Neo2000 system performs faultlessly when attached to my Alpha box.
Does this look to you like a hardware problem? Or could it be a driver issue?
Unfortunately I dont have enough spare kit to try things on another box.
Regards,
Terry
18 years, 11 months
ethernet drivers...
by bruce
hi...
can someone tell me where fedora stores the ethernet drivers... a better
question might be if someone can direct me to where i can find out what
driver is required for an intel 815 mobo with an intel ethernet
connection...
-bruce
bedouglas(a)earthlink.net
18 years, 11 months
yumex
by jdbjr
only problem i am having is when i choose different repos and it wants
to either lock down or exit. any corrections or suggestions to this?
other than that its a top notch program..
Jimmy
18 years, 11 months
SELinux and awstats
by SternData
After struggling for a while today with an install of awstats on an
newly set up FC3 system, I finally looked into /var/log/messages. It was
full of lines like those below. I've disabled SELinux to get awstats
working. How do I get it to acccept it?
FWIW, when run directly from a command line, the perl scripts work just
fine. They don't work when run from /etc/cron.hourly through run-parts.
--- log entries below ---
Apr 28 12:03:44 enoch kernel: audit(1114707824.241:0): avc: denied {
read writ
e } for pid=642 exe=/usr/bin/perl name=0 dev=devpts ino=2
scontext=root:system_
r:httpd_sys_script_t tcontext=root:object_r:devpts_t tclass=chr_file
Apr 28 12:03:44 enoch kernel: audit(1114707824.241:0): avc: denied {
read writ
e } for pid=642 exe=/usr/bin/perl path=/dev/pts/0 dev=devpts ino=2
scontext=roo
t:system_r:httpd_sys_script_t tcontext=root:object_r:devpts_t
tclass=chr_file
Apr 28 12:03:44 enoch kernel: audit(1114707824.794:0): avc: denied {
search }
for pid=644 exe=/bin/bash name=log dev=hda3 ino=3063830
scontext=root:system_r:
httpd_sys_script_t tcontext=system_u:object_r:var_log_t tclass=dir
Apr 28 12:03:44 enoch kernel: audit(1114707824.794:0): avc: denied {
search }
for pid=644 exe=/bin/bash name=log dev=hda3 ino=3063830
scontext=root:system_r:
httpd_sys_script_t tcontext=system_u:object_r:var_log_t tclass=dir
--
Steve
18 years, 11 months
FC3 and ATI Digital video
by Gene Czarcinski
I am having problem when I use digital (DVI) versus analog video.
The hardware:
ASUS SK8V motherboard with an Opteron 140 and 2GB ram. The video is an ATI
9100 with both digital and analog video output (radeon driver). The monitor
is a Dell 2000FP (LCD) which can handle both analog and digital (DVI) input
selectable on the monitor. The is also a Belkin Omnicube 4 port KVM.
When I first started using the ASUS/Opteron system in my setup, I found that I
could not use the analog video through the KVM ... the ASUS BIOS "overdrove"
the monitor and it cut out. However, FC1 did work OK for both install and
running using this analog configuration.
My solution to the problem was to not use the analog/KVM setup but instead to
connect the monitor to the ATI 9100 using the digital (DVI) interface and
then use the selection on the monitor to switch to DVI input when I selected
that ASUS/Opteron. This worked fine with FC1 and FC2 (both i386 and x86_64).
I skipped this round of testing so my first exposure to FC3 was the final
release. I first installed it on another system and that went fine. I then
tried installing on the ASUS/Opteron ... oops, black screen and then the
monitor went into powersave mode (turned off). After several tries, I gave
up and did a text everything install. Install and bootup ... oops, X fails
to start again. OK, reboot and come up in non-X (3). I ran
system-config-display from another system via ssh and everything looked like
it configured properly but X did not display.
After some fooling around, I switch to using the analog/KVM setup instead of
the digital (DVI) setup. That worked fine. With this setup I also then
installed the x86_64 FC3 and it worked fine too.
Bugzilla: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=139023
I noticed some laptops are also having problems and wonder if that problem is
related.
Question: Is anyone using digital (DVI) video, an ATI video card and the
radeon driver? Does it work? IS anyone having problems?
--
Gene
18 years, 11 months
Yum Extender
by John Moore
I just installed the Yum Extender and it is great!! Don't have to go
back and forth between user and root, the updates work AND it is soooooo
much easier to add packages using this tool. Great suggestion!!
John Moore
Manager, IS
Quality Care for Children
Atlanta, Georgia
404-479-4180
________________________________________________________________________
Database Server: Fedora Core 3
18 years, 11 months
Mouse Configuration
by Adam Burke
Is there any way to reconfigure the mouse buttons in fedora? I have an
IntelliMouse Explorer which has extra buttons on the side which are
doing weird commands whenever i press them, and i would like to set
them to be back and forward commands as they are default in windows.
Any help would be greatly appreciated.
Adam Burke
18 years, 11 months
a2ps problem
by Michael Hennebry
Since changing from RH9 to FC3, a2ps is misbehaving.
The default behaviour, (-2), gives me virtual pages
with 68 lines and 80 columns apparently without
reducing the font width.
The left pages run into the right,
the right pages run off the page.
Room for 68 lines was apparently achieved
by skimping on the inter-line space.
What's going on?
What can I do about it?
--
Mike hennebry(a)web.cs.ndsu.NoDak.edu
"I AM DEATH, NOT TAXES. *I* ONLY TURN UP ONCE." -- Death
18 years, 11 months