Page 4 of 13 FirstFirst ... 23456 ... LastLast
Results 31 to 40 of 121

Thread: Package System Broken

  1. #31
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Package System Broken

    Duplicate threads merged again.

  2. #32
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    5,996
    Distro
    Xubuntu 13.10 Saucy Salamander

    Re: Package System Broken

    blueboy1; Good morning (mine) !
    I am sorry if my use of American idioms is a source of confusion. I will refrain and henceforth use proper English grammar.

    Your attention is invited to slickymaster's last advisement. Please comply with that advise given, as it is better to err on the side of caution.

    Then we will continue in the effort to enable Wine on your system.

    where there is a will there is a way
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubutu'n !

  3. #33
    Join Date
    Sep 2013
    Beans
    1

    Thumbs up Re: Package System Broken

    Hi all, I found this while searching to solve a nearly identical problem (although wine has nothing to do with it for me). I just completed a dist-upgrade and had this problem afterwards. Some outputs previously requested follow, and I expect blueboy's would look near identical. Please see below as I walk through the process.

    My solution is towards the bottom. YMMV.

    Code:
    $ sudo dpkg --configure --pendingdpkg: dependency problems prevent configuration of initramfs-tools:
     initramfs-tools depends on initramfs-tools-bin (<< 0.99ubuntu13.1.1~); however:
      Version of initramfs-tools-bin on system is 0.99ubuntu13.2.
    dpkg: error processing initramfs-tools (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of udev:
     udev depends on initramfs-tools (>= 0.92bubuntu63); however:
      Package initramfs-tools is not configured yet.
    dpkg: error processing udev (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of apparmor:
     apparmor depends on initramfs-tools; however:
      Package initramfs-tools is not configured yet.
    dpkg: error processing apparmor (--configure):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     initramfs-tools
     udev
     apparmor
    So all three packages are waiting for the initramfs-tools-bin dependency to be met... sudo apt-get -f install fails with the same dependency issues:

    Code:
    $ sudo apt-get -f install
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... Done
    The following packages were automatically installed and are no longer required:
      linux-headers-3.5.0-32-generic linux-headers-3.5.0-36-generic linux-headers-3.5.0-39-generic linux-headers-3.5.0-32 linux-headers-3.5.0-34 linux-headers-3.5.0-36 linux-headers-3.5.0-37 linux-headers-3.5.0-39
      linux-headers-3.5.0-34-generic linux-headers-3.5.0-37-generic
    Use 'apt-get autoremove' to remove them.
    The following extra packages will be installed:
      initramfs-tools
    The following packages will be upgraded:
      initramfs-tools
    1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
    3 not fully installed or removed.
    Need to get 0 B/49.2 kB of archives.
    After this operation, 0 B of additional disk space will be used.
    Do you want to continue [Y/n]?
    dpkg: dependency problems prevent configuration of initramfs-tools:
     initramfs-tools depends on initramfs-tools-bin (<< 0.99ubuntu13.1.1~); however:
      Version of initramfs-tools-bin on system is 0.99ubuntu13.2.
    dpkg: error processing initramfs-tools (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of apparmor:
     apparmor depends on initramfs-tools; however:
      Package initramfs-tools is not configured yet.
    dpkg: error processing apparmor (--configure):
     dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of udev:
     udev depends on initramfs-tools (>= 0.92bubuntu63); however:
      Package initramfs-tools is not configured yet.
    dpkg: error processing udev (--configure):
     dependency problems - leaving unconfiguredNo apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                                                                         No apport report written because the error message indicates its a followup error from a previous failure.
                      No apport report written because the error message indicates its a followup error from a previous failure.
    
    
    Errors were encountered while processing:
     initramfs-tools
     apparmor
     udev
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    And the audit confirms what we're looking at:

    Code:
    $ sudo dpkg --audit
    The following packages have been unpacked but not yet configured.
    They must be configured using dpkg --configure or the configure
    menu option in dselect for them to work:
     udev                 rule-based device node and kernel event manager
     apparmor             User-space parser utility for AppArmor
    
    
    The following packages are only half configured, probably due to problems
    configuring them the first time.  The configuration should be retried using
    dpkg --configure <package> or the configure menu option in dselect:
     initramfs-tools      tools for generating an initramfs
    Seeing I am running this on a virtual machine, I just took a snapshot of the image and tried brute force:

    Code:
    $ sudo dpkg -P initramfs-tools-bin
    $ # Override dependency (not recommended, but worked for me!):
    $ sudo sed -i -e 's/0.99ubuntu13.1.1~/0.99ubuntu13.2~/' /var/lib/dpkg/status
    $ sudo apt-get -f install
    That worked. After rebooting, I ran upgrade again, which brought initramfs-tools up to the same level as initramfs-tools-bin:

    Code:
    $ sudo apt-get upgradeReading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages have been kept back:
      qemu-kvm
    The following packages will be upgraded:
      initramfs-tools
    1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
    Need to get 0 B/49.2 kB of archives.
    After this operation, 0 B of additional disk space will be used.
    Do you want to continue [Y/n]?
    Selecting previously unselected package initramfs-tools.
    (Reading database ... 58459 files and directories currently installed.)
    Preparing to replace initramfs-tools 0.99ubuntu13.1 (using .../initramfs-tools_0.99ubuntu13.2_all.deb) ...
    Unpacking replacement initramfs-tools ...
    Processing triggers for man-db ...
    Setting up initramfs-tools (0.99ubuntu13.2) ...
    update-initramfs: deferring update (trigger activated)
    Processing triggers for initramfs-tools ...
    update-initramfs: Generating /boot/initrd.img-3.5.0-41-generic
    $
    As part of upgrading initramfs-tools, it also overwrote my dependency hack. It looks like everything is safe and stable again, though I'm hanging on to that snapshot for a while!

  4. #34
    Join Date
    Jan 2009
    Beans
    80

    Re: Package System Broken

    This seemed so similar to my experience. I noticed that only this line in the audit was different (udev rule-based device node and kernel event manager).
    I tried some of what you suggested, except nothing happened when I tried the the following codes

    $ # Override dependency (not recommended, but worked for me!):
    $ sudo sed -i -e 's/0.99ubuntu13.1.1~/0.99ubuntu13.2~/' /var/lib/dpkg/status

  5. #35
    Join Date
    Jan 2009
    Beans
    80

    Re: Package System Broken

    Here is the results from trying the suggested codes.
    alrick@Home:~$ sudo dpkg --configure --pending
    [sudo] password for alrick:
    dpkg: dependency problems prevent configuration of initramfs-tools:
    initramfs-tools depends on initramfs-tools-bin (>= 0.99ubuntu13.1); however:
    Package initramfs-tools-bin is not installed.
    initramfs-tools depends on initramfs-tools-bin (<< 0.99ubuntu13.2~); however:
    Package initramfs-tools-bin is not installed.
    dpkg: error processing initramfs-tools (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of apparmor:
    apparmor depends on initramfs-tools; however:
    Package initramfs-tools is not configured yet.
    dpkg: error processing apparmor (--configure):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    initramfs-tools
    apparmor
    alrick@Home:~$ ################################################## #####
    alrick@Home:~$ sudo apt-get -f install
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... Done
    The following package was automatically installed and is no longer required:
    winetricks
    Use 'apt-get autoremove' to remove them.
    The following extra packages will be installed:
    initramfs-tools initramfs-tools-bin
    The following NEW packages will be installed:
    initramfs-tools-bin
    The following packages will be upgraded:
    initramfs-tools
    1 upgraded, 1 newly installed, 0 to remove and 61 not upgraded.
    2 not fully installed or removed.
    Need to get 0 B/59.1 kB of archives.
    After this operation, 122 kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Selecting previously unselected package initramfs-tools-bin.
    (Reading database ... 594847 files and directories currently installed.)
    Unpacking initramfs-tools-bin (from .../initramfs-tools-bin_0.99ubuntu13.2_amd64.deb) ...
    Setting up initramfs-tools-bin (0.99ubuntu13.2) ...
    dpkg: dependency problems prevent configuration of initramfs-tools:
    initramfs-tools depends on initramfs-tools-bin (<< 0.99ubuntu13.2~); however:
    Version of initramfs-tools-bin on system is 0.99ubuntu13.2.
    dpkg: error processing initramfs-tools (--configure):
    dependency problems - leaving unconfigured
    dpkg: dependency problems prevent configuration of apparmor:
    apparmor depends on initramfs-tools; however:
    Package initramfs-tools is not configured yet.
    dpkg: error processing apparmor (--configure):
    dependency problems - leaving unconfigured
    No apport report written because MaxReports is reached already
    No apport report written because MaxReports is reached already
    Errors were encountered while processing:
    initramfs-tools
    apparmor
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    alrick@Home:~$ ################################################## ##
    alrick@Home:~$ sudo dpkg --audit
    The following packages have been unpacked but not yet configured.
    They must be configured using dpkg --configure or the configure
    menu option in dselect for them to work:
    apparmor User-space parser utility for AppArmor

    The following packages are only half configured, probably due to problems
    configuring them the first time. The configuration should be retried using
    dpkg --configure <package> or the configure menu option in dselect:
    initramfs-tools tools for generating an initramfs

  6. #36
    Join Date
    Jan 2009
    Beans
    80

    Re: Package System Broken

    I tried many times. Look under any of the threads.

  7. #37
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    5,996
    Distro
    Xubuntu 13.10 Saucy Salamander

    Re: Package System Broken

    blueboy1; Hello .

    I remain with you. Presently I do not have a means to (re)install "initramfs-tools-bin" properly. I continue to give this my consideration and seek a solution.

    most intriguing
    most aggravating

    I shall return
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubutu'n !

  8. #38
    Join Date
    Jan 2009
    Beans
    80

    Re: Package System Broken

    thanks for your persistence. waiting to follow any other suggestion you make.

  9. #39
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    5,996
    Distro
    Xubuntu 13.10 Saucy Salamander

    Re: Package System Broken

    blueboy1; Good morning .

    I presently do not understand:
    1. winetricks: we have removed it and it is still popping up
    The following package was automatically installed and is no longer required:
    winetricks
    2. With the application of generic "apt-get remove initramfs-tools-bin " does not remove both versions; (>= 0.99ubuntu13.1) and (<< 0.99ubuntu13.2~);as I had anticipated.

    -------------
    Maybe because the 3rd party PPAs are not enabled ?
    Let's try this:
    from the Software Center ->other sources; (re)enable those PPAs and see what results:
    Terminal codes:
    Code:
    apt-get remove winetricks
    apt-get remove initramfs-tools-bin
    Else I am also considering the effects of forcing the removal of "initramfs-tools-bin" and the proper syntax to do so.
    _________
    Code tags; a picture is worth a thousand words: see if this gives better instruction on usage:
    http://ubuntuforums.org/showthread.p...8#post12776168

    where there is a will there is a way
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubutu'n !

  10. #40
    Join Date
    Jan 2009
    Beans
    80

    Re: Package System Broken

    Hey, look at what you got!! That was brillantly simply. Thanks a lot for you patience. Here is the result of the codes:
    Code:
    alrick@Home:~$ apt-get remove winetricks
    E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
    E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
    alrick@Home:~$
    Code:
    alrick@Home:~$ apt-get remove initramfs-tools-bin
    E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
    E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
    alrick@Home:~$

Page 4 of 13 FirstFirst ... 23456 ... LastLast

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
  •