No update because nth conflict

As usually happens (at least to me) update stop because of conflict.

~> sudo zypper dup
Loading repository data...
Reading installed packages...
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Computing distribution upgrade...
9 Problems:
Problem: 1: problem with the installed ffmpeg-8-8.1.2-1699.6.pm.35.x86_64
Problem: 2: problem with the installed libavcodec62-8.1.2-1699.6.pm.35.x86_64
Problem: 3: problem with the installed libavdevice62-8.1.2-1699.6.pm.35.x86_64
Problem: 4: problem with the installed libavfilter11-8.1.2-1699.6.pm.35.x86_64
Problem: 5: problem with the installed libavformat62-8.1.2-1699.6.pm.35.x86_64
Problem: 6: problem with the installed libavutil60-8.1.2-1699.6.pm.35.x86_64
Problem: 7: problem with the installed libswresample6-8.1.2-1699.6.pm.35.x86_64
Problem: 8: problem with the installed libswscale9-8.1.2-1699.6.pm.35.x86_64
Problem: 9: nothing provides 'this-is-only-for-build-envs' needed by the to be installed ffmpeg-8-mini-libs-8.1.2-6.1.x86_64

Problem: 1: problem with the installed ffmpeg-8-8.1.2-1699.6.pm.35.x86_64
 Solution 1: install ffmpeg-8-8.1.2-6.1.x86_64 from vendor openSUSE
  replacing ffmpeg-8-8.1.2-1699.6.pm.35.x86_64 from vendor http://packman.links2linux.de
 Solution 2: keep obsolete ffmpeg-8-8.1.2-1699.6.pm.35.x86_64

Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c/d/?] (c): 

If you want to keep using the Packman FFmpeg stack, then you should leave it as it is and wait until the issue is resolved as Gertjan hinted at here…

Using Myrlyn I did few partial update selecting packages without conflict and finally I’ve been able update (almost) all.
At present only one minor problem:

~> sudo zypper dup
Loading repository data...
Reading installed packages...
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Computing distribution upgrade...

The following package is going to be upgraded:
  httrack

The following package is going to be REMOVED:
  libhttrack2

1 package to upgrade, 1 to remove.

Package download size:
            |     413.0 KiB  overall package size
       0 B  |  -  413.0 KiB  already in cache

Package install size change:
              |       1.7 MiB  required by packages that will be installed
    -1.4 MiB  |  -    3.2 MiB  released by packages that will be removed

Backend:  classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y): 

What is the issue with the output above? That is a normal upgrade without any conflict or issue.

I read somewhere (don’t remember where because too much attempt of update) that httrack was part of the system then not clear if substitution was correct.

Post edit: in Myrlyn I get this error message:

Subprocess failed. Error: RPM non riuscito: Il comando è terminato con stato 1.
Cronologia:
 - error: unpacking of archive failed on file /usr/share/httrack/html;6ac89088: cpio: File from package already exists as a directory in system
   error: httrack-3.50.0-1.1.x86_64: install failed
   error: httrack-3.49.2-3.10.x86_64: erase skipped

The error message says that a file that belongs to the package aleady exists on your system, but it’s a directory.

This is most likely a packaging error, but you can do an easy fix by deleting that directory (/usr/share/httrack/html;6ac8908) manually. But watch out: That semicolon needs to be escaped in the shell, otherwise the shell might interpret the semicolon as a delimiter to start a new command.

Thanks for explication
Not so clear to me what “escaped in the shell” means, I’m not a skilled user of konsole.
In /usr/share/httrack/html/ I don’t see anything like 6ac8908.

No, it’s a directory named /usr/share/httrack/html;6ac89088 - the semicolon and the hex number is part of the name.

Nothing like this in /usr/share/httrack/. Sub directories here are “html” and “lang” .

Nevertheless, you should try to show things instead of telling stories.

In this case showing the command ls -l /usr/share/httrack with it’s output is the better way to tell others what is there (or not).

I have no httrackhere so it is not an essential part of the system.
Plus, libhttrack2 has been replaced by libhttrack3 currently, so no surprise that a dup tries to remove it.

I’m not a story teller, I’m simply an openSUSE user trying to solve a problem with my (limited) knowledge.

When I have suggestion I try to follow:

~> ls -l /usr/share/httrack
total 28
drwxr-xr-x 1 root root   940 Feb 22  2024 html
drwxr-xr-x 1 root root   724 Oct  9 11:47 lang
-rw-r--r-- 1 root root 22820 Feb 22  2024 lang.def
-rw-r--r-- 1 root root   177 Feb 22  2024 lang.indexes

