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

Re: Woody



On Sun, 15 Jul 2001 02:02:58 +0200
Raphael Hertzog <hertzog@debian.org> wrote:
> > Ce qui est bète c'est que ca marche pas dans l'autre sens, downgrader un
> > package vers testing quand on est sur unstable.
> 
> Ce n'est pas vrai (sur une machine en unstable) :
> $ sudo apt-get install debhelper/testing
> Password:
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Selected version 3.0.15 (Debian:testing) for debhelper
> The following packages will be REMOVED:
>   alsa-source 
> The following packages will be DOWNGRADED
>   debhelper 


Hum... voyons voir...:

---- copie terminal ----
Sur une machine en unstable:
droopy:~ # dpkg --status debhelper
Package: debhelper
Status: install ok installed
[..snip..]
Version: 3.0.40
[..snip..]
droopy:~ # apt-get install -t stable debhelper
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, debhelper is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 63  not upgraded.
droopy:~ # apt-get remove debhelper
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  debhelper
0 packages upgraded, 0 newly installed, 1 to remove and 63  not upgraded.
Need to get 0B of archives. After unpacking 651kB will be freed.
Do you want to continue? [Y/n]
(Reading database ... 56770 files and directories currently installed.)
Removing debhelper ...
droopy:~ # apt-get install -t stable debhelper
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  debhelper
0 packages upgraded, 1 newly installed, 0 to remove and 63  not upgraded.
Need to get 0B/101kB of archives. After unpacking 243kB will be used.
Selecting previously deselected package debhelper.
(Reading database ... 56645 files and directories currently installed.)
Unpacking debhelper (from .../debhelper_2.0.86_all.deb) ...
Setting up debhelper (2.0.86) ...

droopy:~ #
---- fin de la copie terminal ----

Bon donc avec install -t stable ca marche pas pour downgrader mais ca
marche pour installer

mais maintenant:
----
droopy:~ # apt-get install debhelper/stable
Reading Package Lists... Done
Building Dependency Tree... Done
Selected version 2.0.86 (Debian:2.2r3/stable) for debhelper
The following packages will be DOWNGRADED
  debhelper
0 packages upgraded, 0 newly installed, 1 downgraded, 0 to remove and 63  not up
graded.
Need to get 0B/101kB of archives. After unpacking 409kB will be freed.
Do you want to continue? [Y/n]
----

Donc non seulement tu nous proposes un raccourci mais en plus ca marche
mieux!
D'ailleurs ya pas que ca qui marche mieux:
----
droopy:~ # apt-get install -t testing debhelper
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, debhelper is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 63  not upgraded.
droopy:~ # apt-get install debhelper/testing
Reading Package Lists... Done
Building Dependency Tree... Done
E: Release 'testing' for 'debhelper' was not found
droopy:~ #
----

Et j'ai bien la dernière version d'apt-get apparemment.... 

buggy buggy... ou -t stable et package/stable ne sont pas la même
fonctionnalité?

Je penche plutot pour la deuxième solution, si je comprend ben la man
page, -t c'est pour spécifier la version par défault, alors que
package/stable serait au contraire pour spécifier la version pour le
package particulier..



-- 
Fabrice Gautier <gautier@email.enstfr>



Reply to: