Upgrade trashed gimp and reinstalling it breaks libxml2 dependency

:: Synchronizing package databases...
 core                  143.2 KiB  34.4 KiB/s 00:04 [######################] 100%
 extra                   8.3 MiB   113 KiB/s 01:16 [######################] 100%
 community              29.0   B   149   B/s 00:00 [######################] 100%
 multilib              147.9 KiB   165 KiB/s 00:01 [######################] 100%
:: Starting full system upgrade...
:: Replace linux611 with core/linux-meta? [Y/n] 
:: Replace linux611-virtualbox-host-modules with extra/linux-virtualbox-host-modules-meta? [Y/n] 
:: Replace webrtc-audio-processing with extra/webrtc-audio-processing-0.3? [Y/n] 
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing libxml2 (2.14.3-1) breaks dependency 'libxml2.so=2-64' required by rest

Mod edit: Removed the screenshot of text. See my post below.

there were loads of updates recommended but I just selected gimp as don’t use any of the others. Alas after the update gimp crashes.

I tried to reinstall gimp using snap, but that failed alleging the connection was reset by peer. I only have a very slow internet via my cell phone here.

I tried using pacman (as show) but that complains of conflicting packages, so now I have a broken gimp and wondering if anyone can help me with this?

Hi @Melahi,

You’ve not been maintaining your system very well. Kernel 6.11 in the updates have been EOL since December last year which suggests you are very far behind on updates, and this is a Bad IdeaTM with Manjaro as it’s a Rolling release and requires more attention and love than a Point Release such as Debian/Ubuntu.

Also, this:

…is a partial upgrade and not supported.

The community repository visible in the screenshot has also been dropped a long time ago, again suggesting a lack of maintenance.

My suggestion would be, especially in your case, to chroot into the system and do a complete sync from there.

Also, please don’t post screenshots of text. Rather:

:bangbang: Tip :bangbang:

When posting terminal output, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:

```
pasted text
```

Or three (3) tilde signs, like this:

~~~
pasted text
~~~

This will just cause it to be rendered like this:

Sed
sollicitudin dolor
eget nisl elit id
condimentum
arcu erat varius
cursus sem quis eros.

Instead of like this:

Sed sollicitudin dolor eget nisl elit id condimentum arcu erat varius cursus sem quis eros.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby increasing legibility thus making it easier for those trying to provide assistance.

For more information, please see:


:bangbang::bangbang: Additionally

If your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:

LC_ALL=C bluetoothctl

This will just cause the terminal output to be in English, making it easier to understand and debug.

Note that the above text is partially pre-prepared as a general introduction for new forum Users. Please take the time to to understand how it is done and encourage quality responses.

5 Likes

You have no idea how to manage a rolling arch distro. You have not managed packnews or kernels and on top of that you made a partial update which broke what was still intact of that system.
I recommend installing Ubuntu.

2 Likes

rest has been removed from the repos, so you should uninstall it & any unneeded dependencies (such as lib32-rest):

sudo pacman -Rns rest

After that is done, you should then be able to do a full update of your system:

sudo pacman -Syu
2 Likes

And expect other things to break…

2 Likes

What is now probably weeks ago, this issue was often discussed here.
You’ll find the threads …

If memory (and logic) serves, then the “required by” needs to be removed in order to solve the dependency cycle.
Which is rest, in this case.

The remainder should be unproblematic.

You can - but you don’t have to.
Doing it would prevent you from running into situations where you try to upgrade a kernel which no longer exists.

… rolling releases require closer attention and sometimes a bit of skill when there is going to be a long time in between updates

2 Likes

This was to be expected. “Recommended Updates” are not optional, it is required if you want to install new software or update software.

These are poor prerequisites for a curated rolling release model. You must install at least 1GB of updates to the stable branch each month. This is a requirement, not an option. Otherwise, your system will be partially updated, which means: a broken system.

Manjaro Stable doesn’t just update security stuff like Debian/Ubuntu based systems where it doesn’t really matter, but also feature updates every month on stable. Think of a complete system upgrade every month, while Debian/Ubuntu based systems do a system upgrade every year and even then there are long-term support releases with extended support.

Start with removing rest so that libxml2 can be updated.

4 Likes

Thanks for getting back to me so soon.
I did indeed add the quoted text but left the screen shot just as confirmation. Sorry about that.

Indeed I have not maintained this computer as I’m stuck with limited data on my cell phone. It would just cut out when my quota was used up, but recent contract now just slows to a crawl when the high speed quota is used.

I’m a bit wary of trying a full upgrade as I suspect I’ll just end up with no computer at all then, so I think I shall just leave it for now and

Nope it doesn’t like that one much either!

sudo pacman -Rns rest
[sudo] password for angelica: 
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing rest breaks dependency 'rest' required by lib32-rest

You need to also remove the 32-bit version:

sudo pacman -Rns rest lib32-rest
2 Likes

This is a terminal issue for a rolling distribution… you need to have bandwidth, or you need to get a more stable/less frequently upgraded distribution… otherwise you’re forever using your bandwidth re-downloading packages every few weeks… I think I’d be wheeling mine into Starbucks in a shopping trolley

1 Like

This:

was also meant as a hint at what to do, what logic to follow when interpreting such dependency messages:

in this case, as @scotty65 already said,

is the offender and also needs to go.

@Melahi
another tip certainly useful when you have low bandwidth or not enough available volume in order to download comfortably
This will allow you to save time waiting or to fetch the to be updated packages from some other, better WiFi and then install them later.
Will be quick because everything is already there …

sudo pacman-mirrors -c Germany (to update the mirrors and choose the fastest one)
sudo pacman -Syuw (this will fetch everything needed, but not actually install it yet, -w stands for “download only”)

You could do that during a visit to the local Starbucks as @Ben said (I have never in my life been at Starbucks :grimacing:), or at McDonalds or wherever they offer free WiFi.

The download will be quick - quicker than the installation process for sure.

3 Likes

Thanks
I did that and it didn’t crash.
I then installed the latest Gimp 3.0.2 from the gimp download site.
It all seems to be working OK again so I shall leave the rest as is rather tan risk a dead computer.

Just be warned that at some stage, you will have problems, because you’re:

  • In an unsupported state;
  • only partially updates; and
  • You shouldn’t have done this:

Consider a less bandwidth-intensive distribution.

:vulcan_salute: Good luck :vulcan_salute:

3 Likes

so you first did this:

and then only installed Gimp? From their Website?

In that case you did … the equivalent of nothing.
(besides somehow installing Gimp)

No update whatsoever.

These two commands did absolutely nothing but download all the updates.
None of them where installed.

Doing nothing would have achieved the same outcome.

Whyever you’d think to risk a dead computer … you need to do regular (and full) updates when you run a rolling release like Manjaro.

If you feel that is too great of a risk every time - choose another distribution.

Good luck!

If you run sudo pacman -Syuw at the hotspot, then run sudo pacman -Syu when you get back, only packages which have been changed since you did the download will need to be retrieved again, saving cellular data.

Be sure to have a USB you can use to chroot with, in case of any issues.

2 Likes

Yes, I did do that pacman -Syu comand at one stage.
Also I have the original bootable USB from which I installed my Manjaro Linux. It’s dated 2003 - so that’s how old it is and I’ve never had issues before.

I use it for editing images, with Gimp and rawtherapee and also videos using shotcut.

The reason I like it is that it handles two independent screens so I can keep my working window on one screen and browse files etcetera on the other.

1 Like

I’ve used Ubuntu with my dual-monitor setup, so it works.

2 Likes

Manjaro didn’t exist at that time, and you definitely would’ve had problems with updating or installing new software. Did you mean 2023?

You should use the latest ISO.

All distros should work with Multiple monitors.


If you use Manjaro and want to install new software without breaking things, then you need to update properly and regularly (every 2-3 months or less).

A point release should require less maintenance and bandwidth, I strongly suggest you find one that you like and use it.

2 Likes

Nor have I.

In fact, whenever I hear the name “Starbuck” I always think of Dana Scully…

I recognize the two characters, can’t recall the name of the TV series (I believe it was one, not a movie …).
But I can’t make the connection between this and “Starbuck”.

I’m german - the show I saw might have been dubbed not in english.
That is what I always prefer, but is not (was not) available on national TV.

It has been at least 15 years that I have not owned a TV set … still have to pay the mandatory fee for the privilege that I could watch, should I decide to want to …