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

Bug#235725: apt has trouble when reinstalling a purged pkg that was held



Matt Zimmerman wrote:
On Mon, Mar 01, 2004 at 11:12:44PM -0500, Roberto Sanchez wrote:


sanchezr@miami:~$ sudo apt-get install mozilla-thunderbird mozilla-thunderbird-enigmail
Reading Package Lists... Done
Building Dependency Tree... Done
Package mozilla-thunderbird is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package mozilla-thunderbird has no installation candidate


What does "apt-cache policy mozilla-thunderbird
mozilla-thunderbird-enigmail" show when the system is in this state?  Send
copies of /etc/apt/sources.list, and /etc/apt/preferences if it exists.  If
you do have a preferences file, does it install correctly if you
remove/rename it temporarily?




I hope this helps.  There is a lot info here, so sections are broken up
by lines of asterisks.

-Roberto

************************

sources.list:

deb http://miami:9999/main/ unstable main non-free contrib
deb-src http://miami:9999/main/ unstable main non-free contrib


deb http://miami:9999/security/ testing/updates main contrib non-free
deb-src http://miami:9999/security/ testing/updates main contrib non-free


deb http://miami:9999/main/ testing main non-free contrib
deb-src http://miami:9999/main/ testing main non-free contrib


deb http://miami:9999/non-US/ unstable/non-US main contrib non-free
deb-src http://miami:9999/non-US/ unstable/non-US main contrib non-free

deb http://miami:9999/marillat unstable main

************************

apt-proxy.conf from host miami:

add_backend /main/                                      \
        $APT_PROXY_CACHE/debian/                        \
        http://ftp.us.debian.org/debian/                \
        http://linux.csua.berkeley.edu/debian/          \
        http://lyre.mit.edu/debian/


add_backend /non-US/                                    \
        $APT_PROXY_CACHE/non-US/                        \
        http://ftp.de.debian.org/debian-non-US/         \
        http://non-us.debian.org/                       \
        http://ftp.uk.debian.org/debian-non-US/
#       http://ftp.rfc822.org/debian-non-US/            \


add_backend /security/                                  \
        $APT_PROXY_CACHE/security/                      \
        http://security.debian.org/                     \
        http://non-us.debian.org/debian-security/
#       http://ftp.rfc822.org/debian-security/          \


add_backend /marillat/                                  \
        $APT_PROXY_CACHE/marillat/                      \
        http://hpisi.nerim.net/

************************

Policy with 0.5-1 installed (not on hold):

sanchezr@mayaguez:~$ apt-cache policy mozilla-thunderbird
mozilla-thunderbird:
  Installed: 0.5-1
  Candidate: 0.5-1
  Package Pin: 0.5-1
  Version Table:
     0.5-2 1001
        500 http://miami unstable/main Packages
 *** 0.5-1 1001
        100 /var/lib/dpkg/status
     0.4-1 1001
        500 http://miami testing/main Packages

************************

Policy with 0.5-1 installed (placed on hold from within dselect):

sanchezr@mayaguez:~$ apt-cache policy mozilla-thunderbird
mozilla-thunderbird:
  Installed: 0.5-1
  Candidate: 0.5-1
  Package Pin: 0.5-1
  Version Table:
     0.5-2 1001
        500 http://miami unstable/main Packages
 *** 0.5-1 1001
        100 /var/lib/dpkg/status
     0.4-1 1001
        500 http://miami testing/main Packages

************************

Policy with 0.5-1 purged:

sanchezr@mayaguez:~$ apt-cache policy mozilla-thunderbird
mozilla-thunderbird:
  Installed: (none)
  Candidate: (none)
  Package Pin: (not found)
  Version Table:
     0.5-2 1001
        500 http://miami unstable/main Packages
     0.4-1 1001
        500 http://miami testing/main Packages

************************

Contents of /etc/apt/preferences (after package purge):

sanchezr@mayaguez:~$ cat /etc/apt/preferences
Package: libxft2
Pin: version 2.1.1-2
Pin-Priority: 1001

Package: wmacpi
Pin: version 1.99-1
Pin-Priority: 1001

Package: mozilla-thunderbird
Pin: version 0.5-1
Pin-Priority: 1001

************************

Failed install attempt (not manually specifying latest version on cammand line):

sanchezr@mayaguez:~$ sudo apt-get install mozilla-thunderbird
Reading Package Lists... Done
Building Dependency Tree... Done
Package mozilla-thunderbird is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package mozilla-thunderbird has no installation candidate

************************

Successful install attempt (with manually specifying latest version on cammand line):

sanchezr@mayaguez:~$ sudo apt-get install mozilla-thunderbird=0.5-2
Reading Package Lists... Done
Building Dependency Tree... Done
Suggested packages:
  mozilla-firebird
The following NEW packages will be installed:
  mozilla-thunderbird
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 10.1MB of archives.
After unpacking 31.6MB of additional disk space will be used.
Get:1 http://miami unstable/main mozilla-thunderbird 0.5-2 [10.1MB]
Fetched 10.1MB in 1s (9635kB/s)
Selecting previously deselected package mozilla-thunderbird.
(Reading database ... 141224 files and directories currently installed.)
Unpacking mozilla-thunderbird (from .../mozilla-thunderbird_0.5-2_i386.deb) ...
Setting up mozilla-thunderbird (0.5-2) ...
Updating mozilla-thunderbird chrome registry...done.

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: