#unix

1 messages ยท Page 61 of 1

pastel kestrel
#

yes

#

try running sudo apt-get update --fix-missing again

#

cuz apt-get works

whole hamlet
pastel kestrel
#

lmk when u have ur final output

whole hamlet
#

this is it

pastel kestrel
#

oh ok

#

try sudo apt-get install -f

#

lmk the output

whole hamlet
#

@pastel kestrel

pastel kestrel
#

I'm thinking

whole hamlet
#

alr mb

pastel kestrel
#

ur unpacking is broken

#

that means that when u use apt to install stuff it won't be able to install

whole hamlet
#

oh

#

thats not good

pastel kestrel
#

It's not but I have an idea

whole hamlet
#

hm?

pastel kestrel
#

ur wget should still work

#

so if u fix dpkg with wget

#

things should look up from there

whole hamlet
#

so what command?

#

sudo apt wget

#

?

#

cuz im not good with this stuff as im just a beginner

pastel kestrel
#

no no no

#

it's fine

whole hamlet
#

alr

#

so which command?

pastel kestrel
#

let me look at this error for a bit

whole hamlet
#

kk

pastel kestrel
#

oh yep

#

I know exactly what to do

whole hamlet
#

oh nice

pastel kestrel
#

sudo dpkg --configure -a

#

ur database got fucked too

#

but this should fix that

whole hamlet
#

a bit of hope

#

i'll let yk the output when its here

pastel kestrel
#

if it takes a long time it's working

whole hamlet
#

it is lol

pastel kestrel
#

thats good

whole hamlet
pastel kestrel
#

give me a bit to process this

whole hamlet
#

alr

pastel kestrel
#

hmmm

whole hamlet
#

that doesnt seem good

pastel kestrel
#

I doubt it will work but it might give a different error

whole hamlet
pastel kestrel
#

sudo apt-get clean

whole hamlet
#

nothing happened

pastel kestrel
#

that's weird

#

gimme a moment

#

I have another idea

whole hamlet
#

kk

pastel kestrel
#

apt-get remove python3.10

#

apt-get remove python3.10-minimal

#

those 2 commands

#

then do sudo apt-get clean again

whole hamlet
pastel kestrel
#

then sudo apt-get update

pastel kestrel
#

my fault

whole hamlet
#

oh

#

mb

#

i didnt notice either

pastel kestrel
#

no u good

whole hamlet
#

now ill run the second one

pastel kestrel
#

if the first one doesent work the 2nd won't either

whole hamlet
#

yeah it didnt lol

pastel kestrel
#

try sudo apt --fix-broken install

whole hamlet
pastel kestrel
#

this problem goes so deep ๐Ÿ˜“

#

it's just everywhere

whole hamlet
#

;-;

whole hamlet
#

it's fine if you dont wanna do it anymore

#

its understandable

pastel kestrel
#

I want to help out a fellow linux user

whole hamlet
pastel kestrel
#

I never seen something like this tho

#

I'ma keep trying

whole hamlet
#

alr

#

appreciated

pastel kestrel
#

sudo apt --fix-missing update

whole hamlet
#

oh my god no error this time

pastel kestrel
#

sudo dpkg -l | grep ^..r

whole hamlet
#

hm nothing happened

pastel kestrel
#

that could mean 2 things

whole hamlet
#

hm?

pastel kestrel
#
  1. ur packages are all updgraded
  2. dpkg is 101% fucked
whole hamlet
#

lmao

pastel kestrel
#

I'm not sure which one

#

we gunna assume #1

whole hamlet
#

hopefully ๐Ÿ‘€

pastel kestrel
#

sudo dpkg --remove --force-remove-reinstreq python3.10

whole hamlet
pastel kestrel
#

this should be a good sign

#

is that all the output tho?

whole hamlet
#

oh nice

whole hamlet
pastel kestrel
#

hmm

#

one more command should do it

#

actually 2

whole hamlet
#

oh ok

pastel kestrel
#

sudo dpkg --remove --force-remove-reinstreq python3.10-minimal

whole hamlet
pastel kestrel
#

there is no way that is all the output

whole hamlet
#

it is

#

i promise you

pastel kestrel
#

ig it worked then

#

one last command

whole hamlet
#

OH NICE

#

alr

pastel kestrel
#

sudo apt-get install -f

whole hamlet
pastel kestrel
#

this one I am the least sure about

whole hamlet
#

im surprised no errors are showing up yet

pastel kestrel
#

We made a lot of progress

#

but it's saying we have a bit of cleaning up to do

whole hamlet
#

lol i can tell

pastel kestrel
#

sudo apt clean

#

that should clean it up

whole hamlet
#

hm

#

nothing happened

#

just moved on to the next line

#

that could mean good or bad

pastel kestrel
#

then try sudo apt autoremove

whole hamlet
#

cuz no errors are showing

#

its working

pastel kestrel
#

it should be removing 2 packages

#

*3

whole hamlet
pastel kestrel
#

a bit more than a few

whole hamlet
pastel kestrel
#

but that should still be ok

whole hamlet
#

theres that too

#

alr

#

so any more commands?

