Announcement

Collapse
No announcement yet.

Upgrade from Percise results in bug!

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

    Upgrade from Percise results in bug!

    Please see Bug #1094465 on Launch pad. Now Kwallet keeps asking for password over and over again and attempting to apply daily updates fails:

    Code:
    Do you want to continue [Y/n]? y
    (Reading database ... 144110 files and directories currently installed.)
    Preparing to replace libdrm2:amd64 2.4.39-0ubuntu1 (using .../libdrm2_2.4.39-0ubuntu1_amd64.deb) ...
    Unpacking replacement libdrm2:amd64 ...
    dpkg: error processing /var/cache/apt/archives/libdrm2_2.4.39-0ubuntu1_amd64.deb (--unpack):
     trying to overwrite shared '/usr/share/doc/libdrm2/changelog.Debian.gz', which is different from other instances of package libdrm2:amd64
    No apport report written because MaxReports is reached already
                                                                  Selecting previously unselected package libarmadillo3.
    Unpacking libarmadillo3 (from .../libarmadillo3_1%3a3.2.3+dfsg-1_amd64.deb) ...
    Errors were encountered while processing:
     /var/cache/apt/archives/libdrm2_2.4.39-0ubuntu1_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

    http://www.kubuntu.org/getkubuntu

    #2
    Remove the offending file:
    Code:
    sudo rm /usr/share/doc/libdrm2/changelog.Debian.gz
    Now you should be able to complete your update.

    I've marked your Launchpad bug as a duplicate of bug 1068165. Seems to be an issue for a number of folks.
    Last edited by SteveRiley; Dec 31, 2012, 12:59 AM.

    Comment


      #3
      Originally posted by SteveRiley View Post
      Remove the offending file:
      Code:
      sudo rm /usr/share/doc/libdrm2/changelog.Debian.gz
      Now you should be able to complete your update.

      I've marked your Launchpad bug as a duplicate of bug 1068165. Seems to be an issue for a number of folks.
      Nope didn't work. Still broken system! I'll check in a few hours to see if anyone posted a new suggestion.
      Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

      http://www.kubuntu.org/getkubuntu

      Comment


        #4
        Originally posted by steve7233 View Post
        Nope didn't work. Still broken system! I'll check in a few hours to see if anyone posted a new suggestion.
        What's the output of:
        Code:
        sudo dpkg --configure -a
        Is it still erroring out with the same file or another file?

        Comment


          #5
          Originally posted by kubicle View Post
          What's the output of:
          Code:
          sudo dpkg --configure -a
          Is it still erroring out with the same file or another file?
          Code:
          steve7233@steve7233-HP-Pavilion-dv6-Notebook-PC:~$ sudo dpkg --configure -a
          [sudo] password for steve7233: 
          steve7233@steve7233-HP-Pavilion-dv6-Notebook-PC:~$ sudo dpkg --configure -a
          steve7233@steve7233-HP-Pavilion-dv6-Notebook-PC:~$ sudo dpkg --configure -a
          steve7233@steve7233-HP-Pavilion-dv6-Notebook-PC:~$
          As you can see there is no output! I am wondering if it can be fixed or will I have to reinstall?! Maybe the upgrade script is bad. I thought that 12.10 would be debugged enough by now to use but maybe it still needs work.
          Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

          http://www.kubuntu.org/getkubuntu

          Comment


            #6
            Originally posted by steve7233 View Post
            Nope didn't work. Still broken system! I'll check in a few hours to see if anyone posted a new suggestion.
            Can you be more specific...what is "still broken"? What errors do you see now? Almost all packaging problems can be fixed without reinstalling the entire OS, but we need more information.

            Comment


              #7
              Originally posted by SteveRiley View Post
              Can you be more specific...what is "still broken"? What errors do you see now? Almost all packaging problems can be fixed without reinstalling the entire OS, but we need more information.
              Kwallet keeps asking for the password about every 2 minutes and yes I give the correct one because if I make a typo it complains that it is incorrect, but if its correct then it disappears for about 2 minutes. Also wine 1.5.20 doesn’t work at all! Synaptic refuses to run says something about the repository name being bad. I am thinking maybe some key package is broken that is preventing other packages from fully working. That's just a guess.
              Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

              http://www.kubuntu.org/getkubuntu

              Comment


                #8
                We can ignore the wallet issue for the moment. But without exact descriptions of sequences of steps and full error messages, we can't help you.

                Comment


                  #9
                  Originally posted by SteveRiley View Post
                  We can ignore the wallet issue for the moment. But without exact descriptions of sequences of steps and full error messages, we can't help you.
                  Synaptic=
                  Code:
                  E: The value 'precise' is invalid for APT::Default-Release as such a release is not available in the sources
                  E: _cache->open() failed, please report.
                  Wine doesn’t say anything it just doesn’t work!
                  Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

                  http://www.kubuntu.org/getkubuntu

                  Comment


                    #10
                    What is the output of
                    Code:
                    sudo cat /root/.synaptic/synaptic.conf

                    Comment


                      #11
                      Originally posted by SteveRiley View Post
                      What is the output of
                      Code:
                      sudo cat /root/.synaptic/synaptic.conf
                      Code:
                      steve7233@steve7233-HP-Pavilion-dv6-Notebook-PC:~$ cat /root/.synaptic/synaptic.conf
                      cat: /root/.synaptic/synaptic.conf: Permission denied
                      steve7233@steve7233-HP-Pavilion-dv6-Notebook-PC:~$ sudo cat /root/.synaptic/synaptic.conf
                      [sudo] password for steve7233: 
                      Synaptic "" {
                        ViewMode "1";
                        showWelcomeDialog "0";
                        update "" {
                          last "1356781245";
                          type "0";
                        };
                      
                        closeZvt "false";
                        LastSearchType "1";
                        vpanedPos "393";
                        hpanedPos "200";
                        windowWidth "1366";
                        windowHeight "748";
                        windowX "-2";
                        windowY "-3";
                        ToolbarState "2";
                        Maximized "1";
                        Install-Recommends "1";
                        ShowAllPkgInfoInMain "false";
                        AskRelated "true";
                        OneClickOnStatusActions "false";
                        delAction "3";
                        upgradeType "1";
                        undoStackSize "20";
                        UseTerminal "false";
                        AskQuitOnProceed "false";
                        useUserFont "0";
                        useUserTerminalFont "0";
                        statusColumnPos "0";
                        statusColumnVisible "1";
                        supportedColumnPos "1";
                        supportedColumnVisible "1";
                        nameColumnPos "2";
                        nameColumnVisible "1";
                        sectionColumnPos "3";
                        sectionColumnVisible "0";
                        componentColumnPos "4";
                        componentColumnVisible "0";
                        instVerColumnPos "5";
                        instVerColumnVisible "1";
                        availVerColumnPos "6";
                        availVerColumnVisible "1";
                        instSizeColumnPos "7";
                        instSizeColumnVisible "1";
                        downloadSizeColumnPos "8";
                        downloadSizeColumnVisible "0";
                        descrColumnPos "9";
                        descrColumnVisible "1";
                        color-install "#8A8AE2E23434";
                        color-reinstall "#4E4E9A9A0606";
                        color-upgrade "#FCFCE9E94F4F";
                        color-downgrade "#ADAD7F7FA8A8";
                        color-remove "#EFEF29292929";
                        color-purge "#A4A400000000";
                        color-available "";
                        color-available-locked "#A4A400000000";
                        color-installed-updated "";
                        color-installed-outdated "";
                        color-installed-locked "#A4A400000000";
                        color-broken "";
                        color-new "";
                        UseStatusColors "true";
                        CleanCache "false";
                        AutoCleanCache "true";
                        delHistory "-1";
                        useProxy "0";
                        httpProxy "";
                        httpProxyPort "3128";
                        ftpProxy "";
                        ftpProxyPort "3128";
                        noProxy "";
                        DefaultDistro "precise";
                      };
                      
                      steve7233@steve7233-HP-Pavilion-dv6-Notebook-PC:~$
                      Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

                      http://www.kubuntu.org/getkubuntu

                      Comment


                        #12
                        $ sudo apt-get -f install

                        Keep deleting conflicting files from old packages and restarting the above command until it outputs nothing. Then do:

                        $ sudo apt-get dist-upgrade

                        Repeat steps (1) and (2) until the step (2) completes successfully.

                        Comment


                          #13
                          Originally posted by bamyasi View Post
                          $ sudo apt-get -f install

                          Keep deleting conflicting files from old packages and restarting the above command until it outputs nothing. Then do:

                          $ sudo apt-get dist-upgrade

                          Repeat steps (1) and (2) until the step (2) completes successfully.
                          Code:
                          steve7233@steve7233-HP-Pavilion-dv6-Notebook-PC:~$  sudo apt-get -f install
                          [sudo] password for steve7233: 
                          Reading package lists... Done
                          Building dependency tree       
                          Reading state information... Done
                          0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
                          steve7233@steve7233-HP-Pavilion-dv6-Notebook-PC:~$
                          It doesn’t list any files.
                          Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

                          http://www.kubuntu.org/getkubuntu

                          Comment


                            #14
                            I believe this is the problem:

                            Originally posted by steve7233 View Post
                            Code:
                            steve7233@steve7233-HP-Pavilion-dv6-Notebook-PC:~$ sudo cat /root/.synaptic/synaptic.conf
                            ...
                            
                              DefaultDistro "precise";
                            };
                            Edit the file. Press Alt+F2 and type:
                            Code:
                            kdesudo /root/.synaptic/synaptic.conf
                            Navigate to the DefaultDistro line and change it to:
                            Code:
                              DefaultDistro "";
                            That is, remove the word precise. Save the file and exit the editor. And just for good measure, logout and login. Now see if updates work.

                            Comment


                              #15
                              Originally posted by SteveRiley View Post
                              I believe this is the problem:



                              Edit the file. Press Alt+F2 and type:
                              Code:
                              kdesudo /root/.synaptic/synaptic.conf
                              Navigate to the DefaultDistro line and change it to:
                              Code:
                                DefaultDistro "";
                              That is, remove the word precise. Save the file and exit the editor. And just for good measure, logout and login. Now see if updates work.
                              Can't edit file! When I try and I enter the password it just plays the error sound. I tried several times in case the password had a typo and yes I checked for caps lock.

                              I just tried using dolphine to search for /.synaptic/ and the folder no longer exists. in fact the only hidden folder in / is .config. There are no other hidden folders!
                              Last edited by steve7233; Dec 31, 2012, 10:25 PM. Reason: Add more information.
                              Just to remind users and devs that Ubuntu and its flavors have a long way to go to be as usr friendly as they should be.

                              http://www.kubuntu.org/getkubuntu

                              Comment

                              Working...
                              X