FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 01-05-2008, 03:37 PM
yordy
 
Default prevent yum deleting downloaded updates

anybody know how to tell yum do not delete downloaded updates after apply this? In previous versions of Fedora I have to clear my cache manually because yum keep all downloaded updates, but in Fedora 8 yum delete all downloaded updates automatically.





______________________________________________
Web Revelación Yahoo! 2007:
Premio Favorita del Público.
http://es.promotions.yahoo.com/revelacion2007/favoritos/

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 01-05-2008, 04:10 PM
Rahul Sundaram
 
Default prevent yum deleting downloaded updates

yordy wrote:

anybody know how to tell yum do not delete downloaded updates after apply this? In previous versions of Fedora I have to clear my cache manually because yum keep all downloaded updates, but in Fedora 8 yum delete all downloaded updates automatically.




You should set keepcache=1 in /etc/yum.conf

Rahul

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 01-05-2008, 04:35 PM
Nigel Henry
 
Default prevent yum deleting downloaded updates

On Saturday 05 January 2008 17:37, yordy wrote:
> anybody know how to tell yum do not delete downloaded updates after apply
> this? In previous versions of Fedora I have to clear my cache manually
> because yum keep all downloaded updates, but in Fedora 8 yum delete all
> downloaded updates automatically.

Hi Yordy. Edit /etc/yum.conf as root, and change the line.
keepcache=0 to keepcache=1

While your at it, and if you want to keep more than the default 2 kernels, add
a line to the file as below.
installonly_limit=0

That will disable yum from trashing kernels you may want to keep (the 0 is a
zero by the way).

All the best.

Nigel.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 01-05-2008, 05:26 PM
David Boles
 
Default prevent yum deleting downloaded updates

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nigel Henry wrote:
| On Saturday 05 January 2008 17:37, yordy wrote:
|> anybody know how to tell yum do not delete downloaded updates after apply
|> this? In previous versions of Fedora I have to clear my cache manually
|> because yum keep all downloaded updates, but in Fedora 8 yum delete all
|> downloaded updates automatically.
|
| Hi Yordy. Edit /etc/yum.conf as root, and change the line.
| keepcache=0 to keepcache=1
|
| While your at it, and if you want to keep more than the default 2 kernels, add
| a line to the file as below.
| installonly_limit=0
|
| That will disable yum from trashing kernels you may want to keep (the 0 is a
| zero by the way).


I have to ask you Nigel. Why would you want to keep more that two kernels when
you have the one that is currently running and the previous one that was
running when the current one was installed?


- --


~ David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)

iEYEARECAAYFAkd/y8gACgkQAO0wNI1X4QFgPwCfYelgJd5F9sdP5eCJGy5ndpro
ijYAn35+Z6yFUmMeg8Zh3xrOswCcQSRh
=EG7F
-----END PGP SIGNATURE-----

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 01-05-2008, 06:43 PM
Lamar Owen
 
Default prevent yum deleting downloaded updates

On Saturday 05 January 2008, David Boles wrote:
> I have to ask you Nigel. Why would you want to keep more that two kernels
> when you have the one that is currently running and the previous one that
> was running when the current one was installed?

If you want to try out alternative kernels (like the kernel-rt from
PlanetCCRMA), it is nice to keep more than two.
--
Lamar Owen
www.pari.edu

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 01-05-2008, 07:07 PM
Nigel Henry
 
Default prevent yum deleting downloaded updates

On Saturday 05 January 2008 19:26, David Boles wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Nigel Henry wrote:
> | On Saturday 05 January 2008 17:37, yordy wrote:
> |> anybody know how to tell yum do not delete downloaded updates after
> |> apply this? In previous versions of Fedora I have to clear my cache
> |> manually because yum keep all downloaded updates, but in Fedora 8 yum
> |> delete all downloaded updates automatically.
> |
> | Hi Yordy. Edit /etc/yum.conf as root, and change the line.
> | keepcache=0 to keepcache=1
> |
> | While your at it, and if you want to keep more than the default 2
> | kernels, add a line to the file as below.
> | installonly_limit=0
> |
> | That will disable yum from trashing kernels you may want to keep (the 0
> | is a zero by the way).
>
> I have to ask you Nigel. Why would you want to keep more that two kernels
> when you have the one that is currently running and the previous one that
> was running when the current one was installed?

