Announcement

Collapse
No announcement yet.

Need help. Messed up adept source list

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

    Need help. Messed up adept source list

    I was trying to get the gstreamer engine installed for Amarok, and couldn't find it, so tried uninstalling, and was unsuccessful at getting rid of all the files when I did so. I reinstalled, tried again, and got advice from somone on the Ubuntu forums, and here's what happened:

    . You need to add the Multiverse repository to /etc/apt/sources.list. Add the line deb http://nl.archive.ubuntu.com/ubuntu/ dapper multiverse. Apparently you modify the nl part to the country you’re in, so mine was "us".
    2. sudo apt-get update
    3. sudo apt-get install libxine-extracodecs (This will install your mp3 support).
    4. Shut down Amarok, then run AmaroK. You might need to restart the sound server with killall artsd, or reboot, but I found the mp3 support took effect straight away.
    Thanks McSnickered, I tried adding that line, and replaced nl with us, as I"m in the US as well. But after that, I got this message after trying to restart adept:

    Quote:
    "The APT Database could not be opened! This may be caused by incorrect APT configuration or some similar problem. Try running apt-setup and apt-get update in terminal and see if it helps to resolve the problem."

    I've tried a few sudo apt get commands to no avail, and now I"m stuck. Seems I keep digging my hole deeper, and deeeeeper. This is not my only problem with Kubuntu at the moment, so I may wind up doing a clean re-install after all this, and going back to standard Ubuntu, though it would be really good to learn as much as possible this time around, so I don't run into the same problems next time.

    I actually wound up uninstalling Amarok before the adept move, and reinstalled it, but my entire database was still there, and it didn't install the way it did the first time, so I guess a bunch of config files were left over. I wanted it totally out of the system, and didn't know where to look for left over stuff. Amarok then acted strangly when it ran, as it kept on displaying a screen on the left asking to build its database, even after I did so several times, and restarted it.
    At this point, I'm definitely pretty much ready to re-install Ubuntu, but not before I figure this part out.

    Doug

    #2
    Re: Need help. Messed up adept source list

    Going back to Ubuntu?!  This is serious!! 

    Kidding aside, this sounds fixable.  First thing to do:  replace the existing source file with one that works.  A short list of instructions is at: https://www.starrhorse.com/kubuntu-h...modify_pkg_rep.

    Once that's done, try
    Code:
    sudo apt-get install --reinstall amarok gstreamer0.8-plugins-multiverse gstreamer0.8-ffmpeg gstreamer0.8-mad gstreamer0.8-plugins gstreamer0.8-lame
    on the command-line.

    Comment


      #3
      Re: Need help. Messed up adept source list

      Very fixable (I hope)

      1. First, you need to open up sources.list to check what's making Adept crash (Adept tries to check sources.list everytime it starts up). In case you don't know how, right click on /etc/apt/sources.list and click on Actions > Edit as Root.

      You could probably post the contents of your sources.list so we could check what's wrong. You can also get a nice clean sources.list here: http://www.psychocats.net/ubuntu/sources.php

      After you have fixed your sources.list, just "sudo apt-get update" or launch Adept and click on Fetch Updates.

      2. As far as I know, GStreamer support in KDE is broken, that's why we're using Xine. That's also why Amarok won't be able to use GStreamer. To be able to get MP3 support in Kubuntu, you have to install a package called libxine-extracodecs, also in the multiverse repository. The good news is, unlike GStreamer, this is the only codec you need to install (aside from w32codecs).

      3. If you were able to uninstall Amarok, chances are a lot of stuff might have been removed with it. To bring back the default stuff that was installed in Kubuntu, reinstall the package kubuntu-desktop. Of course, you can do this after you have fixed your sources.list.

      Hope that helps. And hope we're not too late.
      Jucato's Data Core

      Comment


        #4
        Re: Need help. Messed up adept source list

        Nope, not too late, thank you. I'm going to walk through each of the listed steps and post back when done. I appreciate the help. I originally inatalled all my codecs with Automatix. How do people feel about using that script here ? It seemed to work pretty well actually, and got my video driver working right off the bat, when the initial install of the drivers failed, so I thought it a good thing.

        Also, if I DO use Automatix, should I revert back to the default source lists ?

        Doug

        Comment


          #5
          Re: Need help. Messed up adept source list

          Jucato, here's what's in my source list file:
          I think the problem is the first two top lines.
          deb http://us.archive.ubuntu.com/ubuntu/
          http://us.archive.ubuntu.com/ubuntu/
          ## Automatix sources.list
          ## This is automatically generated by Automatix


          ####################################
          ### Official Ubuntu Repositories ###
          ####################################

          # Dapper Final Release Repository
          deb http://archive.ubuntu.com/ubuntu dapper main
          deb-src http://archive.ubuntu.com/ubuntu dapper main

          deb http://archive.ubuntu.com/ubuntu dapper restricted
          deb-src http://archive.ubuntu.com/ubuntu dapper restricted

          deb http://archive.ubuntu.com/ubuntu dapper universe
          deb-src http://archive.ubuntu.com/ubuntu dapper universe

          deb http://archive.ubuntu.com/ubuntu dapper multiverse
          deb-src http://archive.ubuntu.com/ubuntu dapper multiverse

          # Dapper Security Updates
          deb http://archive.ubuntu.com/ubuntu dapper-security main
          deb-src http://archive.ubuntu.com/ubuntu dapper-security main

          deb http://archive.ubuntu.com/ubuntu dapper-security restricted
          deb-src http://archive.ubuntu.com/ubuntu dapper-security restricted

          deb http://archive.ubuntu.com/ubuntu dapper-security universe
          deb-src http://archive.ubuntu.com/ubuntu dapper-security universe

          deb http://archive.ubuntu.com/ubuntu dapper-security multiverse
          deb-src http://archive.ubuntu.com/ubuntu dapper-security multiverse

          # Dapper Bugfix Updates
          deb http://archive.ubuntu.com/ubuntu dapper-updates main
          deb-src http://archive.ubuntu.com/ubuntu dapper-updates main

          deb http://archive.ubuntu.com/ubuntu dapper-updates restricted
          deb-src http://archive.ubuntu.com/ubuntu dapper-updates restricted

          deb http://archive.ubuntu.com/ubuntu dapper-updates universe
          deb-src http://archive.ubuntu.com/ubuntu dapper-updates universe

          deb http://archive.ubuntu.com/ubuntu dapper-updates multiverse
          deb-src http://archive.ubuntu.com/ubuntu dapper-updates multiverse

          # Dapper Backports (new software versions, provided by the Ubuntu Backports Project)
          # deb http://archive.ubuntu.com/ubuntu dapper-backports main
          # deb-src http://archive.ubuntu.com/ubuntu dapper-backports main

          # deb http://archive.ubuntu.com/ubuntu dapper-backports restricted
          # deb-src http://archive.ubuntu.com/ubuntu dapper-backports restricted

          deb http://archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
          deb-src http://archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

          # deb http://archive.ubuntu.com/ubuntu dapper-backports universe
          # deb-src http://archive.ubuntu.com/ubuntu dapper-backports universe

          # deb http://archive.ubuntu.com/ubuntu dapper-backports multiverse
          # deb-src http://archive.ubuntu.com/ubuntu dapper-backports multiverse

          deb http://archive.canonical.com/ubuntu dapper-commercial main


          ##############################
          ### Automatix Repositories ###
          ##############################

          deb http://www.getautomatix.com/apt kubuntu main

          ## created by automatixrepo2
          I was actually trying to delete those two top lines last night, but couldn't figure out how to get into it as root, thanks ! But I won't do anything until I get the confirmation that those are the bad lines.

          If it turns out they are, how can I get rid of everything which was installed w/Amarok, so I can start fresh ? Just re-instally kubuntu-desktop like you've said already ? Is that pretty much the way to get everything back to the way it was right after I installed Kubuntu for the first time ? Thanks so much, again.

          Doug

          Comment


            #6
            Re: Need help. Messed up adept source list

            Automatix is good. Just make sure you're using the right version (the Automatix for Kubuntu is different from the Automatix for Ubuntu). IIRC, Automatix reverts to your original sources.list after it's done. But there's no harm in baking a backup of your sources.list before you run Automatix.

            Good Luck!

            EDIT: The problem is that the first two lines:

            do nothing at all. better just delete it.
            Jucato's Data Core

            Comment


              #7
              Re: Need help. Messed up adept source list

              Done. Working. You're the man. (or woman) 8)

              Regards,
              Doug

              Comment


                #8
                Re: Need help. Messed up adept source list

                One more thing. I was about to install Kubuntu desktop, but it said it would break something. Not sure what that would be though. Just to let you know, I've uninstalled all my media players, Xine and most other things associated with video/music playback.

                Don't ask why, I think I just went nuts and did what I typically used to do in Windows, which was uninstall everything and try to start fresh. It's sort of an idiosyncratic move I make that I have to break out of the habit of doing. In this case however, it wasn't really to my benefit.

                Is there a good/simple and clean way to make things all nice and fresh again ?

                Doug

                Comment

                Working...
                X