you need a space eg. rm -f <space> /var/lib/rpm/__db*
On Wed, 2003-02-05 at 09:57, John Salamone wrote: > Here's my output from it. > > [root@curly root]# rm -f/var/lib/rpm/__db* > rm: invalid option -- / > Try `rm --help' for more information. > [root@curly root]# rm --help > Usage: rm [OPTION]... FILE... > Remove (unlink) the FILE(s). > > -d, --directory unlink FILE, even if it is a non-empty directory > (super-user only) > -f, --force ignore nonexistent files, never prompt > -i, --interactive prompt before any removal > -r, -R, --recursive remove the contents of directories recursively > -v, --verbose explain what is being done > --help display this help and exit > --version output version information and exit > > To remove a file whose name starts with a `-', for example `-foo', > use one of these commands: > rm -- -foo > > rm ./-foo > > Note that if you use rm to remove a file, it is usually possible to recover > the contents of that file. If you want more assurance that the contents are > truly unrecoverable, consider using shred. > > Report bugs to <[EMAIL PROTECTED]>. > [root@curly root]# > > ----- Original Message ----- > From: "Gordon Messmer" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, February 04, 2003 7:12 PM > Subject: Re: LinNeighborhood > > > > On Tue, 2003-02-04 at 15:50, John Salamone wrote: > > > > On Tue, 2003-02-04 at 15:29, John Salamone wrote: > > > > > The remove command didn't work. It came back and said rm: invalid > > > option -- > > > > > / > > > > > > > > > > rm -f /var/lib/rpm/__db* > > > > > > > > Try again and make sure you enter the command exactly as it is above. > > > > Cut and past it. > > > > > > same result as before > > > > Well, then, I'm not sure what to tell you. If I cut and paste that > > command, I don't get errors. There is only one option to rm, and that > > is "-f". > > > > It may be that there's some problem cut-n-pasting between an old X > > application and a new terminal (with the UTF-8 changes, I've seen it > > happen), but somehow or other you're going to need to type that command > > and remove those files. > > > > > > > > > > -- > > redhat-list mailing list > > unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe > > https://listman.redhat.com/mailman/listinfo/redhat-list > > -- Mark Bradbury (RHCE)- Senior System Support Officer (UNIX) Information Technology & Management Support Northern Territory University, Darwin, NT, 0909 Ph 08 8946 6167, Mobile 0417 860 591, Fax 08 8046 6630 CRICOS Provider No: 00300K -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list