pastel kestrel
#

I think ur done. So try doing this command to see if everything works

whole hamlet
#

alr

pastel kestrel
#

sudo apt-get update && sudo apt-get upgrade

#

if that works with no errors

#

u saved ur system

whole hamlet
#

nope, you did

pastel kestrel
#

no errors?

whole hamlet
whole hamlet
pastel kestrel
#

that makes me suspisious

#

apt is prob trolling us

whole hamlet
#

wdym lol

whole hamlet
pastel kestrel
#

I think it's lying to us

whole hamlet
pastel kestrel
#

try sudo apt-get mpv

#

I meant sudo apt install mpv

#

my fault

whole hamlet
#

oh

pastel kestrel
#

if that works then I can say with certainty that ur system is good to go

whole hamlet
#

theres more

pastel kestrel
#

any errors?

whole hamlet
whole hamlet
pastel kestrel
#

do mpv --help

whole hamlet
pastel kestrel
#

ur system is good

whole hamlet
#

OMD NO WAY

pastel kestrel
#

yep

whole hamlet
#

thanks so much

#

wait

pastel kestrel
#

is the error still there

whole hamlet
#

so wil terminal open now

whole hamlet
pastel kestrel
#

u might need to reboot

#

if anything sus happens lmk

whole hamlet
#

yet

pastel kestrel
#

aight

pastel kestrel
pastel kestrel
#

alr

whole hamlet
#

yo

pastel kestrel
#

remember all those commands

whole hamlet
#

uh do u mind waiting like 10 min

pastel kestrel
#

yeh np

whole hamlet
#

alr thanks

#

ill ping u

#

when im rdy

#

@pastel kestrel

#

im rdy

pastel kestrel
#

sorry

whole hamlet
#

?

pastel kestrel
#

I missed the notifcation

whole hamlet
#

oh ok

#

no thats fine

#

only by a minute lol

pastel kestrel
#

oh

whole hamlet
#

so anyways

#

what commands we running now

pastel kestrel
#

what happens when u try to open ur main terminal

whole hamlet
#

my mouse turns into a loading thing for a few seconds then everything goes back to normal

pastel kestrel
#

so it doesent even give you an error?

whole hamlet
#

nope

pastel kestrel
#

hmmm

#

this may seem a bit weird what I am going to suggest

#

I need to think of what to do tho

whole hamlet
#

hm?

pastel kestrel
#

gimme a few minutes

whole hamlet
#

oh k

#

np

pastel kestrel
#

what DE are you running?

whole hamlet
#

DE?

pastel kestrel
#

yeah

whole hamlet
#

whats that

pastel kestrel
#

nvm

whole hamlet
#

sorry

pastel kestrel
#

it's zorian right

whole hamlet
#

yeah

pastel kestrel
whole hamlet
#

zorin os

#

ubuntu

pastel kestrel
#

is ur terminal called "konsole"?

whole hamlet
#

hold on

whole hamlet
pastel kestrel
#

thats perfect

whole hamlet
#

๐Ÿ˜„

pastel kestrel
#

I am probably going to give a lot of wrong commands

whole hamlet
#

oh ok

pastel kestrel
#

but try to run gnome-terminal

whole hamlet
#

no problem

pastel kestrel
#

just type that

whole hamlet
#

on xfce?

pastel kestrel
#

yes

whole hamlet
pastel kestrel
#

perfect

#

I couldent ask for something better

whole hamlet
#

i cant tell if thats sarcastic or not

#

lol

pastel kestrel
#

I'm serious

whole hamlet
#

oh nice

#

das good

pastel kestrel
#

cd /usr/bin

whole hamlet
#

should i type that?

pastel kestrel
#

yeh

whole hamlet
#

in the terminal

pastel kestrel
#

I know the problem

#

python fucked EVERYTHING up

whole hamlet
#

my name now /usr/bin in front of it

#

in the colour blue

whole hamlet
pastel kestrel
#

perfect

#

ls

whole hamlet
#

i need to reinstall it after tho

#

oh wow

pastel kestrel
#

yeah since ur in the python server

#

there should be a lot of shit

#

everywhere

whole hamlet
#

yeah

pastel kestrel
#

ls means list

whole hamlet
#

alr

pastel kestrel
#

so it's gunna list everything

whole hamlet
#

ah ok

pastel kestrel
#

ok so do cd ~

whole hamlet
#

uh nothing happened

pastel kestrel
#

ik

whole hamlet
#

but the blue thing vanished

#

from the start of my name

pastel kestrel
#

I would explain what that means but it doesent matter

whole hamlet
whole hamlet
#

since im picking cs for gcse

pastel kestrel
#

sudo rm -rf usr/bin/python3.10

#

this is gunna nuke ur python

whole hamlet
#

alr

pastel kestrel
#

but we will re install it

whole hamlet
#

cuz it moved onto a new line

#

but my name isnt there

pastel kestrel
#

is there blue?

whole hamlet
#

OH WAIYT

#

its asking for my password

#

mb

pastel kestrel
#

cuz it's sudo

whole hamlet
#

it just took a bit of time to show

whole hamlet
pastel kestrel
#

yeah

#

it's aight

whole hamlet
#

ok now my name is here

#

with a blue squigly dash

#

after my name

pastel kestrel
#

ok

#

~ means ur home

whole hamlet
#

alr

pastel kestrel
#

so now do sudo apt install python3

#

this will get ur python back

#

*without the 99999 errors

whole hamlet
whole hamlet
pastel kestrel
#

fuck

#

u have lots of pythons

whole hamlet
#

lol yeah

pastel kestrel
#

too many damned snakes on ur computer

whole hamlet
#

my dumbass kept installing them and then moving it to the trash because it didnt open like the yt vid said it would

pastel kestrel
#

I have installed python prob like 9999 times at this point

#

on different machines

whole hamlet
#

oh lmao

#

seems like im not the only one

#

makes me feel atleast not like a complete dumbass

pastel kestrel
#

I been using linux for 10 years

#

and I am still making mistakes

whole hamlet
#

i started using it like 2 months ago

#

cuz a friend recommended it

#

saying its better than windows

#

which ofc it is

pastel kestrel
#

it's only good once you understand the commands

whole hamlet
pastel kestrel
#

I would learn the basics

#

like cd, ls, sudo, apt, etc

whole hamlet
#

yeah

pastel kestrel
#

which we have been abusing

whole hamlet
#

i cant be focusing on that stuff rn

#

need to study for cs for gcse

pastel kestrel
#

type python3

whole hamlet
pastel kestrel
#

ur python is back

#

do exit()

whole hamlet
#

nice but its not 3.10.4

#

;-;

pastel kestrel
#

python 3.1 is what made ur raw input not work

whole hamlet
#

alr

pastel kestrel
#

3.8 should fix it

whole hamlet
#

yeah done

pastel kestrel
#

now do gnome-terminal

whole hamlet
whole hamlet
#

i dont think this is good

pastel kestrel
#

hmm

whole hamlet
#

its the same as before

pastel kestrel
#

ur .bashrc is fucked again

whole hamlet
#

๐Ÿคฆโ€โ™‚๏ธ

pastel kestrel
#

this computer has so many errors from that command that somebody told u to run

#

it's driving me crazy

whole hamlet
#

lol

#

its fine if you wanna stop

pastel kestrel
#

do vim .bashrc

whole hamlet
#

idm

pastel kestrel
#

naw I need to help out my fellow linux brothers

whole hamlet
pastel kestrel
#

sudo apt install vim

whole hamlet
pastel kestrel
whole hamlet
pastel kestrel
#

now do vim .bashrc

#

it should look scary

whole hamlet
#

this situation was actually getting me rly stressed too

whole hamlet
pastel kestrel
whole hamlet
pastel kestrel
#

yeah. But now we are in a good spot

whole hamlet
#

alr

#

i see some hope thank god

pastel kestrel
#

I'm gunna need a quiz favor

whole hamlet
whole hamlet
pastel kestrel
#

it's gunna be a pain for u to screenshot all of the code

whole hamlet
#

oh

pastel kestrel
#

!paste

shy yokeBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

whole hamlet
#

naw its nothing compared to what ur doing for me

pastel kestrel
#

press esc then ๏ผš then do q then press enter

whole hamlet
pastel kestrel
#

yeah

whole hamlet
#

i could screen shot tbh

#

its not much to take 10

pastel kestrel
#

I realize I made a mistake

whole hamlet
pastel kestrel
#

just do the esc + : + q

#

then enter

whole hamlet
#

esc then colon then q?

pastel kestrel
#

yes

whole hamlet
#

alr

pastel kestrel
#

it should take u out

#

no more scary code

#

do you have an ide

whole hamlet
#

yeah

whole hamlet
#

oh shit i feel so dumb ;-;

pastel kestrel
#

like pycharm, visual studio code

#

one of those

#

what u use to write code

pastel kestrel
whole hamlet
pastel kestrel
#

๐Ÿ˜“

whole hamlet
#

but i downloaded it like 1 day before

#

cuz i was just starting on learning to code

pastel kestrel
#

this is gunna be difficult

whole hamlet
pastel kestrel
#

do u know this thing?

whole hamlet
#

yeah thats vs code

pastel kestrel
#

yeah can you open it?

whole hamlet
#

no, its deleted

pastel kestrel
#

shit

#

well

whole hamlet
#

i can ask my friend to quickly help me install it

pastel kestrel
#

actually I have idea

#

no

#

no

#

no

#

it's fine

whole hamlet
#

alr

#

lol

pastel kestrel
#

can you open ur files

whole hamlet
#

yes

pastel kestrel
#

do ctrl + h

#

it should add a few files

whole hamlet
#

on the app files

pastel kestrel
#

on the main screen

whole hamlet
#

alr

pastel kestrel
#

then look for .bashrc

#

it should be a file you have

#

then double click it

#

then do ctrl + a

whole hamlet
#

alr

pastel kestrel
#

then do ctrl + c

#

lmk when u finish that

whole hamlet
#

done

pastel kestrel
#

ok

#

!paste

shy yokeBOT
#

Pasting large amounts of code

If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.

whole hamlet
#

so ctrl a is selecting all?

pastel kestrel
#

u see that link

whole hamlet
pastel kestrel
#

click it

#

and paste it into the website

whole hamlet
pastel kestrel
#

then press the save button

#

then send the link in the url bar

whole hamlet
#

wait

#

alr

pastel kestrel
#

it should be different

whole hamlet
pastel kestrel
#

perfect

whole hamlet
#

i hope its not u tryna hack me or som

pastel kestrel
#

no

whole hamlet
#

seeing all my files or something

#

lol

pastel kestrel
#

It would be impossable to hack somebody by seeing the bashrc

whole hamlet
#

alr

#

im paranoid abt pointless shit

#

so dont mind me

pastel kestrel
#

this might take a while cuz im trinna read the spagetti code

whole hamlet
#

alr lol

#

just ping me when ur done

pastel kestrel
whole hamlet
#

ah ok

#

thats good

pastel kestrel
#

yes but no

whole hamlet
#

hm?

pastel kestrel
#

It's good that that doesent have any errors

#

but that means that I don't know why we have these errors

whole hamlet
#

but its bad we dont know why this is happening

pastel kestrel
#

wait

whole hamlet
#

i see

#

hm

pastel kestrel
#

I think I know

whole hamlet
#

o

pastel kestrel
#

sudo apt purge python3.1

#

that should work

#

idk why I didn't think of that

#

shit I typed it wrong

whole hamlet
#

oh

pastel kestrel
#

sudo apt purge python3.10

whole hamlet
#

alr

#

hld on

pastel kestrel
#

ok

whole hamlet
pastel kestrel
#

I should have known that would happen

#

we already nuked python 3.10

whole hamlet
#

ah

pastel kestrel
#

the problem is that ur gnome ternimal is down bad for python 3.10 and is looking for it

whole hamlet
#

๐Ÿ’€

pastel kestrel
#

it doesent wanna let use him unless he finds his fucking waifu snake

whole hamlet
#

simps are bad ๐Ÿ˜ 

pastel kestrel
#

which is pissing me off

whole hamlet
pastel kestrel
#

cuz ur terminal is basically saying "Wahhh u killed my waifu I hate u"

whole hamlet
#

yk at first i thought that was diedra in ur pfp ngl

pastel kestrel
#

oh lmao

#

so this little fucking shit is not working

whole hamlet
#

so, u got any solutions?

pastel kestrel
#

I need to think

#

gimme 5

whole hamlet
#

alr

pastel kestrel
#

fuckkkk

whole hamlet
#

;-;

pastel kestrel
#

this is soo annoying

whole hamlet
#

hold on

#

since u understand this situation better than me

#

can u phrase whats happpened and why

pastel kestrel
#

yeah

whole hamlet
#

so i can post it in another server

#

see if someone else can help too

#

better to have more people working

pastel kestrel
#

So your terminal isnt starting because it has a conflict where it's looking for python 3.10 which has been changed to python 3.8

whole hamlet
#

alr

pastel kestrel
#

Wait... I think im stupid

#

๐Ÿ’€

#

I'm actually fucking stupid

whole hamlet
#

alr thanks

pastel kestrel
#

sudo apt-get update && sudo apt-get upgrade

whole hamlet
pastel kestrel
#

that should fix the solution

pastel kestrel
whole hamlet
pastel kestrel
#

and it's the most basic

pastel kestrel
whole hamlet
whole hamlet
pastel kestrel
#

apt is ๐Ÿงข ing rn

#

it's saying everything is up to date

whole hamlet
#

hm

#

any solution

pastel kestrel
#

alr

#

I might have one

whole hamlet
#

nice

pastel kestrel
#

but this might cause more issues

#

if it does I can fix them but it will still be annoying

#

sudo apt install python3.10

#

wait

whole hamlet
#

aalr

pastel kestrel
#

sudo apt purge python3.8

whole hamlet
pastel kestrel
#

then do sudo apt install python3.10

#

do purge first

whole hamlet
pastel kestrel
#

damn

#

do it

#

it should fix ur terminal

whole hamlet
pastel kestrel
#

ok

#

that is gunna get rid of the fucking snake

whole hamlet
#

les go

pastel kestrel
#

then we are bringing back ur terimals waifu

whole hamlet
#

only at 15 percent rn

#

so itll take a while

pastel kestrel
#

so the ur terminal should be happy

whole hamlet
#

๐Ÿ˜„

#

whilst removing stuff

#

there were like 5 lines with warning in em

#

OMD

#

my terminal vanished

#

and my firefox is gone too

#

@pastel kestrel

pastel kestrel
#

hmm

#

thats not good

whole hamlet
pastel kestrel
#

oh

whole hamlet
#

fuck

pastel kestrel
#

thats good

whole hamlet
#

it's following its waifu ๐Ÿ’€

pastel kestrel
#

if it was ur xfce u would have been super fucked

pastel kestrel
#

ok now we need to bring back gnomes waifu snake

whole hamlet
#

hold on

pastel kestrel
whole hamlet
#

its at 85 percent rn

pastel kestrel
#

oh ok

whole hamlet
#

90

pastel kestrel
#

no need to rush

whole hamlet
#

alr

#

stuck at 94 percent for some reason but ok

pastel kestrel
#

it do be like that sometimes

whole hamlet
#

yeah fr

pastel kestrel
#

it's just how it is

whole hamlet
#

btw

pastel kestrel
#

I just didn't want u to need to re install linux cuz thats what I had to do a couple of days ago

whole hamlet
#

and it said

#

"not empty so not removed"

#

its done now btw

#

but for some reason i cant see the discord app icon

pastel kestrel
#

yeah this is not supposed to happen

#

this is really bad

whole hamlet
#

FUCK

pastel kestrel
#

screenshot

#

I think I made a massive mistake

#

cuz some of these apps were made with python

#

so ur whole computer simps for the fucking snake

#

and since we are murdering it with a fucking nuke

whole hamlet
#

Discord vanished

pastel kestrel
#

ur computer is pissed

whole hamlet
#

From my pc

#

I'm on my phone atm

pastel kestrel
#

ctrl c

whole hamlet
#

Fuck I'm worried now

pastel kestrel
#

spam ctrl c

#

I might have made a mistake

#

a very big one

#

this is all my fault

whole hamlet
#

On the terminal?

pastel kestrel
#

yes

whole hamlet
#

Ctrl c

#

On the term

pastel kestrel
#

yes

whole hamlet
#

K

pastel kestrel
#

before it hits 100

whole hamlet
pastel kestrel
#

well shit

whole hamlet
#

It*

#

FUCK

#

I'm worried now

pastel kestrel
#

well

whole hamlet
#

What should we do

pastel kestrel
#

see we have a bit of an issue

whole hamlet
#

๐Ÿ˜ญ๐Ÿ˜ญ

pastel kestrel
#

ur whole computer relies on python

#

and we murdered it

whole hamlet
#

I'm actually shifting bricks rn

#

Should I install python 3.10 then now

pastel kestrel
#

yes

whole hamlet
#

??

pastel kestrel
#

yes

whole hamlet
#

Alr

#

I'm so fucking worried

pastel kestrel
#

if that command does not work we are so fucked that I can't explain

#

once the command finished u need to reboot

whole hamlet
#

Its finished

#

Alr ima reboot

#

If my pc doesn't open ima cry

pastel kestrel
#

boot isnt written in python

#

thank god

whole hamlet
#

Oh thank god

#

Bte

#

Btw

pastel kestrel
#

at least ur boot isnt down bad

whole hamlet
#

Does this only affect linux

#

Cuz I have windows on my pc too

pastel kestrel
#

this only affects linux

whole hamlet
#

OH THANK GOD

#

I thought my whole pc was gone for

pastel kestrel
#

naw

whole hamlet
#

So no matter what happens I can delete Linux and install it again

#

If something goes really wrong

pastel kestrel
#

the very worst case is that u fucked ur linux to a point of no return

#

if ur boot used python u would be fucked

#

but it doesent

whole hamlet
pastel kestrel
whole hamlet
#

So I'm not worried now

pastel kestrel
#

boot is written in c not python

whole hamlet
#

But it would be very preferable to have this Linux saved

whole hamlet
pastel kestrel
#

the fucking snake

pastel kestrel
#

is causing us pain

whole hamlet
#

Oh fuck

pastel kestrel
#

but ur gnome terinal is down bad

whole hamlet
#

I'm sending a picture

pastel kestrel
#

fuck

whole hamlet
#

Linux isn't opening

#

Fuckkkk

pastel kestrel
#

ok

whole hamlet
#

Should I press esc or enter or sum

pastel kestrel
#

no

whole hamlet
#

Alr then what

pastel kestrel
#

Iโ€˜m sorry

#

but ur FUCKEDDDDDD

whole hamlet
#

FUCK

pastel kestrel
#

like 100%

#

fully fucked

whole hamlet
#

Welp

pastel kestrel
#

boot needed python

#

for some fucking dumb reason

whole hamlet
#

SO I CANT USE WINDOWS?

pastel kestrel
#

ur gunna need a usb

pastel kestrel
#

btw im sorry this is all my fault

whole hamlet
#

It's fine, I have a friend who can as well

pastel kestrel
#

I thought u had more pythons

whole hamlet
#

Wait

#

I think windows is still working

pastel kestrel
#

but we killed too many of those shits

#

windows should work

whole hamlet
#

Oh yeah it's working

pastel kestrel
#

but ur linux is 100% compleatly fucked

whole hamlet
#

Eh it's fine ig

pastel kestrel
#

ig even tux was downbad

whole hamlet
#

๐Ÿคฆ

pastel kestrel
#

did u have important files on ur linux?

whole hamlet
#

No

pastel kestrel
#

ok

whole hamlet
#

Allhamdulilah

pastel kestrel
#

that makes things easier

whole hamlet
#

Alr

pastel kestrel
#

but u need to follow very very very specific instuctions

#

cuz things could go hella south

#

like what happened to me a couple days ago

#

I accendently erased my whole computer

whole hamlet
#

So I have to reinstall Linux?

pastel kestrel
#

yes

#

it's fully fucked

#

I'm sorry

whole hamlet
#

It's fine

pastel kestrel
#

tbh it had so many errors anyway

whole hamlet
#

I guess

pastel kestrel
#

how to re install linux

#

u need a usb drive

#

the one that u used to install linux

whole hamlet
#

The same way I downloaded Linux basically

pastel kestrel
#

yeh

whole hamlet
#

I just need to do everything over again

pastel kestrel
#

kinda

whole hamlet
#

It's not that much of a serious situation then I'm guessing

whole hamlet
pastel kestrel
#

yes u are

#

there is somthing called partitioning

whole hamlet
#

Yeah ik

#

That's what we did

pastel kestrel
#

u could lose ur windows in theory

#

if u fuck it

whole hamlet
pastel kestrel
#

but if u listen closly I won't let that happen

whole hamlet
#

I can't do anything rn

#

Cuz I don't have the usb on my atm

pastel kestrel
whole hamlet
#

I don't have the usb

#

My dad out it somewhere

pastel kestrel
#

oh

whole hamlet
#

Put*

pastel kestrel
#

actually ur dad should install linux again

whole hamlet
#

Can u dm me the instructions

pastel kestrel
#

does he know how?

whole hamlet
pastel kestrel
#

oh

whole hamlet
#

But my friend does

#

And he's coming to my house tmrw

pastel kestrel
#

ok

whole hamlet
#

So dm me the instructions

pastel kestrel
#

alr

whole hamlet
#

And what could happen if we mess it up

#

So I can show him

pastel kestrel
#

u could lose everything on ur computer

#

like everything

whole hamlet
#

Dm me how and why

#

And dm me the instructions

pastel kestrel
#

the problem is that I don't live with you

#

It is 999999x easier in person

whole hamlet
#

Yeah

pastel kestrel
#

cuz if I could see ur screen in real time I could do it

whole hamlet
#

But my friend is very techy

#

So he could prolly help

pastel kestrel
#

he is prob better than me

whole hamlet
#

So just dm me everything

pastel kestrel
#

dm u what

whole hamlet
pastel kestrel
#

didn't he install it before

whole hamlet
pastel kestrel
#

alr

whole hamlet
#

Just in case

pastel kestrel
#

oh ok

#

ima dm u everything

whole hamlet
#

Yeah

#

Every detail and all

low kayak
#

No

plush sparrow
#

๐Ÿ‘‹

main olive
#

installing linux is easy, depending on what distribution it is you are installing

#

ofc if you don't know the first thing about computers then it is not easy

#

but it is not as hard as you think

#

it is very rare to f*** something up

#

again depends on the distribution

#

if you are reinstalling your operating system then you will wipe everything on your computer anyways

#

idk if there is a way to not have that happen but still reinstall successfully

#

i'd suggest backing up all your data on a different storage device

#

now that may sound fancy to noobs but it is literally just copying and pasting everything you don't want to lose to a separate storage device

main olive
#

which linux distribution is the best

#

any professional advice

#

and also i want to ask is it mandatory to learn .BASH for getting into the linux

tender plinth
#

hello, i've been trying to set up debug for an aarch64 linux 5.17 kernel, the issue is that, the boot image is an MS-DOS executable PE32+ executable, is there a way we can extract the vmlinux kernel elf from this?

wise forge
#

Debian family of linuxes is in general the most stable to be used for dev purposes

#

Ubuntu is the target platform for Docker products

#

Ubuntu is Debian variation basically

#

and Kubuntu is Ubuntu with KDE Plasma graphical interface

#

which is quite friendly and pleasant to use

#

default Console multiplexor

#

familiar task bar at the bottom and everything is cool in general as well

#

20.04 is stable LTS one currently. In 5 days is going to be the big release

#

of the Kubuntu 22.04. The next stable long time supported one

fallow tusk
# main olive and also i want to ask is it mandatory to learn .BASH for getting into the linux

It's not mandatory, but I'd say it's highly recommended. Most modern Linuxes have graphical interfaces to all the settings, for example, but being able to drop to a terminal and do a few simple command line queries is invaluable - it's much easier to ask someone to do something as a command than explaining what to do in any of the myriad GUI tools, so knowing bash will help to know what is being asked when reading internet help, for example.

#

But then bash isn't the only shell - as with anything Linux, there are a myriad variations. bash seems to be the most popular atm, though. sh and zsh are strong contenders. csh less so nowadays.

#

As far as distros go, each has its own fortรฉ. Ubuntu and Manjaro and Mint are pretty well-rounded, general purpose distros. There are also several that try to mimic to some degree or other the look and feel of Windows or Mac. And then there are those that try to give you as much control over what you want the distribution to be as possible (Arch is probably my favourite in this category, and Manjaro is based on Arch).

#

||</keyboard diarrhoea>|| ;)

trail sapphire
# main olive which linux distribution is the best

that question is really a good one if you want to start a flame war, and you'll get a different answer depending on who you ask
it's a bit like asking "what food is the best?" (it will also depend on who you ask) and even leaving "best" up for interpretation by the othere party (best for what or in what way?)

