Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
How can i remove this file !
Results 1 to 7 of 7

Thread: How can i remove this file !

  1. #1
    LiNuts
    Guest

    How can i remove this file !

    I am using Libranet 1.9.1, and when i go to use apt-get or dpkg i get this message :

    reading database: dpkg error processing <package> (--install):
    unable to open files list file for package 'korganizer': permission denied.
    errors were encountered while processing <package>.
    processing was halted because there were too many errors.

    There is a file in /var/lib/dpkg/info called korganizer.list, but i cannot remove it, even as root i get a permission denied message.

    As it stands at the moment i can neither add or remove any packages. Is there a way i can delete or at least move this file.
    All help greatly appreciated. ( I dont want to do a re-install, but if i cant find a way around this then i probably will have to)

    Cheers
    LiNuts

  2. #2

    Re:How can i remove this file !

    whats the permissions on the file?
    try doing a chmod o+rw <file>
    then try delete ir
    whatdoyougetwhenyoumultiplysixbynine??

  3. #3
    LiNuts
    Guest

    Re:How can i remove this file !

    Quote Originally Posted by alastair
    whats the permissions on the file?
    try doing a chmod o+rw <file>
    then try delete ir
    I cant even look at it, i tried pico - vim and a host of other editors, but i get the same"permission denied error"

    "edit": I just tried the chmod and got permission denied agaian ???
    Cheers
    LiNuts

  4. #4
    LiNuts
    Guest

    Re:How can i remove this file !

    I have been doing a bit of revision on chmod, and found that if the file has a 0 (zero) it means that it has no permissions at all, does that mean no one can change the file or does it mean that anyone can change it.

    I tried to look at the attributes on it with lsattr korganizer.list. but it wont even let look at it.

    Ive noticed that if i do a locate or find on the file it says its in /var/lib/dpkg/info. but when i do an ls -al in the info dir its not there,

    Unless i can get this figured out, it looks like a re-install job, I wouldn't mind except that i have downloaded some decent changes, and as i have a dial-up connection, its going to be a pain in backside to have to re-download it all again.
    Cheers
    LiNuts

  5. #5
    JimH
    Guest

    Re:How can i remove this file !

    Try booting single user mode and see if it helps. Have you tried renaming or moving the file before you try and delete it?

    I haven't had a problem with one of the zero byte files in a long time. I can't remember how to delete them. :'( I know there is a way to do it. While you are in single user mode you might aslo run fsck on the drive or partition.

    Jim H

  6. #6

    Re:How can i remove this file !

    a ha!
    try this, i had a few permission denied errors a shory while ago
    check the parmissions of the _parent_ folder, that will be info/
    i should have the x attribute.
    if it doesn't, do a chmod a+x info on the folder and try again

    Alastair
    whatdoyougetwhenyoumultiplysixbynine??

  7. #7
    LiNuts
    Guest

    Re:How can i remove this file !

    Thats one of the things i tried before, the folder permissions were o.k. as i could edit all the files in info except korganizer.list.

    Ah well i guess i'll bite the bullet and do a re-install >

    Thanks for all the help, be back in a couple of hours :

    Cheers
    LiNuts

Similar Threads

  1. remove a rpm
    By svar in forum Linux - General Topics
    Replies: 4
    Last Post: 11-16-2010, 01:10 AM
  2. Replies: 0
    Last Post: 11-24-2008, 01:38 AM
  3. how do i remove a immutable file from reiserfs
    By LiNuts in forum Linux - General Topics
    Replies: 5
    Last Post: 07-05-2002, 05:16 PM
  4. How can I remove a line in a file?
    By t048 in forum Linux - Software, Applications & Programming
    Replies: 10
    Last Post: 03-17-2002, 09:57 PM
  5. can't remove a core file
    By neo77777 in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 01-04-2002, 11:58 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •