[SOLVED] update manager trying to update Mintupdate requires an additional package LIBLVM2CMD2.02 but there it is "broken' and also cannot remove
Linux MintThis forum is for the discussion of Linux Mint.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
update manager trying to update Mintupdate requires an additional package LIBLVM2CMD2.02 but there it is "broken' and also cannot remove
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 31417 package 'liblvm2cmd2.02:amd64':
'Depends' field, reference to 'libudev1':
'>' is obsolete, use '>=' or '>>' instead
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 31417 package 'liblvm2cmd2.02:amd64':
'Depends' field, reference to 'libudev1':
version value starts with non-alphanumeric, suggest adding a space
dpkg: error: parsing file '/var/lib/dpkg/status' near line 31417 package 'liblvm2cmd2.02:amd64':
'Depends' field, reference to 'libudev1': version contains ' '
E: Sub-process /usr/bin/dpkg returned an error code (2)
A package failed to install. Trying to recover:
martin@martin-desktop ~ $ dpkg -l | grep -v "^ii"
dpkg-query: warning: parsing file '/var/lib/dpkg/status' near line 31417 package 'liblvm2cmd2.02:amd64':
'Depends' field, reference to 'libudev1':
'>' is obsolete, use '>=' or '>>' instead
dpkg-query: warning: parsing file '/var/lib/dpkg/status' near line 31417 package 'liblvm2cmd2.02:amd64':
'Depends' field, reference to 'libudev1':
version value starts with non-alphanumeric, suggest adding a space
dpkg-query: error: parsing file '/var/lib/dpkg/status' near line 31417 package 'liblvm2cmd2.02:amd64':
'Depends' field, reference to 'libudev1': version contains ' '
martin@martin-desktop ~ $
Hi hydrurga, the above is the result of your request, I hope I've entered it correctly? and hope it helps!
Martin
martin@martin-desktop ~ $ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
martin@martin-desktop ~ $ dpkg -l | grep -v "^ii"
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
+++-===========================================-=======================================================-============-================================================================================
rc hplip 3.16.3+repack0-1 amd64 HP Linux Printing and Imaging System (HPLIP)
iF linux-firmware 1.157.20 all Firmware for Linux kernel drivers
rc shim-signed 1.27~16.04.1+0.9+1474479173.6c180c6-1ubuntu1+linuxmint1 amd64 Secure Boot chain-loading bootloader (Microsoft-signed binary)
rc virtualbox-guest-utils 5.0.40-dfsg-0ubuntu1.16.04.2 amd64 x86 virtualization solution - non-X11 guest utilities
rc virtualbox-guest-x11 5.0.40-dfsg-0ubuntu1.16.04.2 amd64 x86 virtualization solution - X11 guest utilities
martin@martin-desktop ~ $
Hi hydrurga, above was the result, before i finished this i tried the update manager again it did not bring up to install LIBLVM2.02 but it did install mintupdate and below was the install changes or most of them !
Thankyou for your time Martin
(Reading database ... 1020108 files and directories currently installed.)
Preparing to unpack .../mintupdate_5.3.2.5_all.deb ...
Unpacking mintupdate (5.3.2.5) over (5.2.9.2) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22+linuxmint1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.48.2-0ubuntu4.1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1.1) ...
Setting up linux-firmware (1.157.20) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-38-generic
W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin for module i915
Warning: No support for locale: en_AU.utf8
update-initramfs: Generating /boot/initrd.img-4.15.0-36-generic
W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin for module i915
Warning: No support for locale: en_AU.utf8
update-initramfs: Generating /boot/initrd.img-4.15.0-34-generic
W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin for module i915
Warning: No support for locale: en_AU.utf8
update-initramfs: Generating /boot/initrd.img-4.15.0-33-generic
W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin for module i915
Warning: No support for locale: en_AU.utf8
update-initramfs: Generating /boot/initrd.img-4.15.0-32-generic
W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin for module i915
Warning: No support for locale: en_AU.utf8
update-initramfs: Generating /boot/initrd.img-4.15.0-30-generic
W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin for module i915
Warning: No support for locale: en_AU.utf8
update-initramfs: Generating /boot/initrd.img-4.15.0-29-generic
W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin for module i915
Warning: No support for locale: en_AU.utf8
update-initramfs: Generating /boot/initrd.img-4.13.0-45-generic
Warning: No support for locale: en_AU.utf8
update-initramfs: Generating /boot/initrd.img-4.13.0-43-generic
Warning: No support for locale: en_AU.utf8
update-initramfs: Generating /boot/initrd.img-4.13.0-41-generic
Warning: No support for locale: en_AU.utf8
update-initramfs: Generating /boot/initrd.img-4.13.0-38-generic
Warning: No support for locale: en_AU.utf8
update-initramfs: Generating /boot/initrd.img-4.13.0-37-generic
Warning: No support for locale: en_AU.utf8
update-initramfs: Generating /boot/initrd.img-4.13.0-36-generic
Warning: No support for locale: en_AU.utf8
update-initramfs: Generating /boot/initrd.img-4.13.0-32-generic
Warning: No support for locale: en_AU.utf8
update-initramfs: Generating /boot/initrd.img-4.13.0-31-generic
Warning: No support for locale: en_AU.utf8
update-initramfs: Generating /boot/initrd.img-4.13.0-26-generic
Ok, that "iF" beside linux-firmware shows that the package was unpacked but configuration failed half-way through leaving the package half-configured.
We'll need to try and purge then reinstall that package. However, given its importance, I would highly recommend that you backup all your data and consider also making a system snapshot/backup/image with TimeShift or similar so that you can roll back if things go awry.
Once that is done, you can purge the package with:
Hi hydrurga,
Thank you for your help, as you can gather I haven't got a clue what I'm doing, the problem has either been dropped mintupdate or you cleared it from the last package input.
The next thing to do would be to learn alitle bit about all this.
thanks again Martin
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.