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

Re: upgrading just one "stable" package to "testing" version




On Tuesday, March 19, 2002, at 08:19 PM, Jason Lim wrote:

Your sources.list must not be correct then, or something is fubared
somewhere.

Try this...

rm -rf /var/lib/apt/lists/*

There is no /var/lib/apt/lists/ directory.


then make SURE /etc/apt/sources.list is correct.

the only non-comment lines are:

deb http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free



Then update the package list, and try and get dpkg first, then apt.

That should work. Let us all know the result.

spaz:/etc/apt# ls -ld /var/lib/apt/lists/
ls: /var/lib/apt/lists/: No such file or directory

spaz:/etc/apt# apt-get update
Get:1 http://non-us.debian.org testing/non-US/main Packages [91.9kB]
Get:2 http://non-us.debian.org testing/non-US/main Release [88B]
Hit http://non-us.debian.org testing/non-US/contrib Packages
Get:3 http://non-us.debian.org testing/non-US/contrib Release [91B]
Hit http://non-us.debian.org testing/non-US/non-free Packages
Get:4 http://non-us.debian.org testing/non-US/non-free Release [92B]
Hit http://non-us.debian.org stable/non-US/main Sources
Hit http://non-us.debian.org stable/non-US/main Release
Hit http://non-us.debian.org stable/non-US/contrib Sources
Hit http://non-us.debian.org stable/non-US/contrib Release
Hit http://non-us.debian.org stable/non-US/non-free Sources
Hit http://non-us.debian.org stable/non-US/non-free Release
Fetched 92.1kB in 7s (13.0kB/s)
Reading Package Lists... Done
Building Dependency Tree... Done

spaz:/etc/apt# apt-get install dpkg
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, dpkg is already the newest version
0 packages upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

spaz:/etc/apt# apt-get install apt
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, apt is already the newest version
0 packages upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

spaz:/etc/apt# cat /etc/apt/preferences
Package: *
Pin: release a=stable
spaz:/etc/apt#




----- Original Message -----
From: "Toby Thain" <toby@telegraphics.com.au>
To: "Jason Lim" <maillist@jasonlim.com>
Cc: <debian-isp@lists.debian.org>
Sent: Tuesday, March 19, 2002 7:59 PM
Subject: Re: upgrading just one "stable" package to "testing" version



On Tuesday, March 19, 2002, at 05:17 AM, Jason Lim wrote:



On Mon, Mar 18, 2002 at 21:11:20 +1100, Toby Thain wrote:
spaz:~# apt-get update

spaz:~# apt-get install apt
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, apt is already the newest version
0 packages upgraded, 0 newly installed, 0 to remove and 5 not
upgraded.

That's strange. Stable has apt 0.3.19; testing has apt 0.5.4. This
should
have worked. Perhaps apt is among the "5 not upgrade" packages, for
some
reason? You could work around this by installing the new apt (and its
dependencies) through "dpkg".


There is a simple way... do apt-get -v

What is the output? What version does it report?

spaz:~# apt-get -v
apt 0.3.19 for i386 compiled on May 12 2000  21:17:27
spaz:~#



Then we'll know all.


--
To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org




--
To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org




--
To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org





Reply to: