Results 1 to 10 of 10

Thread: Need Help With Path in Terminal

  1. #1
    Join Date
    Oct 2010
    Location
    Upstate NY
    Beans
    262
    Distro
    Ubuntu 10.04 Lucid Lynx

    Need Help With Path in Terminal

    I am not exactly a beginner but it's been awhile since I tried to anything technical in Ubuntu and I am forced to use a Windoze computer at work. I have forgotten how to write paths properly and Googling hasn't been any help. I need to install subsonic again and the directions on the site said do this:

    • Download the Subsonic .deb package and install it: sudo dpkg -i subsonic-x.x.deb

    I wrote to the app developer for help when I typed the above into the terminal and got this:

    $ sudo dpkg -i subsonic-x.x.deb
    dpkg: error processing subsonic-x.x.deb (--install):
    cannot access archive: No such file or directory
    Errors were encountered while processing:
    subsonic-x.x.deb

    He said Please replace "subsonic-x.x.deb" with the full path of the file you downloaded.

    The file is here:

    /home/windyridge/Desktop/Downloads/subsonic-4.6.deb

    What exactly should I type because what I typed didn't work. I know I have typed the path/command wrong somehow.

  2. #2
    Join Date
    Nov 2005
    Location
    New York, USA
    Beans
    1,223
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Need Help With Path in Terminal

    Code:
    sudo dpkg -i /home/windyridge/Desktop/Downloads/subsonic-4.6.deb
    When the dev said subsonic-x.x.deb the "x's" refer to the version number of file. In this case 4.6.

    When you literally put in the command:
    sudo dpkg -i subsonic-x.x.deb
    It could not find the file because no file of that name exits.

    As a shortcut, you can substitute the tilde key"~" for the /home/windyridge part so another way to type the command would be:

    Code:
    sudo dpkg -i ~/Desktop/Downloads/subsonic-4.6.deb
    Hope this helps

    Edit:

    You realize you can also just double click the subsonic-4.6.deb file and it will run the installer for you graphically. It will prompt you for your sudo password before installing anything.
    Last edited by mgmiller; July 8th, 2012 at 02:58 AM. Reason: additional information
    Using Ubuntu since Warty Warthog (4.10)
    32 bit 5.04>5.10>6.06>6.10>7.04>7.10>8.04>8.10>9.04>9.10
    64 bit 9.10 upgraded to 10.04>10.10>11.04>11.10>12.04>14.04

  3. #3
    Join Date
    Oct 2010
    Location
    Upstate NY
    Beans
    262
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Need Help With Path in Terminal

    Yes it worked, thansk so much! And thanks for the very quick response!

  4. #4
    Join Date
    Nov 2005
    Location
    New York, USA
    Beans
    1,223
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Need Help With Path in Terminal

    You're welcome....
    Using Ubuntu since Warty Warthog (4.10)
    32 bit 5.04>5.10>6.06>6.10>7.04>7.10>8.04>8.10>9.04>9.10
    64 bit 9.10 upgraded to 10.04>10.10>11.04>11.10>12.04>14.04

  5. #5
    Join Date
    Oct 2010
    Location
    Upstate NY
    Beans
    262
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Need Help With Path in Terminal

    Well eveything worked and then stopped. All of a sudden my Subsonic server stopped working and wouldn't even load. The router port and IP's all are fine. I changed nothing. I decided to reinstall the server and then got this error.

    java.lang.OutOfMemoryError

    is this the program or Ubuntu? Basically subsonic streams all my music to my android phone. The server stopped working and now nothing.

  6. #6
    Join Date
    Oct 2010
    Location
    Upstate NY
    Beans
    262
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Need Help With Path in Terminal

    Better error printout:



    eption java.lang.OutOfMemoryError Message Java heap space Java version Sun Microsystems Inc. 1.6.0_24 Operating system Linux 3.2.0-26-generic-pae Server jetty-6.1.x Memory Used 96 of 96 MB Stack trace java.lang.OutOfMemoryError: Java heap space

  7. #7
    Join Date
    Oct 2010
    Location
    Upstate NY
    Beans
    262
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Need Help With Path in Terminal

    How do I uninstall this program? I think that's what I need to do.

  8. #8
    Join Date
    Feb 2009
    Beans
    Hidden!

    Re: Need Help With Path in Terminal

    sudo dpkg -r subsonic

    or

    sudo dpkg -r subsonic-4.6

  9. #9
    Join Date
    Oct 2010
    Location
    Upstate NY
    Beans
    262
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Need Help With Path in Terminal

    Thanks. I think a Java update may have broken it. Is there a way to roll back to a previous Java? I have 12.04 LTS.

  10. #10
    Join Date
    Nov 2005
    Location
    New York, USA
    Beans
    1,223
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Need Help With Path in Terminal

    This is apparently a known issue. Take a look here for clues to add memory to java:
    http://forum.subsonic.org/forum/viewtopic.php?t=6291%29
    Using Ubuntu since Warty Warthog (4.10)
    32 bit 5.04>5.10>6.06>6.10>7.04>7.10>8.04>8.10>9.04>9.10
    64 bit 9.10 upgraded to 10.04>10.10>11.04>11.10>12.04>14.04

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
  •