I'll be so grateful if u tell me do.Im new in LInux, and i I did something stupid,I removed with sudo su /etc/apt/sources.list.d/impish-security.list

roni-0po

New Member
Joined
Oct 19, 2022
Messages
5
Reaction score
1
Credits
42
I'll be so grateful if u tell me what can I do. I'm new in LInux, and I I did something stupid, I removed with sudo su /etc/apt/sources.list.d/impish-security.list.
My question is how can i get this directory back, or can i isntall the things that was there
 


Brickwizard

Well-Known Member
Joined
Apr 28, 2021
Messages
4,717
Reaction score
3,176
Credits
35,070
Welcome to the forums
if you are running a Debian/Ubuntu based distro, you could try

sudo apt-get install --fix-missing
 

Brickwizard

Well-Known Member
Joined
Apr 28, 2021
Messages
4,717
Reaction score
3,176
Credits
35,070
If the first suggestions do not work then try, sudo apt update && apt upgrade
 

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
10,166
Reaction score
8,729
Credits
84,195
Support for Impish (21.10) has ended as of July 14th.

Upgrade to a supported operating system ASAP. You're not getting things like security updates. By now, you've missed hundreds of them.
 

bob466

Well-Known Member
Joined
Oct 22, 2020
Messages
1,216
Reaction score
918
Credits
8,956
You could use Timeshift to restore the previous snapshot before you did this.
m1213.gif
 

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
6,651
Reaction score
5,546
Credits
43,138
G'day roni-Opo, Welcome to Linux.org

There appears to be some confusion here

You have said that you are running Linux Mint 21.....correct?

You are not running Impish 21.10 .....correct ?

Why exactly impish was showing in your LM21 sources list is a bit of a mystery......
You have to delete it, both because mixed-version repositories are bound for disaster, and because impish is EOL and the repo's been removed.
You have already removed it......so that can only be a good thing.

Give us a little more detail?.....did you only recently install LM21 ?....how long ago?....where did you download it from ?

How did you install it?

Do you know how impish repository get on to LM21 ?....do you have any idea ?

By the way you did not do anything 'stupid'.....there is no such thing here....just learning experiences.
 

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
8,960
Reaction score
7,930
Credits
37,787
I am re-creating this Post as we lost a little with a restore from backup of the site in recent hours.

@roni-0po , can you give us the content of a file you have called

/etc/apt/sources.list.d/official-repositories.list

please?

If it does not have the following line at the bottom, you need to put in in, save the file, reboot and run

Code:
sudo apt-get update && sudo apt-get upgrade

The line is

Code:
deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse

Cheers and welcome to linux.org

Chris Turner
wizardfromoz
 

Members online


Top