kwanza
July 28, 2019, 8:31pm
1
Whenever I use the software manager module of YaST/yast2 (sw_single), it hangs if I try to exit without performing any changes. That is, I launch it, inspect a few things (or do nothing at all), then press “Accept”. There is nothing for it to do, so it simply hangs forever. I have to search for the y2base process and kill it hard. For clarity, if I select a package to add or delete then proceed, it will perform the specified action and exit gracefully. Looking at the y2logs i noticed that it emits these message as it fails:
[zypp] TargetImpl.commitFindFileConflicts.cc(commitFindFileConflicts):127 Checking for file conflicts in 0 new packages...
[zypp] TargetImpl.cc(commit):1400 TargetImpl::commit(<list>CommitPolicy( DownloadInHeaps syncPoolAfterCommit ))0
[zypp] PathInfo.cc(dirForEach):553 readdir /etc/products.d
[zypp] TargetImpl.cc(buildCache):853 Read cookie: /var/cache/zypp/solv/@System/cookie{- 0644 0/0 size 52}
[zypp] TargetImpl.cc(commit):1371 TargetImpl::commit(<pool>, CommitPolicy( DownloadInHeaps syncPoolAfterCommit )) returns: CommitResult (total 0, done 0, error 0, skipped 0, updateMessages 0)
[zypp::exec] ExternalProgram.cc(close):466 select error: Interrupted system call
:
The last line is repeated ad infinitum. That suggests that it has entered an infinite loop. Has anyone experienced this? It feels to me that some application (YaST or Zypp) has some rather shoddy code? Running zypper directly never causes any problems. Or am I missing something?
Thanks.
hcvv
July 28, 2019, 9:08pm
2
I tried to reproduce what you describe (normaly I just start YaST from the KDE main menu and then click Software Management).
boven:~ # yast2 sw_single
boven:~ #
Without doing anything except clicking Accept, it just stops.
This type of thing may be because you have mixed repos active
zypper lr -d please
kwanza
July 29, 2019, 1:55pm
4
Please see the repository list. Note that I have not enabled most of them, but I do occasionally use them. I have had to break down the list into two parts due to the word limit.
Part One
| Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
—±------------------±-----------------------------------------------------------------------------------------------±--------±----------±--------±---------±---------±-------------------------------------------------------------------------------------------------±-------
1 | Application_Geo | Applications related to the earth (GIS, Mapping, geodesy, GPS, astronomy) (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/Application:/Geo/openSUSE_Leap_15.1/ |
2 | Archiving | Archiving and Compressing (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/Archiving/openSUSE_Leap_15.1/ |
3 | Base_System | Base:System Factory Devel Project (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/Base:/System/openSUSE_Leap_15.1/ |
4 | Building_Tools | Tools for building software (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/devel:/tools:/building/openSUSE_Leap_15.1/ |
5 | Compiler | Various compilers (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/devel:/tools:/compiler/openSUSE_Leap_15.1/ |
6 | DNS | Domain Name System (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/server:/dns/openSUSE_Leap_15.1/ |
7 | Database | Databases (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/server:/database/openSUSE_Leap_15.1/ |
8 | Devel_Libraries | A project for basic libraries shared among multiple projects (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/devel:/libraries:/c_c%2B%2B/openSUSE_Leap_15.1/ |
9 | Devel_Tools | Generic Development Tools (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/devel:/tools/openSUSE_Leap_15.1/ |
10 | Editors | Text editors and hex editors for Linux (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/editors/openSUSE_Leap_15.1/ |
11 | Filesystems | Filesystem tools and FUSE-related packages (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/filesystems/openSUSE_Leap_15.1/ |
12 | GCC | GNU Compiler Collection container (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/devel:/gcc/openSUSE_Leap_15.1/ |
13 | GNOME_Apps | GNOME Applications (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/GNOME:/Apps/openSUSE_Leap_15.1/ |
14 | Games | openSUSE Games (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/games/openSUSE_Leap_15.1/ |
15 | Graphics | Graphics Project (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/graphics/openSUSE_Leap_15.1/ |
16 | HTTP | Webservers and tools around it (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/server:/http/openSUSE_Leap_15.1/ |
17 | Hardware | Hardware tools (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/hardware/openSUSE_Leap_15.1/ |
18 | Java_Factory | Devel project of Java packages for openSUSE:Factory (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/Java:/Factory/openSUSE_Leap_15.1/ |
19 | Java_packages | Factory Java packages (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/Java:/packages/openSUSE_Leap_15.1/ |
20 | KDE3 | KDE 3.5.10 and associated software (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/KDE3/openSUSE_Leap_15.1/ |
21 | KDE_Extra | Additional packages maintained by the KDE team (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_Leap_15.1/ |
22 | Kernel | Kernel builds for branch stable (standard) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/Kernel:/stable/standard/ |
23 | Local | Local | Yes | ( p) Yes | No | 90 | plaindir | dir:/usr/src/packages/RPMS |
24 | M17N | Multilingualization Project (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/M17N/openSUSE_Leap_15.1/ |
25 | M17N_fonts | Fonts (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/M17N:/fonts/openSUSE_Leap_15.1/ |
26 | Mail | Email services (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/server:/mail/openSUSE_Leap_15.1/ |
27 | Main-NON-OSS | Main Repository (NON-OSS) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.1/repo/non-oss/ |
28 | Main-OSS | Main Repository (OSS) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.1/repo/oss/ |
29 | Monitoring | Server Monitoring Software (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/server:/monitoring/openSUSE_Leap_15.1/ |
30 | Mozilla | Mozilla based projects (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_Leap_15.1/ |
31 | Mozilla_Factory | The development branch of Mozilla packages (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/mozilla:/Factory/openSUSE_Leap_15.1/ |
continued …
kwanza
July 29, 2019, 1:57pm
5
Repo list Part 2:
| Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
:
32 | Multimedia_Apps | Multimedia Applications (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/multimedia:/apps/openSUSE_Leap_15.1/ |
33 | Multimedia_Libs | Multimedia Libraries, Codecs and Command Line Tools (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/multimedia:/libs/openSUSE_Leap_15.1/ |
34 | Netfilter | All the firewall things (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/security:/netfilter/openSUSE_Leap_15.1/ |
35 | Network | Networking services and related tools (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/network/openSUSE_Leap_15.1/ |
36 | Network_Utilities | Network Utilities (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/network:/utilities/openSUSE_Leap_15.1/ |
37 | Office | Software around your office (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/Office/openSUSE_Leap_15.1/ |
38 | Postgresql | PostgreSQL and related packages (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/server:/database:/postgresql/openSUSE_Leap_15.1/ |
39 | Printing | Printing System Development Project (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/Printing/openSUSE_Leap_15.1/ |
40 | Privacy | Crypto applications and utilities (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/security:/privacy/openSUSE_Leap_15.1/ |
41 | Proxy | Proxy Servers (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/server:/proxy/openSUSE_Leap_15.1/ |
42 | Publishing | Publishing Tools and Libraries (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/Publishing/openSUSE_Leap_15.1/ |
43 | Ruby | Ruby base project (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/ruby/openSUSE_Leap_15.1/ |
44 | Ruby_Extensions | Ruby Extensions (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/ruby:/extensions/openSUSE_Leap_15.1/ |
45 | Rust | Rust (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/devel:/languages:/rust/openSUSE_Leap_15.1/ |
46 | Samba | Samba packages of released versions (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/network:/samba:/STABLE/openSUSE_Leap_15.1/ |
47 | Science | Software for Scientists and Engineers (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/science/openSUSE_Leap_15.1/ |
48 | Security | Security tools (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/security/openSUSE_Leap_15.1/ |
49 | Shells | Shell Implementations (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/shells/openSUSE_Leap_15.1/ |
50 | TLS | security:tls (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/security:/tls/openSUSE_Leap_15.1/ |
51 | TeXLive | Build Environment for TeX Live (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/Publishing:/TeXLive/openSUSE_Leap_15.1/ |
52 | Telephony | Telephony Software of all kinds (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/network:/telephony/openSUSE_Leap_15.1/ |
53 | Time | Time synchronization over network and related (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/network:/time/openSUSE_Leap_15.1/ |
54 | Update | Main Update Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.1/oss |
55 | Update-Non-Oss | Update Repository (Non-Oss) | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/leap/15.1/non-oss/ |
56 | Utilities | all the small tools for the shell (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/utilities/openSUSE_Leap_15.1/ |
57 | Windowmanagers | Various window managers (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/X11:/windowmanagers/openSUSE_Leap_15.1/ |
58 | X11_LXQt | X11:LXQt (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/X11:/LXQt/openSUSE_Leap_15.1/ |
59 | X11_Utilities | X11 Utilities (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/X11:/Utilities/openSUSE_Leap_15.1/ |
60 | X11_Wayland | Wayland Project (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/X11:/Wayland/openSUSE_Leap_15.1/ |
61 | X11_XOrg | X.Org development (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/X11:/XOrg/openSUSE_Leap_15.1/ |
62 | YaST | The Latest YaST Packages (openSUSE_Leap_15.1) | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/repositories/YaST:/Head/openSUSE_Leap_15.1/ |
63 | skype-stable | skype (stable) | Yes | (r ) Yes | Yes | 99 | rpm-md | https://repo.skype.com/rpm/stable/ |
hcvv
July 29, 2019, 2:15pm
6
Not easy to interprete, but they all seem to be Leap 15.1 ones. But with so many repos, even if disabled for most of the time, I would not be surprised that an unfunctiong combination of packages might be introduced at some moment.
Difficult to say anything useful about such a list
Hi
Likely the Ruby and YaST repositories, just too many repositories to expect a stable system, disabled or not…
tsu2
July 29, 2019, 5:12pm
8
If that list was properly posted in CODE tags, then the data should be properly formatted…
TSU
kwanza
July 29, 2019, 7:47pm
9
I think the problem is caused by something related to Ruby/Yast. Since it is not consistent (working some times and not others), I suspect Yast fails to terminate gracefully when some conditions exist. Perhaps PackageKit/Discover is wakes up at that moment? If I let it sit there, it spews thousands of the error line I indicated previously. When it succeeds, it ends with the message:
[Y2Ruby] binary/YRuby.cc(~YRuby):117 Shutting down ruby interpreter.
That is why I suspect Ruby.
kwanza
July 31, 2019, 4:58pm
10
kwanza:
I think the problem is caused by something related to Ruby/Yast. Since it is not consistent (working some times and not others), I suspect Yast fails to terminate gracefully when some conditions exist. Perhaps PackageKit/Discover is wakes up at that moment? If I let it sit there, it spews thousands of the error line I indicated previously. When it succeeds, it ends with the message:
[Y2Ruby] binary/YRuby.cc(~YRuby):117 Shutting down ruby interpreter.
That is why I suspect Ruby.
Thinking about this again, I think the issue is that Yast-packager is simply incapable of managing the packages from a large number of potential sources. So Ruby is not the problem, but that Yast-packager fails to work well with zypper. If this is the case, then I would say it makes Yast-packager rather poor. I mainly use it for displaying packages with near-similar names or choosing from multi-version packages (e…g kernels). For all other operations, I make do with zypper/rpm/dnf. With this in mind, does anyone know of another graphical package manager that works with rpm/zypper?
Thanks a lot.
kwanza:
Thinking about this again, I think the issue is that Yast-packager is simply incapable of managing the packages from a large number of potential sources. So Ruby is not the problem, but that Yast-packager fails to work well with zypper. If this is the case, then I would say it makes Yast-packager rather poor. I mainly use it for displaying packages with near-similar names or choosing from multi-version packages (e…g kernels). For all other operations, I make do with zypper/rpm/dnf. With this in mind, does anyone know of another graphical package manager that works with rpm/zypper?
Thanks a lot.
Hi
Hard to say, you would need to look at the packages that are not from the standard repositories…
As a test, with those repositories disabled and just the standard oss/non-oss and updates if you run;
zypper -vvv ref
zypper -vvv -D dup
The three v’s add verbosity, the -D is for a dry-run (don’t do anything) and see how many YaST/ruby packages will switch back.
Why the need for all the repositories (63 is not the record either )? You would be far better off running Tumbleweed if want the latest and greatest.