Cups problem
Craig White
craigwhite at azapple.com
Sun Dec 16 04:44:50 UTC 2007
On Sun, 2007-12-16 at 13:43 +1000, david walcroft wrote:
> Craig White wrote:
> > On Sun, 2007-12-16 at 12:20 +1000, david walcroft wrote:
> >
> >> Craig White wrote:
> >>
> >>> On Sat, 2007-12-15 at 18:59 -0700, Craig White wrote:
> >>>
> >>>
> >>>> On Sun, 2007-12-16 at 11:29 +1000, david walcroft wrote:
> >>>>
> >>>>
> >>>>> 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 at 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 at 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 at reddwarf yum.repos.d]# cd
> >>>>> [root at reddwarf ~]# cd /etc/yum.repos.d
> >>>>> [root at reddwarf yum.repos.d]# mkdir NOT-USED
> >>>>> [root at 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 at 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 at 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 at reddwarf yum.repos.d]# fedora-updates-testing.repo
> >>>>> -bash: fedora-updates-testing.repo: command not found
> >>>>> [root at 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 at 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 at reddwarf yum.repos.d]#
> >>>>> [root at 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 at reddwarf yum.repos.d]# mv NOT-USED/livna-testing.repo .
> >>>>> mv: cannot stat `NOT-USED/livna-testing.repo': No such file or directory
> >>>>> [root at reddwarf yum.repos.d]# mv NOT-USED/livna-devel.repo .
> >>>>> mv: cannot stat `NOT-USED/livna-devel.repo': No such file or directory
> >>>>> [root at reddwarf yum.repos.d]#
> >>>>>
> >>>>>
> >>>> ----
> >>>> that was intended for BEFORE you decided to move things around
> >>>>
> >>>> See my other e-mail
> >>>>
> >>>>
> >>> ----
> >>> you could move all of the repo files into the NOT-USED subdirectory and
> >>> run the commands again and that should work
> >>>
> >>> Craig
> >>>
> >>>
> >>>
> >> Now my repos.d is hosed
> >>
> >> [david at reddwarf ~]$ sudo ls /etc/yum.repos.d/
> >> NOT-USED
> >> [david at reddwarf ~]$
> >>
> > ----
> > 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 .
> >
> > Craig
> >
> >
> [david at reddwarf ~]$ cd /etc/yum.repos.d/NOT-USED/
> [david at reddwarf NOT-USED]$ ls
> atrpms.repo fedora-development.repo fedora-updates-testing.repo
> local-base local-updates
> crontab Fedora-install-media.repo freshrpms.repo
> local-devel local-updates-testing
> dag.repo fedora.repo home.repo
> local-extra-devel nr.repo
> dries.repo fedora-updates.repo livna.repo
> local-extras old-repos
> [david at reddwarf NOT-USED]$
>
> Is this a little better? How do I move my repo's back to /etc/yum.repos.d./
----
OK, it seemed like a simple yes/no question but here it is now an hour
later and no answer.
This is my suggestion (and I have no idea if it will work) I don't think
that these fedora*repo files were the right ones and I wanted to know
what happened to the 48 other files that used to be in /etc/yum.repos.d
but I guess I won't know that answer tonight.
First you must
su -
Then you can paste this next section into a terminal and it should do
everything
cd /etc/yum.repos.d
mv NOT-USED/fedora.repo .
mv NOT-USED/fedora-updates.repo .
mv NOT-USED/fedora-updates-testing.repo .
mv NOT-USED/livna.repo .
yum update
and report back what happens
I'm going to bed
Craig
More information about the fedora-list
mailing list