Package: cdargs Version: 1.35-5 Severity: normal Tags: patch
I believe this problem can be fixed by removing "emacsen-common" from the package dependencies. This package does not benefit anyhow from having emacsen installed (although the opposite is true). Furthermore, when upgrading/installing version 1.35-5 of this package on a stripped-down machine, it pulls down a whole load of stuff you probably don't want: # dpkg -l cdargs | grep cdargs ii cdargs 1.35-3 bookmarks and browsing for the cd command # apt-get install cdargs=1.35-5 Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: anthy-common cdargs cpp cpp-4.4 defoma emacs23 emacs23-bin-common emacs23-common emacsen-common fontconfig fontconfig-config gconf2-common hicolor-icon-theme libanthy0 libasound2 libatk1.0-0 libatk1.0-data libavahi-client3 libavahi-common-data libavahi-common3 libcairo2 libcroco3 libcups2 libdatrie1 libdbus-glib-1-2 libfont-freetype-perl libfontconfig1 libfontenc1 libfreetype6 libfribidi0 libgconf2-4 libgd2-noxpm libgif4 libgmp3c2 libgsf-1-114 libgsf-1-common libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libice6 libidl0 libjasper1 libjpeg62 libm17n-0 libmpfr4 liborbit2 libotf0 libpango1.0-0 libpango1.0-common libpixman-1-0 libpng12-0 librsvg2-2 libsm6 libthai-data libthai0 libtiff4 libxcb-render-util0 libxcb-render0 libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxfont1 libxft2 libxi6 libxinerama1 libxpm4 libxrandr2 libxrender1 libxt6 m17n-contrib m17n-db ttf-dejavu-core x-ttcidfont-conf x11-common xfonts-encodings xfonts-utils Suggested packages: cpp-doc gcc-4.4-locales defoma-doc psfontmgr dfontmgr emacs23-common-non-dfsg emacs23-el libasound2-plugins cups-common libgd-tools librsvg2-common gvfs libjasper-runtime m17n-docs ttf-japanese-gothic ttf-japanese-mincho ttf-thryomanes ttf-baekmuk ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp ttf-arphic-gkai00mp ttf-arphic-bkai00mp librsvg2-bin gawk The following NEW packages will be installed: anthy-common cpp cpp-4.4 defoma emacs23 emacs23-bin-common emacs23-common emacsen-common fontconfig fontconfig-config gconf2-common hicolor-icon-theme libanthy0 libasound2 libatk1.0-0 libatk1.0-data libavahi-client3 libavahi-common-data libavahi-common3 libcairo2 libcroco3 libcups2 libdatrie1 libdbus-glib-1-2 libfont-freetype-perl libfontconfig1 libfontenc1 libfreetype6 libfribidi0 libgconf2-4 libgd2-noxpm libgif4 libgmp3c2 libgsf-1-114 libgsf-1-common libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libice6 libidl0 libjasper1 libjpeg62 libm17n-0 libmpfr4 liborbit2 libotf0 libpango1.0-0 libpango1.0-common libpixman-1-0 libpng12-0 librsvg2-2 libsm6 libthai-data libthai0 libtiff4 libxcb-render-util0 libxcb-render0 libxcomposite1 libxcursor1 libxdamage1 libxfixes3 libxfont1 libxft2 libxi6 libxinerama1 libxpm4 libxrandr2 libxrender1 libxt6 m17n-contrib m17n-db ttf-dejavu-core x-ttcidfont-conf x11-common xfonts-encodings xfonts-utils The following packages will be upgraded: cdargs 1 upgraded, 76 newly installed, 0 to remove and 0 not upgraded. [...] With cdargs not depending on emacsen-common, installation is clean and lean, and upgrade from 1.35-3 works like a charm: # dpkg -l cdargs | grep cdargs ii cdargs 1.35-3 bookmarks and browsing for the cd command # apt-get install cdargs=1.35-5.1 Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: emacs23 xemacs21 emacsen The following packages will be upgraded: cdargs 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/51.6 kB of archives. After this operation, 12.3 kB disk space will be freed. WARNING: The following packages cannot be authenticated! cdargs Install these packages without verification [y/N]? y (Reading database ... 25886 files and directories currently installed.) Preparing to replace cdargs 1.35-3 (using ..././cdargs_1.35-5.1_amd64.deb) ... Unpacking replacement cdargs ... Processing triggers for man-db ... Setting up cdargs (1.35-5.1) ... -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (700, 'testing'), (500, 'testing-proposed-updates'), (500, 'stable'), (300, 'unstable'), (100, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages cdargs depends on: ii emacsen-common 1.4.19 Common facilities for all emacsen ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib ii libgcc1 1:4.4.5-6 GCC support library ii libncurses5 5.7+20100313-4 shared libraries for terminal hand ii libstdc++6 4.4.5-6 The GNU Standard C++ Library v3 Versions of packages cdargs recommends: ii emacs21 [emacsen] 21.4a+1-5.7 The GNU Emacs editor cdargs suggests no packages.
diff --git a/debian/control b/debian/control index 56637ee..0b2d5de 100644 --- a/debian/control +++ b/debian/control @@ -10,8 +10,8 @@ Vcs-Browser: http://git.debian.org/?p=collab-maint/cdargs.git;a=summary Package: cdargs Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, emacsen-common -Recommends: emacs23 | xemacs21 | emacsen +Depends: ${shlibs:Depends}, ${misc:Depends} +Suggests: emacs23 | xemacs21 | emacsen Description: bookmarks and browsing for the cd command CDargs is a tool which enhances the navigation of the common unix file-system inside the shell. It plugs into the shell built-in cd-command (via a shell