Debian 上的向后移植不起作用

Debian 上的向后移植不起作用

我在 Debian 上更新到特定软件的最新版本时遇到问题。我使用的是 Debian 6.0.4,目前我拥有 Shutter 版本 0.85,这是目前最新的稳定版本。

我有这一行sources.list

deb http://backports.debian.org/debian-backports squeeze-backports main

我运行命令

apt-get -t squeeze-backports install shutter

我得到的只是它安装了相同的 0.85 版本。我知道有一个不稳定的版本 0.88,我真的很想以某种方式得到它。

谢谢你的帮助

答案1

答案2

Shutter 非常罕见,它是一个没有构建依赖项的软件包,除了 debhelper >= 7 之外,这不算数。运行时依赖关系全部处于挤压状态。完整的文字记录如下。这假设您有deb-src用于测试或不稳定的线路/etc/apt/sources.lst

faheem@orwell:/usr/local/src$ apt-cache showsrc shutter
[...]    
Package: shutter
Binary: shutter
Version: 0.88.1-1
Maintainer: Ryan Niebur <[email protected]>
Build-Depends: debhelper (>= 7.0.50)
[...]
faheem@orwell:/usr/local/src$ apt-cache policy shutter
shutter:
  Installed: 0.88.1-1
  Candidate: 0.88.1-1
  Version table:
     0.88.1-1 0
         50 http://debian.csail.mit.edu/debian/ testing/main i386 Packages
         50 http://debian.csail.mit.edu/debian/ unstable/main i386 Packages
     0.85.1-2 0
        500 http://debian.csail.mit.edu/debian/ squeeze/main i386 Packages

faheem@orwell:/usr/local/src$ mkdir shutter
faheem@orwell:/usr/local/src$ cd shutter/
faheem@orwell:/usr/local/src/shutter$ apt-get source shutter
Reading package lists... Done
Building dependency tree       
Reading state information... Done
NOTICE: 'shutter' packaging is maintained in the 'Git' version control system at:
git://git.debian.org/git/collab-maint/shutter.git
Need to get 3,027 kB of source archives.
Get:1 http://debian.csail.mit.edu/debian/ testing/main shutter 0.88.1-1 (dsc) [1,149 B]
Get:2 http://debian.csail.mit.edu/debian/ testing/main shutter 0.88.1-1 (tar) [3,022 kB]
Get:3 http://debian.csail.mit.edu/debian/ testing/main shutter 0.88.1-1 (diff) [4,123 B]                                                                           
Fetched 3,027 kB in 1min 41s (29.7 kB/s)                                                                                                                           
gpgv: keyblock resource `/home/faheem/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Mon 12 Dec 2011 01:06:01 PM IST using DSA key ID F69C6AC5
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./shutter_0.88.1-1.dsc
dpkg-source: info: extracting shutter in shutter-0.88.1
dpkg-source: info: unpacking shutter_0.88.1.orig.tar.gz
dpkg-source: info: unpacking shutter_0.88.1-1.debian.tar.gz
faheem@orwell:/usr/local/src/shutter$ cd shutter-0.88.1/
faheem@orwell:/usr/local/src/shutter/shutter-0.88.1$ debuild binary
[...]
dpkg-deb: building package `shutter' in `../shutter_0.88.1-1_all.deb'.
faheem@orwell:/usr/local/src/shutter/shutter-0.88.1$ cd ..
faheem@orwell:/usr/local/src/shutter$ sudo dpkg -i shutter_0.88.1-1_all.deb 
[sudo] password for faheem: 
Selecting previously deselected package shutter.
(Reading database ... 365531 files and directories currently installed.)
Unpacking shutter (from shutter_0.88.1-1_all.deb) ...
dpkg: dependency problems prevent configuration of shutter:
 shutter depends on libgnome2-wnck-perl; however:
  Package libgnome2-wnck-perl is not installed.
 [bunch of missing dependency errors omitted]
