Package: cupt
Version: 2.1.3


In specific cases [1], 'cupt' misreads the state of the package.

example:

cupt> policy linux-image-3.0.0-1-486
linux-image-3.0.0-1-486:
  Installed: <none>
  Candidate: 3.0.0-3
  Version table:
     3.0.0-3 501
        http://ftp.pl.debian.org/debian unstable/main (signed)
cupt> show linux-image-3.0.0-1-486
Package: linux-image-3.0.0-1-486
Version: 3.0.0-3
Status: not installed
Source: linux-2.6
Priority: optional
Section: kernel

# dpkg -s linux-image-3.0.0-1-486
Package: linux-image-3.0.0-1-486
Status: install reinstreq half-installed
Priority: optional
Section: kernel
Installed-Size: 83232
Maintainer: Debian Kernel Team <debian-ker...@lists.debian.org>
Architecture: i386
Source: linux-2.6
Version: 3.0.0-2


[1] -annex



   * Angielski - wykryto
   * Polski

   * Polski

<javascript:void(0);>
cupt> full-upgrade d*/installed lib*/installed -VZD
Building the package cache... 
Initializing package resolver and worker... 
Scheduling requested actions... 
E: invalid version string '6.0.0-'
W: error while parsing new version entry for package 'libqwt-dev'
W: no valid versions available, discarding the package
Resolving possible unmet dependencies... 

The following 1 packages will be UPGRADED:

linux-image-3.0.0-1-486 [3.0.0-2 -> 3.0.0-3] <-12.0KiB>
  reason: user request


Need to get 0B/28.3MiB of archives. After unpacking 12.0KiB will be freed.
Do you want to continue? [y/N/q/a/?] y
Performing requested actions:
Preconfiguring packages ...
(Reading database ... 122151 files and directories currently installed.)
Preparing to replace linux-image-3.0.0-1-486 3.0.0-2 (using 
.../linux-image-3.0.0-1-486_3.0.0-3_i386.deb) ...
Unpacking replacement linux-image-3.0.0-1-486 ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.0.0-1-486 
/boot/vmlinuz-3.0.0-1-486
run-parts: executing /etc/kernel/postrm.d/zz-extlinux 3.0.0-1-486 
/boot/vmlinuz-3.0.0-1-486
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.0.0-1-486...
P: Writing config for /boot/vmlinuz-2.6.39-2-486...
  No volume groups found
rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy
E: /usr/share/syslinux/debian/extlinux: No such file or directory
run-parts: /etc/kernel/postrm.d/zz-extlinux exited with return code 1
Failed to process /etc/kernel/postrm.d at 
/var/lib/dpkg/info/linux-image-3.0.0-1-486.postrm line 235.
dpkg: warning: subprocess old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.0.0-1-486 
/boot/vmlinuz-3.0.0-1-486
run-parts: executing /etc/kernel/postrm.d/zz-extlinux 3.0.0-1-486 
/boot/vmlinuz-3.0.0-1-486
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.0.0-1-486...
P: Writing config for /boot/vmlinuz-2.6.39-2-486...
  No volume groups found
rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy
E: /usr/share/syslinux/debian/extlinux: No such file or directory
run-parts: /etc/kernel/postrm.d/zz-extlinux exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/tmp.ci/postrm line 235.
dpkg: error processing 
//var/cache/apt/archives/linux-image-3.0.0-1-486_3.0.0-3_i386.deb (--install):
 subprocess new post-removal script returned error exit status 1
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.0.0-1-486 
/boot/vmlinuz-3.0.0-1-486
run-parts: executing /etc/kernel/postrm.d/zz-extlinux 3.0.0-1-486 
/boot/vmlinuz-3.0.0-1-486
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.0.0-1-486...
P: Writing config for /boot/vmlinuz-2.6.39-2-486...
  No volume groups found
rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy
rmdir: failed to remove `/var/lib/os-prober/mount': Device or resource busy
E: /usr/share/syslinux/debian/extlinux: No such file or directory
run-parts: /etc/kernel/postrm.d/zz-extlinux exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/tmp.ci/postrm line 235.
dpkg: error while cleaning up:
 subprocess new post-removal script returned error exit status 1
Processing triggers for readahead-fedora ...
Errors were encountered while processing:
 //var/cache/apt/archives/linux-image-3.0.0-1-486_3.0.0-3_i386.deb
E: '/usr/bin/dpkg --install --force-bad-path 
//var/cache/apt/archives/linux-image-3.0.0-1-486_3.0.0-3_i386.deb' failed: exit 
code '1'
E: unable to do requested actions
E: error performing command 'full-upgrade'

cupt> policy linux-image-3.0.0-1-486
linux-image-3.0.0-1-486:
  Installed: <none>
  Candidate: 3.0.0-3
  Version table:
     3.0.0-3 501
        http://ftp.pl.debian.org/debian unstable/main (signed)
cupt> show linux-image-3.0.0-1-486
Package: linux-image-3.0.0-1-486
Version: 3.0.0-3
Status: not installed
Source: linux-2.6
Priority: optional
Section: kernel

# dpkg -l linux-image-3.0.0-1-486
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Nazwa          Wersja         Opis
+++-==============-==============-============================================
iHR linux-image-3. 3.0.0-2        Linux 3.0.0 for older PCs

# dpkg -s linux-image-3.0.0-1-486
Package: linux-image-3.0.0-1-486
Status: install reinstreq half-installed
Priority: optional
Section: kernel
Installed-Size: 83232
Maintainer: Debian Kernel Team <debian-ker...@lists.debian.org>
Architecture: i386
Source: linux-2.6
Version: 3.0.0-2
Config-Version: 3.0.0-2
Provides: linux-image, linux-modules-3.0.0-1-486
Depends: module-init-tools, linux-base (>= 3~), initramfs-tools (>= 0.99~) | 
linux-initramfs-tool
Pre-Depends: debconf | debconf-2.0
Recommends: firmware-linux-free (>= 3~)
Suggests: linux-doc-3.0.0, grub-pc | extlinux | lilo (>= 22.8-8.2~)
Breaks: initramfs-tools (<< 0.99~), lilo (<< 22.8-8.2~)
Description: Linux 3.0.0 for older PCs
 The Linux kernel 3.0.0 and modules for use on PCs with a single processor
 not supporting PAE.
 .
 This kernel is not suitable for SMP (multi-processor, multi-core or
 hyper-threaded) systems.

Reply via email to