[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#370372: marked as done (x11-common: Upgrade is very inconvenient)



Your message dated Thu, 24 May 2007 07:23:47 +0200
with message-id <46552163.5000701@ens-lyon.org>
and subject line Bug#370372: x11-common: Upgrade is very inconvenient
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: x11-common
Version: 7.0.20
Severity: important

Short story:
~~~~~~~~~~~~
Upgrade from 6.9.0.dfsg.1-6 to 7.0.20 failed (in testing). The error
message was very generic and did not give enough details to acutally
handle the problem. An (not-anymore) Debian package was removed (which
had files in /usr/X11R6/bin/) but even then (when only Debian packages
had files in /usr/X11R6/bin/) x11-common refused to upgrade. Only
after removing all packages which have files in /usr/X11R6/bin/
x11-common upgrades. 

At a minimum, the output of 
for i in /usr/X11R6/bin/*; do dpkg -S $i; done |awk '{print $1}' | sort -u | less
should be given to the user.

This bug looks similar to #370353 (but I am not given any details)

Since I try to keep informed of Debian developments, I already heard
about this problem before (sorry, did not see a bug), so I was able to
cope. Less informed/experienced people might not.

Long story
~~~~~~~~~~
I currently try to upgrade to x11-common_1%3a7.0.20. However, the
upgrade always fails because x11-common claims some files to be left
in /usr/X11R6/bin which need removing. I tried to upgrade other
packages (besides X) first, so to get as little files as possible in
this directory; but every "dist-upgrade" call now fails because
apt-get insists on updating x11-common first.

This machine is a amd64 install (sid/testing) from around fall 2004. I
am almost pure Debian so I expected this directory to be almost empty
already, but no:

appres
atobm
bdftopcf
bdftruncate
beforelight
bggen
bitmap
bmtoa
ccmakedep
cleanlinks
cxpm
dga
editres
fslsfonts
fstobdf
gccmakedep
getconfig
getconfig.pl
glxgears
glxinfo
iceauth
ico
imake
listres
lndir
luit
makedepend
makeg
makestrs
mergelib
mkcfm
mkdirhier
mkfontdir
mkfontscale
mkhtmlindex
oclock
pcitweak
revpath
rstart
rstartd
rstartd.real
sessreg
setxkbmap
showfont
showrgb
smproxy
startx
sxpm
ucs2any
vdcomp
viewres
x11perf
x11perfcomp
xauth
xauth_switch_to_sun-des-1
xbiff
xcalc
xclipboard
xclock
xcmap
xcmsdb
xconsole
xcursorgen
xcutsel
xdbedizzy
xditview
xdpyinfo
xdriinfo
xedit
xev
xeyes
xfd
xfindproxy
xfontsel
xfs
xfsinfo
xgamma
xgc
xhost
xinit
xkbbell
xkbcomp
xkbevd
xkbprint
xkbvleds
xkbwatch
xkill
xload
xlogo
xlsatoms
xlsclients
xlsfonts
xmag
xman
Xmark
xmessage
xmkmf
xmodmap
xmore
xon
xorgcfg
xorgconfig
xprop
xrandr
xrdb
xrefresh
xset
xsetmode
xsetpointer
xsetroot
xsm
xstdcmap
xtrapchar
xtrapin
xtrapinfo
xtrapout
xtrapproto
xtrapreset
xtrapstats
xv
xvidtune
xvinfo
xvpictoppm
xwd
xwininfo
xwud

Thanks to dpkg -S I see that four packages are responsible for these
files:
xbase-clients, xfs, xutils and xv.
The first three are stock Debian, the last one is no longer (used to
be in woody, my recompile in Sarge). So I remove it, but the upgrade
of x11-common still fails. To be sure, I recheck the package owners of
files in /usr/X11R6/bin/:
xbase-clients, xfs, and xutils.

So I try to update those specifically:
apt-get install xbase-clients xfs xutils
remaxp:~# env LANG=C apt-get install xbase-clients xfs xutils
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  libfontenc1 libxfont1 x11-common xfonts-encodings xfonts-utils xutils-dev
Suggested packages:
  x-window-system-core x-window-system mesa-utils
The following NEW packages will be installed:
  libfontenc1 libxfont1 xfonts-encodings xfonts-utils xutils-dev
The following packages will be upgraded:
  x11-common xbase-clients xfs xutils
4 upgraded, 5 newly installed, 0 to remove and 99 not upgraded.
2 not fully installed or removed.

Same error. So I remove them, which also removes
  ark arson gdm gksu gnucash gnucash-common gsfonts-x11 k3b k3b-i18n kalzium
  kappfinder karbon kate kcontrol kde-i18n-de kdebase kdebase-bin
  kdebase-kio-plugins kdelibs kdelibs-bin kdelibs4c2a kdepasswd kdeprint
  kdesktop kfind khelpcenter kicker klipper kmenuedit koffice-libs
  konq-plugins konqueror konqueror-nsplugins konsole kpager kpersonalizer
  ksmserver ksplash kspread ksvg ksysguard ktip kwin libgksu1.2-0
  libgksuui1.0-1 libk3b2 libkdeedu3 libkonq4 ttf-thryomanes x-ttcidfont-conf
  xawtv xbase-clients xfonts-base-transcoded xfs xtranslate xutils

In the first run, khelpcenter could note be removed, but worked on second
try, but now I have errors on
 x11-common
 libfs6
 libfontenc1
 libxfont1
 xfonts-encodings
 xfonts-utils
 xfonts-75dpi
 xfonts-100dpi
 xfonts-scalable
 xfonts-base
for example:
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von xfonts-scalable:
 xfonts-scalable hängt ab von xfonts-utils; aber:
  Package xfonts-utils is not configured yet.

But now x11-common installs. 

This is not a user-friendly upgrade procedure. 

My suggestion would be to run something like 
for i in /usr/X11R6/bin/*; do dpkg -S $i; done |awk '{print $1}' | sort -u | less
and hand the output to the user, so he know at least the culprits. And
instead of simply failing, if possible for Debian packages, some "magic"
should be added which takes care of upgrading Debian packages properly
(I assume such magic is already present, but somehow it did not work in
my case).


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.deb-7-grsec
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

Versions of packages x11-common depends on:
ii  debconf [debconf-2.0]         1.5.1      Debian configuration management sy
ii  debianutils                   2.16.1     Miscellaneous utilities specific t
ii  lsb-base                      3.1-5      Linux Standard Base 3.1 init scrip

x11-common recommends no packages.

-- debconf information:
* x11-common/xwrapper/allowed_users: Console Users Only
  x11-common/experimental_packages:
  x11-common/xwrapper/actual_allowed_users: console
  x11-common/xwrapper/nice_value/error:
* x11-common/upgrade_issues:
* x11-common/xwrapper/nice_value: 0
* x11-common/x11r6_bin_not_empty:
-- 
      Dr. Helge Kreutzmann                     debian@helgefjell.de
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Closing since the 6.9->7.0 transition is long gone, and all programs
found in /usr/X11R6/bin in this report are already covered by
appropriate conflicts.

Brice


--- End Message ---

Reply to: