Re: unable to upgrade packages via apt-get

2005-08-16 Thread Bob Proulx
Monty wrote:
 The problem is that my apt-get will not seam to update/upgrade any of my
 packages even though I know there are new packages available by looking in
 /var/lib/dpkg/available.
 
 As an example, I currently have lynx V2.8.5REL1  installed but my
 /var/lib/dpkg/available file indicates that the latest package is Lynx
 V2.8.5-2.  When I execute: apt-get upgrade or apt-get dist-upgrade I get:

That really does not make sense to me.  What does apt-cache policy
say?

  apt-cache policy lynx

You may have some type of pinning active which is declaring a
preference for the stable depot.

 Reading Package Lists...
 Building Dependency Tree...
 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 
 This seams to be the standard response from the apt-get command as it does
 this for other packages as well.  In fact it has been a couple of months
 since any packages have updated/upgraded.

You seem to have missed the announcements that Sarge has been
released.  Sarge is now the Debian stable release.  There have not
been any changes to Sarge for months.  It won't be changing again
except for security updates and for the regularly produced minor
updates (adding an r# such as 3.0r6 to the release).

 My sources.list is as follows:  (I have tried the Bytekeeper mirror in
 Belgium as well with identical results)
 
 deb ftp://ftp.debian.de/debian-amd64/debian-amd64 sarge contrib main 
 non-free
 deb-src ftp://ftp.debian.de/debian-amd64/debian-amd64 sarge contrib main 
 non-free

You seem to be missing the security updates.  These are strongly
recommended.  You should add the following to your sources.list file
to install Debian security updates.

  deb http://security.debian.org/ sarge/updates main contrib non-free

If you want to track testing then you would need to change the sarge
to either etch or testing.  I would not recommend either etch or sid
at the moment.  There are too many transitions all happening at once.

Bob


signature.asc
Description: Digital signature


Re: unable to upgrade packages via apt-get

2005-08-16 Thread Goswin von Brederlow
Monty [EMAIL PROTECTED] writes:

 Hello,

 For the past while I have been experiencing problems with my apt-get command
 and I was wondering if anyone might be able to  help me with my
 difficulties.

 The problem is that my apt-get will not seam to update/upgrade any of my
 packages even though I know there are new packages available by looking in
 /var/lib/dpkg/available.

 As an example, I currently have lynx V2.8.5REL1  installed but my
 /var/lib/dpkg/available file indicates that the latest package is Lynx
 V2.8.5-2.  When I execute: apt-get upgrade or apt-get dist-upgrade I get:

[EMAIL PROTECTED]:~% apt-cache policy lynx
lynx:
  Installed: 2.8.5-2
  Candidate: 2.8.5-2
  Version table:
 *** 2.8.5-2 0
500 copy: sarge/main Packages
500 http://amd64.debian.net sarge/main Packages
100 /var/lib/dpkg/status

Sarge indeed does have 2.8.5-2 as latest version but that isn't even
the problem:

$ dpkg --compare-versions 2.8.5-2  2.8.5REL1  echo yes
yes

Your local version of lynx is newer than the latest version in
sarge. Installing the sarge version would be downgrading.

 Reading Package Lists...
 Building Dependency Tree...
 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

 This seams to be the standard response from the apt-get command as it does
 this for other packages as well.  In fact it has been a couple of months
 since any packages have updated/upgraded.

 My sources.list is as follows:  (I have tried the Bytekeeper mirror in
 Belgium as well with identical results)

 deb ftp://ftp.debian.de/debian-amd64/debian-amd64 sarge contrib main non-free
 deb-src ftp://ftp.debian.de/debian-amd64/debian-amd64 sarge contrib main 
 non-free

That seems to work fine.

$ bzcat Packages.bz2 | grep-dctrl -X -P lynx
Package: lynx
Priority: optional
Section: web
Installed-Size: 4676
Maintainer: James Troup [EMAIL PROTECTED]
Architecture: amd64
Version: 2.8.5-2
...



 When I run: apt-get update it does return information about hitting kmy
 sources  so I believe that is working.

 Any ideas much appreciated.

 Thanks,
Monty

Try creating the following

[EMAIL PROTECTED]:~% cat /etc/apt/preferences
Package: *
Pin: release o=Debian-amd64,a=stable,v=3.1r0
Pin-Priority: 1001

and then 'apt-get update; apt-get dist-upgrade' to downgrade back to
sarge.

MfG
Goswin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]