Re: How to get Yum back...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



yum-request@xxxxxxxxxxxxxxxxx wrote:
> Send Yum mailing list submissions to
> 	yum@xxxxxxxxxxxxxxxxx
>
>
> Message: 1
> Date: Fri, 02 Jan 2009 00:04:21 +1100
> From: David Timms <dtimms@xxxxxxxxxxxx>
> Subject: Re:  How to get Yum back...
> To: "Yellowdog Updater, Modified" <yum@xxxxxxxxxxxxxxxxx>
> Message-ID: <495CBF55.2060902@xxxxxxxxxxxx>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> DB wrote:
>   
>>> I just did the latest batch of F9 PackageKit updates - with disastrous 
>>> effect!  (See attached list)
>>>       
> What exactly did you do ? command line or gui ?
> Add remove programs or update system ?
>   
Update system from the PackageKit icon in the Gnome top panel
>   
>>> - especially yum and/or PackageKit?
>>>       
> wget 
> http://download.fedora.redhat.com/pub/fedora/linux/updates/9/i386.newkey/yum-3.2.20-5.fc9.noarch.rpm
> wget 
> http://download.fedora.redhat.com/pub/fedora/linux/updates/9/i386.newkey/yum-metadata-parser-1.1.2-9.fc9.i386.rpm
> wget 
> http://download.fedora.redhat.com/pub/fedora/linux/releases/9/Fedora/i386/os/Packages/pygpgme-0.1-8.fc9.i386.rpm
>
> rpm -Uvh *fc9*.rpm
>
> if further requirements are missing download them also from similar to 
> the above urls.
>
> Once yum is working, it can do dependency resolution and downloading 
> again, so just yum install [list of each package that got deleted]
>
>   
>>> I did look at trying a 'rescue' or 'install/upgrade' from the install 
>>> CD, but I'm totally unsure how to go about getting the "missing links" 
>>> back into my system.
>>>       
> - boot CD/DVD
> - Escape as the boot countdown is running.
> - append rescue to the kernel command
> - yes, yes, yes. (you want networking, mount your system)
> - this gets you to a state where your original system is mounted under:
> /mnt/sysimage/
> - make some network settings (if not auto set).
> - yum --installroot=/mnt/sysimage install yum
>
> [without having such a dead system here to confirm exactly].
>
>   
>>> ------------------------------------------------------------------------
>>> Dec 20 17:56:47 localhost yum: Updated: freetype-2.3.5-7.fc9.i386
>>> Dec 20 17:56:48 localhost yum: Updated: 1:dbus-libs-1.2.4-2.fc9.i386
>>> Dec 20 17:56:53 localhost yum: Updated: 1:dbus-1.2.4-2.fc9.i386
>>>       
> ...
>   
>>> Dec 20 18:01:21 localhost yum: Erased: dirmngr
>>> Dec 20 18:01:23 localhost yum: Erased: pygpgme
>>>       
> Was this the complete set of transactions that occurred on this day ?
> If you didn't fu, then something is seriously amiss here.
>   
Yes! I'd tried to do the updates first through yumex, but it complained 
about missing pygpme..... so I thought(!) maybe, as yum is supposed to 
be (IIUC) a front/back end to PackageKit, PK might be able to resolve 
things better - it did! permanent!!!
>   
>> way out the helpful people on Fedora could suggest was a reinstall of 
>> Fed 9 (which seems to have worked).
>>     
> Nasty.
>
>   
>> a) would it be possible to make a "Yum Live CD" to use in cases where 
>> yum/packagekit & co have disappeared?
>>     
> The rescue CD already has that.
>
>   
>> b) is it possible to use the original install CD to get yum back?
>>     
> Yes.
>
>   
>> c) how is it possible for a user to build a dependency list to be able 
>> to feed rpm when all else has failed???
>>     
> - go to friends computer, ask on a list...
> - type yum remove some files in your list.
> - no, don't do it
> - note all the packages that it wants to remove.
> - download each from either the current version from either releases or 
> updates-newkey.
> - rpm -Uvh the lot of them.
>
> DaveT.
>   
Thanks Dave, so,,, the rescue mode from the install or Live CD should 
have yum available in its as-is running state? I tried to rpm the yum 
from "packages" on the CD but got bogged down in missing dependencies....

Thanks for your help & suggestions

Dave

>
> ------------------------------
>
> _______________________________________________
> Yum mailing list
> Yum@xxxxxxxxxxxxxxxxx
> http://lists.baseurl.org/mailman/listinfo/yum
>
>
> End of Yum Digest, Vol 66, Issue 2
> **********************************
>
>   

_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux