Results 1 to 8 of 8

Thread: having problems installing software with aptitude

  1. #1
    Join Date
    Mar 2013
    Beans
    1

    having problems installing software with aptitude

    i'm completely new to Linux, let alone Ubuntu.

    i'm following the following tutorial: http://www.hammondslegacy.com/forum/...php?f=40&t=194

    i'm having issue with this part:


    1. At the $ prompt, type aptitude -y install vim-nox for use instead of the built-in VI editor. more info
    2. At the $ prompt, type aptitude -y install p7zip-full to install 7-zip archive utility.
    3. At the $ prompt, type aptitude -y install sendemail to install a command-line email utility.


    whenever i try entering these commands, the packages do not install.

    here's an example of an error i get when trying to install sendmail:

    Code:
    Couldn't find any package whose name or description matched "sendmail"
    Couldn't find any package whose name or description matched "sendmail"
    No packages will be installed, upgraded, or removed.
    0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B of archives. After unpacking 0 B will be used.
    can someone help me out please?

  2. #2
    Join Date
    May 2011
    Beans
    Hidden!

    Re: having problems installing software with aptitude

    Do you have the universe repository enabled? Open the software center > edit menu > software sources > check "community maintained...."
    Then, if the local cache doesn't start to update, run
    Code:
    sudo apt-get update
    _

  3. #3
    Join Date
    Apr 2011
    Location
    3rd Rock from the Sun
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: having problems installing software with aptitude

    Open "Ubuntu Software Center" and install the packages you need. To be able to download and install certain software you need to enable "INDEPENDENT" and/or "PARTNER" Repositories. This can be done with "Software Sources".

    By the way Ubuntu uses apt-get and not aptitude by default.

    $ sudo apt-get install packagename
    "Evolution is Nature's way of issuing upgrades."


  4. #4
    Join Date
    Mar 2013
    Location
    Southwest USA
    Beans
    54
    Distro
    Ubuntu

    Re: having problems installing software with aptitude

    Some suggestions:
    (Obligatory DAGS comment).

    I think your main problem is not running aptitude as root (sudo, sudo -i, etc).

    Go here (very cool!) http://repogen.simplylinux.ch/
    Generate a sources list.
    ctrl-alt-t to open a terminal, ctrl-shift-t to open a second tab in the terminal window (the first tab will be "frozen" (whatever the correct term is) when you open Nautilus).
    Code:
    gksudo nohup nautilus
    (gksudo is (one of) the correct method(s) to run a GUI program as root. nohup just lets you close the terminal without killing Nautilus.).
    Navigate to /etc/apt/sources.list, double click on sources.list (it should open in gedit as root), immediately save as sources.list.old.
    Copy sources list (synaptic version), paste in gedit, save as sources.list.
    Now use apt-get:
    Code:
    sudo apt-get update
    sudo apt-get install vim-nox
    Repeat sudo apt-get install for other packages.

    This should be bullet proof.

    I would install synaptic. It works great for me.

  5. #5
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu 14.10 Utopic Unicorn

    Re: having problems installing software with aptitude

    Have you run
    Code:
    sudo apt-get update

  6. #6
    Join Date
    Mar 2011
    Location
    19th Hole
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: having problems installing software with aptitude

    Hello and welcome to both the forums and Ubuntu/Linux in general.

    Could you tell us why you are trying to install sendmail? Unless your circumstances are non-standard, you don't need this app. Mail clients like Thunderbird, Evolution and Sylpheed can be configured to sync with your email provider and send through their smtp or imap server.
    Newb: How far must I jump to clear the ledge halfway down?
    Guru: It's bad to jump off cliffs. Let's look at better options.
    Newb: Stop harping about "best practices" and just let me jump.


  7. #7
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: having problems installing software with aptitude

    I guess the OP is trying to install sendemail, not sendmail.

  8. #8
    Join Date
    Mar 2011
    Location
    19th Hole
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: having problems installing software with aptitude

    Quote Originally Posted by schragge View Post
    I guess the OP is trying to install sendemail, not sendmail.
    Ahh. My bad. Thanks for clarification. Going cross-eyed in my decrepitude.
    Newb: How far must I jump to clear the ledge halfway down?
    Guru: It's bad to jump off cliffs. Let's look at better options.
    Newb: Stop harping about "best practices" and just let me jump.


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
  •