as you can see not much different from what I “told”.

This is how it should look like. html is a link in the new version, where it was a directory in the old version before.

New httrack version (fresh install without former httrack installation):

 ls -l /usr/share/httrack
insgesamt 44
lrwxrwxrwx 1 root root    28  2. Sep 04:56 html -> ../doc/packages/httrack/html
drwxr-xr-x 2 root root  4096  9. Okt 13:27 lang
-rw-r--r-- 1 root root 25917  2. Sep 04:56 lang.def
-rw-r--r-- 1 root root   177  2. Sep 04:56 lang.indexes
drwxr-xr-x 2 root root  4096  9. Okt 13:27 libtest
drwxr-xr-x 2 root root  4096  9. Okt 13:27 templates

That means, the transition of the html doc directory, was not properly implemented. Either on openSUSE side or upstream.

@Giorgio_os Delete /usr/share/httrack/html and retry the zypper dup.

@malcolmlewis you did the last update to httrack. Any clue?

From httrack changelog:

  • Update to version 3.50.0:
    …
  • Changed: --htmldir defaults to $(docdir)/html, so the manual’s
    links to the release notes, the license and the greetings
    resolve where it is installed, (gh#xroche/httrack#1477).

A better solution, as httrack is an independent application:
Uninstall the old httrack version and afterwards install httrack fresh.

sudo zypper rm httrack libhttrack2
sudo zypper in httrack

In this way you shouldn’t need to delete single files or directories.

1 Like

No but it is now in the “language” we all understand, it shows what you did and what you got without doubt and it avoids that you only tell what you interpret as important where others may get more/other information by when they see all. After all you have a problem and part of the problem people have is searching for clues in the wrong direction. Part of helping is finding other directions that might lead to a solution.

2 Likes

@hui I did :wink: It’s been sometime since it was last updated, plus I haven’t used it in awhile and my test was not an update…

ls -l /usr/share/httrack/
total 44
lrwxrwxrwx 1 root root    28 Sep  1 21:56 html -> ../doc/packages/httrack/html
drwxr-xr-x 2 root root  4096 Sep  1 21:56 lang
-rw-r--r-- 1 root root 25917 Sep  1 21:56 lang.def
-rw-r--r-- 1 root root   177 Sep  1 21:56 lang.indexes
drwxr-xr-x 2 root root  4096 Sep  1 21:56 libtest
drwxr-xr-x 2 root root  4096 Sep  1 21:56 templates

The html directory is a softlink…

I think there are install checks for the staging projects
https://build.opensuse.org/projects/home:repo-checker/packages/reports/files/openSUSE:Factory:Staging:adi:105?expand=1

I don’t known why the bot cannot catch this

Fix submitted… https://build.opensuse.org/request/show/1383840

Done and no more conflicts. Thanks.

~> sudo zypper rm httrack libhttrack2
[sudo] password for root: 
Reading installed packages...
Resolving package dependencies...

The following 2 packages are going to be REMOVED:
  httrack libhttrack2

2 packages to remove.

Package install size change:
              |         0 B    required by packages that will be installed
    -3.2 MiB  |  -    3.2 MiB  released by packages that will be removed

Backend:  classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y): y
(1/2) Removing: httrack-3.49.2-3.10.x86_64 ......................................................................................................................................[done]
(2/2) Removing: libhttrack2-3.49.2-3.10.x86_64 ..................................................................................................................................[done]
Running post-transaction scripts ................................................................................................................................................[done]
There are running programs which still use files and libraries deleted or updated by recent upgrades. They should be restarted to benefit from the latest updates. Run 'zypper ps -s' to list these programs.
 
~> sudo zypper in httrack
Looking for gpg keys in repository packman-essentials.
  gpgkey=https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/Essentials/repodata/repomd.xml.key
Retrieving repository 'packman-essentials' metadata .............................................................................................................................[done]
Building repository 'packman-essentials' cache ..................................................................................................................................[done]
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW package is going to be installed:
  httrack

1 new package to install.

Package download size:
            |     413.0 KiB  overall package size
       0 B  |  -  413.0 KiB  already in cache

Package install size change:
              |       1.7 MiB  required by packages that will be installed
     1.7 MiB  |  -      0 B    released by packages that will be removed

Backend:  classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y): 
In cache httrack-3.50.0-1.1.x86_64.rpm                                                                                                                             (1/1), 413.0 KiB    

Checking for file conflicts: ....................................................................................................................................................[done]
(1/1) Installing: httrack-3.50.0-1.1.x86_64 .....................................................................................................................................[done]
Running post-transaction scripts ................................................................................................................................................[done]
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.