you probably need to tell us what your goal is, just learn to expand you knowledge or for a specific line of work in the enterprise world, and in the later case, what would that be?

plush sparrow
#

With the above being said, I think it's good to make it clear that you can achieve the same look and feel, and have the same programs on pretty much any of the popular distributions. The thing that varies is the package manager and what comes out of the box. It's not like Windows where you are tied down to use a certain desktop environment or window manager, everything can be configured.

We nix users tend to take that for granted, but when coming from Windows it's quite a huge difference

trail sapphire
#

i couldn't agree more with what @plush sparrow said, especially about that the package mangers being one of the major differences, just wanted to add that there will also be some major differences in how some of the distributions configuration files look, like network configuration in debian based distros and redhat based distros just to take one example

trail sapphire
fallow tusk
#

tbf, bash and zsh aren't that far different.

trail sapphire
#

true, but they are the most common and i don't think tcsh and csh isn't that far off either

fallow tusk
#

Garuda uses fish, and that annoys me by being similar enough to lull me into a false sense of security, but different enough to do things in different ways that trip me up.

#

Most are just variants of (or "improvements" on) sh :D

trail sapphire
#

@main olive two more things to learn when learning to use the shell and a unix based system is:

  1. to be able to login to other such systems over the network using the ssh command
  2. know at least the very basics of how to use the editors that are more or less universally available on most unix systems, like:

vi or one of it's more modern variants such as vim, you will find it installed on almost all unix systems by default but they can be very intimidating to use at first, it's the unix granddaddy of text editors and was meant to be a "visual" (think basic text user interface) version of ed (which is another editor that doesn't have much of an interface to speak of, it resembles a command line or shell more than anything else, you can more or less just ignore that one for now)

nano (which is a modern version of the original software named pico) can be much easier to get started with, and some would argue even for day to day use, but might not be available by default on all unix systems without adding that package to the system

this list wouldn't be much of a list without mentioning emacs which is a very advanced text editor that might have a bit more familiar ergonomics compared to vi, it is maybe a bit less commonly installed by default on unix systems then the vi variants, but still used to be the second most common editor found on unix systems, nano may however have taken the number two spot today

both viand emacsdates back to 1976 but both has seen continues development since then, and very loyal followers of each of those two editors has for decades waged flame wars against each other online about which is the best editor, way worse then those over different distros ๐Ÿ˜‰

vivid cradle
#

test

plush sparrow
fallow tusk
#

Emacs with Viper mode enabled }:D

trail sapphire
#

oh no, look what i've started by just mentioning editors in the unix world! lets keep those flame wars, err... conversations over at #editors-ides ๐Ÿคช

plush sparrow
north bronze
#

Vim is better

tired magnet
#

can someone tell me whats wrong with my code?

#

I cant figure it out

plush sparrow
opaque ginkgo
#

Your first mistake was writing an actual program in bash

#

on a serious note,

#

its better if you paste your code as text, eg:
```bash
code goes here
```

#

so we can reproduce

#

@tired magnet

#

oh I see

#

choice =4 should be choice=4

valid fern
#

I can't install git lfs

#

I installed the exe, ran it and have it in my c: folder

#

then when I run git lfs install it says git lfs exists, and it might be broken

slender plank
#

Im a linux noob and i tried installing debian now im stuck here

#

yeah but i cant install a gui

#

command not found

#

it gives me a list of commands and some info

#

that works

#

unable to locate package

fallow tusk
#

If you want a gui without too much hassle, you might consider a distribution that comes with KDE or GNOME as standard. Not sure which debian distro might match that specification, though.

#

Ah

slender plank
#

yes

fallow tusk
#

It's a long time since I installed debian. So long, I was surprised when you said apt ;)

slender plank
#

ill try the search now

fallow tusk
#

That link I showed gives the packages you'd need. kde-full and kde-plasma might be the ones you want.

slender plank
#

still unable to locate

fallow tusk
#

Ah, right...

Flavors: The live images come in several "flavors" providing a choice of desktop environments (GNOME, KDE, LXDE, Xfce, Cinnamon and MATE).
I may have to revisit debian at some point :)

#

Ah - did you run apt update?

slender plank
#

yeah

#

all packages are up to date

#

some index files failed to download

#

and failed to fetch security.debian

fallow tusk
#

That last is probably OK. The missing index file are probably repo urls that no longer exist... That might be an issue.

#

Looks like the default installation has GNOME preselected...

slender plank
#

what does that mean?

fallow tusk
#

When I ran the installation it had GNOME selected already as a default package to install.

#

I was going to see if I could run up a system with it set up, and see if I got the same problems

#

Oh. It started me into a desktop environment anyway.

slender plank
#

hm

#

im trying to find some answers online and im gonna see where ill end up

fallow tusk
#

shrug

#

Can you cat /etc/apt/sources.list | grep -v '^#'?

#

And can you ping deb.debian.org successfully?

slender plank
#

it says temporary failure in name resolution

#

how do i do that

#

nop

#

unreachable

fallow tusk
#

Check the output of ip a. Don't post it here unless you know it doesn't have your external ip address

#

