Re: Cups problem



Craig White wrote:
On Sun, 2007-12-16 at 10:47 +1000, david walcroft wrote:
Craig White wrote:
On Sun, 2007-12-16 at 09:48 +1000, david walcroft wrote:

My repo's are in 'local-updates local-extras local-base,
but yum does updates with no problem
----
except of course, that which is a problem. Every problem you have with
packaging has to be caused by the below.
----
[david@reddwarf ~]$ ls /etc/yum.repos.d/
atrpms-bleeding.repo fedora-extras-devel.repo jpackage-fedora.repo local-extra-devel
atrpms.repo Fedora-install-media.repo jpackage-generic.repo local-extras
atrpms-stable.repo fedora.repo jpackage.repo local-updates
atrpms-testing.repo fedora.repo.rpmnew kde-redhat.repo local-updates-testing
city-fan.org.repo fedora-updates.repo kde-redhat-stable-all.repo Macromedia
crontab fedora-updates.repo.rpmnew kde-redhat-stable.repo mirrors-rpmforge
dag.repo fedora-updates-testing.repo livna-devel.repo newrpms.repo
dries.repo fedora-updates-testing.repo.rpmnew livna-devel.repo.rpmorig nrpms.repo
fedora-core.repo.rpmnew fedora.us-extras livna.repo nr.repo
fedora-core.repo.rpmsave freshrpms.repo livna.repo.rpmorig rpmforge.repo
fedora-development.repo freshrpms.repo.rpmnew livna.repo.rpmsave yjl.repo
fedora-devel.repo gstreamer-deps.repo livna-testing.repo
fedora-extra-devel.repo gstreamer.repo local-base
fedora-extra.repo home.repo local-devel

[david@reddwarf ~]$ I know it needs a big clean up.
----
were you expecting things to just clear up by themselves while you make
a complete nightmare of things?

Craig

No I not expecting things happen automatically but I dont have the confidence
to hack into files and make the mess worse than it already is.
----
OK, try this...(you need root so simply 'su -')

this is supplied so you could simply paste this all after you su to root
per above

cd /etc/yum.repos.d
mkdir NOT-USED
mv * NOT-USED # clear out all repos for the moment
mv NOT-USED/fedora-development.repo.rpmsave fedora-development.repo
mv NOT-USED/fedora-updates-testing.repo.rpmsave
fedora-updates-testing.repo
mv NOT-USED/fedora-updates.repo.rpmsave fedora-updates.repo
mv NOT-USED/fedora.repo.rpmsave fedora.repo

mv NOT-USED/livna.repo.rpmsave livna.repo
mv NOT-USED/livna-testing.repo .
mv NOT-USED/livna-devel.repo .

# at this point, you should be able to yum update without much issue and
I am presuming that the latest installs of fedora-release and
livna-release put their repo files rpmsave because the originals were
tainted.

The rest of the repos you can add by mv the files back but only do 1 or
2 at a time so you will see if any have problems.

Myself, I would probably move the rpmforge.repo back but it might be an
issue depending upon how old it is. Possibly kde-redhat stuff (may be
old), maybe jpackage...again, it could be old and broken

Craig

[root@reddwarf yum.repos.d]# cd
[root@reddwarf ~]# cd /etc/yum.repos.d
[root@reddwarf yum.repos.d]# mkdir NOT-USED
[root@reddwarf yum.repos.d]# mv * NOT-USED # clear out all repos for the moment
mv: cannot move `NOT-USED' to a subdirectory of itself, `NOT-USED/NOT-USED'
[root@reddwarf yum.repos.d]# mv NOT-USED/fedora-development.repo.rpmsave fedora-development.repo
mv: cannot stat `NOT-USED/fedora-development.repo.rpmsave': No such file or directory
[root@reddwarf yum.repos.d]# mv NOT-USED/fedora-updates-testing.repo.rpmsave
mv: missing destination file operand after `NOT-USED/fedora-updates-testing.repo.rpmsave'
Try `mv --help' for more information.
[root@reddwarf yum.repos.d]# fedora-updates-testing.repo
-bash: fedora-updates-testing.repo: command not found
[root@reddwarf yum.repos.d]# mv NOT-USED/fedora-updates.repo.rpmsave fedora-updates.repo
mv: cannot stat `NOT-USED/fedora-updates.repo.rpmsave': No such file or directory
[root@reddwarf yum.repos.d]# mv NOT-USED/fedora.repo.rpmsave fedora.repo
mv: cannot stat `NOT-USED/fedora.repo.rpmsave': No such file or directory
[root@reddwarf yum.repos.d]#
[root@reddwarf yum.repos.d]# mv NOT-USED/livna.repo.rpmsave livna.repo
mv: cannot stat `NOT-USED/livna.repo.rpmsave': No such file or directory
[root@reddwarf yum.repos.d]# mv NOT-USED/livna-testing.repo .
mv: cannot stat `NOT-USED/livna-testing.repo': No such file or directory
[root@reddwarf yum.repos.d]# mv NOT-USED/livna-devel.repo .
mv: cannot stat `NOT-USED/livna-devel.repo': No such file or directory
[root@reddwarf yum.repos.d]#

david

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list