#Unable to install any package using apt install

61 messages · Page 1 of 1 (latest)

violet isle
#

Help would be appreciated as I'm quite new to linux

mystic falcon
#

install synaptic if havent got it

#

then open it, go to edit menu. 'fix broken packages'

violet isle
mystic falcon
#

try clicking reload first

#

then do it.

#

and then search for what you need and install it there

violet isle
mystic falcon
#

go to Settings, i think general pref's

#

first tab, tick the "show package details in main window"

#

then highlight anki, and click the dependencies tab in middle main window area

#

also go to Settings: Repositories. show a cropped pic of both a) the main repos b) other repositories (likely 2nd tab)

violet isle
#

are these what you need? I think I may have screwed up somewhere when installing a certain package from a specific source

violet isle
mystic falcon
#

yeah so it's possible the other PPAs and some package pulled in some dep that's on that list

#

and it may be some other version idk too well how it all works

#

u can crosscheck all the deps listed , just search in synaptic, and see if and what shows as installed already

violet isle
#

what i did was tried installing imagemagick version 7.1.1-43 if that also helps

mystic falcon
#

no idea

#

you should try to boot live and in the live iso desktop, try install anki after apt update. if it works there, then u may need to like remove all those PPAs, and reload the cache/catalog

violet isle
mystic falcon
#

load up ur install disk, try to test install anki from that.

violet isle
#

oh okay and then if that works?

mystic falcon
#

then the 2nd sentence

violet isle
#

PPA's meaning all the additional repositories right?

mystic falcon
#

es

violet isle
#

also how would i reload the cache/catalog?

mystic falcon
#

just click reload in Sources

#

afterwards, do a sudo apt autoremove && sudo apt clean

violet isle
#

oh just restore default settings?

mystic falcon
#

yeah it will prompt

violet isle
mystic falcon
#

main

violet isle
# mystic falcon main

Okay anki seems to install from the usb just fine im still getting the unmet dependencies error after trying what you mentioned

mystic falcon
#

ah. well that's all I can offer. will have to wait on others

violet isle
#

oh okay thanks for the help

mystic falcon
#

or check software manager if there's a flatpak

violet isle
#

okay

mystic falcon
#

or anki official site for appimage

violet isle
#

Did i mess up the install or is this fixable?

mystic falcon
#

google this this i've seen used. dpkg -a or dpkg-configure -a

#

something regarding 'fix broken install'

wide hound
#

Try running

sudo apt update
sudo apt -f install

to fix unmet dependencies

violet isle
wide hound
violet isle
mystic falcon
#

old (focal) and new can and likely will clash

wide hound
#

Focal is from ubuntu 20.04 (mint 20) that might cause further problems down the line

violet isle
#

oh okay what do you guys think i should do?

mystic falcon
#

can it work with just noble security repo?

violet isle
#

oh okay should i remove the focal source

mystic falcon
#

try

violet isle
#

i can do that

wide hound
#

yeah, remove focal source and run

sudo apt update

see what it'll tell you

violet isle
#

okay i did that

#

i should upgrade right

wide hound
#

you have some updates so run

sudo apt upgrade

violet isle
#

okay i did the upgrade this is what it lists now

#

am i good?

wide hound
#

Yes, seems good

violet isle
#

okay i guess its solved thanks guys