Package: redmine
Severity: normal
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
apt-get install redmine redmine-mysql
# skipped database configuration
apt-get remove --purge redmine-mysql
#Folowed by the following snippet
root@redmine-test:~# apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
dbconfig-common dbconfig-sqlite3 fonts-lato imagemagick-6-common
javascript-common libcurl3 libdbi-perl libfftw3-double3 libglib2.0-0
libglib2.0-data libgomp1 libjs-coffeescript libjs-jquery libjs-source-map
libjs-uglify
liblqr-1-0 libltdl7 libmagickcore-6.q16-3 libmagickwand-6.q16-3 libreadline5
libruby2.3 libterm-readkey-perl libuv1 libxslt1.1 libyaml-0-2 nodejs passenger
rake redmine redmine-sqlite ruby ruby-actionmailer
ruby-actionpack ruby-actionpack-action-caching ruby-actionpack-xml-parser
ruby-actionview ruby-activejob ruby-activemodel ruby-activerecord
ruby-activesupport ruby-addressable ruby-arel ruby-atomic ruby-binding-of-caller
ruby-blankslate ruby-builder ruby-bundler ruby-byebug ruby-coderay
ruby-coffee-rails ruby-coffee-script ruby-coffee-script-source ruby-columnize
ruby-concurrent ruby-css-parser ruby-debug-inspector ruby-did-you-mean
ruby-erubis ruby-eventmachine ruby-execjs ruby-ffi ruby-globalid ruby-hike
ruby-hmac ruby-htmlentities ruby-i18n ruby-jbuilder ruby-jquery-rails ruby-json
ruby-listen ruby-loofah ruby-mail ruby-mime-types ruby-mimemagic
ruby-minitest ruby-molinillo ruby-multi-json ruby-net-http-persistent
ruby-net-ldap ruby-net-telnet ruby-nokogiri ruby-oj ruby-openid ruby-pkg-config
ruby-polyglot ruby-power-assert ruby-protected-attributes ruby-rack
ruby-rack-openid ruby-rack-test ruby-rails ruby-rails-deprecated-sanitizer
ruby-rails-dom-testing ruby-rails-html-sanitizer ruby-rails-observers
ruby-railties ruby-rb-inotify ruby-rbpdf ruby-rbpdf-font ruby-redcarpet
ruby-request-store ruby-rmagick ruby-roadie ruby-roadie-rails ruby-sass
ruby-sass-rails ruby-sdoc ruby-spring ruby-sprockets ruby-sprockets-rails
ruby-sqlite3 ruby-test-unit ruby-thor ruby-thread-safe ruby-tilt
ruby-treetop ruby-turbolinks ruby-tzinfo ruby-uglifier ruby-web-console
ruby2.3 rubygems-integration shared-mime-info sqlite3 unzip xdg-user-dirs zip
0 upgraded, 0 newly installed, 127 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 135 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 37171 files and directories currently installed.)
Removing redmine (3.3.1-3) ...
/var/lib/dpkg/info/redmine.prerm: 33: [: =: unexpected operator
ls: cannot access '/etc/redmine/*/database.yml': No such file or directory
dirname: missing operand
Try 'dirname --help' for more information.
basename: missing operand
Try 'basename --help' for more information.
dpkg: error processing package redmine (--remove):
subprocess installed post-removal script returned error exit status 123
Removing redmine-sqlite (3.3.1-3) ...
...
* What exactly did you do (or not do) that was effective (or
ineffective)?
# packages got remvoed as expected, but the unexpected operator warning should
not happen
* What was the outcome of this action?
# OK
* What outcome did you expect instead?
# OK with no error warnings.
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: 9.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)