On Mon, Jan 26, 2004 at 05:33:38PM +0800, Jasmine CHUA wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Hi all, > > I faced a problem when I tried to do: > apt-file search kernel-package > Can't locate object method "host" via package "URI::_foreign" (perhaps you > forgot to load "URI::_foreign"?) at /usr/bin/apt-file line 225. > Hi Jasmine, according to: dpkg -S URI|grep foreign this file is in the package: liburi-perl this file or partition it is on may be damaged or corrupted. try: apt-get install --reinstall liburi-perl or you may need to do this, if apt-get doesnt work.
dpkg -i /var/cache/apt/archive/liburi-per.........(fill in version) if this doesnt work, give more details. -Kev > I did not mess with my Perl installation, and I just left it as default. How > do I fix this? > > There seem no apparent solution to this thread (same problem as me) as well > though the thread is rather old already. > http://lists.debian.org/debian-user/2003/debian-user-200302/msg05510.html > > I am using debian 3.0-r2 and kernel 2.4.18-bf2.4. Also, apt/stable uptodate > 0.5.4. Please help! :-( > > Many Thanks, > jasmine > -----BEGIN PGP SIGNATURE----- > Version: PGP 7.0.1 > > iQA/AwUBQBTe8f4wcdIw6CVjEQJJvACgxokw8yfoDHlqMcP7xJBQ6ZAcpkgAoMvl > LUR5UfxvWc71gW6AfEERBfZA > =Mv6e > -----END PGP SIGNATURE----- > >
signature.asc
Description: Digital signature