Cannot fix broken package using "sudo apt --fix-broken install" to fix XFCE packages for Zorin OS 16 Core
Zorin OSThis forum is for the discussion of Zorin OS Linux.
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.
Cannot fix broken package using "sudo apt --fix-broken install" to fix XFCE packages for Zorin OS 16 Core
tried to run the command, but then got this error:
Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
xubuntu-default-settings
The following NEW packages will be installed:
xubuntu-default-settings
0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
2 not fully installed or removed.
Need to get 0 B/40.3 kB of archives.
After this operation, 266 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 329351 files and directories currently installed.)
Preparing to unpack .../xubuntu-default-settings_20.04.4_all.deb ...
Unpacking xubuntu-default-settings (20.04.4) ...
dpkg: error processing archive /var/cache/apt/archives/xubuntu-default-settings_
20.04.4_all.deb (--unpack):
trying to overwrite '/etc/skel/.config/libreoffice/4/user/registrymodifications
.xcu', which is also in package zorin-os-default-settings 16.3
Errors were encountered while processing:
/var/cache/apt/archives/xubuntu-default-settings_20.04.4_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
then I tried to run
Code:
sudo dpkg --configure -a
, but got an error:
Code:
dpkg: dependency problems prevent configuration of xubuntu-core:
xubuntu-core depends on xubuntu-default-settings; however:
Package xubuntu-default-settings is not installed.
dpkg: error processing package xubuntu-core (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of xubuntu-desktop:
xubuntu-desktop depends on xubuntu-core; however:
Package xubuntu-core is not configured yet.
xubuntu-desktop depends on xubuntu-default-settings; however:
Package xubuntu-default-settings is not installed.
dpkg: error processing package xubuntu-desktop (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
xubuntu-core
xubuntu-desktop
tried to purge the packages with
Code:
sudo apt-get remove --purge xubuntu-desktop
, but there's an error again:
Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
xubuntu-core : Depends: xubuntu-default-settings but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
I've also tried
Code:
sudo apt-get install xubuntu-default-settings
(also tried adding in --reinstall), but I kept on getting this:
Code:
bphuc@LAPTOP-E459:~$ sudo apt-get install xubuntu-default-settings
[sudo] password for bphuc:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
xubuntu-default-settings
0 upgraded, 1 newly installed, 0 to remove and 11 not upgraded.
2 not fully installed or removed.
Need to get 0 B/40.3 kB of archives.
After this operation, 266 kB of additional disk space will be used.
(Reading database ... 329345 files and directories currently installed.)
Preparing to unpack .../xubuntu-default-settings_20.04.4_all.deb ...
Unpacking xubuntu-default-settings (20.04.4) ...
dpkg: error processing archive /var/cache/apt/archives/xubuntu-default-settings_20.04.4_all.deb (--unpack):
trying to overwrite '/etc/skel/.config/libreoffice/4/user/registrymodifications.xcu', which is also in package zorin-os-default-settings 16.3
Errors were encountered while processing:
/var/cache/apt/archives/xubuntu-default-settings_20.04.4_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Distribution: Ubuntu based stuff for the most part
Posts: 1,173
Rep:
Quote:
Originally Posted by AltFantasy
tried to run the command, but then got this error:
Code:
dpkg: error processing archive /var/cache/apt/archives/xubuntu-default-settings_20.04.4_all.deb (--unpack):
trying to overwrite '/etc/skel/.config/libreoffice/4/user/registrymodifications.xcu', which is also in package zorin-os-default-settings 16.3
Errors were encountered while processing:
/var/cache/apt/archives/xubuntu-default-settings_20.04.4_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Help?
This is the specific error, zorin-os-default-settings 16.3 has created a file (/etc/skel/.config/libreoffice/4/user/registrymodifications.xcu) which xubuntu-default-settings also wants to write in that same location. Apt sees that 2 files are trying to overwrite each other and it quits.
You can either remove zorin-os-default-settings, which might still give the error since the file will still be in place, but the owner is gone, so not really sure. Or you can install xubuntu-default-settings_20.04.4_all.deb with the force.
This is the specific error, zorin-os-default-settings 16.3 has created a file (/etc/skel/.config/libreoffice/4/user/registrymodifications.xcu) which xubuntu-default-settings also wants to write in that same location. Apt sees that 2 files are trying to overwrite each other and it quits.
You can either remove zorin-os-default-settings, which might still give the error since the file will still be in place, but the owner is gone, so not really sure. Or you can install xubuntu-default-settings_20.04.4_all.deb with the force.
commands got bricked, and I removed the packages files already, so now it's corrupted. Got help from the Xubuntu team on the IRC chat platform though, they said I need to do a fresh reinstall of the OS, so that's what I'll do. Thanks for the help!
This is the specific error, zorin-os-default-settings 16.3 has created a file (/etc/skel/.config/libreoffice/4/user/registrymodifications.xcu) which xubuntu-default-settings also wants to write in that same location. Apt sees that 2 files are trying to overwrite each other and it quits.
You can either remove zorin-os-default-settings, which might still give the error since the file will still be in place, but the owner is gone, so not really sure. Or you can install xubuntu-default-settings_20.04.4_all.deb with the force.
Ok, reinstalled Zorin OS now, will this work or will I have to reinstall again for the 2nd time?
Edit: tried that command, there's an error:
Code:
W: Possible missing firmware /lib/firmware/i915/skl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/glk_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/cml_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/icl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/ehl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/ehl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_huc_7.5.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_huc_7.5.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/dg1_dmc_ver2_02.bin for module i915
I: The initramfs will attempt to resume from /dev/sda4
I: (UUID=9fc9d719-b545-4757-8987-fa32946d16f2)
I: Set the RESUME variable to override this.
Help for this error?
Last edited by AltFantasy; 09-25-2021 at 02:19 AM.
Reason: new error
Ok, reinstalled Zorin OS now, will this work or will I have to reinstall again for the 2nd time?
Well the same actions will give the same result.
Why are you trying to install an incompatible package?
Quote:
Edit: tried that command, there's an error:
Code:
W: Possible missing firmware /lib/firmware/i915/skl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/glk_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/cml_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/icl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/ehl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/ehl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_huc_7.5.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_huc_7.5.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/dg1_dmc_ver2_02.bin for module i915
I: The initramfs will attempt to resume from /dev/sda4
I: (UUID=9fc9d719-b545-4757-8987-fa32946d16f2)
I: Set the RESUME variable to override this.
Help for this error?
What error?
The above info has nothing to do with your dpkg adventures.
Well the same actions will give the same result.
Why are you trying to install an incompatible package?
What error?
The above info has nothing to do with your dpkg adventures.
Never mind, don't care about you anyway, lolololol
Ok, reinstalled Zorin OS now, will this work or will I have to reinstall again for the 2nd time?
Edit: tried that command, there's an error:
Code:
W: Possible missing firmware /lib/firmware/i915/skl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/glk_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/kbl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/cml_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/icl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/ehl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/ehl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_huc_7.5.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_huc_7.5.0.bin for module i915
W: Possible missing firmware /lib/firmware/i915/tgl_guc_49.0.1.bin for module i915
W: Possible missing firmware /lib/firmware/i915/dg1_dmc_ver2_02.bin for module i915
I: The initramfs will attempt to resume from /dev/sda4
I: (UUID=9fc9d719-b545-4757-8987-fa32946d16f2)
I: Set the RESUME variable to override this.
Help for this error?
Solved the possible missing firmware problem, now to the initramfs one, help for this?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.