Results 1 to 7 of 7

Thread: 12.04 update broken linux-headers package

  1. #1
    Join Date
    Nov 2005
    Location
    Victoria, B.C.
    Beans
    24
    Distro
    Ubuntu Breezy 5.10

    12.04 update broken linux-headers package

    An update suggested by the update manager on Jan 6, 2014 and dealing with a new kernel left the following broken package:

    Linux kernel headers for version 3.2.0 on 64 bit x86 SMP
    In its properties I find:
    depends: linux-headers-3.2.0-58
    ..
    Conflicts: linux-headers-3.2.0-generic
    Versions: 3.2.0-58.88(precise-updates)

    How do I clean this up?

    I also have 3 packages from the same update among the linux headers which are marke: not installed (new in repository). What is that about?

    PS. I did check for a mention of the problem in the last day or two.

  2. #2
    Join Date
    Nov 2013
    Beans
    Hidden!

    Re: 12.04 update broken linux-headers package

    Hello
    Could you give the complete returns of the commandes :
    sudo apt-get update
    sudo apt-get upgrade

  3. #3
    Join Date
    May 2013
    Beans
    15

    Re: 12.04 update broken linux-headers package

    I'm having a similar issue updating my packages I started with 4 errors and I am down to 1. I can't seem to get this one solved. Any help would be appreciated.

    $ uname -r
    3.2.0-57-generic


    I cleaned and updated using:
    Code:
    $ sudo apt-get clean all
    $ sudo apt-get update
    with broken dependencies it wanted the -f flag
    Code:
    $ sudo apt-get install -f
    [sudo] password for mark: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Correcting dependencies... Done
    The following extra packages will be installed:
      linux-generic
    The following packages will be upgraded:
      linux-generic
    1 upgraded, 0 newly installed, 0 to remove and 72 not upgraded.
    1 not fully installed or removed.
    Need to get 0 B/1,716 B of archives.
    After this operation, 0 B of additional disk space will be used.
    Do you want to continue [Y/n]? y
    dpkg: dependency problems prevent configuration of linux-generic:
     linux-generic depends on linux-image-generic (= 3.2.0.57.68); however:
      Version of linux-image-generic on system is 3.2.0.58.69.
     linux-generic depends on linux-headers-generic (= 3.2.0.57.68); however:
      Version of linux-headers-generic on system is 3.2.0.58.69.
    dpkg: error processing linux-generic (--configure):
     dependency problems - leaving unconfigured
    No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                              Errors were encountered while processing:
     linux-generic
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    I don't appear to have any 3rd party repositories
    Code:
    $ cat /etc/apt/sources.list
    # added by the release upgrader
    # deb cdrom:[Ubuntu-Server 11.10 _Oneiric Ocelot_ - Release amd64 (20111011)]/ oneiric main restricted
    # /etc/apt/sources.list
    
    deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
    deb http://security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
    deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
    Last edited by mark65ak; January 8th, 2014 at 10:13 AM.

  4. #4
    Join Date
    Nov 2013
    Beans
    Hidden!

    Re: 12.04 update broken linux-headers package

    You can try this :
    sudo dpkg -P linux-generic
    sudo apt-get install -f
    sudo apt-get install linux-generic

  5. #5
    Join Date
    May 2013
    Beans
    15

    Re: 12.04 update broken linux-headers package

    Quote Originally Posted by jeanjd63 View Post
    You can try this :
    sudo dpkg -P linux-generic
    sudo apt-get install -f
    sudo apt-get install linux-generic
    Thank you very much. It seems to do the trick. Hopefully also for the one who started this thread.

  6. #6
    Join Date
    Nov 2005
    Location
    Victoria, B.C.
    Beans
    24
    Distro
    Ubuntu Breezy 5.10

    Re: 12.04 update broken linux-headers package

    This settles my issue as well (and it showed the need for removing all sorts of software I experimented with and that is cluttering the package manager).
    Thanks you very much (or whatever that translates into interms of coffeebeans.

  7. #7
    Join Date
    Sep 2006
    Location
    Broussard, La
    Beans
    1,089
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: 12.04 update broken linux-headers package

    I was having the same issue and followed a post similar to this. Now I am having python issues. Here is the error I am receiving:
    IOError: invalid Python installation: unable to open /usr/include/python 2.7/pyconfig.h (no such file or directory)
    dpkg: error processing sessioninstaller (--configure): subprocess installed post-installation script returned error exit status 1
    Processing No apportionment report written because MaxReports I'd already

    This error is from trying to install python2.7

    There is a little more, but I that is most of it. Can't copy and paste...system will not get to my desktop, login screen loops after login..

    Please send me in the right direction.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •