LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Zorin OS
User Name
Password
Zorin OS This forum is for the discussion of Zorin OS Linux.

Notices


Reply
  Search this Thread
Old 09-24-2021, 06:20 AM   #1
AltFantasy
LQ Newbie
 
Registered: Sep 2021
Posts: 6

Rep: Reputation: Disabled
Question 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)
Help?
 
Old 09-24-2021, 09:41 AM   #2
uteck
Senior Member
 
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: Ubuntu based stuff for the most part
Posts: 1,173

Rep: Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501Reputation: 501
Quote:
Originally Posted by AltFantasy View Post
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.
Code:
dpkg --force-all -i  /var/cache/apt/archives/xubuntu-default-settings_20.04.4_all.deb

Last edited by uteck; 09-24-2021 at 09:43 AM. Reason: more info
 
Old 09-24-2021, 10:10 AM   #3
AltFantasy
LQ Newbie
 
Registered: Sep 2021
Posts: 6

Original Poster
Rep: Reputation: Disabled
Lightbulb

Quote:
Originally Posted by uteck View Post
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.
Code:
dpkg --force-all -i  /var/cache/apt/archives/xubuntu-default-settings_20.04.4_all.deb
idk, too bad the
Code:
sudo dpkg --configure - a
and
Code:
 sudo apt-get install
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!
 
Old 09-24-2021, 03:09 PM   #4
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
That is the recommended advice for people presenting with gunshot wounds to both feet.
 
Old 09-24-2021, 06:06 PM   #5
AltFantasy
LQ Newbie
 
Registered: Sep 2021
Posts: 6

Original Poster
Rep: Reputation: Disabled
Unhappy

Quote:
Originally Posted by descendant_command View Post
That is the recommended advice for people presenting with gunshot wounds to both feet.
I regret shotting myself in both feet, but whatever, at least I learnt something out of this.
 
Old 09-25-2021, 02:15 AM   #6
AltFantasy
LQ Newbie
 
Registered: Sep 2021
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by uteck View Post
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.
Code:
dpkg --force-all -i  /var/cache/apt/archives/xubuntu-default-settings_20.04.4_all.deb
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
 
Old 09-25-2021, 02:37 AM   #7
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Quote:
Originally Posted by AltFantasy View Post
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.
 
Old 09-25-2021, 02:42 AM   #8
AltFantasy
LQ Newbie
 
Registered: Sep 2021
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thumbs down fuck off

Quote:
Originally Posted by descendant_command View Post
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
 
Old 09-25-2021, 06:51 AM   #9
AltFantasy
LQ Newbie
 
Registered: Sep 2021
Posts: 6

Original Poster
Rep: Reputation: Disabled
Question

Quote:
Originally Posted by AltFantasy View Post
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I have troubles. Blinks: Zorin OS12 zorin tty1 zorin login:_ FRANCISCO JAHN Linux - Newbie 1 09-23-2020 07:02 PM
[SOLVED] sudo apt update and sudo apt-get update giving error cryptonic472 Linux - Software 7 08-24-2019 08:16 AM
Not able to run this command "sudo apt-get install libdevil-dev" even after trying "apt-get -f install" getting below error message srihariu1 Linux - Embedded & Single-board computer 2 04-26-2018 06:33 AM
sudo apt-get update && sudo apt-get upgrade hallve_revera Linux - Newbie 6 01-10-2009 09:37 AM
cannot "sudo apt-get uptate" or "sudo" anything! plz help mdguy21061 Linux - Newbie 7 04-13-2008 11:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Zorin OS

All times are GMT -5. The time now is 04:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration