You are not logged in.

#1 2023-11-19 21:27:45

ElderBladex
Member
Registered: 2019-12-20
Posts: 11

[SOLVED]Missing Terminal and Dolphin after resolving jre-openjdk

I followed this thread, https://bbs.archlinux.org/viewtopic.php?id=290066, when I tried to resolve the jre-openjdk and jre-openjdk-headless conflicts on upgrade. I must have inadvertently uninstalled a large portion of my plasma packages as there's no longer any terminal or dolphin file manager on my system.

Since I have no terminal and no file manager, I tried to chroot into my system to install a terminal so I can start fixing it. The problem I have is that there's no internet access when in chroot into the system.

I get errors like this when I try to install a package:

Could not resolve host: <mirror-url>

When I try pinging a url, I get name resolution error:

ping google.com
Temporary failure in name resolution

My system has luks encryption, and I follow the steps from https://wiki.archlinux.org/title/Chroot:

cryptsetup luksOpen /dev/nvme0n1p2 crypt
mount /dev/VolGroup0/root /mnt
mount /dev/VolGroup0/home /mnt/home
cd /mnt
mount -t proc /proc proc/
mount -t sysfs /sys sys/
mount --rbind /dev dev/
mount --rbind /run run/
cp /etc/resolv.conf etc/resolv.conf
arch-chroot /mnt

What am I missing?

Last edited by ElderBladex (2023-11-19 23:29:58)

Offline

#2 2023-11-19 23:28:12

ElderBladex
Member
Registered: 2019-12-20
Posts: 11

Re: [SOLVED]Missing Terminal and Dolphin after resolving jre-openjdk

I solved this after conversing with ChatGPT, doing the following:

Use iwctl to connect to my network via wifi

iwctl
device list
station DEVICE get-networks
station DEVICE connect SSID
exit

Edit iso's /etc/resolve.conf file and add

namespace 8.8.8.8
namespace 8.8.4.4

`ping google.com` now works.

Copied the resolv.conf file to my host system and chroot in

cd /mnt
cp /etc/resolv.conf etc/resolv.conf
arch-chroot /mnt

I then installed a terminal and dolphin, reinstalled plasma and plasma-desktop.

Rebooted and now my system works as expected.

Marking the post solved.

Offline

#3 2023-11-20 12:34:08

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,002

Re: [SOLVED]Missing Terminal and Dolphin after resolving jre-openjdk

namespace 8.8.8.8
namespace 8.8.4.4

resolv.conf doesn't use/understand namespace , you probably wrote nameserver .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB