Announcement

Collapse
No announcement yet.

Update error

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

    Update error

    HI
    I have been trying to tweak my Dapper Drake 6.06 to use the programs I want it to. e.g Firefox, Thunderbird. After MANY trials and errors and no success I decided to format my Linux (keep my /home on another drive) and reinstall Dapper from the live CD I received from Kubuntu. All went well, everything that used to work works BUT I still cannot tweak things as I wish. I seem to have problems getting adept to work. The program opens but ONLY shows what is installed. It doesn't allow me to install programs, update, etc. For example if i type Firefox all that is shown is "mozilla-firefox" as being installed already (NOT version 1.5), etc.
    I THINK the problem is connected to an announcement I got towards the end of the install process. Up came a dialog box with the word "error" on the top. In the box was written "cannot access security updates". By the way I installed twice and both times the same notice came up. The only thing I kept from my previous installation was my /home partition.
    Help will be appreciated. Could the problem be related to a bug on the CD? Or my /home partition? At a total loss.
    TIA
    Errol

    #2
    Re: Update error

    The reason you got the error "cannot access security updates" is because Kubuntu was unable to get on the Internet at the time it was installing.  (Do you have a wireless set up?)

    Firefox will not display its version number in Adept until you click the blue arrow beside its name.  Make sure you have the 'not installed', 'installed', and 'upgradeable' boxes checked beneath the search box in Adept.  That should show you all the packages.

    Also, you may want to enable more repositories.  Go here to do that: http://kubnewb.blogspot.com/2006/06/...tories-in.html

    Comment


      #3
      Re: Update error

      Hi Rob
      Thanks for your reply. No I don't have wirelss BUT I do have to set up my IP manually so the reason you give for getting that message is logical. It still doesn't explain the inability to get updates and\or other programs using adept.
      I'll try your instructions for more repositaries. Maybe that'll help but the problem remains.
      Errol

      Comment


        #4
        Re: Update error

        I would also make sure the security repositories, and any others for that matter are re-enabled if need be. and maybe try installing synaptic, which is a better package manager atm

        if you cannot update or install anything from adept, try doing it from the command line:
        Code:
        sudo apt-get update
        sudo apt-get upgrade
        sudo apt-get install synaptic
        this will also give out better error messages which may help track the problems down

        Comment


          #5
          Re: Update error

          Hi Claydoh
          Below is the full text of what I get whengiving the commands you suggested. To me it apprears that I have some sort of "block" to any for of program installations or upgrades. Does that seem to be the problem?
          Erro

          errol@errolinux:~$ sudo apt-get update
          Password:
          Reading package lists... Done
          errol@errolinux:~$ sudo apt-get upgrade
          Reading package lists... Done
          Building dependency tree... Done
          0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
          errol@errolinux:~$ sudo apt-get install synaptic
          Reading package lists... Done
          Building dependency tree... Done
          Package synaptic is not available, but is referred to by another package.
          This may mean that the package is missing, has been obsoleted, or
          is only available from another source
          E: Package synaptic has no installation candidate
          errol@errolinux:~$

          Comment


            #6
            Re: Update error

            post the contents your your /etc/apt/sources.list ... you can do this by typing
            Code:
            kwrite /etc/apt/sources.list
            selecting all the text (contol + a) and copying it (control + c), then pasting the text in the post reply form (control + v)
            <br /><br />*temp. hiatus from forums due to comp + net broken* :&#039;(

            Comment


              #7
              Re: Update error

              I am posting both the messages I get when typing "kwrite /etc/apt/sources.list" AND the contents of the sources list

              KWRITE /ETC/APT/SOURCES.LIST

              X Error: BadDevice, invalid or uninitialized input device 166
              Major opcode: 144
              Minor opcode: 3
              Resource id: 0x0
              Failed to open device
              X Error: BadDevice, invalid or uninitialized input device 166
              Major opcode: 144
              Minor opcode: 3
              Resource id: 0x0
              Failed to open device
              X Error: BadDevice, invalid or uninitialized input device 166
              Major opcode: 144
              Minor opcode: 3
              Resource id: 0x0
              Failed to open device
              X Error: BadDevice, invalid or uninitialized input device 166
              Major opcode: 144
              Minor opcode: 3
              Resource id: 0x0
              Failed to open device
              ScimInputContextPlugin()
              ~ScimInputContextPlugin()
              errol@errolinux:~$ sudo kwrite /etc/apt/sources.list
              Password:
              X Error: BadDevice, invalid or uninitialized input device 166
              Major opcode: 144
              Minor opcode: 3
              Resource id: 0x0
              Failed to open device
              X Error: BadDevice, invalid or uninitialized input device 166
              Major opcode: 144
              Minor opcode: 3
              Resource id: 0x0
              Failed to open device
              Link points to "/tmp/ksocket-root"
              Xlib: connection to ":0.0" refused by server
              Xlib: No protocol specified

              kdeinit: Can't connect to the X Server.
              kdeinit: Might not terminate at end of session.
              Link points to "/tmp/kde-root"
              Xlib: connection to ":0.0" refused by server
              Xlib: No protocol specified

              kded: cannot connect to X server :0.0
              DCOP aborting call from 'anonymous-6848' to 'kded'
              kded: ERROR: Communication problem with kded, it probably crashed.
              ScimInputContextPlugin()

              CONTENTS OF SOURCES LIST
              # Line commented out by installer because it failed to verify:
              #deb http://au.archive.ubuntu.com/ubuntu/ dapper main restricted
              # Line commented out by installer because it failed to verify:
              #deb-src http://au.archive.ubuntu.com/ubuntu/ dapper main restricted

              ## Major bug fix updates produced after the final release of the
              ## distribution.
              # Line commented out by installer because it failed to verify:
              #deb http://au.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
              # Line commented out by installer because it failed to verify:
              #deb-src http://au.archive.ubuntu.com/ubuntu/ dapper-updates main restricted

              ## Uncomment the following two lines to add software from the 'universe'
              ## repository.
              ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
              ## team, and may not be under a free licence. Please satisfy yourself as to
              ## your rights to use the software. Also, please note that software in
              ## universe WILL NOT receive any review or updates from the Ubuntu security
              ## team.
              # deb http://au.archive.ubuntu.com/ubuntu/ dapper universe
              # deb-src http://au.archive.ubuntu.com/ubuntu/ dapper universe

              ## Uncomment the following two lines to add software from the 'backports'
              ## repository.
              ## N.B. software from this repository may not have been tested as
              ## extensively as that contained in the main release, although it includes
              ## newer versions of some applications which may provide useful features.
              ## Also, please note that software in backports WILL NOT receive any review
              ## or updates from the Ubuntu security team.
              # deb http://au.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
              # deb-src http://au.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

              # Line commented out by installer because it failed to verify:
              #deb http://security.ubuntu.com/ubuntu dapper-security main
              # Line commented out by installer because it failed to verify:
              #deb-src http://security.ubuntu.com/ubuntu dapper-security main
              # deb http://security.ubuntu.com/ubuntu dapper-security universe
              # deb-src http://security.ubuntu.com/ubuntu dapper-security universe

              Errol

              Comment


                #8
                Re: Update error

                yup, your repos were disabled.
                To fix, simply remove the "#" from every line that has "deb" or "deb-src"

                and while you are at it, you can enable multiverse by going to the last two lines in this section:
                ## Uncomment the following two lines to add software from the 'universe'
                ## repository.
                ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
                ## team, and may not be under a free licence. Please satisfy yourself as to
                ## your rights to use the software. Also, please note that software in
                ## universe WILL NOT receive any review or updates from the Ubuntu security
                ## team.
                # deb http://au.archive.ubuntu.com/ubuntu/ dapper universe
                # deb-src http://au.archive.ubuntu.com/ubuntu/ dapper universe
                and editing them to read like this:
                deb http://au.archive.ubuntu.com/ubuntu/ dapper universe multiverse
                deb-src http://au.archive.ubuntu.com/ubuntu/ dapper universe multiverse
                You will need to edit this with sudo, either by navigating to /etc/apt/ and right-clicking on the file sources.list, and selectind "actions" then "edit as root" or you can run this command in a terminal:
                Code:
                kdesu kate /etc/apt/sources.list
                Or, probably easier, open adept and goto Adept/manage Repositories. Once there, simply right-click on any line with deb or deb-src in it and select "enable" , then when you are done don't forget "apply"

                Now you can run Adept, apt-get or synaptic and update your system and install things.

                I imagine if you use the livecd to install again, you should probably set up your net connection in there before you begin, though you still will probably have to do it again once Kubuntu is installed.

                Comment


                  #9
                  Re: Update error

                  Claydoh
                  THANK YOU!!! I'll try this when I get home and report.
                  Errol

                  Comment


                    #10
                    Re: Update error

                    claydoh Hi
                    My sources list now looks like this: Is this correct?
                    After the sources.list is a secind question, if you (or anyone) would relate to, please.

                    # Line commented out by installer because it failed to verify:
                    deb http://au.archive.ubuntu.com/ubuntu/ dapper main restricted
                    # Line commented out by installer because it failed to verify:
                    deb-src http://au.archive.ubuntu.com/ubuntu/ dapper main restricted

                    ## Major bug fix updates produced after the final release of the
                    ## distribution.
                    # Line commented out by installer because it failed to verify:
                    deb http://au.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
                    # Line commented out by installer because it failed to verify:
                    deb-src http://au.archive.ubuntu.com/ubuntu/ dapper-updates main restricted

                    ## Uncomment the following two lines to add software from the 'universe'
                    ## repository.
                    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
                    ## team, and may not be under a free licence. Please satisfy yourself as to
                    ## your rights to use the software. Also, please note that software in
                    ## universe WILL NOT receive any review or updates from the Ubuntu security
                    ## team.
                    deb http://au.archive.ubuntu.com/ubuntu/ dapper universe multiverse
                    deb-src http://au.archive.ubuntu.com/ubuntu/ dapper universe multiverse

                    ## Uncomment the following two lines to add software from the 'backports'
                    ## repository.
                    ## N.B. software from this repository may not have been tested as
                    ## extensively as that contained in the main release, although it includes
                    ## newer versions of some applications which may provide useful features.
                    ## Also, please note that software in backports WILL NOT receive any review
                    ## or updates from the Ubuntu security team.
                    deb http://au.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse
                    deb-src http://au.archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

                    # Line commented out by installer because it failed to verify:
                    deb http://security.ubuntu.com/ubuntu dapper-security main
                    # Line commented out by installer because it failed to verify:
                    deb-src http://security.ubuntu.com/ubuntu dapper-security main
                    deb http://security.ubuntu.com/ubuntu dapper-security universe
                    deb-src http://security.ubuntu.com/ubuntu dapper-security universe


                    Second question:
                    My adept doesn't seem to be doing any more than it did. It still seems to "block" upgrades and new programs. Could it be related to the script that comes up when typing "kdesu kate /etc/apt/sources.list". This is what appears - to me it seems to indicate a problem!

                    errol@errolinux:~kdesu kate /etc/apt/sources.list
                    X Error: BadDevice, invalid or uninitialized input device 166
                    Major opcode: 144
                    Minor opcode: 3
                    Resource id: 0x0
                    Failed to open device
                    X Error: BadDevice, invalid or uninitialized input device 166
                    Major opcode: 144
                    Minor opcode: 3
                    Resource id: 0x0
                    Failed to open device
                    X Error: BadDevice, invalid or uninitialized input device 166
                    Major opcode: 144
                    Minor opcode: 3
                    Resource id: 0x0
                    Failed to open device
                    X Error: BadDevice, invalid or uninitialized input device 166
                    Major opcode: 144
                    Minor opcode: 3
                    Resource id: 0x0
                    Failed to open device
                    X Error: BadDevice, invalid or uninitialized input device 166
                    Major opcode: 144
                    Minor opcode: 3
                    Resource id: 0x0
                    Failed to open device
                    X Error: BadDevice, invalid or uninitialized input device 166
                    Major opcode: 144
                    Minor opcode: 3
                    Resource id: 0x0
                    Failed to open device
                    kbuildsycoca running...
                    ScimInputContextPlugin()
                    QObject::disconnect: Unexpected null parameter
                    ~ScimInputContextPlugin()
                    errol@errolinux:~$

                    Comment


                      #11
                      Re: Update error

                      I cannot remember what those errors mean, but they are iirc more informational and are not anything that is contributing to the problem you are having. I get similar messages running gui apps from the commandline, kdesu being used or not, all without problem.

                      Comment


                        #12
                        Re: Update error

                        I want to thank all on this post (and the other post I made "back to breezy??") for solving my problems with expert help, understanding and patience. Thanks especially to claydoh and PDR60.
                        I solved my problems - the link from e-mail is still a small problem but the amount I learnt from the help given was great!
                        Errol

                        Comment

                        Working...
                        X