> ~ David

Hi David. Now that's an interesting question. First I must say that I use Apt,
not Yum, and Apt keeps all the kernels, unless you manually remove them,
which personally I prefer. I suppose that I just don't like the situation
where Yum decides which kernels are going to be available.

For one thing, I do like to keep the kernel that was installed when I
installed the distro. Usually this one works ok, so I don't want it trashed,
and is likely to happen if /etc/yum.conf is left as default.

Let's say that I don't like others making decisions for me.

Another example. This is not for Fedora, but Debian. I have 2.6.8, and 2.6.11
pre udev kernelsinstalled, and my video devices, bttv, and the ov511 webcam
are loaded in the correct order "Always". Kernels using udev are very hit and
miss. Sometimes bttv is /dev/video0 (correct), and ov511 is /dev/video1 (also
correct). Othertimes bttv is /dev/video1, and ov511 /dev/video0, and both
incorrect as regards the pre-udev kernels. Allright, you can write rules in
udev to get the ordering correct, but is nice if you still have the pre udev
kernels to confirm that pre udev kernels get the video devices in the correct
order.

What all of this comes down to, and considering that I'm on dialup. I don't
want the cache trashed as default with Yum, as I may have more than one
instance of the distro to update, and can use the downloaded packages to save
download time for the other Fedora instance that I want to update.

Regarding adding the line "installonly_limit=0" that is personal choice. As
far as I'm concerned, I like to be in control. It's easy to remove kernels
that you no longer want, but not so easy to re-install earlier kernels.

This was after all only a suggestion.

Nigel.




--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 01-05-2008, 07:12 PM
David Boles
 
Default prevent yum deleting downloaded updates

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Lamar Owen wrote:
| On Saturday 05 January 2008, David Boles wrote:
|> I have to ask you Nigel. Why would you want to keep more that two kernels
|> when you have the one that is currently running and the previous one that
|> was running when the current one was installed?
|
| If you want to try out alternative kernels (like the kernel-rt from
| PlanetCCRMA), it is nice to keep more than two.


In that case it would make sense.

- --


~ David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)

iEYEARECAAYFAkd/5McACgkQAO0wNI1X4QFQ7wCg4UqUnWaF2UdpZcB4Phijuo77
1gIAoL+rEOWS+sRBLEqkM1vhycI63WKx
=q2uc
-----END PGP SIGNATURE-----

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 01-05-2008, 07:16 PM
David Boles
 
Default prevent yum deleting downloaded updates

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nigel Henry wrote:
| On Saturday 05 January 2008 19:26, David Boles wrote:
|> -----BEGIN PGP SIGNED MESSAGE-----
|> Hash: SHA1
|>
|> Nigel Henry wrote:
|> | On Saturday 05 January 2008 17:37, yordy wrote:
|> |> anybody know how to tell yum do not delete downloaded updates after
|> |> apply this? In previous versions of Fedora I have to clear my cache
|> |> manually because yum keep all downloaded updates, but in Fedora 8 yum
|> |> delete all downloaded updates automatically.
|> |
|> | Hi Yordy. Edit /etc/yum.conf as root, and change the line.
|> | keepcache=0 to keepcache=1
|> |
|> | While your at it, and if you want to keep more than the default 2
|> | kernels, add a line to the file as below.
|> | installonly_limit=0
|> |
|> | That will disable yum from trashing kernels you may want to keep (the 0
|> | is a zero by the way).
|>
|> I have to ask you Nigel. Why would you want to keep more that two kernels
|> when you have the one that is currently running and the previous one that
|> was running when the current one was installed?
|
|> ~ David
|
| Hi David. Now that's an interesting question. First I must say that I use Apt,
| not Yum, and Apt keeps all the kernels, unless you manually remove them,
| which personally I prefer. I suppose that I just don't like the situation
| where Yum decides which kernels are going to be available.
|
| For one thing, I do like to keep the kernel that was installed when I
| installed the distro. Usually this one works ok, so I don't want it trashed,
| and is likely to happen if /etc/yum.conf is left as default.
|
| Let's say that I don't like others making decisions for me.
|
| Another example. This is not for Fedora, but Debian. I have 2.6.8, and 2.6.11
| pre udev kernelsinstalled, and my video devices, bttv, and the ov511 webcam
| are loaded in the correct order "Always". Kernels using udev are very hit and
| miss. Sometimes bttv is /dev/video0 (correct), and ov511 is /dev/video1 (also
| correct). Othertimes bttv is /dev/video1, and ov511 /dev/video0, and both
| incorrect as regards the pre-udev kernels. Allright, you can write rules in
| udev to get the ordering correct, but is nice if you still have the pre udev
| kernels to confirm that pre udev kernels get the video devices in the correct
| order.
|
| What all of this comes down to, and considering that I'm on dialup. I don't
| want the cache trashed as default with Yum, as I may have more than one
| instance of the distro to update, and can use the downloaded packages to save
| download time for the other Fedora instance that I want to update.
|
| Regarding adding the line "installonly_limit=0" that is personal choice. As
| far as I'm concerned, I like to be in control. It's easy to remove kernels
| that you no longer want, but not so easy to re-install earlier kernels.
|
| This was after all only a suggestion.


