[DRE-maint] Bug#987763: MimeMagic::Error: This gem should never be required
Pirate Praveen
praveen at onenetbeyond.org
Thu Apr 29 12:45:30 BST 2021
On 2021, ഏപ്രിൽ 29 12:36:57 PM IST, Dragos Jarca <dragos.jarca at dynamicpuzzle.ro> wrote:
>Package: gitlab
>Version: 13.10.4+ds1-1
>Severity: grave
>Justification: renders package unusable
>
>Dear Maintainer,
>
>When upgrading to gitlab 13.10.4 I have this error:
>
>gitlab_production database is not empty, skipping gitlab setup
>fatal: not a git repository (or any of the parent directories): .git
>fatal: not a git repository (or any of the parent directories): .git
>rake aborted!
>MimeMagic::Error: This gem should never be required
I think this will be fixed with rails 6.0.3.6 update, though I have not see this error in my test instances or in production instance at git.fosscommunity.in
>/usr/share/gitlab/vendor/shims/mimemagic/lib/mimemagic.rb:5:in `<module:MimeMagic>'
>/usr/share/gitlab/vendor/shims/mimemagic/lib/mimemagic.rb:3:in `<top (required)>'
>/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:324:in `require'
>/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:324:in `block in require'
>/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:291:in `load_dependency'
>/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:324:in `require'
>/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:324:in `require'
>/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:324:in `block in require'
>/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:291:in `load_dependency'
>/usr/share/rubygems-integration/all/gems/activesupport-6.0.3.5/lib/active_support/dependencies.rb:324:in `require'
>/usr/share/rubygems-integration/all/gems/bundler-2.2.5/lib/bundler/runtime.rb:66:in `require'
>/usr/share/rubygems-integration/all/gems/bundler-2.2.5/lib/bundler/runtime.rb:66:in `block (2 levels) in require'
>/usr/share/rubygems-integration/all/gems/bundler-2.2.5/lib/bundler/runtime.rb:61:in `each'
>/usr/share/rubygems-integration/all/gems/bundler-2.2.5/lib/bundler/runtime.rb:61:in `block in require'
>/usr/share/rubygems-integration/all/gems/bundler-2.2.5/lib/bundler/runtime.rb:50:in `each'
>/usr/share/rubygems-integration/all/gems/bundler-2.2.5/lib/bundler/runtime.rb:50:in `require'
>/usr/share/rubygems-integration/all/gems/bundler-2.2.5/lib/bundler.rb:173:in `require'
>/usr/share/gitlab/config/application.rb:15:in `<top (required)>'
>/usr/share/gitlab/Rakefile:7:in `require'
>/usr/share/gitlab/Rakefile:7:in `<top (required)>'
>/usr/share/rubygems-integration/all/gems/rake-13.0.3/exe/rake:27:in `<top (required)>'
>(See full trace by running task with --trace)
>dpkg: error processing package gitlab (--configure):
> installed gitlab package post-installation script subprocess returned error exit status 1
>Errors were encountered while processing:
> gitlab
>E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
>I cannot finish upgrade.
>Please help me solve this situation.
>
>Dragos
>
>*** End of the template - remove these template lines ***
>
>
>-- System Information:
>Debian Release: bullseye/sid
> APT prefers testing
> APT policy: (900, 'testing'), (800, 'unstable'), (700, 'experimental'), (500, 'testing-security'), (500, 'stable')
>Architecture: amd64 (x86_64)
>
>Kernel: Linux 5.10.0-6-amd64 (SMP w/8 CPU threads)
>Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to C.UTF-8), LANGUAGE not set
>Shell: /bin/sh linked to /bin/dash
>Init: systemd (via /run/systemd/system)
>LSM: AppArmor: enabled
>
>Versions of packages gitlab depends on:
>ii asciidoctor 2.0.12-2
>ii bc 1.07.1-2+b2
>ii bundler 2.2.5-2
>ii bzip2 1.0.8-4
>ii dbconfig-pgsql 2.0.19
>ii debconf [debconf-2.0] 1.5.75
>ii fonts-font-awesome [node-font-awesome] 5.0.10+really4.7.0~dfsg-4
>ii gitlab-common 13.10.3+dfsg-1
>ii gitlab-workhorse 13.10.4+ds1-1
>ii katex [node-katex] 0.10.2+dfsg-8
>ii libjs-bootstrap4 [node-bootstrap] 4.5.2+dfsg1-6
>ii libjs-codemirror [node-codemirror] 5.59.2+~cs0.23.109-1
>ii libjs-pdf [node-pdfjs-dist] 2.6.347+dfsg-3
>ii libjs-popper.js [node-popper.js] 1.16.1+ds-3
>ii libruby2.7 [ruby-rexml] 2.7.3-2
>ii lsb-base 11.1.0
>ii nginx 1.18.0-6
>ii nginx-extras [nginx] 1.18.0-6+b1
>ii node-autosize 4.0.2~dfsg1-5
>ii node-axios 0.21.1+dfsg-1
>ii node-babel-loader 8.2.2-5
>ii node-babel-plugin-lodash 3.3.4+~cs2.0.1-3
>ii node-babel7 7.12.12+~cs150.141.84-6
>ii node-brace-expansion 2.0.0-1
>ii node-cache-loader 4.1.0+~cs2.0.0-1
>ii node-chart.js 2.9.4+dfsg+~cs2.10.1-3
>ii node-clipboard 2.0.6+ds+~cs7.6.4-1
>ii node-compression-webpack-plugin 6.1.1-1
>ii node-copy-webpack-plugin 5.1.2+~cs9.0.2-4
>ii node-core-js 3.8.2-2
>ii node-css-loader 5.0.1+~cs14.0.5-1
>ii node-d3 5.16.0-4
>ii node-d3-scale 2.2.2-3
>ii node-d3-selection 1.4.0-6
>ii node-dateformat 3.0.0-2
>ii node-exports-loader 1.1.1-2
>ii node-file-loader 6.2.0-2
>ii node-fuzzaldrin-plus 0.5.0+dfsg-3
>ii node-glob 7.1.6+~7.1.3-1
>ii node-imports-loader 0.8.0-2
>ii node-jed 1.1.1-2
>ii node-jquery 3.5.1+dfsg+~3.5.5-7
>ii node-jquery-ujs 1.2.2-2
>ii node-js-cookie 2.2.1-1
>ii node-js-yaml 3.14.1+dfsg+~3.12.6-2
>ii node-jszip 3.5.0+dfsg-1
>ii node-jszip-utils 0.0.2+dfsg-2
>ii node-lodash 4.17.21+dfsg+~cs8.31.189.20210220-1
>ii node-marked 0.8.0+ds+repack-2
>ii node-mermaid 8.9.3+ds+~cs29.13.19-1
>ii node-minimatch 3.0.4+~3.0.3-1
>ii node-miragejs 0.1.41+~cs5.6.6-4
>ii node-mousetrap 1.6.5~ds-1
>ii node-prismjs 1.23.0+dfsg-1
>ii node-prosemirror-markdown 1.5.1-1
>ii node-prosemirror-model 1.14.0-1
>ii node-raven-js 3.22.1+dfsg-2
>ii node-raw-loader 4.0.2-2
>ii node-style-loader 2.0.0-2
>ii node-three-orbit-controls 82.1.0-3
>ii node-three-stl-loader 1.0.6-3
>ii node-timeago.js 4.0.2-3
>ii node-underscore 1.9.1~dfsg-3
>ii node-url-loader 4.1.1-3
>ii node-uuid 8.3.2+~8.3.0-4
>ii node-vue 2.6.12+dfsg-3
>ii node-vue-resource 1.5.1+dfsg-6
>ii node-webpack-stats-plugin 1.0.2-2
>ii node-worker-loader 3.0.5-2
>ii node-xterm 3.8.1+~cs0.9.0-1
>ii nodejs 12.21.0~dfsg-4
>ii ohai 16.13.0-2
>ii openssh-client 1:8.4p1-5
>ii postfix [mail-transport-agent] 3.5.6-1
>ii postgresql-client 13+225
>ii postgresql-client-13 [postgresql-clien 13.2-1
>ii postgresql-contrib 13+225
>ii puma 5.2.2-2
>ii rake 13.0.3-1
>ii redis-server 5:6.0.12-1
>ii ruby-ace-rails-ap 4.1.1-1
>ii ruby-acme-client 2.0.6-1
>ii ruby-activerecord-explain-analyze 0.1.0-2
>ii ruby-acts-as-taggable-on 7.0.0-1
>ii ruby-addressable 2.7.0-1
>ii ruby-akismet 3.0.0-1
>ii ruby-apollo-upload-server 2.0.3-1
>ii ruby-asana 0.10.3-1
>ii ruby-asciidoctor-include-ext 0.3.1-2
>ii ruby-asciidoctor-kroki 0.4.0-1
>ii ruby-asciidoctor-plantuml 0.0.12-1
>ii ruby-attr-encrypted 3.1.0-3
>ii ruby-autoprefixer-rails 10.2.4.0+dfsg1+~cs14.2.17-1
>ii ruby-aws-sdk [ruby-aws-sdk-core] 2.9.32-2
>ii ruby-aws-sdk-cloudformation 1.41.0-2
>ii ruby-aws-sdk-core 3.104.3-3
>ii ruby-aws-sdk-s3 1.48.0-3
>ii ruby-azure-storage-blob 2.0.0-3
>ii ruby-azure-storage-common 2.0.1-5
>ii ruby-babosa 1.0.3-1
>ii ruby-base32 0.3.2-4
>ii ruby-batch-loader 2.0.1+dfsg-1
>ii ruby-bcrypt 3.1.16-1
>ii ruby-bcrypt-pbkdf 1.1.0-1
>ii ruby-benchmark-memory 0.1.2-2
>ii ruby-bootsnap 1.4.6-1+b2
>ii ruby-bootstrap-form 4.2.0-2
>ii ruby-browser 4.2.0-3
>ii ruby-carrierwave 2.0.2-1
>ii ruby-charlock-holmes 0.7.7-1
>ii ruby-chronic [ruby-gitlab-chronic] 0.10.5-2
>ii ruby-chronic-duration [ruby-gitlab-chr 0.10.6.2-2
>ii ruby-commonmarker 0.21.0-1
>ii ruby-connection-pool 2.2.2-1
>ii ruby-countries 3.0.0-2
>ii ruby-creole 0.5.0-2.1
>ii ruby-default-value-for 3.4.0-1
>ii ruby-derailed-benchmarks 1.7.0-2
>ii ruby-device-detector 1.0.1-2
>ii ruby-devise 4.7.3-2
>ii ruby-devise-two-factor 3.1.0-2
>ii ruby-diff-match-patch 0.1.0-2
>ii ruby-diffy 3.3.0-1
>ii ruby-discordrb-webhooks 3.4.2-1
>ii ruby-doorkeeper 5.5.0-1
>ii ruby-doorkeeper-openid-connect 1.7.5-2
>ii ruby-ed25519 1.2.4-2+b1
>ii ruby-elasticsearch 6.8.2-2
>ii ruby-elasticsearch-api 6.8.2-2
>ii ruby-email-reply-trimmer 0.1.6-1.1
>ii ruby-erubi 1.9.0-1
>ii ruby-escape-utils 1.2.1-2+b1
>ii ruby-excon 0.79.0-1
>ii ruby-faraday 1.1.0-6
>ii ruby-faraday-middleware-aws-sigv4 0.3.0-2
>ii ruby-fast-blank 1.0.0-2+b1
>ii ruby-flipper [ruby-flipper-active-supp 0.17.1-6
>pn ruby-flipper-active-record <none>
>ii ruby-flowdock 0.7.1-1
>ii ruby-fog-aliyun 0.3.2-4
>ii ruby-fog-aws 3.9.0-1
>ii ruby-fog-core 2.1.0-3.1
>ii ruby-fog-google 1.13.0-1
>ii ruby-fog-local 0.6.0-1.1
>ii ruby-fog-openstack 1.0.8-2.1
>ii ruby-fog-rackspace 0.1.6-2.1
>ii ruby-fogbugz 0.2.1-3
>ii ruby-fugit 1.3.8-1
>ii ruby-gemojione 3.3.0-1
>ii ruby-gettext 3.3.3-2
>ii ruby-gettext-i18n-rails 1.8.0-1
>ii ruby-gettext-i18n-rails-js 1.3.0+dfsg-2.1
>ii ruby-gitaly 13.10.3+dfsg-1
>ii ruby-github-markup 1.7.0+dfsg-3
>ii ruby-gitlab-experiment 0.5.3-1
>ii ruby-gitlab-fog-azure-rm 1.0.1-1
>ii ruby-gitlab-labkit 0.16.2-1
>ii ruby-gitlab-sidekiq-fetcher 0.6.1-1
>ii ruby-gon 6.4.0-1
>ii ruby-google-api-client 0.50.0-1
>ii ruby-google-protobuf 3.12.4-1
>ii ruby-gpgme 2.0.19-3+b3
>ii ruby-grape 1.5.2-1
>ii ruby-grape-entity 0.8.0-1
>ii ruby-grape-logging 1.8.3-1
>ii ruby-grape-path-helpers 1.6.1-1
>ii ruby-graphiql-rails 1.4.10-1
>ii ruby-graphlient 0.5.0-3
>ii ruby-graphql 1.11.8-1
>ii ruby-hamlit 2.15.0-1
>ii ruby-hangouts-chat 0.0.5-2
>ii ruby-hashie-forbidden-attributes 0.1.1-1.1
>ii ruby-health-check 3.0.0-1
>ii ruby-html-pipeline 2.14.0-1
>ii ruby-html2text 0.2.0-1.1
>ii ruby-http 4.4.1-4
>ii ruby-httparty 0.18.1-2
>ii ruby-icalendar 2.4.1-2
>ii ruby-invisible-captcha 1.1.0-1
>ii ruby-jira 2.1.5-1
>ii ruby-jquery-atwho-rails 1.5.4+dfsg-1
>ii ruby-js-regex 3.4.0-1
>ii ruby-json 2.3.0+dfsg-1+b3
>ii ruby-json-schema 2.8.1-2
>ii ruby-json-schemer 0.2.13-2
>ii ruby-jwt 2.2.2-1
>ii ruby-kaminari 1.2.1-1
>ii ruby-kramdown 2.3.0-5
>ii ruby-kubeclient 4.9.1-2
>ii ruby-licensee 9.14.1-2
>ii ruby-lockbox 0.3.5-2
>ii ruby-lograge 0.10.0-1.1
>ii ruby-loofah 2.7.0+dfsg-1
>ii ruby-lru-redux 1.1.0-2
>ii ruby-mail 2.7.1+dfsg1-1.1
>ii ruby-mail-room 0.10.0+really0.0.9-1
>ii ruby-marginalia 1.10.1-1
>ii ruby-memory-profiler 0.9.14-3
>ii ruby-method-source 1.0.0-2
>ii ruby-mimemagic 0.3.5+dfsg-1
>ii ruby-mini-magick 4.10.1-1
>ii ruby-multi-json 1.14.1-1
>ii ruby-net-dns [ruby-gitlab-net-dns] 0.9.1-2
>ii ruby-net-ldap 0.16.3-1
>ii ruby-net-ntp 2.1.3-3
>ii ruby-net-ssh 1:6.1.0-2
>ii ruby-nokogiri 1.11.1+dfsg-2
>ii ruby-ntlm 0.6.1-2
>ii ruby-oauth2 1.4.4-1
>ii ruby-octokit 4.17.0-2
>ii ruby-oj 3.11.0-1
>ii ruby-omniauth 1.9.1-1
>ii ruby-omniauth-atlassian-oauth2 0.2.0-2
>ii ruby-omniauth-auth0 2.0.0-1
>ii ruby-omniauth-authentiq 0.3.3-1
>ii ruby-omniauth-azure-activedirectory-v2 1.0.0-1
>ii ruby-omniauth-azure-oauth2 0.0.10-1
>ii ruby-omniauth-cas3 1.1.4-2
>ii ruby-omniauth-crowd 2.4.0-1.1
>ii ruby-omniauth-facebook 4.0.0-2
>ii ruby-omniauth-github 1.4.0-1
>ii ruby-omniauth-gitlab 1.0.2-1
>ii ruby-omniauth-google-oauth2 0.6.0-2
>ii ruby-omniauth-kerberos 0.3.0-3.1
>ii ruby-omniauth-ldap 2.1.1-1
>ii ruby-omniauth-oauth2-generic 0.2.2-1.1
>ii ruby-omniauth-openid-connect 0.3.5-1
>ii ruby-omniauth-salesforce 1.0.5-2
>ii ruby-omniauth-saml 1.10.0-1
>ii ruby-omniauth-shibboleth 1.3.0-1
>ii ruby-omniauth-twitter 1.4.0-1
>ii ruby-org 0.9.12-2
>ii ruby-parslet 1.8.2-3
>ii ruby-peek 1.1.0-1
>ii ruby-pg 1.2.3-1+b1
>ii ruby-pg-query 1.3.0-1
>ii ruby-posix-spawn 0.3.13-3+b1
>ii ruby-premailer-rails 1.10.3-3
>ii ruby-prof 1.3.1-2+b1
>ii ruby-progressbar 1.10.1-1
>ii ruby-prometheus-client-mmap 0.12.0-1
>ii ruby-puma-worker-killer 0.3.1-1
>ii ruby-rack 2.2.3-1
>ii ruby-rack-attack 6.3.1-1
>ii ruby-rack-cors 1.1.1-1
>ii ruby-rack-oauth2 1.16.0-1
>ii ruby-rack-proxy 0.6.1-2
>ii ruby-rack-timeout 0.5.1-2
>ii ruby-rails 2:6.0.3.5+dfsg-1
>ii ruby-rails-i18n 6.0.0-3
>ii ruby-rainbow 3.0.0-3
>ii ruby-raindrops 0.19.0-2+b1
>ii ruby-rbtrace 0.4.11-3+b3
>ii ruby-re2 1.2.0-1+b4
>ii ruby-recaptcha 4.11.1-2
>ii ruby-recursive-open-struct 1.1.1-1
>ii ruby-redcloth 4.3.2-3+b4
>ii ruby-redis 4.2.5-1
>ii ruby-redis-actionpack 5.2.0-2
>ii ruby-redis-activesupport 5.2.0-1
>ii ruby-redis-namespace 1.7.0-1
>ii ruby-redis-rails 5.0.2-3
>ii ruby-request-store 1.5.0-2
>ii ruby-responders 3.0.0-3
>ii ruby-retriable 3.1.2-1
>ii ruby-rexml 3.2.5-1
>ii ruby-rouge 3.21.0-1
>ii ruby-rqrcode-rails3 0.1.7-1.1
>ii ruby-ruby-magic-static 0.3.5-1
>ii ruby-ruby-parser 3.15.1-1
>ii ruby-rugged 1.1.0+ds-3
>ii ruby-saml 1.12.2-1
>ii ruby-sanitize 5.2.1-2
>ii ruby-sassc 2.2.1-1
>ii ruby-sassc-rails 2.1.2-5
>ii ruby-seed-fu 2.3.7-3
>ii ruby-sentry-raven 3.0.0-2
>ii ruby-settingslogic 2.0.9-3.1
>ii ruby-sidekiq 6.0.4+dfsg-2
>ii ruby-sidekiq-cron 1.1.0-4
>ii ruby-slack-messenger 2.3.4-1
>ii ruby-snowplow-tracker 0.6.1-2
>ii ruby-sprockets 3.7.2-1
>ii ruby-sshkey 2.0.0-3
>ii ruby-stackprof 0.2.15-2
>ii ruby-state-machines-activemodel 0.8.0-1
>ii ruby-state-machines-activerecord 0.8.0-1
>ii ruby-sys-filesystem 1.1.7-2
>ii ruby-task-list [node-deckar01-task-lis 2.3.1-1
>ii ruby-terser 1.0.2+dfsg-4
>ii ruby-thrift 0.14.0-1
>ii ruby-toml-rb 1.0.0-2
>ii ruby-truncato 0.7.11-1
>ii ruby-tzinfo 1.2.6-1
>ii ruby-u2f 0.2.1-2
>ii ruby-unf 0.1.4-2
>ii ruby-unf-ext 0.0.7.6-1+b3
>ii ruby-unleash 0.1.6-2
>ii ruby-valid-email 0.1.3-3
>ii ruby-validates-hostname 1.0.11-1
>ii ruby-version-sorter 2.2.4-2+b1
>ii ruby-virtus 1.0.5-3
>ii ruby-vmstat 2.3.0-3+b1
>ii ruby-webauthn 2.4.0-2
>ii ruby-webpack-rails 0.9.11+git-1
>ii ruby-websocket-extensions 0.1.5-1
>ii ruby-wikicloth 0.8.1+dfsg-4
>ii ruby-yajl 1.4.1-1+b1
>ii ruby-zip 2.0.0-2
>ii ruby2.7 2.7.3-2
>ii rubygems-integration 1.18
>ii ucf 3.0043
>ii webpack 5.6.0+~cs6.4.0-1~exp2
>ii yarnpkg 1.22.10+~cs22.25.14-2
>
>Versions of packages gitlab recommends:
>ii certbot 1.12.0-2
>ii gitaly 13.10.3+dfsg-1
>
>gitlab suggests no packages.
>
>-- Configuration Files:
>/etc/default/gitlab changed [not included]
>/etc/gitlab/database.yml changed [not included]
>/etc/gitlab/environments/production.rb changed [not included]
>/etc/gitlab/feature_flags/ops/dynamic_image_resizing.yml [Errno 2] No such file or directory: '/etc/gitlab/feature_flags/ops/dynamic_image_resizing.yml'
>/etc/gitlab/initializers/smtp_settings.rb changed [not included]
>/etc/gitlab/sidekiq.yml.example [Errno 2] No such file or directory: '/etc/gitlab/sidekiq.yml.example'
>
>-- debconf information excluded
>
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
More information about the Pkg-ruby-extras-maintainers
mailing list