so i just changed the information into a question and then added some text that is sure not politically correct
but fix that as soon as possible because i understand debian as a system of where you have the choise, you can say no in any package chages configuration/user data but you cant do it as user on graphical level??? thats totally wrong
debian is getting worse and worse. If i wont get a fix of that package ill have to change to arch or so ;( wkregards Am 24.04.2017 um 20:25 schrieb treaki:
Package: thunderbird Version: 1:45.8.0-3~deb8u1 Severity: important hi, ive got following window: ===== 0xc000008 "Icedove to Thunderbird Profile migration" ===== You see this window because you're starting Thunderbird for the first time and have profile(s) for Icedove. The Debian Icedove package is de-branded back to Thunderbird. The Icedove profile(s) will now be migrated to the Thunderbird folder. This will take a short time! Please be patient, the Thunderbird program will be started right after the changes. If you need more information on the de-branding and migration please read /usr/share/doc/thunderbird/README.Debian.gz The Debian wiki is also holding extra information about the migration of Icedove to Thunderbird. https://wiki.debian.org/Thunderbird OK === thats very nice because i have icedove still running. So what is if i dont want to migrate right now or do want to migrate on my own. What is if i want to read the migrate source before because i dont trust them mostly because it says: "This will take a short time!" and i do not understand why it will take a while at all because its a simple mv inode name change without any havy file system operation at all. You could even just link the things to avoid this and have compatiblity between both versions. So change this to a "do you want to let this system migrate that now" yes / no dialog, or leav it away and just symlink ~/.thunderbird to .icedove and be with it. Thanks a lot and pleace tell me what should take a while... -- System Information: Debian Release: 8.7 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.2.0-0.bpo.1-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages thunderbird depends on: ii debianutils 4.4+b1 ii fontconfig 2.11.0-6.3+deb8u1 ii libasound2 1.0.28-1 ii libatk1.0-0 2.14.0-1 ii libc6 2.19-18+deb8u7 ii libcairo2 1.14.0-2.1+deb8u2 ii libdbus-1-3 1.8.22-0+deb8u1 ii libdbus-glib-1-2 0.102-1 ii libevent-2.0-5 2.0.21-stable-2+deb8u1 ii libffi6 3.1-2+b2 ii libfontconfig1 2.11.0-6.3+deb8u1 ii libfreetype6 2.5.2-3+deb8u1 ii libgcc1 1:4.9.2-10 ii libgdk-pixbuf2.0-0 2.31.1-2+deb8u5 ii libglib2.0-0 2.42.1-1+b1 ii libgtk2.0-0 2.24.25-3+deb8u1 ii libhunspell-1.3-0 1.3.3-3 ii libpango-1.0-0 1.36.8-3 ii libpangocairo-1.0-0 1.36.8-3 ii libpangoft2-1.0-0 1.36.8-3 ii libpixman-1-0 0.32.6-3 ii libstartup-notification0 0.12-4 ii libstdc++6 4.9.2-10 ii libx11-6 2:1.6.2-3 ii libxcomposite1 1:0.4.4-1 ii libxdamage1 1:1.1.4-2+b1 ii libxext6 2:1.3.3-1 ii libxfixes3 1:5.0.1-2+b2 ii libxrender1 1:0.9.8-1+b1 ii libxt6 1:1.1.4-1+b1 ii psmisc 22.21-2 ii x11-utils 7.7+2 ii zlib1g 1:1.2.8.dfsg-2+b1 Versions of packages thunderbird recommends: ii hunspell-de-at [hunspell-dictionary] 20131206-5 ii hunspell-de-ch [hunspell-dictionary] 20131206-5 ii hunspell-en-us [hunspell-dictionary] 20070829-6+deb8u1 ii lightning 1:45.8.0-3~deb8u1 ii myspell-de-de [myspell-dictionary] 20131206-5 Versions of packages thunderbird suggests: pn apparmor <none> ii fonts-lyx 2.1.2-2 ii libgssapi-krb5-2 1.12.1+dfsg-19+deb8u2 -- no debconf information
#!/bin/bash
# vim: autoindent tabstop=4 shiftwidth=4 expandtab softtabstop=4 filetype=sh
textwidth=76
#
# File:
# /usr/bin/thunderbird
#
# Purpose:
# This is a wrapper script for starting the thunderbird binary with taking
# care of the searching for an old user Icedove profile folder and adopting
# the folder into the new place if possible.
#
# Environment:
# The Icedove binary was using the profile folder '${HOME}/.icedove'. The
# Mozilla default for the Thunderbird binary is '${HOME}/.thunderbird'.
# The script will looking for the old profile folder and will symlink the
# folder '${HOME}/.thunderbird' to the profile folder '${HOME}/.icedove'.
#
# Copyright:
# Licensed under the terms of GPLv2+.
#set -x
TB_HELPER="/usr/lib/thunderbird/thunderbird-wrapper-helper.sh"
# sourcing external variables and helper functions
if [ -f "${TB_HELPER}" ]; then
# hide the sourcing for http://www.shellcheck.net/
# shellcheck source=/dev/null
. "${TB_HELPER}"
else
# this needs improving, the user isn't normally seeing this error!
# comment so why do you dont use xmessage or that new one with z also
in here
echo "helper ${TB_HELPER} not found!"
exit 1
fi
# some global variables
MOZ_APP_NAME=thunderbird
MOZ_APP_LAUNCHER=$(which "$0")
MOZ_LIBDIR=/usr/lib/${MOZ_APP_NAME}
ID_PROFILE_FOLDER=${HOME}/.icedove
TB_PROFILE_FOLDER=${HOME}/.thunderbird
export HELP=0
export FAIL=0
export FORCE_MIMEAPPS_MIGRATE=0
export VERBOSE=0
# set MOZ_APP_LAUNCHER for gnome-session
export MOZ_APP_LAUNCHER
declare -a TB_ARGS=()
for ARG in "$@"; do
case "${ARG}" in
--fixmime)
FIXMIME=1
FORCE_MIMEAPPS_MIGRATE=1
;;
-g)
DEBUGGER=1
DEBUG=1
;;
# -d)
# USER_DEBUGGER=$2
# DEBUG=1
# shift
# ;;
--help)
HELP=1
;;
--show-backup)
SHOW_BACKUP=1
;;
--verbose)
output_info "[[ ... using verbose mode ... ]]"
VERBOSE=1
;;
'?')
usage >&2
exit 1
;;
# Every other argument is needed to get down to the TB starting call.
*)
TB_ARGS+=("${ARG}")
;;
esac
shift
done
# sanity check
if [ "$DEBUGGER" != "" ] && [ "$USER_DEBUGGER" != "" ]; then
output_info "You can't use option '-g and '-d' at the same time!"
usage
exit 1
fi
# If '--help' was called show usage() and exit immediately without other
# helpers can be called.
if [ "${HELP}" = "1" ]; then
usage
exit 0
fi
# The user is forcing to do the MIME fixing (again). If called a used
# profile(s) folder ~/.thunderbird will be also reworked. That's not the
# case if the user is starting this wrapper for a first time and only a
# folder ~/.thunderbird is existing!
if [ "${FIXMIME}" = "1" ]; then
do_fix_mimetypes_rdf
do_migrate_old_icedove_desktop
do_collect_backup_files
exit 0
fi
if [ "${SHOW_BACKUP}" = "1" ]; then
do_collect_backup_files
exit 0
fi
#############################################################################
# User Thunderbird Profile Adoptions #
# #
# The users Icedove/Thunderbird profile(s) doesn't need to be modified in a #
# different and complicated way. We simply need to ensure that the #
# Thunderbird binary is finding the existing profiles in the folder #
# $(HOME)/.thunderbird folder or a valid symlink pointing to the profiles. #
# #
# To "migrate" an old existing Icedove profile we can simply do a symlink #
# from $(HOME)/.thunderbird --> $(HOME)/.icedove . #
# #
# Afterwards do some changes to the file mimeTypes.rdf within every #
# profile. Also we can modify existing *icedove*.desktop entries in the #
# files. #
# #
# $(HOME)/.config/mimeapps.list #
# $(HOME)/.local/share/applications/mimeapps.list #
# #
#############################################################################
# First try the default case for modification, there is only a folder
# ${ID_PROFILE_FOLDER} and we can symlink to this.
if { [ -d "${ID_PROFILE_FOLDER}" ] || [ -L "${ID_PROFILE_FOLDER}" ]; } && \
{ [ ! -d "${TB_PROFILE_FOLDER}" ] && [ ! -L "${TB_PROFILE_FOLDER}" ]; }; then
output_debug "found folder '${ID_PROFILE_FOLDER}'"
output_debug "not found folder or symlink '${TB_PROFILE_FOLDER}'"
output_debug "Start Thunderbird profile adoptions, please be patient!"
# open a pop-up window with a message about starting migration
do_inform_migration_start
# do the symlinking
do_thunderbird2icedove_symlink
# fixing mimeTypes.rdf which may have registered the iceweasel binary
# as browser, instead of x-www-browser
do_fix_mimetypes_rdf
# Fix local mimeapp.list and *.desktop entries
do_migrate_old_icedove_desktop
# we are finished
output_info "Thunderbird Profile adoptions done."
do_collect_backup_files
fi
# We found both profile folder, and .thunderbird is a symlink,
# we need to check if .thunderbird is symlinked to .icedove
if { [ -d "${ID_PROFILE_FOLDER}" ] && [ -L "${TB_PROFILE_FOLDER}" ]; } && \
[ "$(readlink -e "${TB_PROFILE_FOLDER}")" = "${ID_PROFILE_FOLDER}" ];then
output_debug "Found folder ${ID_PROFILE_FOLDER}, found a symlink
${TB_PROFILE_FOLDER} pointing to ${ID_PROFILE_FOLDER}"
# Check if we need to do some migration, the linking could be existing
# before we switched back to Thunderbird.
if [ ! -f "${TB_PROFILE_FOLDER}/.migrated" ]; then
# Fixing mimeTypes.rdf which may have registered the iceweasel binary
# as browser, instead of x-www-browser
do_fix_mimetypes_rdf
# Fix local mimeapp.list and *.desktop entries
do_migrate_old_icedove_desktop
fi
# ... or the opposite if .icedove is symlinked to .thunderbird
elif { [ -d "${TB_PROFILE_FOLDER}" ] && [ -L "${ID_PROFILE_FOLDER}" ]; } && \
[ "$(readlink -e "${ID_PROFILE_FOLDER}")" = "${TB_PROFILE_FOLDER}" ];then
output_debug "Found folder ${TB_PROFILE_FOLDER}, found a symlink
${ID_PROFILE_FOLDER} pointing to ${TB_PROFILE_FOLDER}"
output_debug "You may want to remove the symlink ${ID_PROFILE_FOLDER}? It's
probably not needed anymore."
# Check if we need to do some migration ...
if [ ! -f "${TB_PROFILE_FOLDER}/.migrated" ]; then
# Fixing mimeTypes.rdf which may have registered the iceweasel binary
# as browser, instead of x-www-browser
do_fix_mimetypes_rdf
# Fix local mimeapps.list and *.desktop entries
do_migrate_old_icedove_desktop
fi
# We found both profile folder, but they are not linked to each other! This
# is a state we can't solve on our own !!! The user needs to interact and
# has probably an old or otherwise used Thunderbird installation. Which one
# is the correct one to use?
elif { [ -d "${ID_PROFILE_FOLDER}" ] || [ -L "${ID_PROFILE_FOLDER}" ]; } && \
{ [ -d "${TB_PROFILE_FOLDER}" ] || [ -L "${TB_PROFILE_FOLDER}" ]; } && \
[ "$(readlink -e "${TB_PROFILE_FOLDER}")" != "$(readlink -e
"${ID_PROFILE_FOLDER}")" ]; then
for CHECK in ${ID_PROFILE_FOLDER} ${TB_PROFILE_FOLDER}; do
FILE_CHECK=$(readlink -e "${CHECK}")
if [ "${FILE_CHECK}" != "" ] && [ -L "${CHECK}" ]; then
output_debug "Found symlink '${CHECK}' pointing to '${FILE_CHECK}'."
elif [ "${FILE_CHECK}" != "" ] && [ -d "${CHECK}" ]; then
output_debug "Found folder '${FILE_CHECK}'."
else
output_debug "${CHECK} is probably a symlink pointing to a non
existing target, at least not to ${ID_PROFILE_FOLDER}."
logger -i -p warning -s "$0: [profile migration] ${CHECK} is
probably a symlink pointing to a non existing target, at least not to
${ID_PROFILE_FOLDER}."
fi
done
output_debug "There are already the folders or symlinks
'${TB_PROFILE_FOLDER}' and '${ID_PROFILE_FOLDER}'"
output_debug "which not pointing to each other, will do nothing as don't
know which folder to use."
output_debug "Please investigate by yourself! Maybe you will find
additional information in '/usr/share/doc/thunderbird/README.Debian.gz'."
logger -i -p warning -s "$0: [profile migration] Couldn't migrate Icedove
into Thunderbird profile due existing or symlinked folder
'${TB_PROFILE_FOLDER}'!"
# display a graphical advice if possible
do_thunderbird2icedove_error_out
fi
if [ "${FAIL}" = 1 ]; then
output_info "An error happened while trying to migrate the old Icedove
profile folder '${ID_PROFILE_FOLDER}'."
output_info "Please take a look into the syslog file!"
exit 1
fi
# If we are here we going simply further by starting Thunderbird.
if [ "${DEBUG}" = "" ]; then
TB_ARGS_LINE=$(echo "${TB_ARGS[@]}" | sed "s/'/\"/g")
output_debug "call '${MOZ_LIBDIR}/${MOZ_APP_NAME} ${TB_ARGS_LINE}'"
exec "${MOZ_LIBDIR}"/"${MOZ_APP_NAME}" "${TB_ARGS[@]}"
else
# User has selected GDB?
if [ "${DEBUGGER}" = "1" ]; then
# checking for GDB
if [ -f /usr/bin/gdb ]; then
if dpkg-query -W -f='${Version}' thunderbird-dbg &>/dev/null ; then
output_info "Starting Thunderbird with GDB ..."
LANG='' exec "${MOZ_LIBDIR}"/run-mozilla.sh -g
"${MOZ_LIBDIR}"/"${MOZ_APP_NAME}" "${TB_ARGS[@]}"
else
output_info "No package 'thunderbird-dbg' installed! Please
install first and restart."
exit 1
fi
else
output_info "No package 'gdb' installed! Please install first and
try again."
exit 1
fi
fi
fi
exit 0
thunderbird-wrapper-helper.sh
Description: application/shellscript