faheem@orwell:/usr/local/src/shutter$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libcommon-sense-perl libfile-basedir-perl libfile-which-perl libgnome2-gconf-perl libgnome2-wnck-perl libgtk2-imageview-perl libgtk2-unique-perl
  libgtkimageview0 libjson-perl libjson-xs-perl libpath-class-perl libproc-processtable-perl libproc-simple-perl libsort-naturally-perl libx11-protocol-perl
  perlmagick
Suggested packages:
  imagemagick-doc
The following NEW packages will be installed:
  libcommon-sense-perl libfile-basedir-perl libfile-which-perl libgnome2-gconf-perl libgnome2-wnck-perl libgtk2-imageview-perl libgtk2-unique-perl
  libgtkimageview0 libjson-perl libjson-xs-perl libpath-class-perl libproc-processtable-perl libproc-simple-perl libsort-naturally-perl libx11-protocol-perl
  perlmagick
0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 1,063 kB of archives.
After this operation, 3,731 kB of additional disk space will be used.
Do you want to continue [Y/n]? 
Get:1 http://debian.csail.mit.edu/debian/ squeeze/main libgnome2-wnck-perl i386 0.16-2 [91.0 kB]
Get:2 http://security.debian.org/ squeeze/updates/main perlmagick i386 8:6.6.0.4-3+squeeze1 [220 kB]
Get:3 http://debian.csail.mit.edu/debian/ squeeze/main libgnome2-gconf-perl i386 1.044-3 [103 kB]
Get:4 http://debian.csail.mit.edu/debian/ squeeze/main libx11-protocol-perl all 0.56-2 [161 kB]                                                                    
Get:5 http://debian.csail.mit.edu/debian/ squeeze/main libfile-basedir-perl all 0.03-1 [10.4 kB]                                                                   
Get:6 http://debian.csail.mit.edu/debian/ squeeze/main libproc-simple-perl all 1.26-2 [16.9 kB]                                                                    
Get:7 http://debian.csail.mit.edu/debian/ squeeze/main libfile-which-perl all 1.08-1 [12.7 kB]                                                                     
Get:8 http://debian.csail.mit.edu/debian/ squeeze/main libsort-naturally-perl all 1.02-1 [14.3 kB]                                                                 
Get:9 http://debian.csail.mit.edu/debian/ squeeze/main libgtkimageview0 i386 1.6.4-1 [29.5 kB]                                                                     
Get:10 http://debian.csail.mit.edu/debian/ squeeze/main libgtk2-imageview-perl i386 0.05-1 [81.3 kB]                                                               
Get:11 http://debian.csail.mit.edu/debian/ squeeze/main libgtk2-unique-perl i386 0.04-1 [42.0 kB]                                                                  
Get:12 http://debian.csail.mit.edu/debian/ squeeze/main libproc-processtable-perl i386 0.45-1 [48.6 kB]                                                            
Get:13 http://debian.csail.mit.edu/debian/ squeeze/main libpath-class-perl all 0.19-1 [34.8 kB]                                                                    
Get:14 http://debian.csail.mit.edu/debian/ squeeze/main libjson-perl all 2.21-1 [85.7 kB]                                                                          
Get:15 http://debian.csail.mit.edu/debian/ squeeze/main libcommon-sense-perl all 3.3-1 [21.8 kB]                                                                   
Get:16 http://debian.csail.mit.edu/debian/ squeeze/main libjson-xs-perl i386 2.290-1 [91.0 kB]                                                                     
Fetched 1,063 kB in 32s (32.3 kB/s)                                                                  
[...]
Setting up shutter (0.88.1-1) ...

faheem@orwell:/usr/local/src/shutter$ apt-cache policy shutter
shutter:
  Installed: 0.88.1-1
  Candidate: 0.88.1-1
  Version table:
     0.88.1-1 0
         50 http://debian.csail.mit.edu/debian/ testing/main i386 Packages
         50 http://debian.csail.mit.edu/debian/ unstable/main i386 Packages
 *** 0.88.1-1 0
        100 /var/lib/dpkg/status
     0.85.1-2 0
        500 http://debian.csail.mit.edu/debian/ squeeze/main i386 Packages

相关内容