Re: [expert] urpmi woes
At 02:41 AM 11/19/2003 +, you wrote: It is the tree on the mirror that is broken. We will have to wait until it is fixed. It is the file 'list' in the contrib folder that is out of date. The list includes the old kernel packages that were replaced. I do not know how urpmi uses the list file. It is clearly not essential since not all sources have one. When it is eventually fixed do a urpmi.update -a to bring your database in line with the mirror. You should also be updating the database for your updates source frequently. I automate my updates in a cron job with this :- urpmi.update updates urpmi --update --auto --auto-select derek Thanks. I appreciate the input. One last question regarding sources for urpmi. I've been playing around with the commands to add media and remove media, just to get a feel for things. The only question I have now, is that when I do a search for samba, it only lists samba3. From what im gathering, it is searching the 'contrib' tree and not the 'main' tree. Is there a way to get urpmi to search both trees? Then, if I specifically want to look for samba3, I could type: urpmq -i samb3 or something similar? I appreciate it. Jason Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] urpmi woes
On Wednesday 19 Nov 2003 5:41 pm, Jason Williams wrote: SNIP One last question regarding sources for urpmi. I've been playing around with the commands to add media and remove media, just to get a feel for things. The only question I have now, is that when I do a search for samba, it only lists samba3. From what im gathering, it is searching the 'contrib' tree and not the 'main' tree. Is there a way to get urpmi to search both trees? Then, if I specifically want to look for samba3, I could type: urpmq -i samb3 or something similar? I appreciate it. Jason urpmq will search all available media unless you force it to use a specific media with --media or restrict it to update media with --update It may be your 'main' source is not configured properly or maybe you are just being misled by the way urpmq will return a limited list if there is a close match. Compare for example what is returned if you do :- urpmq samba urpmq samb urpmq --fuzzy samba derek -- -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] urpmi woes
At 06:20 PM 11/19/2003 +, you wrote: urpmq will search all available media unless you force it to use a specific media with --media or restrict it to update media with --update It may be your 'main' source is not configured properly or maybe you are just being misled by the way urpmq will return a limited list if there is a close match. Compare for example what is returned if you do :- urpmq samba urpmq samb urpmq --fuzzy samba derek Ok..not sure what the problem was, but I did the following and it appears to be working now. I removed all the urpmi media and then re-added it. I then updated all my media, but I got the following error. $ urpmi.update -a retrieving source hdlist (or synthesis) of updates... ...retrieving done examining synthesis file [/var/lib/urpmi/synthesis.hdlist.updates.cz] computing md5sum of existing source hdlist (or synthesis) examining MD5SUM file examining synthesis file [/var/lib/urpmi/synthesis.hdlist.main.cz] computing md5sum of existing source hdlist (or synthesis) examining MD5SUM file retrieving source hdlist (or synthesis) of contrib... computing md5sum of retrieved source hdlist (or synthesis) ...retrieving failed: md5sum mismatch retrieve of source hdlist (or synthesis) failed no hdlist file found for medium contrib examining synthesis file [/var/lib/urpmi/synthesis.hdlist.contrib.cz] Now, I see updates and contrib but I dont see main. It also appears that contrib failed as well. however, when I search for samba now, I get all the releases, 2.2.8a to 3.0.0. Any ideas on what happened with the update? Jason Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] urpmi woes
On Wednesday 19 Nov 2003 12:27 am, Jason Williams wrote: Ok...not sure if this should go here, but so far, i've had no luck in trying to resolve my problems with urpmi. Just did a fresh install of 9.2 on one of our IBM servers. I used the easy urpmi site to setup my urpmi servers so I could install software accordingly. Also, I should mention that I did go to http://www.urpmi.org and tried to read the how-to, but a lot of the pages are no longer active. Here is the problem. When I run urpmq --fuzzy, I get no response. Not sure why, but it does not list anything. Also, look at the following: $ urpmq -i samba3-common medium contrib uses an invalid list file: mirror is probably not up-to-date, trying to use alternate method Still gives the description, but that error is something i'd like to correct. Quick look at my urpmi.cfg: Installation\ CD\ 1\ (x86)\ (cdrom1) removable://mnt/cdrom/Mandrake/RPMS { hdlist: hdlist.Installation CD 1 (x86) (cdrom1).cz with_hdlist: ../../Mandrake/base/hdlist1.cz removable: /dev/hda key-ids: 70771ff3 } Installation\ CD\ 2\ (x86)\ (cdrom2) removable://mnt/cdrom/Mandrake/RPMS2 { hdlist: hdlist.Installation CD 2 (x86) (cdrom2).cz with_hdlist: ../../Mandrake/base/hdlist2.cz removable: /dev/hda key-ids: 70771ff3 } International\ CD\ (x86)\ (cdrom3) removable://mnt/cdrom/Mandrake/RPMS3 { hdlist: hdlist.International CD (x86) (cdrom3).cz with_hdlist: ../../Mandrake/base/hdlist3.cz removable: /dev/hda key-ids: 70771ff3 } updates ftp://mirrors.usc.edu/pub/linux/distributions/mandrake/updates/9.2/RPMS { hdlist: hdlist.updates.cz with_hdlist: ../base/hdlist.cz update } main ftp://mirrors.secsup.org/pub/linux/mandrake/Mandrake/9.2/i586/Mandrake/RPMS { hdlist: hdlist.main.cz with_hdlist: ../base/hdlist.cz key-ids: 70771ff3 } contrib ftp://mirror.cs.wisc.edu/pub/mirrors/linux/Mandrake/9.2/contrib/i586 { hdlist: hdlist.contrib.cz with_hdlist: ../../i586/Mandrake/base/hdlist2.cz list: list.contrib key-ids: 70771ff3 } Granted, I really do not want to use the CD's for any type of installation, but instead just use the ftp sites exclusively. With that in mind, I feel like im a little lost in the water here. What can I do to correct this problem? I appreciate everyones help and input. Cheers, Jason For urpmq --fuzzy you need to supply a string parameter For example urpmq --fuzzy samba That error with medium contrib uses an invalid list file: mirror is probably not up-to-date, trying to use alternate method is a temporary issue because the list file on the mirrors is currently out of date. It does not affect the operation of urpmi. It is just an annoyance. To remove your CD media type urpmi.removemedia You will be given a list of all the urpmi sources, then urpmi.removemedia media_name will remove a specific media. HTH derek -- -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] urpmi woes
On Tuesday 18 November 2003 07:27 pm, Jason Williams wrote: $ urpmq -i samba3-common medium contrib uses an invalid list file: mirror is probably not up-to-date, trying to use alternate method Still gives the description, but that error is something i'd like to correct. This happens to me all the time during the day, when many mirrors limit access for anonymous ftp. All it really means if you know your mirror entries are good, is that the script could not gain access to the server through anonymous ftp. Try again outside of business hours, or try another mirror. Being in the US, I use the European mirrors in the afternoon, because it is evening there, an Australian mirror for the same reason in the morning and the US mirrors in the evening. I actually get around this problem by keeping a local mirror of the dist, contrib and update trees on one of my servers, and sync them at night with a script. This way I never have to worry about mirror availability. -- /g Outside of a dog, a man's best friend is a book, inside a dog it's too dark to read -Groucho Marx Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] urpmi woes
On Tuesday 18 November 2003 07:40 pm, Derek Jennings wrote: is a temporary issue because the list file on the mirrors is currently out of date. It does not affect the operation of urpmi. It is just an annoyance. This is really only a cooker problem. The distribution mirrors should be fine. You probably are getting the error during the day because many mirrors limit anonymous ftp during business hours to reserve resources for faculty and staff, and the servers are extra busy right now because mandrake and fedora have both recently been released. -- /g Outside of a dog, a man's best friend is a book, inside a dog it's too dark to read -Groucho Marx Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] urpmi woes
At 12:40 AM 11/19/2003 +, you wrote: For urpmq --fuzzy you need to supply a string parameter For example urpmq --fuzzy samba Doh! Whoops...makes sense now. :) That error with medium contrib uses an invalid list file: mirror is probably not up-to-date, trying to use alternate method is a temporary issue because the list file on the mirrors is currently out of date. It does not affect the operation of urpmi. It is just an annoyance. Anyway to fix this manually? Or can I just resync my sources to get the updated tree? To remove your CD media type urpmi.removemedia You will be given a list of all the urpmi sources, then urpmi.removemedia media_name will remove a specific media. Worked like a charm. On a side note, anyone know if urpmi.org is going to be updated soon? HTH derek -- Cheers, Jason Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] urpmi woes
On Wednesday 19 Nov 2003 1:21 am, Jason Williams wrote: snip That error with medium contrib uses an invalid list file: mirror is probably not up-to-date, trying to use alternate method is a temporary issue because the list file on the mirrors is currently out of date. It does not affect the operation of urpmi. It is just an annoyance. Anyway to fix this manually? Or can I just resync my sources to get the updated tree? It is the tree on the mirror that is broken. We will have to wait until it is fixed. It is the file 'list' in the contrib folder that is out of date. The list includes the old kernel packages that were replaced. I do not know how urpmi uses the list file. It is clearly not essential since not all sources have one. When it is eventually fixed do a urpmi.update -a to bring your database in line with the mirror. You should also be updating the database for your updates source frequently. I automate my updates in a cron job with this :- urpmi.update updates urpmi --update --auto --auto-select derek Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com