Azure – Connecting Azure Ubuntu virtual machine from Windows – resolving error – “E: unable to locate package xfce4”

Error - E: Unable to locate package xfce4
Error - E: Unable to locate package xfce4

Hi All,

Greetings for the day 🙂 LIFE IS BEAUTIFUL 🙂

Today new issue and solution 🙂

Background :

I was preparing demo for my Docker / Containers session. For this purpose in my Azure trial I have created UBUNTU / Linux box. I need to connect my Ubuntu box using RDP. To connect Ubuntu box using RDP we need to perform several steps, we have detailed article here – Connecting Linux VM hosted in Azure from Windows 10 using RDP

One of the step is install xfce4 – Desktop Virtual Environment. We need to install xfce4 using SSH with following command as

sudo apt-get -y install xfce4

While executing above command we were getting an error

Error :

E: unable to locate package xfce4″

Detailed error :

Reading package list… Done

Building dependency tree

Reading state information… Done

E: unable to locate package xfce4″

Error - E: Unable to locate package xfce4
fig : Error – E: Unable to locate package xfce4

Solution :

We need to enable universe repository, need to execute following commands

sudo add-apt-repository universe
sudo apt update

once we executed following commands successfully we are able to install the package xfce4 🙂

Thanks for reading 🙂 HAVE A GREAT TIME AHEAD 🙂

Prasham Sabadra

LIFE IS VERY BEAUTIFUL :) ENJOY THE WHOLE JOURNEY :) Founder of Knowledge Junction and live-beautiful-life.com, Author, Learner, Passionate Techie, avid reader. Certified Professional Workshop Facilitator / Public Speaker. Scrum Foundation Professional certificated. Motivational, Behavioral , Technical speaker. Speaks in various events including SharePoint Saturdays, Boot camps, Collages / Schools, local chapter. Can reach me for Microsoft 365, Azure, DevOps, SharePoint, Teams, Power Platform, JavaScript.

You may also like...

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: