LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   updates with yum (https://www.linuxquestions.org/questions/fedora-35/updates-with-yum-638324/)

chakka.lokesh 04-28-2008 12:12 AM

updates with yum
 
hi

I am using FC8. I am regularly using yum for updating purposes. I am also using the plug-in presto.

I gave the command yum update and it showed a list of updates for various applications.

here the issue is that, with respect to mozilla firefox, it was shown that size is 21M.

Quote:

firefox i386 2.0.0.14-1.fc8 updates 21 M
I observed at the time of downloading too. It is as follows:

Quote:

(5/16): firefox-2.0.0.14- 100% |=========================| 21 MB 08:55
yum substantiated with presto is supposed to download only the delta RPM (as per my knowledge goes, probably it means that only the files which changed) whose size will be ultimately very less........

when I checked the www.mozilla.com/en-US/ ; It is showing that size is only 9.2MB.

Can any body please explain me what is happening here????? :(

acid_kewpie 04-28-2008 04:47 AM

well it's not the same package, it's a rebuild by fedora, containing various changes. is there actually a problem here? if you're expecting a drpm to be used, then i assume you've not configured presto correctly, or you don't have a suitable pacakge already installed, http://lesloueizeh.com/f8/i386/updates/DRPMS/

chakka.lokesh 04-29-2008 01:05 AM

dear moderator,

Quote:

a rebuild by fedora, containing various changes
Can you please explain me a one or two changes with clear examples...

even if there are any changes, how far is it feasible, of doing changes which ultimately increases the size from 9.2 M.B. to 21 M.B.

Quote:

you've not configured presto correctly
I installed presto like this

Code:

yum install yum-presto
do i need to do any further work to make it function in a still better way?

Quote:

you don't have a suitable package already installed
If i don't have a suitable package already installed, it installs ok. If this is the case, I hope it should not be clubbed with the size of the firefox package. In other words it has to show it as two different entities(of course in two rows) separately. But this is not the thing which is happening....

acid_kewpie 04-29-2008 03:27 AM

TBH, i'm not sure what fedora's differences are. I think they add in a LOT of language packs for one.

i'd never heard of presto, so i went on google and saw a number of installation guides, i'd suggest you do the same.

a_m0d 05-01-2008 09:35 PM

Are you sure that there is a delta rpm available for firefox from the fedora repos? not every package has delta rpms available.

chakka.lokesh 05-02-2008 12:24 AM

I am not sure. I need to check.

can u plz tell me how to check it.....

chakka.lokesh 05-11-2008 11:06 PM

this seems to be the solution............
 
the same question i posted in the yum mailing list. one person replied me with the following stuff...

fedora's firefox includes many langpacks built-in.


and to me this seems to be a convincing answer to some extent.............










.

acid_kewpie 05-12-2008 03:29 AM

sure, but then that's nothing to do with the question you asked about presto...

chakka.lokesh 05-12-2008 04:23 AM

that is the reason why i kept the words SOME EXTENT...

any way, again i will question that reply

jdieter 05-12-2008 12:44 PM

Using Presto in fedora
 
Unfortunately, until the official yum repositories are presto-enabled, running
Code:

yum install yum-presto
isn't enough to get the deltarpms. You have to also edit the fedora-updates.repo file as specified in http://presto.fedorahosted.org. I hope this helps.

acid_kewpie 05-12-2008 01:02 PM

yeah i told that earlier, maybe he'll read it this time... :)

chakka.lokesh 05-13-2008 01:25 AM

hi jdieter

I gone through the link u provided.

the file: /etc/yum.repos.d/fedora-updates.repo contains the following:
Quote:

[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/$basearch/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

[updates-debuginfo]
name=Fedora $releasever - $basearch - Updates - Debug
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-f$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

[updates-source]
name=Fedora $releasever - Updates Source
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
~
~
~
Here there are totally three base URLs are there. can u please tell me which base URL I need to change...:confused:

billymayday 05-13-2008 01:30 AM

From the link provided

Quote:

To use the presto repository in Fedora 8, you need to change your baseurl in /etc/yum.repos.d/fedora-updates.repo to point to the one below.
i386: baseurl=http://lesloueizeh.com/f8/i386/updates
x86_64: baseurl=http://dl.anmar.eu.org/repos/f8/updates-x86_64
What isn't clear about this? CHange the updates repo base URL. It's the first entry (the one that's call Updates)

jdieter 05-13-2008 01:34 AM

You need to put a # in front of mirrorlist in the [updates] section, remove the # in front of baseurl, and change it to http://lesloueizeh.com/f8/i386/updates. So the section should look like this:
Quote:

[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
baseurl=http://lesloueizeh.com/f8/i386/updates
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

billymayday 05-13-2008 01:44 AM

You may find you will need to comment out the gpgcheck and gpgkey lines as well. Try it first, but these should fail.

jdieter 05-13-2008 02:35 AM

Uh, actually, no, the gpg signatures should work fine. The rpms are mirrored from the official repositories, and then the deltarpms are generated. The deltarpms will rebuild back into the *exact* rpm (including all signatures). If the gpg signatures fail, then something is wrong.

chakka.lokesh 05-13-2008 03:34 AM

hai people,

I changed the file like this.....
Quote:

[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/$basearch/
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
baseurl=http://lesloueizeh.com/f8/i386/updates
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
in the beginning it seemed to work fine showing the size as very small. and in end the following message came

Quote:

Error Downloading Packages:
tomcat5-servlet-2.4-api - 5.5.26-1jpp.2.fc8.i386: failure: updates/tomcat5-servlet-2.4-api-5.5.26-1jpp.2.fc8.i386.rpm from updates: [Errno 256] No more mirrors to try.
openoffice.org-calc - 1:2.3.0-6.14.fc8.i386: failure: updates/openoffice.org-calc-2.3.0-6.14.fc8.i386.rpm from updates: [Errno 256] No more mirrors to try.
what to do now?
Actually I am very much new to LINUX.
Please help me.

thanks.....




.

jdieter 05-13-2008 03:40 AM

It may be that yum still has the old repository information cached. Try running
Code:

yum clean metadata
and then try again. If there is still an error, please post the *whole* yum output.

chakka.lokesh 05-13-2008 05:43 AM

i cleaned metadata.

actually I installed all the packages of open office downloading directly the openoffice.org site.

after that i removed all of them using yum remove

will this create any problem?

actually, at the shell prompt, if i give openoffice.org2.4 it is opening the application but not loading any files or not even able to create the new blank file.

chakka.lokesh 05-13-2008 05:48 AM

if I give the command yum install openoffice.org-writer the following is coming

Quote:


.............
..........
Transaction Check Error:
file /usr/bin/unopkg from install of openoffice.org-core-2.3.0-6.14.fc8.i386 conflicts with file from package openoffice.org-freedesktop-menus-2.4-9268.noarch
file /usr/share/icons/hicolor/16x16/mimetypes/gnome-mime-application-vnd.oasis.opendocument.database.png from install of openoffice.org-core-2.3.0-6.14.fc8.i386 conflicts with file from package openoffice.org-freedesktop-menus-2.4-9268.noarch
file /usr/share/icons/hicolor/16x16/mimetypes/gnome-mime-application-vnd.oasis.opendocument.formula.png from install of openoffice.org-core-2.3.0-6.14.fc8.i386 conflicts with file from package openoffice.org.........
........
................


like this, a lot of conflicts(around 100 or like that) are coming....





.

chakka.lokesh 05-14-2008 01:24 AM

people,

thanks a lot for your help and also suggestions.

in opt/openoffice2.4 folder, I found the file uninstall. I run that file all the previous entries were deleted. also i installed the open office writer again using yum. no conflicts came, installation is success.....!!!!!

It is working fine...


All times are GMT -5. The time now is 12:48 PM.