Announcement

Collapse
No announcement yet.

aptitude and apt-get does not work (SOLVED)

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

    aptitude and apt-get does not work (SOLVED)

    I installed Dapper on a Sony Vaio and most features work, however some don't.
    When i want to install a new program, for instance Firefox, i write in a shell the following: 'sudo aptitude install firefox' , just as shown in all kinds of support sites and forums it can't find any candidates or packages. It looks like this:

    tobbe@tobbe-laptop:~$ sudo aptitude install firefox
    Password:
    Läser paketlistor... Färdig
    Bygger beroendeträd... Färdig
    Reading extended state information
    Initializing package states... Färdig
    Building tag database... Färdig
    No candidate version found for firefox
    No packages will be installed, upgraded, or removed.
    0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0B of archives. After unpacking 0B will be used.
    Writing extended state information... Färdig

    I also have a language problem and i am not able to get my kubuntu to talk swedish to me.

    I have a feeling that these problems are related.

    When i do 'sudo aptitude update' it does'nt connect to the server at all.
    I get a IP adress that says (1.0.0.0).

    Also i cannot play CD, mp3 or DVD. System sounds work fine.
    Apparently i need to install libxine-extracodecs but i get the same errormessage as above.

    My repositories are updated from the psycocats site

    I hope that some one can help me with this.

    Torbjörn

    #2
    Re: aptitude and apt-get does not work

    Not everyone will agree with what I'm about to suggest, but I recommend that you not use aptitude.  Use apt-get, or one of the graphical installers - Adept or Synaptic - instead. 

    The first command I issue after a new install is

    Code:
    apt-get install gksu
    apt-get install synaptic
    Then, I launch Synaptic, enable the Universe and Multiverse repositories, and never look back. I saved libexine-extracodecs.deb and libdvdcss2.deb from previous installations and install them using Konqueror.

    HTH

    Comment


      #3
      Re: aptitude and apt-get does not work

      Yes, but since apt-get doesn't work, i cant do much at all.
      I started messing with the file etc/apt/sources.list and added /dists/ to the source adresses and had some better luck, somethings updatet but not all.
      Now it tries to install firefox but it can't find the packages and no release candidate.

      Comment


        #4
        Re: aptitude and apt-get does not work

        try adept (k-menu, system, adept) to install apps. it has a GUI interface for everything, including changing repositories, searching/installing/removing apps and the like. you have to run it as root, so it will ask for the root pw when you launch it.

        also, apt won't work unless you use a "sudo" in front of it. so, to update the repositories, say:
        Code:
        sudo apt-get update
        then, to install firefox,
        Code:
        sudo apt-get install firefox
        post with any questions...

        oh...and my 2 cents on apt/adept/aptitude/synaptic...i stick with apt and adept...synaptic didnt do much for me and i have never been a fan of aptitude... :-X

        Comment


          #5
          Re: aptitude and apt-get does not work

          Ok, problem solved!

          The bug here was the DNS settings in Linux that were set by default to my computers IP adress when in fact they were supposed to be the IP adress of my internet provider.
          After overwriting the old ones everything appears to be working.
          I can apt-get or aptitude and it works ok.
          Even Amarok works.

          I found the solution here:
          http://kubuntuforums.net/forums/index.php?topic=7768.0

          Thanks for all your efforts.
          Tlindgren

          Comment

          Working...
          X