Announcement

Collapse
No announcement yet.

Having problems with adding sources to Adept

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

    Having problems with adding sources to Adept

    Hi everyone,

    I have tried adding several servers recently by going into Adept package manager and hitting the Edit Software Sources button down at the bottom of the window, then going into the Third-Party Software tab and adding a server from there. The ones I have added are:

    deb http://www.opensourcemirrors.org/ubuntu hardy main universe
    deb http://ubuntu.secs.oakland.edu hardy main universe
    deb http://ppa.launchpad.net/probono/ubuntu hardy main

    I am pretty sure that all of these are working, but adept is still not updating my package list. I am trying to install the celementtree package and I know it exists on both the http://www.opensourcemirrors.org, and http://ubuntu.secs.oakland.edu servers but it will not show up when I type the package name into the search bar at the top of adept. Nor will it show up if I go into Konsole and type in sudo apt-get install celementtree. It says the package does not exist.

    The other thing that is bothering me is that I am unsure of whether Adept is updating the package database after I have added servers. I get a lot of errors when I type sudo apt-get update. And if I try to update within Adept it ALWAYS tells me:

    "Another process is using the packaging system database (probably some other Adept application or apt-get or aptitude).
    Would you like to attempt to resolve this problem? No will enter read-only mode and Cancel to quit and resolve this issue yourself."

    So I try hitting no and of course it runs through the list of servers and downloads the sources.list or whatever it needs to get successfully. But then when I search again in Adept, none of the packages that should be there are there! So I try hitting Yes on the dialog that tells me the package database is locked and I get another pop up error that says:

    "There was an error commiting changes. Possibly there was a problem downloading some packages or the commit would break packages."

    What gives? This shows up right when adept starts the batch update process. There is also another dialog box behind this one with another error saying that Adept failed to unlock the database.

    Of course the Adept Installer window is running in the background while I am updating my sources, but if I close that window, the "Software Sources" window closes too.

    I don't get it. Why can't I update my sources and add the new packages into my package database?

    Thank you for any help!

    Graham

    #2
    Re: Having problems with adding sources to Adept

    This is what I get when I try an apt-get update from konsole:

    Code:
    graham@Kubuntu:~$ sudo apt-get update
    [sudo] password for graham:
    Hit [url]http://archive.canonical.com[/url] hardy Release.gpg
    Ign [url]http://archive.canonical.com[/url] hardy/partner Translation-en_US
    Ign [url]http://ppa.launchpad.net[/url] hardy Release.gpg
    Ign [url]http://ppa.launchpad.net[/url] hardy/main Translation-en_US
    Hit [url]http://ubuntu.secs.oakland.edu[/url] hardy Release.gpg
    Ign [url]http://ubuntu.secs.oakland.edu[/url] hardy/main Translation-en_US
    Hit [url]http://archive.canonical.com[/url] hardy Release
    Hit [url]http://mirrors.xmission.com[/url] hardy Release.gpg
    Ign [url]http://mirrors.xmission.com[/url] hardy/main Translation-en_US
    Ign [url]http://ubuntu.secs.oakland.edu[/url] hardy/universe Translation-en_US
    Hit [url]http://ubuntu.secs.oakland.edu[/url] hardy Release
    Get:1 [url]http://ppa.launchpad.net[/url] hardy Release [27.6kB]
    Hit [url]ftp://ftp.ussg.iu.edu[/url] hardy Release.gpg
    Ign [url]http://mirrors.xmission.com[/url] hardy/restricted Translation-en_US
    Ign [url]http://mirrors.xmission.com[/url] hardy/universe Translation-en_US
    Ign [url]http://mirrors.xmission.com[/url] hardy/multiverse Translation-en_US
    Get:2 [url]ftp://ftp.ussg.iu.edu[/url] hardy/main Translation-en_US
    Ign [url]http://ppa.launchpad.net[/url] hardy/main Packages
    Get:3 [url]http://mirrors.xmission.com[/url] hardy-updates Release.gpg [189B]
    Ign [url]http://mirrors.xmission.com[/url] hardy-updates/main Translation-en_US
    Hit [url]http://ubuntu.secs.oakland.edu[/url] hardy/main Packages
    Ign [url]http://mirrors.xmission.com[/url] hardy-updates/restricted Translation-en_US
    Ign [url]http://mirrors.xmission.com[/url] hardy-updates/universe Translation-en_US
    Ign [url]http://mirrors.xmission.com[/url] hardy-updates/multiverse Translation-en_US
    Get:4 [url]http://mirrors.xmission.com[/url] hardy-security Release.gpg [189B]
    Ign [url]http://mirrors.xmission.com[/url] hardy-security/main Translation-en_US
    Hit [url]http://archive.canonical.com[/url] hardy/partner Packages
    Hit [url]http://ubuntu.secs.oakland.edu[/url] hardy/universe Packages
    Hit [url]http://ppa.launchpad.net[/url] hardy/main Packages
    Ign [url]ftp://ftp.ussg.iu.edu[/url] hardy/main Translation-en_US
    Ign [url]http://mirrors.xmission.com[/url] hardy-security/restricted Translation-en_US
    Ign [url]http://mirrors.xmission.com[/url] hardy-security/universe Translation-en_US
    Ign [url]http://mirrors.xmission.com[/url] hardy-security/multiverse Translation-en_US
    Get:5 [url]http://www.opensourcemirrors.org[/url] hardy Release.gpg [14.1kB]
    Get:6 [url]ftp://ftp.ussg.iu.edu[/url] hardy/universe Translation-en_US
    Get:7 [url]http://mirrors.xmission.com[/url] hardy-backports Release.gpg [189B]
    Ign [url]http://mirrors.xmission.com[/url] hardy-backports/restricted Translation-en_US
    Ign [url]http://mirrors.xmission.com[/url] hardy-backports/main Translation-en_US
    Ign [url]http://mirrors.xmission.com[/url] hardy-backports/multiverse Translation-en_US
    Ign [url]http://mirrors.xmission.com[/url] hardy-backports/universe Translation-en_US
    Get:8 [url]http://mirrors.xmission.com[/url] hardy-proposed Release.gpg [189B]
    Ign [url]http://mirrors.xmission.com[/url] hardy-proposed/restricted Translation-en_US
    Ign [url]http://mirrors.xmission.com[/url] hardy-proposed/main Translation-en_US
    Ign [url]http://mirrors.xmission.com[/url] hardy-proposed/multiverse Translation-en_US
    Ign [url]http://mirrors.xmission.com[/url] hardy-proposed/universe Translation-en_US
    Hit [url]http://mirrors.xmission.com[/url] hardy Release
    Ign [url]ftp://ftp.ussg.iu.edu[/url] hardy/universe Translation-en_US
    Hit [url]ftp://ftp.ussg.iu.edu[/url] hardy Release
    Get:9 [url]http://mirrors.xmission.com[/url] hardy-updates Release [58.5kB]
    Get:10 [url]http://www.opensourcemirrors.org[/url] hardy/main Translation-en_US [14.1kB]
    Hit [url]ftp://ftp.ussg.iu.edu[/url] hardy/main Packages
    56% [10 Translation-en_US bzip2 0] [9 Release 8371/58.5kB 14%] [Waiting for headers]bzip2: (stdin) is not a bzip2 file.
    Ign [url]http://www.opensourcemirrors.org[/url] hardy/main Translation-en_US
    Get:11 [url]http://www.opensourcemirrors.org[/url] hardy/universe Translation-en_US [14.1kB]
    61% [9 Release 22851/58.5kB 39%] [Waiting for headers] [Query]bzip2: (stdin) is not a bzip2 file.
    Hit [url]ftp://ftp.ussg.iu.edu[/url] hardy/universe Packages
    Ign [url]http://www.opensourcemirrors.org[/url] hardy/universe Translation-en_US
    Get:12 [url]http://mirrors.xmission.com[/url] hardy-security Release [58.5kB]
    Get:13 [url]http://mirrors.xmission.com[/url] hardy-backports Release [44.0kB]
    Get:14 [url]http://www.opensourcemirrors.org[/url] hardy Release [14.1kB]
    Ign [url]http://www.opensourcemirrors.org[/url] hardy Release
    Get:15 [url]http://mirrors.xmission.com[/url] hardy-proposed Release [58.5kB]
    Hit [url]http://mirrors.xmission.com[/url] hardy/main Packages
    Get:16 [url]http://mirrors.xmission.com[/url] hardy/restricted Packages [6986B]
    Hit [url]http://mirrors.xmission.com[/url] hardy/universe Packages
    Get:17 [url]http://mirrors.xmission.com[/url] hardy/multiverse Packages [179kB]
    Get:18 [url]http://www.opensourcemirrors.org[/url] hardy/main Packages [14.1kB]
    85% [17 Packages 134607/179kB 75%]bzip2: (stdin) is not a bzip2 file.
    Err [url]http://www.opensourcemirrors.org[/url] hardy/main Packages
     Sub-process bzip2 returned an error code (2)
    Get:19 [url]http://mirrors.xmission.com[/url] hardy-updates/main Packages [306kB]
    Get:20 [url]http://mirrors.xmission.com[/url] hardy-updates/restricted Packages [6636B]
    Get:21 [url]http://mirrors.xmission.com[/url] hardy-updates/universe Packages [90.2kB]
    Get:22 [url]http://www.opensourcemirrors.org[/url] hardy/universe Packages [14.1kB]
    Get:23 [url]http://mirrors.xmission.com[/url] hardy-updates/multiverse Packages [20.1kB]
    Get:24 [url]http://mirrors.xmission.com[/url] hardy-security/main Packages [55.3kB]
    Get:25 [url]http://mirrors.xmission.com[/url] hardy-security/restricted Packages [6636B]
    Get:26 [url]http://mirrors.xmission.com[/url] hardy-security/universe Packages [28.0kB]
    Get:27 [url]http://mirrors.xmission.com[/url] hardy-security/multiverse Packages [8222B]
    Get:28 [url]http://mirrors.xmission.com[/url] hardy-backports/restricted Packages [14B]
    Get:29 [url]http://mirrors.xmission.com[/url] hardy-backports/main Packages [101kB]
    Get:30 [url]http://mirrors.xmission.com[/url] hardy-backports/multiverse Packages [6747B]
    Get:31 [url]http://mirrors.xmission.com[/url] hardy-backports/universe Packages [59.2kB]
    Get:32 [url]http://mirrors.xmission.com[/url] hardy-proposed/restricted Packages [7074B]
    Get:33 [url]http://mirrors.xmission.com[/url] hardy-proposed/main Packages [74.7kB]
    Get:34 [url]http://mirrors.xmission.com[/url] hardy-proposed/multiverse Packages [13.0kB]
    Get:35 [url]http://mirrors.xmission.com[/url] hardy-proposed/universe Packages [20.3kB]
    97% [22 Packages bzip2 0]bzip2: (stdin) is not a bzip2 file.
    Err [url]http://www.opensourcemirrors.org[/url] hardy/universe Packages
     Sub-process bzip2 returned an error code (2)
    Fetched 1294kB in 4s (305kB/s)
    W: GPG error: [url]http://www.opensourcemirrors.org[/url] hardy Release: The following signatures were invalid: NODATA 1 NODATA 2
    W: Failed to fetch [url]http://www.opensourcemirrors.org/ubuntu/dists/hardy/main/binary-i386/Packages.bz2[/url] Sub-process bzip2 returned an error code (2)
    
    W: Failed to fetch [url]http://www.opensourcemirrors.org/ubuntu/dists/hardy/universe/binary-i386/Packages.bz2[/url] Sub-process bzip2 returned an error code (2)
    
    E: Some index files failed to download, they have been ignored, or old ones used instead.
    graham@Kubuntu:~$

    Comment


      #3
      Re: Having problems with adding sources to Adept

      anybody? I really don't want to have to install packages manually by downloading them and untar'ing them.. This situation never happened to me before in previous Ubuntu releases.

      Thanks,
      Graham

      Comment


        #4
        Re: Having problems with adding sources to Adept

        Hi Graham

        1) If you click on the link in your own post for http://www.opensourcemirrors.org you will find that the link is dead.

        2) What is the precise name of the package. I don't have very many repositories installed but a package appears named "python-celementtree." Is that the same or different? It's available in ubuntu.com/universe
        "A problem well stated is a problem half solved." --Charles F. Kettering
        "Sometimes the questions are complicated and the answers are simple."--Dr. Seuss

        Comment


          #5
          Re: Having problems with adding sources to Adept

          Thank you for the reply! I will remove the opensourcemirrors reference, thanks for letting me know it is dead. I wasn't as concerned with that as I am with being unable to see the celementtree package within Adept.

          The package I am looking for is Python-celementtree, yes. It is here: http://packages.ubuntu.com/hardy/python-celementtree and I have added three mirrors that have that package on them into my sources for third-party packages. You can see the mirrors that I added in the log I posted above.

          I just can't understand why it won't show up when I search for celementtree in adept.

          Comment


            #6
            Re: Having problems with adding sources to Adept

            I don't really use Adept. I use Synaptic. But celementree appears when I do a search in Adept. Even if you don't have the repository enabled you can get it here: http://linuxappfinder.com/package/python-celementtree

            On enabling extra repositories look here: http://www.psychocats.net/ubuntu/sources
            "A problem well stated is a problem half solved." --Charles F. Kettering
            "Sometimes the questions are complicated and the answers are simple."--Dr. Seuss

            Comment


              #7
              Re: Having problems with adding sources to Adept

              The application to which you refer is in the universe repository which is an official one. I wonder whether your addition of problematical links to sources has impacted on this.

              From within adept go to manage repositories/third party software and disable those you have added and ensure that all options on the Kubuntu software tab are checked. On clicking close adept will refresh.

              If you cannot get adept to run you can run the command kdesu kate/etc/apt/sources.list which will enable you to edit the sources file. You can delete the offending entries i.e those that are showing errors when you run apt-get and that ought to get adept running. Then proceed as above.

              Hope this helps.

              ian

              Comment

              Working...
              X