Announcement

Collapse
No announcement yet.

URGENT: "sudo: command not found" after calibre installation

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

    URGENT: "sudo: command not found" after calibre installation

    Unfortunately, I followed instructions on the calibre web site and executed this command:

    sudo python -c "import urllib2; exec urllib2.urlopen('http://status.calibre-ebook.com/linux_installer').read(); main()"

    Ever since, my shell can not find sudo or find, to mention two commands I use a lot.

    What the bloody %^&*( has happened to my system? How do I get it back?

    Where should sudo and find be in the file system? They are not in /usr/bin/ (which is where calibre was installed).
    'I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.' Mark Twain

    #2
    Re: URGENT: "sudo: command not found" after calibre installation

    I can't find dpkg either. So this may be difficult to fix.

    Damn! >
    'I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.' Mark Twain

    Comment


      #3
      Re: URGENT: "sudo: command not found" after calibre installation

      sudo, find and dpkg are all located in /usr/bin on my system

      Comment


        #4
        Re: URGENT: "sudo: command not found" after calibre installation

        That's what I was afraid of. The installation asked what directory calibre was in. I replied /usr/bin/calibre and it said that was not a directory name. So I gave /usr/bin and now the %^&*( SOB has replaced by /usr/bin by a load of ^&*:

        ls /usr/bin

        $ ls /usr/bin
        array.so gtk._gtk.so libstdc++.so.6 PIL._imaging.so
        binascii.so _hashlib.so libtiff.so.3 plugins
        _bisect.so _heapq.so libunrar.so pyexpat.so
        bz2.so ImageMagick libwmflite-0.2.so.7 PyQt4.QtCore.so
        calibre _imagingft.so libxml2.so.2 PyQt4.QtGui.so
        calibre-complete _imaging.so libxslt.so.1 PyQt4.QtNetwork.so
        calibre-customize itertools.so libz.so.1 PyQt4.QtScript.so
        calibredb libbz2.so.1 loader PyQt4.Qt.so
        calibre-debug libcrypto.so.0.9.8 loader.zip PyQt4.QtSvg.so
        calibre-mount-helper libexslt.so.0 _locale.so PyQt4.QtTest.so
        calibre-parallel libgcrypt.so.11 lrf2lrs PyQt4.QtWebKit.so
        calibre_postinstall libgpg-error.so.0 lrfviewer PyQt4.QtXml.so
        calibre-server libgthread-2.0.so.0 lrs2lrf qtplugins
        calibre-smtp libjpeg.so.7 _lsprof.so _random.so
        _codecs_cn.so libMagickCore.so.2 lxml.etree.so readline.so
        _codecs_hk.so libMagickWand.so manifest resources
        _codecs_iso2022.so libmng.so.1 markdown-calibre resource.so
        _codecs_jp.so libopenjpeg.so.2 math.so select.so
        _codecs_kr.so libphonon.so.4 _md5.so sgmlop.so
        _codecs_tw.so libpng12.so.0 mmap.so _sha256.so
        _collections.so libpodofo.so.0.6.99 _multibytecodec.so _sha512.so
        cPickle.so libpoppler-qt4.so.3 _multiprocessing.so _sha.so
        cStringIO.so libpoppler.so.5 numpy.core.multiarray.so sip.so
        _csv.so libpython2.6.so.1.0 numpy.core.scalarmath.so _socket.so
        _ctypes.so libQtCore.so.4 numpy.core._sort.so _sqlite3.so
        _curses.so libQtDBus.so.4 numpy.core.umath.so _ssl.so
        datetime.so libQtGui.so.4 numpy.fft.fftpack_lite.so strop.so
        ebook-convert libQtNetwork.so.4 numpy.lib._compiled_base.so _struct.so
        ebook-device libQtSvg.so.4 numpy.linalg.lapack_lite.so termios.so
        ebook-meta libQtWebKit.so.4 numpy.random.mtrand.so time.so
        ebook-viewer libQtXml.so.4 operator.so unicodedata.so
        fcntl.so librarything parser.so _weakref.so
        fetch-ebook-metadata libreadline.so.6 pdfmanipulate web2disk
        _functools.so libsqlite3.so.0 pdftohtml zlib.so
        grp.so libssl.so.0.9.8 PIL._imagingft.so

        I think I have been screwed (pardon my French)! Is there any way to recover that or am I on my way to a re-install of Kubuntu?

        Double damn!!
        'I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.' Mark Twain

        Comment


          #5
          Re: URGENT: calibre installation has DESTROYED /usr/bin. Help, please!

          Is it possible to obtain a zip of /usr/bin from Jaunty? I'd need the unzip program too, since it is ... in /usr/bin?
          'I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.' Mark Twain

          Comment


            #6
            Re: URGENT: "sudo: command not found" after calibre installation

            Maybe you could burn a 9.04 Live CD, and copy the /usr/bin file over from that? (but not with that system, obviously). I'm guessing -- seems like it would get you the "bare essentials" to start rebuilding with. :P

            Comment


              #7
              Re: URGENT: "sudo: command not found" after calibre installation

              When I try to execute, say, mail, I get a message saying:

              # mail
              bash: /usr/bin/python: No such file or directory
              bash: mail: command not found

              Unix is written in C. Is the whole bloody Kubuntu system written in python?
              'I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.' Mark Twain

              Comment


                #8
                Re: URGENT: "sudo: command not found" after calibre installation

                I take it from this:

                http://www.kde.org/announcements/announce-4.1-beta2.php

                that most KDE packages are C++, but some are python.

                Comment

                Working...
                X