This is what I get (I'm in a VM, so have an internal local address - the inet 10.0.2.15 bit under 2: enp0s3)

slender plank
#

ill try that in a sec

#

can i stop the 8.8.8.8 ping

fallow tusk
#

yeah

slender plank
#

how

fallow tusk
#

ctrl-c

slender plank
#

k

fallow tusk
#

No. C ;P

#

I'm going to guess you don't have an IP associated with your network interface...

slender plank
#

i got the same message as you

fallow tusk
#

With the inet line with an address there?

slender plank
#

yea

fallow tusk
#

(And not the loopback address, 127.0.0.1)

slender plank
#

its inet and my ip

fallow tusk
#

hmm. ip route?

slender plank
#

default via (my ip) dev enp4s0 onlink linkdown

fallow tusk
#

But nothing under there?

slender plank
#

its got (my ip) dev enp4s0 proto kernel scope link src(ip) linkdown

fallow tusk
#

linkdown suggests that maybe something's not right to me.

#

Yeah, I think that may be the issue

slender plank
#

already configured

#

on the laptop i installed linux is wireless

#

for my pc i use ethernet

fallow tusk
#

Ah. Isn't enp* an ethernet interface? I'd expect wlan0 for a wireless

slender plank
#

if i plug in the cable woould that do something?

fallow tusk
#

Try it!

slender plank
#

okey done

fallow tusk
#

What does ping www.google.com give, now?

slender plank
#

temporary failure in name resolution

#

should i reboot maybe?

fallow tusk
#

Worth a shot, although I'd expect it to "just work" if it's just an unplugged cable.

#

Before you do...

slender plank
#

yeah

fallow tusk
#

Have a look at ip a again. Is it different?

#

and/or ip route

slender plank
#

let me check

fallow tusk
#

Do they still say linkdown?

slender plank
#

no

#

works now

fallow tusk
#

OK.

#

So just need to configure a nameserver, perhaps

#

Ah, true

slender plank
#

id try running the installer again

#

just need to know how

fallow tusk
#

Did you have it on usb? A live disk?

slender plank
#

usb yes

fallow tusk
#

So stick that in and use the BIOS menu to boot it (Usually need something like F2 as the laptop starts)

#

(Yeah - done this cycle many many times myself!)

#

Especially when you forget which particular key your BIOS needs, or you mistime pressing it....

slender plank
#

okay installing now

#

im gonna ask if im not sure about smth

fallow tusk
#

I'm re-running the installer too

slender plank
fallow tusk
#

Ah, that'll be why you don't have wifi!

slender plank
#

okay so can i install those later?

fallow tusk
#

I assume so!

slender plank
#

okay im gonna continue no

#

w

fallow tusk
#

Might need to dig on the net to find how to get them, though.

slender plank
#

any reason why they are missing?

fallow tusk
#

They're non-standard. Not unusual for a laptop.

#

Also says they're non-free (i.e. proprietary)

slender plank
#

What should i enter as domain name?

fallow tusk
#

You probably don't need one

slender plank
#

i dont have one on my pc

#

so i can just leave it blank?

fallow tusk
#

yep

slender plank
fallow tusk
#

I assume you are going to use the entire hard disk on the laptop - you're not dual booting?

slender plank
#

nope

fallow tusk
#

And you're not likely to add more hard drives?

#

In which case first option is easiest

slender plank
#

okay

fallow tusk
#

LVM - logical volume manager. Allows you to use multiple hard drives so they look like a single device

slender plank
#

Recommended here?

fallow tusk
#

Go with option 1 for now.

#

Personally I prefer having /home on a separate partition.

#

/home is where all your user files will be stored - i.e. the stuff that isn't going to get reinstalled if you want to start over

#

Things like configuration files will live there, too.

slender plank
fallow tusk
#

Yeah, doesn't particularly matter, but generally choose somewhere close to you.

slender plank
#

can i just do my country?

fallow tusk
#

Yeah

slender plank
fallow tusk
#

Yep

#

I just went with the defaults. They're good enough for starters

#

There's a utility that will allow you to measure the speed of package repos and select the best based on that....but I'm not sure there's huge benefits

#

;)

slender plank
#

Okau now i get to choose a DE

fallow tusk
#

Woo!

slender plank
#

leave it like this?

fallow tusk
#

Your choice, but I prefer KDE over GNOME.

#

I also like LXQt/LXDE for a lightweight install.

#

I'd suggest adding the SSH server - that will let you communicate with the laptop from your PC, too.

#

Again, all of this you can add (or remove) later.

#

When you press go, it may then be time for a cup of coffee. (It used to take hours. Mine's been going for a while now, but I selected several DEs to play with)

slender plank
#

okay and for the display manager gdm3 or sddm

fallow tusk
#

Ah, you chose both GNOME and KDE? GDM is gnome's, SDDM is KDE's. You can use either, it'll just be the look-and-feel at startup

#

It'll be the thing you see as your login screen and allows you to select your user and which DE to use.

#

And to preempt a question: the answer to the GRUB prompt is "YES" ;) and /dev/sda (your one and only(?) disk)

#

I'm off to grab a coffee. bbiab

#

This is SDDM