Results 1 to 7 of 7

Thread: Help with some random error while updating !

  1. #1

    Help with some random error while updating !

    Hey guys ! I'm kinda new here and I need some help with the error I'm getting while updating. The output :

    Code:
     root@kali:~# sudo apt-get install -f
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
      dconf-editor dconf-tools dh-python hashcat-data lib64gcc1 lib64stdc++6
      libasan3 libc-dev-bin libc6-amd64 libffi-dev libgcc-6-dev libhwloc-plugins
      libhwloc5 libibverbs1 libisl15 libobjc-6-dev libobjc4 libpython3.6-minimal
      librdmacm1 libsnmp-base libtinfo-dev libtxc-dxtn-s2tc linux-libc-dev
      python-all python-bson python-bson-ext python-gridfs python-pymongo
      python-pymongo-ext python3.6-minimal
    Use 'sudo apt autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 1898 not upgraded.
    1 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    y
    /usr/share/apt-listchanges/apt_listchanges.py:540: FutureWarning: Possible nested set at position 25
      email_re = re.compile(r'([a-zA-Z0-9_\+\-\.]+)@(([[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)')
    Setting up initramfs-tools (0.130) ...
    update-initramfs: deferring update (trigger activated)
    Processing triggers for initramfs-tools (0.130) ...
    update-initramfs: Generating /boot/initrd.img-4.12.0-kali1-686-pae
    WARNING: Setting CRYPTSETUP in /etc/initramfs-tools/initramfs.conf is deprecated and will stop working in the future. Use /etc/cryptsetup-initramfs/conf-hook instead.
    E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
    update-initramfs: failed for /boot/initrd.img-4.12.0-kali1-686-pae with 1.
    dpkg: error processing package initramfs-tools (--configure):
     subprocess installed post-installation script returned error exit status 1
    Errors were encountered while processing:
     initramfs-tools
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    The kernel I'm currently using :

    Code:
    root@kali:~# uname -a
    Linux kali 4.12.0-kali1-686-pae #1 SMP Debian 4.12.6-1kali6 (2017-08-30) i686 GNU/Linux

    The version of Kali Linux I've installed ( it's old tho ) :

    Code:
    root@kali:~# lsb_release -a
    No LSB modules are available.
    Distributor ID:	Kali
    Description:	Kali GNU/Linux Rolling
    Release:	kali-rolling
    Codename:	kali-rolling

    Thanks in advance

  2. #2
    Join Date
    2016-Dec
    Posts
    806
    That is a very old kernel. What led you to run apt-get -f install?

  3. #3
    Quote Originally Posted by Mister_X View Post
    That is a very old kernel. What led you to run apt-get -f install?

    I actually wanted xfce4 desktop, and while installing I got that error ( sorry for saying it right now ), and later when ever I install anything else the last part comes in
    Last edited by sakibkhaleel10; 2019-07-15 at 14:55.

  4. #4
    Join Date
    2016-Dec
    Posts
    806
    Since it's so old and broken, reinstalling the latest XFCE Kali is probably easier.

  5. #5
    Quote Originally Posted by Mister_X View Post
    Since it's so old and broken, reinstalling the latest XFCE Kali is probably easier.
    Could you please tell me how do you do that ?? ( noob alert ! )

  6. #6
    Join Date
    2016-Dec
    Posts
    806
    1. Backup your data. Like connect a hard drive, or upload it on dropbox, there are plenty of options.
    2. Download Kali XFCE ISO from https://www.kali.org/downloads/
    3. Put the ISO on a thumbdrive -> There are tutorials on how to do that on https://docs.kali.org and https://kali.training
    4. Install the ISO -> There are tutorials on the same sites as above

  7. #7
    Quote Originally Posted by Mister_X View Post
    1. Backup your data. Like connect a hard drive, or upload it on dropbox, there are plenty of options.
    2. Download Kali XFCE ISO from https://www.kali.org/downloads/
    3. Put the ISO on a thumbdrive -> There are tutorials on how to do that on https://docs.kali.org and https://kali.training
    4. Install the ISO -> There are tutorials on the same sites as above
    Oh ! I didn't know there's a separate xfce version of kali available on the offical website !
    That looks easy ! Imma download it right now !

    Thanks Mate !!
    Last edited by sakibkhaleel10; 2019-07-20 at 08:58.

Similar Threads

  1. error while updating
    By yhi in forum TroubleShooting Archive
    Replies: 7
    Last Post: 2015-11-05, 06:50
  2. Openvas error after updating
    By extreme.seventh in forum NetHunter General Questions
    Replies: 1
    Last Post: 2015-08-18, 03:36
  3. Error updating Kali 2.0
    By thiagomespb in forum Installing Archive
    Replies: 0
    Last Post: 2015-08-15, 18:28

Posting Permissions

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