View Issue Details

IDProjectCategoryView StatusLast Update
0008200Kali LinuxKali Package Bugpublic2023-03-09 10:17
Reporterastakhoved Assigned Todaniruiz  
PrioritynormalSeveritytrivialReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version2022.4 
Fixed in Version2023.1 
Summary0008200: kali-themes but it is not going to be installed
Description

Hi All
I have a problem
I install kali linux via WSL on windows 10
But when i try ti set up GUI and xrdp i have an errors

└─$ sudo apt install kali-desktop-xfce -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
kali-desktop-xfce is already the newest version (2023.1.8).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
kali-desktop-core : Depends: kali-themes but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

When I tried install themes i have error Errors were encountered while processing:
/var/cache/apt/archives/kali-themes_2023.1.5_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

can you help me?

Attached Files
2.PNG (91,070 bytes)   
2.PNG (91,070 bytes)   
3.PNG (104,967 bytes)   
3.PNG (104,967 bytes)   

Activities

arnaudr

arnaudr

2023-03-01 06:44

manager   ~0017592

I should be fixed by now, please run "apt update" and try again.Thanks!

astakhoved

astakhoved

2023-03-01 06:56

reporter   ~0017593

The same situation
Unpacking kali-themes (2023.1.5) ...
dpkg: error processing archive /var/cache/apt/archives/kali-themes_2023.1.5_all.deb (--unpack):
trying to overwrite '/etc/skel/.face', which is also in package desktop-base 12.0.4+kali1
Errors were encountered while processing:
/var/cache/apt/archives/kali-themes_2023.1.5_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

arnaudr

arnaudr

2023-03-01 06:58

manager   ~0017594

Try: apt update && apt install -y desktop-base That should get you version 12.0.4+kali2 of desktop-base. After that you can install kali-desktop-xfce.

astakhoved

astakhoved

2023-03-01 07:03

reporter   ~0017595

:(

Capture.PNG (84,680 bytes)   
Capture.PNG (84,680 bytes)   
arnaudr

arnaudr

2023-03-01 07:22

manager   ~0017596

You forgot sudo in front of 'apt install', ie sudo apt update && sudo apt install -y desktop-base

astakhoved

astakhoved

2023-03-01 07:59

reporter   ~0017597

But “sudo” was done
Please see a screenshot carefully

arnaudr

arnaudr

2023-03-01 08:45

manager   ~0017598

I see very well, « unable to acquire the dpkg frontend lock, are you root? ». You need to add sudo before apt install. When you chain actions with "&&", you need to add sudo for every action, ie. " sudo A && sudo B && sudo C ", that's how it works.

astakhoved

astakhoved

2023-03-01 11:16

reporter   ~0017600

sorry, my bad, now done with sudo for both sides

1.PNG (111,485 bytes)   
1.PNG (111,485 bytes)   
astakhoved

astakhoved

2023-03-01 18:21

reporter   ~0017601

dears, please help me )

arnaudr

arnaudr

2023-03-02 01:49

manager   ~0017603

Did you try "sudo apt --fix-broken install" as suggested?

kali-bugreport

kali-bugreport

2023-03-02 05:37

reporter   ~0017604

Duplicate of 0008198 ?

astakhoved

astakhoved

2023-03-02 06:17

reporter   ~0017605

sudo apt --fix-broken install

Unpacking kali-themes (2023.1.5) ...
dpkg: error processing archive /var/cache/apt/archives/kali-themes_2023.1.5_all.deb (--unpack):
trying to overwrite '/etc/skel/.face', which is also in package desktop-base 12.0.4+kali1
Errors were encountered while processing:
/var/cache/apt/archives/kali-themes_2023.1.5_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

steev

steev

2023-03-03 03:21

manager   ~0017608

try sudo apt --fix-broken install -o dpkg::options::=--force-overwrite -

daniruiz

daniruiz

2023-03-09 10:17

manager   ~0017636

I'm closing this as it's now fixed in kali-rolling

Issue History

Date Modified Username Field Change
2023-02-28 21:40 astakhoved New Issue
2023-03-01 06:44 arnaudr Note Added: 0017592
2023-03-01 06:56 astakhoved Note Added: 0017593
2023-03-01 06:58 arnaudr Note Added: 0017594
2023-03-01 07:03 astakhoved File Added: Capture.PNG
2023-03-01 07:03 astakhoved Note Added: 0017595
2023-03-01 07:22 arnaudr Note Added: 0017596
2023-03-01 07:59 astakhoved Note Added: 0017597
2023-03-01 08:45 arnaudr Note Added: 0017598
2023-03-01 11:16 astakhoved File Added: 1.PNG
2023-03-01 11:16 astakhoved Note Added: 0017600
2023-03-01 18:21 astakhoved Note Added: 0017601
2023-03-02 01:49 arnaudr Note Added: 0017603
2023-03-02 05:37 kali-bugreport Note Added: 0017604
2023-03-02 06:17 astakhoved Note Added: 0017605
2023-03-02 06:54 astakhoved File Added: 2.PNG
2023-03-02 06:55 astakhoved File Added: 3.PNG
2023-03-03 03:21 steev Note Added: 0017608
2023-03-09 10:17 daniruiz Note Added: 0017636
2023-03-09 10:17 daniruiz Assigned To => daniruiz
2023-03-09 10:17 daniruiz Status new => resolved
2023-03-09 10:17 daniruiz Resolution open => fixed
2023-03-09 10:17 daniruiz Fixed in Version => 2023.1