[DRE-maint] Bug#1123650: Acknowledgement (schleuder installation fails)
Antonio Terceiro
terceiro at debian.org
Mon Dec 22 11:13:46 GMT 2025
On Mon, Dec 22, 2025 at 10:26:46AM +0000, Andrew Gallagher wrote:
> Hi, Antonio. Thanks for looking into this.
>
> On 21/12/2025 12:13, Antonio Terceiro wrote:
> >
> > I tried on a clean VM and schleuder installs correctly.
>
> Does schleuder-api-daemon start up?
Sure it does.
> > Is your system fully updated with regards to stable?
>
> No, I'm currently upgrading it gradually because of past problems when
> upgrading parts of my mail-handling stack, which caused me to have to
> revert, painfully. Even so, I would have hoped that schleuder would fail any
> dependency requirements at install time, not runtime.
This is part of your problem. Partially-upgraded systems are not really
supported by Debian. Even though we *try* to specify versioned
dependencies that force the required upgrades, the number of different
configurations in a partially-upgraded system is infinite and it's
impossible to catch all cases.
> > Are there other Ruby applications installed? Any of them using `gem
> > install`, `bundler` etc?
>
> I didn't think so, but this is quite an old machine and has accumulated some
> cruft over the years. I did run `go dependency -R` and noted that a few gems
> were orphaned, possibly from previous experimentation.
>
> If I try to `apt remove ruby` it tells me:
>
> ```
> The following packages will be REMOVED:
> libruby libruby3.1 libruby3.3 puma rake ruby ruby-activemodel
> ruby-activerecord ruby-activesupport ruby-bcrypt ruby-charlock-holmes
> ruby-dev ruby-ethon ruby-eventmachine ruby-ffi ruby-gpgme
> ruby-mail ruby-mime-types ruby-mini-mime ruby-nio4r ruby-rack
> ruby-rack-protection ruby-rack-session ruby-rackup ruby-rubygems ruby-sdbm
> ruby-sinatra ruby-sinatra-contrib ruby-sqlite3 ruby-thor
> ruby-tilt ruby-typhoeus ruby3.3 ruby3.3-dev schleuder schleuder-cli thin
> unhide.rb
> ```
You cannot remove ruby and still expect schleuder to work at all. :)
> Of those, the only one that I recall manually installing is unhide.rb, which
> is used by rkhunter. It is already at the latest version though.
Those should not be a problem.
> > Please provide the output of `gem list`
> > Please provide the output of `find /usr/ -name \*.gem`
>
> root at fum:/etc/schleuder# gem list
>
> *** LOCAL GEMS ***
>
> abbrev (default: 0.1.2)
> activemodel (7.2.2.1)
> activerecord (7.2.2.1)
> activesupport (7.2.2.1)
> base64 (default: 0.2.0)
> bcrypt (3.1.20)
> benchmark (default: 0.3.0)
> bigdecimal (default: 3.1.5)
> bundler (default: 2.5.22)
> cgi (default: 0.4.2)
> charlock_holmes (0.7.9)
> concurrent-ruby (1.3.5)
> concurrent-ruby-edge (0.7.2)
> connection_pool (2.4.1)
> csv (3.3.4, default: 3.2.8)
> daemons (1.4.1)
> date (default: 3.3.4)
> debug (1.9.2)
> delegate (default: 0.3.1)
> did_you_mean (1.6.3)
> digest (default: 3.1.1)
> drb (default: 2.2.0)
> english (default: 0.8.0)
> erb (default: 4.0.3)
> error_highlight (default: 0.6.0)
> etc (default: 1.4.3)
> ethon (0.16.0)
> eventmachine (1.3.0.dev.1)
> fcntl (default: 1.1.0)
> ffi (1.17.0)
> fiddle (default: 1.1.2)
> fileutils (default: 1.7.2)
> find (default: 0.2.0)
> forwardable (default: 1.3.3)
> getoptlong (default: 0.2.1)
> gpgme (2.0.23)
> i18n (1.14.7)
> io-console (default: 0.7.1)
> io-nonblock (default: 0.3.0)
> io-wait (default: 0.3.1)
> ipaddr (default: 1.2.6)
> irb (default: 1.13.1)
> json (default: 2.7.2)
> logger (default: 1.6.0)
> mail (2.8.1)
> matrix (0.4.2)
> mime-types (3.6.0)
> mime-types-data (3.2024.0206)
> mini_mime (1.1.5)
> mini_portile2 (2.8.7)
> minitest (5.20.0)
> multi_json (1.15.0)
> mustermann (3.0.0)
> mutex_m (default: 0.2.0)
> net-ftp (0.3.4)
> net-http (default: 0.4.1)
> net-imap (0.4.19)
> net-pop (0.1.2)
> net-protocol (default: 0.2.2)
> net-smtp (0.5.1)
> net-telnet (0.2.0)
> nio4r (2.7.3)
> nkf (default: 0.1.3)
> observer (default: 0.1.2)
> open-uri (default: 0.4.1)
> open3 (default: 0.2.1)
> openssl (default: 3.2.0)
> optparse (default: 0.4.0)
> ostruct (default: 0.6.0)
> pathname (default: 0.3.0)
> power_assert (2.0.3)
> pp (default: 0.5.0)
> prettyprint (default: 0.2.0)
> prime (0.1.2)
> prism (default: 0.19.0)
> pstore (default: 0.1.3)
> psych (default: 5.1.2)
> puma (6.6.0)
> racc (1.7.3)
> rack (3.1.18)
> rack-protection (4.1.1)
> rack-session (2.1.1)
> rackup (2.1.0)
> rake (13.1.0, 13.0.6)
> rbs (3.4.0)
> rdoc (default: 6.6.3.1)
> readline (default: 0.0.4)
> reline (default: 0.5.10)
> resolv (default: 0.3.0)
> resolv-replace (default: 0.1.1)
> rexml (3.3.9)
> rinda (default: 0.2.0)
> rss (0.3.1)
> ruby2_keywords (0.0.5)
> rubygems-update (3.6.7)
> schleuder (5.0.1)
> schleuder-cli (0.1.0)
> sdbm (1.0.0)
> securerandom (default: 0.3.1)
> set (default: 1.1.0)
> shellwords (default: 0.2.0)
> sinatra (4.1.1)
> sinatra-contrib (4.1.1)
> singleton (default: 0.2.0)
> sqlite3 (1.7.3)
> stringio (default: 3.1.1)
> strscan (default: 3.0.9)
> syntax_suggest (default: 2.0.1)
> syslog (default: 0.1.2)
> tempfile (default: 0.2.1)
> test-unit (3.6.1)
> thin (1.8.2)
> thor (1.3.2)
> tilt (2.4.0)
> time (default: 0.3.0)
> timeout (default: 0.4.1)
> tmpdir (default: 0.2.0)
> tsort (default: 0.2.0)
> typeprof (0.21.9)
> typhoeus (1.4.0)
> tzinfo (2.0.6)
> un (default: 0.3.0)
> uri (default: 0.13.2)
> weakref (default: 0.1.3)
> webrick (1.9.1)
> xmlrpc (0.3.3)
> yaml (default: 0.3.0)
> zeitwerk (2.6.8)
> zlib (default: 3.1.1)
> root at fum:/etc/schleuder# find /usr -name '*.gem'
> /usr/share/rubygems-integration/3.3.0/cache/gpgme-2.0.23.gem
> /usr/share/rubygems-integration/all/gems/rubygems-update-3.3.15/test/rubygems/packages/ill-formatted-platform-1.0.0.10.gem
> /usr/share/rubygems-integration/all/gems/rubygems-update-3.3.15/test/rubygems/packages/ascii_binder-0.1.10.1.gem
> /usr/share/rubygems-integration/all/cache/mail-2.7.1.gem
> /usr/share/rubygems-integration/all/cache/net-telnet-0.2.0.gem
> /usr/share/rubygems-integration/all/cache/concurrent-ruby-1.1.6.gem
> /usr/share/rubygems-integration/all/cache/rack-session-2.1.1.gem
> /usr/share/rubygems-integration/all/cache/rake-13.0.6.gem
> /usr/share/rubygems-integration/all/cache/mustermann-3.0.0.gem
> /usr/share/rubygems-integration/all/cache/mini_portile2-2.8.7.gem
> /usr/share/rubygems-integration/all/cache/concurrent-ruby-edge-0.6.0.gem
> /usr/share/rubygems-integration/all/cache/activerecord-6.1.7.3.gem
> /usr/share/rubygems-integration/all/cache/mime-types-3.6.0.gem
> /usr/share/rubygems-integration/all/cache/ethon-0.16.0.gem
> /usr/share/rubygems-integration/all/cache/rack-protection-4.1.1.gem
> /usr/share/rubygems-integration/all/cache/sinatra-contrib-4.1.1.gem
> /usr/share/rubygems-integration/all/cache/csv-3.3.4.gem
> /usr/share/rubygems-integration/all/cache/pkg-config-1.5.9.gem
> /usr/share/rubygems-integration/all/cache/rubygems-update-3.3.15.gem
> /usr/share/rubygems-integration/all/cache/i18n-1.10.0.gem
> /usr/share/rubygems-integration/all/cache/did_you_mean-1.6.3.gem
> /usr/share/rubygems-integration/all/cache/sinatra-4.1.1.gem
> /usr/share/rubygems-integration/all/cache/activemodel-6.1.7.3.gem
> /usr/share/rubygems-integration/all/cache/multi_json-1.14.1.gem
> /usr/share/rubygems-integration/all/cache/daemons-1.4.1.gem
> /usr/share/rubygems-integration/all/cache/mini_mime-1.1.1.gem
> /usr/share/rubygems-integration/all/cache/activesupport-6.1.7.3.gem
> /usr/share/rubygems-integration/all/cache/mime-types-data-3.2024.0206.gem
> /usr/share/rubygems-integration/all/cache/ruby2_keywords-0.0.5.gem
> /usr/share/rubygems-integration/all/cache/rackup-2.1.0.gem
> /usr/share/rubygems-integration/all/cache/rack-3.1.18.gem
> /usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0/cache/bcrypt-3.1.20.gem
> /usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0/cache/thin-1.8.2.gem
> /usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0/cache/puma-6.6.0.gem
> /usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0/cache/ffi-1.17.0.gem
> /usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0/cache/sdbm-1.0.0.gem
> /usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0/cache/charlock_holmes-0.7.9.gem
> /usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0/cache/sqlite3-1.7.3.gem
> /usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0/cache/ffi-1.17.0-x86_64-linux-musl.gem
> /usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0/cache/nio4r-2.7.3.gem
> /usr/lib/ruby/gems/3.3.0/cache/net-imap-0.4.19.gem
> /usr/lib/ruby/gems/3.3.0/cache/net-pop-0.1.2.gem
> /usr/lib/ruby/gems/3.3.0/cache/rss-0.3.1.gem
> /usr/lib/ruby/gems/3.3.0/cache/minitest-5.20.0.gem
> /usr/lib/ruby/gems/3.3.0/cache/racc-1.7.3.gem
> /usr/lib/ruby/gems/3.3.0/cache/net-smtp-0.5.1.gem
> /usr/lib/ruby/gems/3.3.0/cache/debug-1.9.2.gem
> /usr/lib/ruby/gems/3.3.0/cache/rbs-3.4.0.gem
> /usr/lib/ruby/gems/3.3.0/cache/matrix-0.4.2.gem
> /usr/lib/ruby/gems/3.3.0/cache/rexml-3.3.9.gem
> /usr/lib/ruby/gems/3.3.0/cache/prime-0.1.2.gem
> /usr/lib/ruby/gems/3.3.0/cache/net-ftp-0.3.4.gem
> /usr/lib/ruby/gems/3.3.0/cache/rake-13.1.0.gem
> /usr/lib/ruby/gems/3.3.0/cache/power_assert-2.0.3.gem
> root at fum:/etc/schleuder#
This is the other half of your problem. Debian packages do not ship
*.gem files; this means these were all installed manually and could
cause dependency problems. Having gems installed is not a problem in
itself, but if you install arbitrary versions, those can cause conflicts
with the Debian packages, which were tested together in the specific
versions shipped in a Debian release. When you combine these with a
half-upgraded system, there are a huge number of things that can go
wrong.
I suggest you:
- remove all gems. you want to basically:
- remove /var/lib/gems/3.3.0/* (but not /var/lib/gems/3.3.0 itself)
- remove everything under the following directories that are not
installed by a Debian package:
- /usr/share/rubygems-integration
- /usr/lib/x86_64-linux-gnu/rubygems-integration
- /usr/lib/ruby/gems/3.3.0
- fully upgrade your system to Debian stable
With that done, schleuder should just work.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20251222/8146015a/attachment.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list