Re: How to delete this partial package?
Marc Espie wrote: > As far as removing the package, since it's just trying to checksum the file > before removing it, pkg_delete -c will take care of that... That's pkg_delete -q -- Christian "naddy" Weisgerber na...@mips.inka.de
Re: How to delete this partial package?
On Tue, Oct 23, 2012 at 11:29:11PM -0500, Francisco Valladolid H. wrote: > On Tue, Oct 23, 2012 at 11:14 PM, Salil Wadnerkar wrote: > > Hi Francisco, > > > > I am going to test my disk using Philip's suggestion. But, I am not > > sure I am following you. Are you suggesting me to update my current > > because this problem was found and fixed lately or you are just > > suggesting so because it's a good practice to keep our copy updated? > > I think, maybe the -current are outdated, OpenBSD use libraries from > base for pkg_* > > Maybe there are a disk I/O problems, you can check this also. This is quite a bit of nonsense. The diagnostic messages ARE clear. There is an IO error on a file in that package. This is *the* problem that needs more attention. Once you figure out what the problem is (most likely a bad reboot that somehow didn't get fsck love), removing the package will be easy. The partial package is a symptom, not the actual problem. As far as removing the package, since it's just trying to checksum the file before removing it, pkg_delete -c will take care of that... but that will just walk around the IO issue.
Re: How to delete this partial package?
On Tue, Oct 23, 2012 at 11:14 PM, Salil Wadnerkar wrote: > Hi Francisco, > > I am going to test my disk using Philip's suggestion. But, I am not > sure I am following you. Are you suggesting me to update my current > because this problem was found and fixed lately or you are just > suggesting so because it's a good practice to keep our copy updated? I think, maybe the -current are outdated, OpenBSD use libraries from base for pkg_* Maybe there are a disk I/O problems, you can check this also. Regards. > > Thanks > Salil > > On Wed, Oct 24, 2012 at 11:59 AM, Francisco Valladolid H. > wrote: >> Hi. >> >> you have to update your -current version of OpenBSD also. >> both kernel and system base. >> >> Regards. >> >> On Tue, Oct 23, 2012 at 10:31 PM, Philip Guenther wrote: >>> On Tue, Oct 23, 2012 at 7:44 PM, Salil Wadnerkar wrote: When I try to delete this partial package, I get these errors: >>> ... File /usr/local/share/locale/en@quot/LC_MESSAGES/pkg.c8llMmPSGl does not exist Read failed: Input/output error at /usr/libdata/perl5/OpenBSD/md5.pm line 59 I checked the source code. It is some coe that adds a file into some data structure (most probably, it is finding out which files to delete) and it fails to do so because the file is no longer there. How do I get rid of this partial package? >>> >>> The error message "Input/output error" indicates that the error is for >>> some other file which does exist but for which the kernel is reporting >>> an I/O error. That suggests that you have some sort of disk problem. >>> Has the kernel reported anything to dmesg? If dmesg doesn't show >>> anything, then I would fsck all your filesystems and, if that doesn't >>> find anything, do a read check by dd'ing the raw partitions to >>> /dev/null and see what that turns up. >>> >>> >>> Philip Guenther >>> >> >> >> >> -- >> Francisco Valladolid H. >> -- http://blog.bsdguy.net - Jesus Christ follower. -- Francisco Valladolid H. -- http://blog.bsdguy.net - Jesus Christ follower.
Re: How to delete this partial package?
Hi Francisco, I am going to test my disk using Philip's suggestion. But, I am not sure I am following you. Are you suggesting me to update my current because this problem was found and fixed lately or you are just suggesting so because it's a good practice to keep our copy updated? Thanks Salil On Wed, Oct 24, 2012 at 11:59 AM, Francisco Valladolid H. wrote: > Hi. > > you have to update your -current version of OpenBSD also. > both kernel and system base. > > Regards. > > On Tue, Oct 23, 2012 at 10:31 PM, Philip Guenther wrote: >> On Tue, Oct 23, 2012 at 7:44 PM, Salil Wadnerkar wrote: >>> When I try to delete this partial package, I get these errors: >> ... >>> File /usr/local/share/locale/en@quot/LC_MESSAGES/pkg.c8llMmPSGl does not >>> exist >>> Read failed: Input/output error at /usr/libdata/perl5/OpenBSD/md5.pm line 59 >>> I checked the source code. It is some coe that adds a file into some >>> data structure (most probably, it is finding out which files to >>> delete) and it fails to do so because the file is no longer there. >>> >>> How do I get rid of this partial package? >> >> The error message "Input/output error" indicates that the error is for >> some other file which does exist but for which the kernel is reporting >> an I/O error. That suggests that you have some sort of disk problem. >> Has the kernel reported anything to dmesg? If dmesg doesn't show >> anything, then I would fsck all your filesystems and, if that doesn't >> find anything, do a read check by dd'ing the raw partitions to >> /dev/null and see what that turns up. >> >> >> Philip Guenther >> > > > > -- > Francisco Valladolid H. > -- http://blog.bsdguy.net - Jesus Christ follower.
Re: How to delete this partial package?
Hi. you have to update your -current version of OpenBSD also. both kernel and system base. Regards. On Tue, Oct 23, 2012 at 10:31 PM, Philip Guenther wrote: > On Tue, Oct 23, 2012 at 7:44 PM, Salil Wadnerkar wrote: >> When I try to delete this partial package, I get these errors: > ... >> File /usr/local/share/locale/en@quot/LC_MESSAGES/pkg.c8llMmPSGl does not >> exist >> Read failed: Input/output error at /usr/libdata/perl5/OpenBSD/md5.pm line 59 >> I checked the source code. It is some coe that adds a file into some >> data structure (most probably, it is finding out which files to >> delete) and it fails to do so because the file is no longer there. >> >> How do I get rid of this partial package? > > The error message "Input/output error" indicates that the error is for > some other file which does exist but for which the kernel is reporting > an I/O error. That suggests that you have some sort of disk problem. > Has the kernel reported anything to dmesg? If dmesg doesn't show > anything, then I would fsck all your filesystems and, if that doesn't > find anything, do a read check by dd'ing the raw partitions to > /dev/null and see what that turns up. > > > Philip Guenther > -- Francisco Valladolid H. -- http://blog.bsdguy.net - Jesus Christ follower.
Re: How to delete this partial package?
On Tue, Oct 23, 2012 at 7:44 PM, Salil Wadnerkar wrote: > When I try to delete this partial package, I get these errors: ... > File /usr/local/share/locale/en@quot/LC_MESSAGES/pkg.c8llMmPSGl does not exist > Read failed: Input/output error at /usr/libdata/perl5/OpenBSD/md5.pm line 59 > I checked the source code. It is some coe that adds a file into some > data structure (most probably, it is finding out which files to > delete) and it fails to do so because the file is no longer there. > > How do I get rid of this partial package? The error message "Input/output error" indicates that the error is for some other file which does exist but for which the kernel is reporting an I/O error. That suggests that you have some sort of disk problem. Has the kernel reported anything to dmesg? If dmesg doesn't show anything, then I would fsck all your filesystems and, if that doesn't find anything, do a read check by dd'ing the raw partitions to /dev/null and see what that turns up. Philip Guenther
How to delete this partial package?
Hi, I am on OpenBSD current. While upgrading my packages from 5.1, I tried to add a package gnutls that was already there and due to some error, a partial package got created - partial-gnutls. When I try to delete this partial package, I get these errors: File /usr/local/share/locale/cs/LC_MESSAGES/pkg.qX9SMkCPZb does not exist File /usr/local/share/locale/de/LC_MESSAGES/pkg.Dfpr8PbT3X does not exist File /usr/local/share/locale/en@boldquot/LC_MESSAGES/pkg.wIH7fQJbhK does not exist File /usr/local/share/locale/en@quot/LC_MESSAGES/pkg.c8llMmPSGl does not exist Read failed: Input/output error at /usr/libdata/perl5/OpenBSD/md5.pm line 59 I checked the source code. It is some coe that adds a file into some data structure (most probably, it is finding out which files to delete) and it fails to do so because the file is no longer there. How do I get rid of this partial package? Thanks Salil