Announcement

Collapse
No announcement yet.

slocale error

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    slocale error

    Hi
    I have a problem with the package slocate_2.7-4_i386.deb into the install disk of ubuntu 5.10.
    Wiyh synaptic I can't install it; the output is error type 2.
    What is this package for? It needs for kubuntu desktop package

    #2
    Re: slocale error

    Try to install that program from command line (it will show you detail error message)
    copy the deb file to computer then issue dpkg -i slocate_2.7-4_i386.deb, paste the error if can't figure it out.
    cheers!
    -=|From the desk of|=-
    «•´`•.(*•.¸(`•.¸ ¸.•´)¸.•*).•´`•»
    «•´¨*•.¸¸whoiam55.¸¸.•*¨`•»
    «•´`•.(¸.•´(¸.•* *•.¸)`•.¸).•´`•»
    Reg. Linux User # 400637

    Comment


      #3
      Re: slocate error

      Got the same error on Kubuntu 5.10:

      Code:
      (Reading database ... 53348 files and directories currently installed.)
      Unpacking slocate (from slocate_2.7-4_i386.deb) ...
      Removing `diversion of /etc/cron.daily/find to /etc/cron.daily/find.notslocate by slocate'
      dpkg-divert: rename involves overwriting `/etc/cron.daily/find' with
        different file `/etc/cron.daily/find.notslocate', not allowed
      dpkg: error processing slocate_2.7-4_i386.deb (--install):
       subprocess pre-installation script returned error exit status 2
      Errors were encountered while processing:
       slocate_2.7-4_i386.deb
      So what can I do to this? I am too newbie to get it myself.

      Comment


        #4
        Re: slocale error

        In your place, I would do dpkg -i --force-all slocate_2.7-4_i386.deb
        Don't do it if you don't know what you're doing, it can be harmfull. Just for me, this message means that it can't rename a cron task...

        Comment


          #5
          Re: slocale error

          Well, have to say I don't know...

          What can it depend on, that it can't do the renaming?

          Comment


            #6
            Re: slocale error

            i don't really get the reason, it can be because you're not root (if you're not using sudo..)
            Or the cron task is in use when you typed the command
            Or the cron task doesn't exist
            Maybe there's others, but I don't see...

            Comment


              #7
              Re: slocale error

              Interesting. Very interesting indeed.

              I first checked some of the options. Sudo used, can't depend on that. The cron task exists in 3 identical copies - named find, find.notslocate and find.notslocate.dpkg-new.

              Now tried the option --force-overwrite-diverted - did not help. (And I did this in the right directory.)
              Then --force-overwrite - no better.
              Finally, as you suggested, --force-all. And still got the same error message.

              And this time I did this using the CLI, not from Synaptic.

              Comment


                #8
                Re: slocale error

                and did you try to remove the task from the crontab ?
                Maybe if you would do so, it should be ok...

                Comment

                Working...
                X