Hi all,
I was having yum errors while updating our CentOS-2 box. Further reading lead me to a readme file on the mirrors (http://mirror.centos.org/centos-2/readme.txt) and it gave me the new URL to use for CentOS-2 mirrors. I have edited /etc/yum.conf with the new URLs but I'm still having issues with yum giving me "ValueError: unpack list of wrong size" errors.
Has anyone been able to update their yum configuration to be still able to use yum? How were you able to configure it?
I understand that CentOS-2 has now reached its EOL but we have a legacy application that won't run on newer distros.
on 9-23-2009 11:41 PM Matt Arnilo S. Baluyos (Mailing Lists) spake the following:
Hi all,
I was having yum errors while updating our CentOS-2 box. Further reading lead me to a readme file on the mirrors (http://mirror.centos.org/centos-2/readme.txt) and it gave me the new URL to use for CentOS-2 mirrors. I have edited /etc/yum.conf with the new URLs but I'm still having issues with yum giving me "ValueError: unpack list of wrong size" errors.
Has anyone been able to update their yum configuration to be still able to use yum? How were you able to configure it?
I understand that CentOS-2 has now reached its EOL but we have a legacy application that won't run on newer distros.
EOL means there will be no updates. So yum is not going to help you get updates that don't exist. Are you sure that the app won't run on newer distros, or you just might need a legacy library that isn't installed by default on a newer distro?
On Fri, Sep 25, 2009 at 7:20 AM, Scott Silva ssilva@sgvwater.com wrote:
on 9-23-2009 11:41 PM Matt Arnilo S. Baluyos (Mailing Lists) spake the following:
I understand that CentOS-2 has now reached its EOL but we have a legacy application that won't run on newer distros.
EOL means there will be no updates. So yum is not going to help you get updates that don't exist. Are you sure that the app won't run on newer distros, or you just might need a legacy library that isn't installed by default on a newer distro?
Hi Scott,
Thanks for the response.
The primary reason for our need to have the CentOS-2 mirrors is for automated installation of packages if needed rather than getting the latest package updates.
Also, as we have already put the system into production, it would be best for us to make do with what's in there already.
Regards, Matt
On 24/09/09 07:41, Matt Arnilo S. Baluyos (Mailing Lists) wrote:
I was having yum errors while updating our CentOS-2 box. Further reading lead me to a readme file on the mirrors (http://mirror.centos.org/centos-2/readme.txt) and it gave me the new URL to use for CentOS-2 mirrors.
what did you have as the baseurl earlier and what have you changed it to now ?
- KB
On Fri, Sep 25, 2009 at 8:16 AM, Karanbir Singh mail-lists@karan.org wrote:
On 24/09/09 07:41, Matt Arnilo S. Baluyos (Mailing Lists) wrote:
I was having yum errors while updating our CentOS-2 box. Further reading lead me to a readme file on the mirrors (http://mirror.centos.org/centos-2/readme.txt) and it gave me the new URL to use for CentOS-2 mirrors.
what did you have as the baseurl earlier and what have you changed it to now ?
Hi Karan,
This is the current /etc/yum.conf:
[root@odx root]# cat /etc/yum.conf [main] cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest
[base] name=CentOS-2 base baseurl=http://mirror.centos.org/centos-2/i386/CentOS/ ;baseurl=http://vault.centos.org/2.1/final/i386/CentOS/
[updates] name=CentOS-2 updates baseurl=http://mirror.centos.org/centos-2/updates/ ;baseurl=http://vault.centos.org/2.1/updates/i386/
;[extras] ;name=CentOS-2 extras ;baseurl=http://mirror.centos.org/centos-2/extras/
Note that I have reverted the URLs back to their default, the commented lines are what I tried earlier to be able to use the archived CentOS-2 mirrors.
On 28/09/09 04:17, Matt Arnilo S. Baluyos (Mailing Lists) wrote:
[base] name=CentOS-2 base baseurl=http://mirror.centos.org/centos-2/i386/CentOS/ ;baseurl=http://vault.centos.org/2.1/final/i386/CentOS/
that second url looks correct. Is it possible for you to post the complete trace from yum ?
- KB
On 28/09/09 04:17, Matt Arnilo S. Baluyos (Mailing Lists) wrote:
[updates] name=CentOS-2 updates baseurl=http://mirror.centos.org/centos-2/updates/ ;baseurl=http://vault.centos.org/2.1/updates/i386/
actually this one should be : http://vault.centos.org/2.1/updates/
( without the i386 at the end )