Announcement

Collapse
No announcement yet.

seg fault???

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

    seg fault???

    Hi There,

    I get a seg fault with apt-get
    apt-get update works fine but then I do
    Code:
    apt-get upgrade
    Segmentation fault (core dumped)
    And the same whe i try to install filezilla:
    Code:
    apt-get install filezilla
    Segmentation fault (core dumped)
    What's going on here? Help would be appreciated!
    This after I just rebooted my system... and "Update Manager" in the tray gives my a Crash Handler message that says it closed unexpectedly, same with Muon... seems like it's pretty serious stuff...
    Thanks!
    Ron
    Last edited by reggler; Jun 22, 2012, 09:26 AM.
    roN

    http://www.inetgate.biz

    #2
    syslog just says
    Code:
    Jun 22 16:28:56 regDesktopHome kernel: [29567.004556] apt-get[8335]: segfault at 7f32b978cd14 ip 00007f32bad1e832 sp 00007fff065a1550 error 6 in libapt-pkg.so.4.12.0[7f32bac4b000+120000]
    when I do apt-get update
    roN

    http://www.inetgate.biz

    Comment


      #3
      IDK but you could try a
      Code:
      sudo dpkg-reconfigure libapt-pkg4.12
      which is where that is installed from

      vinny@Vinnys-HP-G62:/usr/share/man$ dpkg-query -S libapt-pkg.so.4.12.0
      libapt-pkg4.12: /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12.0
      VINNY
      i7 4core HT 8MB L3 2.9GHz
      16GB RAM
      Nvidia GTX 860M 4GB RAM 1152 cuda cores

      Comment


        #4
        Negative, did that and then re-tried an ap-get upgrade but again, syslog:
        Code:
        Jun 22 17:23:29 regDesktopHome kernel: [32838.734637] apt-get[17506]: segfault at 7f48e76d4d14 ip 00007f48e8c66832 sp 00007fff58bef120 error 6 in libapt-pkg.so.4.12.0[7f48e8b93000+120000]
        roN

        http://www.inetgate.biz

        Comment


          #5
          as root I got something like
          Code:
          root@regDesktopHome:~# dpkg-query -S libapt-pkg.so.4.12.0
          libapt-pkg4.12: /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12.0
          root@regDesktopHome:~# dpkg-reconfigure libapt-pkg4.12
          root@regDesktopHome:~# apt-get upgrade
          Segmentation fault (core dumped)
          roN

          http://www.inetgate.biz

          Comment


            #6
            Hm, segfault in libapt-pkg.so, same problem that pablo173 reported.

            Here's the version currently on my machine:
            Code:
            steve@x1:~$ [B]dpkg -l | grep libapt-pkg4.12[/B]
            ii  libapt-pkg4.12                       0.8.16~exp12ubuntu10.2
            Checking /var/log/apt/history.log, I see that on 15 June, the version above replaced the prior one: 0.8.16~exp12ubuntu10.1.

            Try this:
            Code:
            sudo apt-get clean
            Can you use APT now?
            Last edited by SteveRiley; Jun 22, 2012, 10:25 PM.

            Comment


              #7
              Tried sudo apt-get clean

              Result:
              desktop:~$ sudo apt-get clean
              E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
              E: Unable to lock the download directory

              Tried sudo dpkg-reconfigure libapt-pkg4.12

              Result:
              desktop:~$ sudo dpkg-reconfigure libapt-pkg4.12
              /usr/sbin/dpkg-reconfigure: libapt-pkg4.12 is broken or not fully installed

              Tried rebooting:
              Result:
              No Help.

              Comment


                #8
                Just remove (delete) that file /var/cache/apt/archives/lock and try again.
                sudo rm /var/cache/apt/archives/lock

                Comment


                  #9
                  Originally posted by SteveRiley View Post
                  Hm, segfault in libapt-pkg.so, same problem that pablo173 reported.

                  Here's the version currently on my machine:
                  Code:
                  steve@x1:~$ [B]dpkg -l | grep libapt-pkg4.12[/B]
                  ii  libapt-pkg4.12                       0.8.16~exp12ubuntu10.2
                  Checking /var/log/apt/history.log, I see that on 15 June, the version above replaced the prior one: 0.8.16~exp12ubuntu10.1.

                  Try this:
                  Code:
                  sudo apt-get clean
                  Can you use APT now?
                  Negative:
                  Code:
                  reg@regDesktopHome:~$ sudo -s
                  sudo: unable to resolve host regDesktopHome
                  [sudo] password for reg: 
                  root@regDesktopHome:~# dpkg -l | grep libapt-pkg4.12
                  ii  libapt-pkg4.12                                0.8.16~exp12ubuntu10.2                  package managment runtime library
                  root@regDesktopHome:~# apt-get clean
                  root@regDesktopHome:~# apt-get upgrade
                  Segmentation fault (core dumped)
                  root@regDesktopHome:~#
                  roN

                  http://www.inetgate.biz

                  Comment


                    #10
                    Originally posted by pablo173 View Post
                    Tried sudo apt-get clean

                    Result:
                    desktop:~$ sudo apt-get clean
                    E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
                    E: Unable to lock the download directory

                    Tried sudo dpkg-reconfigure libapt-pkg4.12

                    Result:
                    desktop:~$ sudo dpkg-reconfigure libapt-pkg4.12
                    /usr/sbin/dpkg-reconfigure: libapt-pkg4.12 is broken or not fully installed
                    Yep, that's what I got:
                    Code:
                    root@regDesktopHome:~# apt-get clean
                    root@regDesktopHome:~# dpkg-reconfigure libapt-pkg4.12
                    root@regDesktopHome:~# apt-get upgrade
                    Segmentation fault (core dumped)
                    root@regDesktopHome:~#
                    roN

                    http://www.inetgate.biz

                    Comment


                      #11
                      Try removing the two *.bin files in /var/cache/apt and then rerunning sudo apt-get update and then apt-get dist-upgrade (instead of just upgrade).
                      Using Kubuntu Linux since March 23, 2007
                      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                      Comment


                        #12
                        Tried removing /var/cache/apt/archives/lock.

                        Now Apper says, "The package download failed. Please check your network connectivity... E: Internal Error, No file name for libapt-pkg4.12".

                        and

                        Synaptic says, "E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
                        E: Unable to lock the download directory".

                        Comment


                          #13
                          Do you have the graphical package manager running/open? Almost sounds like you do.
                          Using Kubuntu Linux since March 23, 2007
                          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                          Comment


                            #14
                            Don't know what you mean by the "graphical package manager".

                            Comment


                              #15
                              Are you running Muon or any other package manager from the Menu, and have a console/terminal open and running sudo apt-get?
                              Using Kubuntu Linux since March 23, 2007
                              "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                              Comment

                              Working...
                              X