Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 37

Thread: Getting error when trying to update Ubuntu

  1. #11
    Join Date
    Mar 2016
    Beans
    18

    Re: Getting error when trying to update Ubuntu

    Sorry, here are the results in tags:

    Code:
    user@ip-10-153-174-8:~/htdocs$ apt-cache policy keyboard-configuration
    keyboard-configuration:
      Installed: 1.70ubuntu8
      Candidate: 1.70ubuntu8
      Version table:
     *** 1.70ubuntu8 0
            500 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
            100 /var/lib/dpkg/status
    Code:
    user@ip-10-153-174-8:~/htdocs$ dpkg -l keyboard-configuration
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
    |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
    ||/ Name                                           Version                      Architecture                 Description
    +++-==============================================-============================-============================-=================================================================================================
    iF  keyboard-configuration                         1.70ubuntu8                  all                          system-wide keyboard preferences
    Code:
    user@ip-10-153-174-8:~/htdocs$sudo dpkg-reconfigure keyboard-configuration
    /usr/sbin/dpkg-reconfigure: keyboard-configuration is broken or not fully installed
    Last edited by jay119; March 8th, 2016 at 06:06 PM.

  2. #12
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,189
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Getting error when trying to update Ubuntu

    jay119; Hey, hey ...

    we have a solid clue .

    Let's try the less invasive 1st.
    How about:
    Code:
    sudo apt install --reinstall keyboard-configuration
    maybe yes
    maybe not so yes
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  3. #13
    Join Date
    Mar 2016
    Beans
    18

    Re: Getting error when trying to update Ubuntu

    This was the result, looks like there are some packages I should remove.
    Code:
    user@ip-10-153-174-8:~/htdocs$ sudo apt install --reinstall keyboard-configuration
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
      apache2-utils apache2.2-bin firefox-locale-en g++-4.6 guile-1.8-libs libmpc2
      libstdc++6-4.6-dev linux-headers-3.2.0-37 linux-headers-3.2.0-37-virtual
      ttf-dejavu-core
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
    1 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    E: Internal Error, No file name for keyboard-configuration:amd64

  4. #14
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,189
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Getting error when trying to update Ubuntu

    jay119; Yuk;

    Houston, we have a problem:
    E: Internal Error, No file name for keyboard-configuration:amd64
    does the control/config file exist ? - is it in a consistent state ?
    Code:
    cat /etc/default/keyboard
    We do need to handle this carefully, package manager advises:
    Package: keyboard-configuration
    Priority: important
    Section: utils
    insure we look and know
    before we leap
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  5. #15
    Join Date
    Mar 2016
    Beans
    18

    Re: Getting error when trying to update Ubuntu

    Thank you, this is what I get.
    Code:
    user@ip-10-153-174-8:~/htdocs/sites$ cat /etc/default/keyboard
    # Check /usr/share/doc/keyboard-configuration/README.Debian for
    # documentation on what to do after having modified this file.
    
    # The following variables describe your keyboard and can have the same
    # values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options
    # in /etc/X11/xorg.conf.
    
    XKBMODEL="pc105"
    XKBLAYOUT="us"
    XKBVARIANT=""
    XKBOPTIONS=""
    
    # If you don't want to use the XKB layout on the console, you can
    # specify an alternative keymap.  Make sure it will be accessible
    # before /usr is mounted.
    # KMAP=/etc/console-setup/defkeymap.kmap.gz

  6. #16
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,189
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Getting error when trying to update Ubuntu

    jay119; Welp;

    I see no problem there, looks good to me .

    doing:
    apt-cache depends keyboard-configuration
    apt-cache rdepends keyboard-configuration
    I do not see that the following is too dicey .

    Let's bite the bullet:
    Code:
    sudo dpkg -P keyboard-configuration
    sudo apt install keyboard-configuration
    IF 'dpkg' screams and hollers, we need to address what it is unhappy about prior to attempting to complete the removal AND before proceeding to get it properly installed.

    when you are in the dark
    gotta get a feel
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  7. #17
    Join Date
    Mar 2016
    Beans
    18

    Re: Getting error when trying to update Ubuntu

    Code:
    user@ip-10-153-174-8:~$ apt-cache depends keyboard-configuration
    keyboard-configuration
      Depends: debconf
      Depends: liblocale-gettext-perl
      Conflicts: console-setup
      Conflicts: <console-setup:i386>
      Conflicts: console-setup-mini
      Conflicts: <console-setup-mini:i386>
      Replaces: console-setup
      Replaces: <console-setup:i386>
      Replaces: console-setup-mini
      Replaces: <console-setup-mini:i386>
    Code:
    user@ip-10-153-174-8:~$ apt-cache rdepends keyboard-configuration 
    keyboard-configuration
    Reverse Depends:
      xserver-xorg-core-lts-wily
      xserver-xorg-core-lts-vivid
      xserver-xorg-core-lts-utopic
      xserver-xorg-core
      live-config
      console-setup-mini
      xserver-xorg-core
      console-setup
    Code:
    user@ip-10-153-174-8:~$ sudo dpkg -P keyboard-configuration
    (Reading database ... 107828 files and directories currently installed.)
    Removing keyboard-configuration (1.70ubuntu8) ...
    Purging configuration files for keyboard-configuration (1.70ubuntu8) ...
    Code:
    user@ip-10-153-174-8:~$ sudo apt install keyboard-configuration
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
      apache2-utils apache2.2-bin firefox-locale-en g++-4.6 guile-1.8-libs libmpc2
      libstdc++6-4.6-dev linux-headers-3.2.0-37 linux-headers-3.2.0-37-virtual
      ttf-dejavu-core
    Use 'apt-get autoremove' to remove them.
    The following NEW packages will be installed:
      keyboard-configuration
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B/556 kB of archives.
    After this operation, 2,359 kB of additional disk space will be used.
    Preconfiguring packages ...
    iconv: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory
    keyboard-configuration failed to preconfigure, with exit status 127
    Selecting previously unselected package keyboard-configuration.
    (Reading database ... 107813 files and directories currently installed.)
    Preparing to unpack .../keyboard-configuration_1.70ubuntu8_all.deb ...
    Unpacking keyboard-configuration (1.70ubuntu8) ...
    Processing triggers for ureadahead (0.100.0-16) ...
    Setting up keyboard-configuration (1.70ubuntu8) ...
    iconv: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory
    dpkg: error processing package keyboard-configuration (--configure):
     subprocess installed post-installation script returned error exit status 127
    Processing triggers for ureadahead (0.100.0-16) ...
    Errors were encountered while processing:
     keyboard-configuration
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  8. #18
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,189
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Getting error when trying to update Ubuntu

    jay119; Yuk ..

    In a pickle now, let is NOT reboot untill we have a fix !
    Let's find out the why:
    iconv: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory
    keyboard-configuration failed to preconfigure, with exit status 127
    What info do we get from:
    Code:
    ldd $(which iconv)
    see what we cad do to get it to configure.

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

    Happy ubuntu'n !

  9. #19
    Join Date
    Mar 2016
    Beans
    18

    Re: Getting error when trying to update Ubuntu

    Code:
    user@ip-10-153-174-8:~$ ldd $(which iconv)
        linux-vdso.so.1 =>  (0x00007ffeafbbf000)
        libiconv.so.2 => not found
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f660de84000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f660e249000)

  10. #20
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,189
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Getting error when trying to update Ubuntu

    jay119; UH huh ..

    let's see what results:
    Code:
    sudo ldconfig -v
    ldd $(which iconv)
    see now if that sym link to /usr/local/lib/libiconv.so.2 gets established ??

    hey, it could happen
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

Page 2 of 4 FirstFirst 1234 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
  •