Hi all, I hope someone can advise me. I’m trying to install Budgie on Ubuntu 24.04 from instructions at Linuxconf. It repeatedly failed at Step2 install budgie desktop. It gives dpkg Error1 and I have to do ‘sudo apt-get remove budgie-arm-environment’ to recover. FYI, Budgie desktop appears to begin the install but no LightDM prompt? Please help! Am I doing it wrong?
Hi @Natphilsoc!
Rather weird…
When the error occurs, enter this line to force installation:
sudo apt-get install -f
Does it change anything?
Please copy-paste here the full message shown in the terminal.
Thanks for the reply jlb, no change, just says: Unpacking budgie-desktop-environment (0.20.13) …
dpkg: error processing archive /var/cache/apt/archives/budgie-desktop-environment_0.20.13_all.deb (–unpack):
trying to overwrite ‘/etc/profile.d/vte.sh’, which is also in package libvte-2.90-common 1:0.36.3-1ubuntu2
Errors were encountered while processing:
/var/cache/apt/archives/budgie-desktop-environment_0.20.13_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Thanks for the reply fossfreedom, get the message during the install as: Unpacking budgie-desktop-environment (0.20.13) …
dpkg: error processing archive /tmp/apt-dpkg-install-M83gjR/00-budgie-desktop-en
vironment_0.20.13_all.deb (–unpack):
trying to overwrite ‘/etc/profile.d/vte.sh’, which is also in package libvte-2.
90-common 1:0.36.3-1ubuntu2
Then at the end it says:
Errors were encountered while processing:
/tmp/apt-dpkg-install-M83gjR/00-budgie-desktop-environment_0.20.13_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
dpkg -i --force-overwrite ?
Hi jlb, Sorry, no change from doing dpkg -i --force-overwrite. Just says:
Unpacking budgie-desktop-environment (0.20.13) …
dpkg: error processing archive /var/cache/apt/archives/budgie-desktop-environment_0.20.13_all.deb (–unpack):
trying to overwrite ‘/etc/profile.d/vte.sh’, which is also in package libvte-2.90-common 1:0.36.3-1ubuntu2
Errors were encountered while processing:
/var/cache/apt/archives/budgie-desktop-environment_0.20.13_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Try it first in case there’s something misconfigured somewhere:
sudo dpkg --configure -a
Otherwise, depending on the package mentioned in the message, purge and then reinstall can do it — without guarantee:
sudo apt purge <package>
sudo apt install <package>
Thank you, jlb. Unfortunately, I tried ‘sudo dpkg --configure -a’, but I am seeing:
dpkg: dependency problems prevent configuration of budgie-arm-environment:
budgie-arm-environment depends on budgie-desktop-environment; however:
Package budgie-desktop-environment is not installed.
dpkg: error processing package budgie-arm-environment (–configure):
dependency problems - leaving unconfigured
…
dpkg: dependency problems prevent configuration of budgie-arm-environment:
budgie-arm-environment depends on budgie-desktop-environment; however:
Package budgie-desktop-environment is not installed.
dpkg: error processing package budgie-arm-environment (–configure):
dependency problems - leaving unconfigured
Then, when I try ‘purge’ and ‘install’ the first works but the second gives me same error:
dpkg: error processing archive /var/cache/apt/archives/budgie-desktop-environmen
t_0.20.13_all.deb (–unpack):
trying to overwrite ‘/etc/profile.d/vte.sh’, which is also in package libvte-2.
90-common 1:0.36.3-1ubuntu2
…
E: Sub-process /usr/bin/dpkg returned an error code (1)
Thanks, jlb. I didn’t, but if I do: sudo apt purge libvte-2, I get
E: Unable to locate package libvte-2
Same if I try to install.
That package is very odd.
In 24.04 the source package is vte-2.91
v2.90 is from trusty days
Thanks fossfreedom. I’ll try
sudo apt-get remove libvte-2.90-common
I am up and running! FYI, I am seeing a very old desktop of mine so could well date back to much earlier ubuntu.
Thanks a million, you guys!
Thanks, @Natphilsoc, great for you!
As your problems seemed strange to me, I wanted to find out for sure. So I installed a freshly downloaded Ubuntu 24.04.2, did the update and rebooted as the system told me to.
Everything went as described: the “ubuntu-budgie-desktop” installation asked me if I wanted to choose LightDM.
And, at the end of the process:
I had hesitated to suggest that you redo the installation with a new ISO. It sometimes fixes this kind of oddity…
