Package: cupt
Version: 0.5.0
Severity: normal

Hi, cupt failed to install a program in the following situation:

emacs depends on emacs23 | emacs23-gtk | emacs23-nox

emacs23-gtk Conflicts with emacs23 and emacs23-nox. I had emacs23
installed. I then attempted to install emacs23-gtk. This should remove
emacs23, and then install emacs23-gtk, recognizing that the emacs
dependency will only be unresolved for a second or two. Cupt seems
able to resolve this but unable to process it:

skynet:/home/dmr# cupt install emacs23-gtk
Building the package cache... [done]      
Initializing package resolver and worker... [done]
Scheduling requested actions... [done]            
Resolving possible unmet dependencies...          
The following 1 packages will be INSTALLED:       

emacs23-gtk 

The following 1 packages will be REMOVED:

emacs23 

Need to get 3267KiB/3267KiB of archives. After unpacking 8192B will be freed.
Do you want to continue? [y/N/q] y                                           

Performing requested actions:
Get:1 http://ftp.debian.org/debian/ sid/main emacs23-gtk 23.1+1-2 [3267KiB]     
Fetched in 13s.                                                                 
dpkg: dependency problems prevent removal of emacs23:                           
 emacs depends on emacs23 | emacs23-gtk | emacs23-nox; however:                 
  Package emacs23 is to be removed.                                             
  Package emacs23-gtk is not installed.                                         
  Package emacs23-nox is not installed.                                         
dpkg: error processing emacs23 (--remove):                                      
 dependency problems - not removing                                             
Errors were encountered while processing:                                       
 emacs23                                                                        
E: dpkg returned non-zero status: 256                                           
E: error performing command 'install'


For comparison:
                                           
skynet:/home/dmr# apt-get install emacs23-gtk
Reading package lists... Done                
Building dependency tree                     
Reading state information... Done            
Suggested packages:                          
  emacs23-common-non-dfsg                    
The following packages will be REMOVED:      
  emacs23                                    
The following NEW packages will be installed:
  emacs23-gtk                                
0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B/3345kB of archives.                            
After this operation, 8192B disk space will be freed.         
Do you want to continue [Y/n]?                                
dpkg: emacs23: dependency problems, but removing anyway as you requested:
 emacs depends on emacs23 | emacs23-gtk | emacs23-nox; however:          
  Package emacs23 is to be removed.                                      
  Package emacs23-gtk is not installed.                                  
  Package emacs23-nox is not installed.                                  
(Reading database ... 59623 files and directories currently installed.)  
Removing emacs23 ...                                                     
update-alternatives: using /usr/bin/emacs22-x to provide /usr/bin/emacs (emacs) 
in auto mode.                                                                   
emacs-remove emacs23                                                            
remove/paredit-el: purging byte-compiled files for emacs23                      
remove/icicles: purging byte-compiled files for emacs23                         
emacsen-common: Handling removal of emacsen flavor emacs23                      
emacsen-common: purging byte-compiled files for emacs23                         
remove/emacs-goodies-el: purging byte-compiled files for emacs23                
remove/dictionaries-common: Purging byte-compiled files for flavour emacs23     
Processing triggers for man-db ...                                              
Selecting previously deselected package emacs23-gtk.                            
(Reading database ... 59611 files and directories currently installed.)         
Unpacking emacs23-gtk (from .../emacs23-gtk_23.1+1-2_amd64.deb) ...             
Processing triggers for man-db ...                                              
Setting up emacs23-gtk (23.1+1-2) ...                                           
update-alternatives: using /usr/bin/emacs23-gtk to provide /usr/bin/emacs 
(emacs) in auto mode.                                                           
      
update-alternatives: warning: skip creation of /usr/share/man/man1/emacs.1.gz 
because associated file /usr/share/man/man1/emacs.1emacs23.gz (of link group 
emacs) doesn't exist.
emacs-install emacs23
install/dictionaries-common: Byte-compiling for emacsen flavour emacs23
Wrote /usr/share/emacs23/site-lisp/dictionaries-common/debian-ispell.elc
Wrote /usr/share/emacs23/site-lisp/dictionaries-common/ispell.elc
Wrote /usr/share/emacs23/site-lisp/dictionaries-common/flyspell.elc
install/emacs-goodies-el: Handling emacs23, logged in /tmp/elc_d0Riqd.log
install/emacs-goodies-el: Deleting /tmp/elc_d0Riqd.log
emacsen-common: Handling install of emacsen flavor emacs23
emacsen-common: byte-compiling for emacs23
Wrote /etc/emacs23/site-start.d/00debian-vars.elc

In debian-run-directories:
debian-startup.el:131:25:Warning: `mapcar' called for effect; use `mapc' or
    `dolist' instead
Wrote /usr/share/emacs23/site-lisp/debian-startup.elc
install/icicles: Handling install for emacsen flavor emacs23, logged in 
/tmp/elc_148nLY.log
install/icicles: Deleting /tmp/elc_148nLY.log
install/paredit-el: Handling install for emacsen flavor emacs23
Wrote /usr/share/emacs23/site-lisp/paredit-el/paredit.elc


Thanks,
Daniel

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cupt depends on:
ii  libcupt-perl                  0.5.0      alternative front-end for dpkg -- 
ii  perl                          5.10.0-24  Larry Wall's Practical Extraction 

cupt recommends no packages.

Versions of packages cupt suggests:
pn  libterm-readline-gnu-perl     <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to