Re: dselect, can't do update
Daniel Wagner [EMAIL PROTECTED] wrote: since yesterday i've a strange problem with dselect. i tried to look for new packages at the mirror ( i use sid ), and did a update in dselect, everything seemed to work, but at the end of operation the following errormessage came. |Reading Package Lists... Done |Building Dependency Tree... Done |Merging Available information |Replacing available packages info, using /var/cache/apt/available. |dpkg: parse error, in file `/var/cache/apt/available' near line 1020 package `blt': | `Replaces' field, reference to `blt-dev': error in version: version string has embedded spaces | |update available list script returned error exit status 2. |Press enter to continue. dpkg changed somewhat in version 1.9.8. I've been told that replacing /usr/lib/dpkg/methods/apt/update with the contents of http://people.debian.org/~bod/update helps with this. -- Colin Watson [EMAIL PROTECTED]
dselect, can't do update
hello, since yesterday i've a strange problem with dselect. i tried to look for new packages at the mirror ( i use sid ), and did a update in dselect, everything seemed to work, but at the end of operation the following errormessage came. |Reading Package Lists... Done |Building Dependency Tree... Done |Merging Available information |Replacing available packages info, using /var/cache/apt/available. |dpkg: parse error, in file `/var/cache/apt/available' near line 1020 package `blt': | `Replaces' field, reference to `blt-dev': error in version: version string has embedded spaces | |update available list script returned error exit status 2. |Press enter to continue. any suggestions what to do. i tried already to remove the available list to enforce the rebuild of it, but this didn't work. thx, daniel -- If you put your supper dish to your ear you can hear the sounds of a restaurant. -- Snoopy
Re: dselect, can't do update
On 6 Jun 2001, Daniel Wagner wrote: since yesterday i've a strange problem with dselect. i tried to look for new packages at the mirror ( i use sid ), and did a update in dselect, everything seemed to work, but at the end of operation the following errormessage came. |Reading Package Lists... Done |Building Dependency Tree... Done |Merging Available information |Replacing available packages info, using /var/cache/apt/available. |dpkg: parse error, in file `/var/cache/apt/available' near line 1020 package `blt': | `Replaces' field, reference to `blt-dev': error in version: version string has embedded spaces There are two or three instances of this in the blt and blt-demo packages; it looks like: ( 2.4i-1 )s/b ( 2.4i-1) or with j instead of i. | |update available list script returned error exit status 2. |Press enter to continue. any suggestions what to do. i tried already to remove the available list to enforce the rebuild of it, but this didn't work. There is probably a better way to do this... /var/cache/apt/available is built from the stuff in /var/lib/apt/lists, which is where the problem lies (in the file(s) for the main distribution). If you try to edit /var/cache/apt/available and rerun `update' your fixes get over written when the available file is built. If you edit the files in /var/lib/apt/lists to fix the problem (in the entries for the blt and blt-demo packages), apt notices that you don't have the same as what is in the remote archive and fetches the files again -- first downloading them into /var/lib/apt/lists/partial. If you interrupt the connection, apt will abandon the stuff in the partial directory and rebuilt the available file from what it has in lists (the `using old packages lists' message). So... do the edits in /var/lib/apt/lists, restart the update then interrupt it, wait for apt/dselect to timeout (ignore the error message), choose select ...all should be well (until next time, maybe). HTH - Bruce
Re: dselect, can't do update
Bruce Sass [EMAIL PROTECTED] writes: If you try to edit /var/cache/apt/available and rerun `update' your fixes get over written when the available file is built. If you edit the files in /var/lib/apt/lists to fix the problem (in the entries for the blt and blt-demo packages), apt notices that you don't have the same as what is in the remote archive and fetches the files again -- first downloading them into /var/lib/apt/lists/partial. Actually, I fixed the problem yesterday for myself by editing /var/lib/apt/lists/http.us.debian.org_debian_dists_unstable_main_binary-i386_Packages and apt did not download a new one on the next dselect update. I think maybe it compares timestamps and does not download a new packages file if the local one is newer. -- Dave Carrigan ([EMAIL PROTECTED])| Yow! The FALAFEL SANDWICH lands UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | on my HEAD and I become a Seattle, WA, USA| VEGETARIAN... http://www.rudedog.org/ |
Re: dselect, can't do update
On 6 Jun 2001, Dave Carrigan wrote: Bruce Sass [EMAIL PROTECTED] writes: If you edit the files in /var/lib/apt/lists to fix the problem (in the entries for the blt and blt-demo packages), apt notices that you don't have the same as what is in the remote archive and fetches the files again -- first downloading them into /var/lib/apt/lists/partial. Actually, I fixed the problem yesterday for myself by editing /var/lib/apt/lists/http.us.debian.org_debian_dists_unstable_main_binary-i386_Packages and apt did not download a new one on the next dselect update. I think maybe it compares timestamps and does not download a new packages file if the local one is newer. That's odd... not that it didn't re-fetch the packages files, but that it didn't for you and did for me. - Bruce
Re: dselect, can't do update
Dave Carrigan [EMAIL PROTECTED] writes: Bruce Sass [EMAIL PROTECTED] writes: If you try to edit /var/cache/apt/available and rerun `update' your fixes get over written when the available file is built. If you edit the files in /var/lib/apt/lists to fix the problem (in the entries for the blt and blt-demo packages), apt notices that you don't have the same as what is in the remote archive and fetches the files again -- first downloading them into /var/lib/apt/lists/partial. Actually, I fixed the problem yesterday for myself by editing /var/lib/apt/lists/http.us.debian.org_debian_dists_unstable_main_binary-i386_Packages and apt did not download a new one on the next dselect update. I think maybe it compares timestamps and does not download a new packages file if the local one is newer. A less intrusive method is to edit /var/cache/apt/available and then run dpkg --merge-avail /var/cache/apt/available - Hari -- Raja R Harinath -- [EMAIL PROTECTED] When all else fails, read the instructions. -- Cahn's Axiom Our policy is, when in doubt, do the right thing. -- Roy L Ash