[clug] apt-get problems...

Pietro Abate Pietro.Abate at anu.edu.au
Thu Sep 30 08:54:46 GMT 2004


Hi all,
I'm trying to upgrade php4 on a woody machine but I don't know how (well
without doing it manually) to upgrade a whole lot of packages from a
repository with a pin priority lesser the my current release priority.

what's is the apt-pinning-magic to force all depencies at once ?
Shall I write one Pinning section for every package ? 

I've tried with something like 

Package: *
Pin: release v=*jones*
Pin-Priority: 1001

but it doesn't work :(

thanks,
p


# apt-cache policy php4
php4:
  Installed: 4:4.1.2-7.0.1
  Candidate: 4:4.1.2-7.0.1
  Version Table:
     4:4.3.3-3.99.jones.2 0
        500 http://debian.jones.dk woody/misc Packages
 *** 4:4.1.2-7.0.1 0
        990 ftp://debian.anu.edu.au stable/updates/main Packages
        100 /var/lib/dpkg/status
     4:4.1.2-6woody3 0
        990 ftp://debian.anu.edu.au stable/main Packages

....

# apt-get install php4=4:4.3.3-3.99.jones.2  
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

Sorry, but the following packages have unmet dependencies:
  php4: Depends: libexpat1 (>= 1.95.6) but 1.95.2-6 is to be installed
        Depends: libpam0g (>= 0.76) but 0.72-35 is to be installed
        Depends: libpcre3 (>= 4.0) but 3.4-1.1 is to be installed
        Depends: zlib1g (>= 1:1.2.1) but 1:1.1.4-1.0woody0 is to be installed
        Depends: apache-common (>= 1.3.27.1) but 1.3.26-0woody5 is to be installed
E: Sorry, broken packages

....

-- 
++ "All great truths begin as blasphemies." -George Bernard Shaw
++ Please avoid sending me Word or PowerPoint attachments.
   See http://www.fsf.org/philosophy/no-word-attachments.html


More information about the linux mailing list