After installing libvirt - I get error creating virtual machine

Deleted those lines. Now when I attempt sudo pacman -Syu libvirt it no longer gets the error and appears to go all the way through but I do not believe it saves as when I attempt to check for the files they do not appear and the system allows me to download it again.

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                                                  [#############################################################################] 100%
(1/1) checking package integrity                                                                                                [#############################################################################] 100%
(1/1) loading package files                                                                                                     [#############################################################################] 100%
(1/1) checking for file conflicts                                                                                               [#############################################################################] 100%
(1/1) checking available disk space                                                                                             [#############################################################################] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
:: Processing package changes...
(1/1) reinstalling libvirt                                                                                                      [#############################################################################] 100%
:: Running post-transaction hooks...
(1/6) Creating system user accounts...
(2/6) Reloading system manager configuration...
(3/6) Applying kernel sysctl settings...
(4/6) Creating temporary files...
(5/6) Arming ConditionNeedsUpdate...
(6/6) Refreshing PackageKit...

Also deleted the pritunul one as that is rouge code from a failed attempt of downloading that program.

Check what files, how? It’s best if you post commands with output so we know what you are talking about.

If you are talking about libvirt package, then it just gets reinstalled from your cache - as many times as you want.

It is the libvirt package. I assumed that if I installed it correctly I would no longer have a

Unable to connect to libvirt qemu:///system.

Failed to connect socket to '/var/run/libvirt/virtqemud-sock': No such file or directory

error. Since I’m trying to download it for the Virtual Machine Manager.

I might just do a fresh install as I think it may be rouge code in config files.

As I said, post full commands with output. I have no idea where this error comes from.
Did you enable and start libvirtd service?

Also, this is already off topic, your original issue has been (most probably) solved and this has nothing to do with pacman anymore. I’d suggest you go over archwiki on libvirt/qemu/virt-manager - whatever you are using, and if you still can’t make it work, open a new topic.

As noted by @Strit - there is no official support for third party repos - and you have errors in the configuration - so remove the part starting with clea and below.

sudo systemctl enable --now libvirtd

Another option is to not enable above service but use a user session in File → add connection → hypervisor

This fixed it. Thank you all for your time and help even though I went off-topic and wasn’t the most helpful. Sorry and any problems I added to the pile. Thank you again, linix-aarhus for helping me during the whole journey.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.