Solved Dependency issue.....Arch

Solved issue

SeanK

Active Member
Joined
Mar 18, 2020
Messages
147
Reaction score
95
Credits
1,041
I think this is a dependency issue. Has anyone else had a similar problem and knows how to resolve it? Output below after attempted upgrade....


Synchronizing package databases...
core is up to date
extra 8.3 MiB 1604 KiB/s 00:05 [#######################################################################################] 100%
community is up to date
multilib is up to date
:: Starting full system upgrade...
:: Replace attica with extra/attica5? [Y/n] y
:: Replace baloo with extra/baloo5? [Y/n] y
:: Replace bluez-qt with extra/bluez-qt5? [Y/n] y
:: Replace frameworkintegration with extra/frameworkintegration5? [Y/n] y
:: Replace kactivities with extra/kactivities5? [Y/n] y
:: Replace kactivities-stats with extra/kactivities-stats5? [Y/n] y
:: Replace karchive with extra/karchive5? [Y/n] y
:: Replace kauth with extra/kauth5? [Y/n] y
:: Replace kbookmarks with extra/kbookmarks5? [Y/n] y
:: Replace kcmutils with extra/kcmutils5? [Y/n] y
:: Replace kcodecs with extra/kcodecs5? [Y/n] y
:: Replace kcompletion with extra/kcompletion5? [Y/n] y
:: Replace kconfig with extra/kconfig5? [Y/n] y
:: Replace kconfigwidgets with extra/kconfigwidgets5? [Y/n] y
:: Replace kcoreaddons with extra/kcoreaddons5? [Y/n] y
:: Replace kcrash with extra/kcrash5? [Y/n] y
:: Replace kdbusaddons with extra/kdbusaddons5? [Y/n] y
:: Replace kdeclarative with extra/kdeclarative5? [Y/n] y
:: Replace kded with extra/kded5? [Y/n] y
:: Replace kdesu with extra/kdesu5? [Y/n] y
:: Replace kdnssd with extra/kdnssd5? [Y/n] y
:: Replace kfilemetadata with extra/kfilemetadata5? [Y/n] y
:: Replace kglobalaccel with extra/kglobalaccel5? [Y/n] y
:: Replace kguiaddons with extra/kguiaddons5? [Y/n] y
:: Replace kholidays with extra/kholidays5? [Y/n] y
:: Replace ki18n with extra/ki18n5? [Y/n] y
:: Replace kiconthemes with extra/kiconthemes5? [Y/n] y
:: Replace kidletime with extra/kidletime5? [Y/n] y
:: Replace kio with extra/kio5? [Y/n] y
:: Replace kitemmodels with extra/kitemmodels5? [Y/n] y
:: Replace kitemviews with extra/kitemviews5? [Y/n] y
:: Replace kjobwidgets with extra/kjobwidgets5? [Y/n] y
:: Replace knewstuff with extra/knewstuff5? [Y/n] y
:: Replace knotifications with extra/knotifications5? [Y/n] y
:: Replace knotifyconfig with extra/knotifyconfig5? [Y/n] y
:: Replace kpackage with extra/kpackage5? [Y/n] y
:: Replace kparts with extra/kparts5? [Y/n] y
:: Replace kpeople with extra/kpeople5? [Y/n] y
:: Replace kpty with extra/kpty5? [Y/n] y
:: Replace kquickcharts with extra/kquickcharts5? [Y/n] y
:: Replace krunner with extra/krunner5? [Y/n] y
:: Replace kservice with extra/kservice5? [Y/n] y
:: Replace ktexteditor with extra/ktexteditor5? [Y/n] y
:: Replace ktextwidgets with extra/ktextwidgets5? [Y/n] y
:: Replace kunitconversion with extra/kunitconversion5? [Y/n] y
:: Replace kwallet with extra/kwallet5? [Y/n] y
:: Replace kwayland with extra/kwayland5? [Y/n] y
:: Replace kwidgetsaddons with extra/kwidgetsaddons5? [Y/n] y
:: Replace kwindowsystem with extra/kwindowsystem5? [Y/n] y
:: Replace kxmlgui with extra/kxmlgui5? [Y/n] y
y:: Replace modemmanager-qt with extra/modemmanager-qt5? [Y/n] y
:: Replace networkmanager-qt with extra/networkmanager-qt5? [Y/n] y
:: Replace plasma-framework with extra/plasma-framework5? [Y/n] y
:: Replace prison with extra/prison5? [Y/n] y
:: Replace purpose with extra/purpose5? [Y/n] y
:: Replace qqc2-desktop-style with extra/qqc2-desktop-style5? [Y/n] y
:: Replace solid with extra/solid5? [Y/n] y
:: Replace sonnet with extra/sonnet5? [Y/n] y
:: Replace syndication with extra/syndication5? [Y/n] y
:: Replace syntax-highlighting with extra/syntax-highlighting5? [Y/n] y
:: Replace threadweaver with extra/threadweaver5? [Y/n] y
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing kiconthemes breaks dependency 'kiconthemes' required by isoimagewriter
:: removing kcrash breaks dependency 'kcrash' required by isoimagewriter
:: removing solid breaks dependency 'solid' required by isoimagewriter
 


Has anyone else had a similar problem

Yes

and knows how to resolve it?

Sort of ;)

Couple of questions first.

1. Are you using KDE as a Desktop, or if not, which?
2. isoimagewriter is from the AUR, did you install it with yay, and have you ever used it?
3. One of the solutions I will offer would involve removing isoimagewriter for now and then completing your updates. Is that OK?

I don't have Arch, but I use a bunch of Manjaro, Arcolinux, Archman, Artic, Endeavour, Garuda and so on.

The plethora of "replace ... with ... [Y/n]" prompts appears to be with getting that software current so that it can still be supported with the imminent changeover from KDE5 to KDE6. It should be a one-off (but a PITA).

That being said, you need to address

Code:
error: failed to prepare transaction (could not satisfy dependencies)
:: removing kiconthemes breaks dependency 'kiconthemes' required by isoimagewriter
:: removing kcrash breaks dependency 'kcrash' required by isoimagewriter
:: removing solid breaks dependency 'solid' required by isoimagewriter

before you can go on with having the updates installed.

OPTION 1 - lower chance of success

Go back through the procedure and check n (no) for

kiconthemes
kcrash
solid

to see if it lets you proceed.

OPTION 2 - higher chance of success

1. Take a Timeshift snapshot first.
2. Remove the package causing the dependency issues, namely isoimagewriter.
2.a. First check what packages may depend on it, which you can do with

Code:
yay -Si isoimagewriter

and you will see at least those 3 packages listed. Then to remove

Code:
sudo pacman -Rns isoimagewriter

Then try running your updates again. If they work, then after a reboot, another Timeshift snapshot, and then you could try reinstalling the isoimagewriter if you wish.

I had all the yes/no brigade come up on several of my Arch-based distros, and in one case I researched and removed a pacakge I never use and all went through.

Cheers

Wizard
 
Yes



Sort of ;)

Couple of questions first.

1. Are you using KDE as a Desktop, or if not, which?
2. isoimagewriter is from the AUR, did you install it with yay, and have you ever used it?
3. One of the solutions I will offer would involve removing isoimagewriter for now and then completing your updates. Is that OK?

I don't have Arch, but I use a bunch of Manjaro, Arcolinux, Archman, Artic, Endeavour, Garuda and so on.

The plethora of "replace ... with ... [Y/n]" prompts appears to be with getting that software current so that it can still be supported with the imminent changeover from KDE5 to KDE6. It should be a one-off (but a PITA).

That being said, you need to address

Code:
error: failed to prepare transaction (could not satisfy dependencies)
:: removing kiconthemes breaks dependency 'kiconthemes' required by isoimagewriter
:: removing kcrash breaks dependency 'kcrash' required by isoimagewriter
:: removing solid breaks dependency 'solid' required by isoimagewriter

before you can go on with having the updates installed.

OPTION 1 - lower chance of success

Go back through the procedure and check n (no) for

kiconthemes
kcrash
solid

to see if it lets you proceed.

OPTION 2 - higher chance of success

1. Take a Timeshift snapshot first.
2. Remove the package causing the dependency issues, namely isoimagewriter.
2.a. First check what packages may depend on it, which you can do with

Code:
yay -Si isoimagewriter

and you will see at least those 3 packages listed. Then to remove

Code:
sudo pacman -Rns isoimagewriter

Then try running your updates again. If they work, then after a reboot, another Timeshift snapshot, and then you could try reinstalling the isoimagewriter if you wish.

I had all the yes/no brigade come up on several of my Arch-based distros, and in one case I researched and removed a pacakge I never use and all went through.

Cheers

Wizard
Many thanks for the detailed reply and assist Wiz.

Yes its a KDE desktop. I don't recall installing the imagewriter. I use SUSE imagewriter instead, which I did install. Everything is backed up.

I did consider simply uninstalling the ISO imagewriter but was curious what other options you guys might suggest. In the end I did just that and the major update completed without further incident "touch wood." I must say Arch seems to have improved a lot in terms of stability in recent times.
 
Last edited:
Cool, mate.

You may know this, but also for the benefit of others -

1. It is a System Restore solution rather than a backup solution
2. If you have /home covered in the settings (I do, but I store my documents, pictures, videos and so on elsewhere) be aware that if you have to restore from a Timeshift snapshot, it will not prompt you about replacing files/folders, it will just do so, returning you to the previous state. Don't lose important data.

Cheers and Happy Arch'ing

Wiz
 
If it is still working fine for a day or three I would take a Timeshift snapshot to safeguard.
On my Arch system I switched from Timeshift to Snapper with btrfs-assistant, has less requirements when it comes to how you have your volumes setup since Timeshift expects you to hava certain setup but that is if you have btrfs setup.
 
Last edited:
Timeshift does have a BTRFS capability, I use it with Garuda, but I have not yet used Snapper.

I have my Gecko Linux (openSUSE derived) and Fedora set up as EXT4, which is my preference.

Nite all, from DownUnder ;)

Wiz
 
Timeshift does have a BTRFS capability,
I know it does but Timeshift expects you to have a certain subvolume setup when it comes to being able to do btrfs snapshots with time shift, Snapper doesn't expect you have to have a certain setup.
 
Cool, mate.

You may know this, but also for the benefit of others -

1. It is a System Restore solution rather than a backup solution
2. If you have /home covered in the settings (I do, but I store my documents, pictures, videos and so on elsewhere) be aware that if you have to restore from a Timeshift snapshot, it will not prompt you about replacing files/folders, it will just do so, returning you to the previous state. Don't lose important data.

Cheers and Happy Arch'ing

Wiz
You make an interesting point there. Last night I had to restore a laptop and was surprised to find my current data (from last night) was still there, even though the restore was two weeks old! Does it default to saving data by default and just restoring the underlying system? i was planning to post this question this morning.......
 

Staff online


Top