I was not being critical. I was just wondering why. Thanks for the
explanation. It is, of course, your choice. I was just curious.

I have seen you here many times and I am sure that you have seen some people
here do strange, much stranger, things. Often, ;-)

- --


~ David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)

iEYEARECAAYFAkd/5ZkACgkQAO0wNI1X4QEXFQCgreArfDogv+yAAWOCBC56mvkb
mp8AniWIImRssHL5QXgclyeSyarWKte2
=pUkf
-----END PGP SIGNATURE-----

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 01-06-2008, 01:15 PM
Tim
 
Default prevent yum deleting downloaded updates

On Sat, 2008-01-05 at 13:26 -0500, David Boles wrote:
> I have to ask you Nigel. Why would you want to keep more that two
> kernels when you have the one that is currently running and the
> previous one that was running when the current one was installed?

You mightn't notice that a kernel has *some* problems for a while, if
you don't use all the features all the time. Later on, when you have
some problem, it can be handy to have more than one alternative to test
with.

Occasionally there'll be a very quick release of a kernel update shortly
after another kernel update. That could end up deleting the only good
kernel.

--
(This computer runs FC7, my others run FC4, FC5 & FC6, in case that's
important to the thread.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 01-06-2008, 01:47 PM
David Boles
 
Default prevent yum deleting downloaded updates

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tim wrote:
| On Sat, 2008-01-05 at 13:26 -0500, David Boles wrote:
|> I have to ask you Nigel. Why would you want to keep more that two
|> kernels when you have the one that is currently running and the
|> previous one that was running when the current one was installed?
|
| You mightn't notice that a kernel has *some* problems for a while, if
| you don't use all the features all the time. Later on, when you have
| some problem, it can be handy to have more than one alternative to test
| with.
|
| Occasionally there'll be a very quick release of a kernel update shortly
| after another kernel update. That could end up deleting the only good
| kernel.


I have never had, touch wood, a kernel problem like that. I have no unusual
hardware. All of it is supported natively by Linux. I don't need special
drivers, non OSS software, or third party anything. Fedora, and all of the
other distributions that I have tried, installs with no problems and just
works on first reboot.

I don't own a laptop. I don't want to own a laptop. But if I did I would buy
one with natively supported hardware such as my desktop. One that would not
require that I search for non OSS drivers and such.

My everyday desktop computer is triple boot. It has Win XP PRO, Fedora 8 and
Fedora Rawhide. New kernels show up for Fedora 8 from time to time. New
kernels show up for Rawhide all of the time. The only time I have ever had a
problem with one of them, in Rawhide, is when they try something new to try to
support some off-the-wall hardware and it fails. Or they make a minor
adjustment that fails. And that is normally corrected the next day. Two at the
most.

And since I know how to quickly and easily fix a problem such as this, should
one arise, I feel that the default of two kernels if enough for me.

That is why I asked.
- --


~ David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)

iEYEARECAAYFAkeA6hsACgkQAO0wNI1X4QEq3QCghDPz7gqKmW Sdc2GqCoSLkvpL
5osAoJz1yAG9Qc/n+upo56gA6an3OQo2
=Ze46
-----END PGP SIGNATURE-----

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

Thread Tools




All times are GMT. The time now is 08:00 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org