LeRoy Cressy on Fri, 13 Sep 2002 14:40:18 +0200


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

Re: [PLUG] un-upgrade in debian


it is true that you cannot normally downgrade in Debian but the following command will work:

dpkg -i --force-downgrade file.deb
dpkg --set-selections package-name hold

The first line forces a downgrade of a package
the second line places the package status on hold in its present state, which hopefully prevent apt from upgrading the package.



Naresh wrote:
To my knowledge, its not possible to downgrade in Debian. Unless you
manually want to change the /var/apt/cache. My advice is wait until vorbis
is fixed in unstable and you should be set.

Goodluck,
Naresh


On Thu, 12 Sep 2002, Will Dyson wrote:


Jeff Abrahamson wrote:

I want to revert back to a previous version of the ogg tools in
debian, because the current version in testing doesn't work.

<snip>

Any advice or pointers?

Advice: upgrade to vorbis-tools 1.0 from unstable, rather than downgrading.

You can do this easily by adding the unstable archives to your
sources.list file and (important) setting a low (100<X<500) Pin-priority
on packages from unstable. You can do this by adding the following lines
to your /etc/apt/preferences file (copied from my woody machine)

Package: *
Pin: release a=unstable
Pin-Priority: 101

This is not a well-advertised feature of apt, but it works well. It is
documented in the man page for apt_preferences. The packages from testing
will still be the default. You will have to specficly ask for the version
from unstable.

If you really must downgrade, then check this out:
http://debianplanet.org/node.php?id=717

In case debianplanet barfs or something, the relevent link is
http://snapshot.debian.net/archive/

--
Will Dyson
"Back off man, I'm a scientist!" -Dr. Peter Venkman

_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug



_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug





-- Rev. LeRoy D. Cressy mailto:leroy@lrcressy.com /\_/\ http://lrcressy.com ( o.o ) Phone: 215-535-4037 > ^ <

Jesus saith unto him, I am the way, the truth, and the life:
no man cometh unto the Father, but by me. (John 14:6)

_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug