Автор Тема: upgrade na Debian ( Knoppix 3.3 )  (Прочетена 2393 пъти)

geopit

  • Напреднали
  • *****
  • Публикации: 119
    • Профил
upgrade na Debian ( Knoppix 3.3 )
« -: Feb 24, 2004, 19:45 »
Здравейте,
Имам следното питане:в момента си ъпгрейдвам КДЕ-то до 3.2.Трябва ли да си ъпгрейдвам цялята дистрибуция (Debian- Knoppix 3.3) или може да си остане в този вид ? Благодаря ви предварително и чакам бързи отговори за да знам какво да правя  '<img'> !!!
Активен

n_antonov

  • Напреднали
  • *****
  • Публикации: 1185
    • Профил
    • WWW
upgrade na Debian ( Knoppix 3.3 )
« Отговор #1 -: Feb 24, 2004, 20:07 »
Попитай apt, той знае най-добре'<img'>

Всичко зависи от това какви пакети ще слагаш - дали са backports за stable (тогава няма да има ъпгрейд на цялото дистро), дали са компилирани за testing или за unstable (тогава ще иска да ъпгрейдне най-малко libc6 и всичко, което зависи пряко от него).

Въобще, варианти много. Според зависи'<img'>
Активен

-------------------------------------------------------------------------
./debian/rules

nix

  • Напреднали
  • *****
  • Публикации: 442
    • Профил
upgrade na Debian ( Knoppix 3.3 )
« Отговор #2 -: Feb 24, 2004, 20:17 »
Здр'<img'>Прочети това надявам се да ти помогне'<img'>
Цитат
3.8 How to keep a mixed system
People are sometimes interested in using one of the Debian versions as its main system distribution and one or more packages from another branch.

To set up what is your main version of Debian you should edit the /etc/apt/apt.conf to contain the following line:

     APT::Default-Release "version";
Where version is the version of Debian you want to use as the main distribution. The versions you can use are stable, testing and unstable. To install packages from another version, then, you must you APT in the following way:

     # apt-get -t distribution install package
For that to work, though, you need at least one APT source line in your /etc/apt/sources.list for the distribution you want the package from, and the package must exist on that source.

You can also request a specific version of a package using the following sintax:

     # apt-get install package=version
For example, the line below will install version 2.2.4-1 of the nautilus package.:

     # apt-get install nautilus=2.2.4-1
IMPORTANT: the `unstable' version of Debian is the version to which the newest versions of Debian packages are uploaded first. This distribution sees all of the changes that packages go through, both small ones and more drastic ones which affect many packages or the whole system. For this reason, this version of the distribution should not be used by inexperienced users or by those who need proven stability.

The `testing' distribution is not necessarily best than `unstable', because it does not receive security updates quickly. For servers and other production systems stable should always be used.


--------------------------------------------------------------------------------

3.9 How to upgrade packages from specific versions of Debian
apt-show-versions provides a safe way for users of mixed distributions to upgrade their systems without getting more of the less-stable distribution than they had in mind. For instance, it is possible to upgrade just your unstable packages by running after having installed the apt-show-versions package:

     # apt-get install `apt-show-versions -u -b | grep unstable`

--------------------------------------------------------------------------------

3.10 How to keep specific versions of packages installed (complex)
You may have occasion to modify something in a package and don't have time or don't want to port those changes to a new version of the program. Or, for instance, you may have just upgraded your Debian distribution to 3.0, but want to continue with the version of a certain package from Debian 2.2. You can "pin" the version you have installed so that it will not be upgraded.

Using this resource is simple. You just need to edit the file /etc/apt/preferences.

The format is simple:

     Package: <package>
     Pin: <pin definition>
     Pin-Priority: <pin's priority>
For example, to keep package sylpheed that I have modified to use "reply-to-list" at version 0.4.99, I add:

     Package: sylpheed
     Pin: version 0.4.99*
Note that I used an * (asterisk). This is a "wildcard"; it say that I want that this "pin" to be valid for all versions beginning with 0.4.99. This is because Debian versions its packages with a "Debian revision" and I don't want to avoid the installation of these revisions. So, for instance, versions 0.4.99-1 and 0.4.99-10 will be installed as soon as they are made available. Note that if you modified the package you won't want to do things this way.

The Pin-Priority field is optional; if not specified, it defaults to 989.

Let's take a look at how pin priorities work. A priority lower than 0 indicates that the package should never be installed. Priorities 0 to 100 denote packages that are not installed and that have no available versions. These won't come into the version-choosing process. Priority 100 is the priority assigned to an installed package - for the installed version of a package to be replaced by a different version, the replacement must have a priority greater than 100.

Priorities above 100 indicate that a package should be installed. Typically, the installed version of a package is changed only to upgrade it to a newer version. Any priority between 100 and 1000 (inclusive) indicates this typical behavior. A package with such a priority will not downgrade to an available version with a lower version number. For instance, if I have sylpheed 0.5.3 installed and define a pin on sylpheed 0.4.99 with priority 999, package 0.4.99 will not be installed to satisfy the pin. To make a package "downgradable", to satisfy the pin, it needs possess a priority greater than 1000.

A pin can be specified on a package's version, release or origin.

Pinning on a version, as we have seen, supports literal version numbers as well as wildcards to specify several versions at one time.

Option release depends on the Release file from an APT repository or from a CD. This option may be of no use at all if you're using package repositories that don't provide this file. You may see the contents of the Release files that you have on /var/lib/apt/lists/. The parameters for a release are: a (archive), c (components), v (version), o (origin) and l (label).

An example:

     Package: *
     Pin: release v=2.2*,a=stable,c=main,o=Debian,l=Debian
     Pin-Priority: 1001
In this example, we chose version 2.2* of Debian (which can be 2.2r2, 2.2r3 -- this accomodates "point releases" that typically include security fixes and other very important updates), the stable repository, section main (as opposed to contrib or non-free) and origin and label Debian. Origin (o=) defines who produced that Release file, the label (l=) defines the name of the distribution: Debian for Debian itself and Progeny for Progeny, for example. A sample Release file:

     $ cat /var/lib/apt/lists/ftp.debian.org.br_debian_dists_potato_main_binary-i386_Release
     Archive: stable
     Version: 2.2r3
     Component: main
     Origin: Debian
     Label: Debian
     Architecture: i386
Активен

DEBIAN GNU/Linux SID/kernel-2.6.16

geopit

  • Напреднали
  • *****
  • Публикации: 119
    • Профил
upgrade na Debian ( Knoppix 3.3 )
« Отговор #3 -: Feb 24, 2004, 21:06 »
Ето аз какво направих ( сигурно някоя глупост !!! ) :
в apt.config - "experimental"
в sources.list :

deb http://people.debian.org/~ccheney/kde-3.2.0/ ./
deb http://people.debian.org/~bab/kde-3.2 ./

apt-get upgrade
apt-get install kde
Активен

geopit

  • Напреднали
  • *****
  • Публикации: 119
    • Профил
upgrade na Debian ( Knoppix 3.3 )
« Отговор #4 -: Feb 24, 2004, 21:08 »
По-точно:

apt-get update
apt-get install kde
Активен

nix

  • Напреднали
  • *****
  • Публикации: 442
    • Профил
upgrade na Debian ( Knoppix 3.3 )
« Отговор #5 -: Feb 24, 2004, 21:11 »
Ами не е глупост!DEBIAN,ти дава право сам да решиш каква точно реализация да ползваш'<img'>Ти си избрал experimental '<img'>Ще бъде глупост,ако си админ на някой сървар и от теб зависят стотици клиенти,и си пуснеш experimental '<img'>
Успех'<img'>
Активен

DEBIAN GNU/Linux SID/kernel-2.6.16

geopit

  • Напреднали
  • *****
  • Публикации: 119
    • Профил
upgrade na Debian ( Knoppix 3.3 )
« Отговор #6 -: Feb 25, 2004, 00:06 »
Аз съм си обикновено юзерче  ':p' !!!
Активен

nix

  • Напреднали
  • *****
  • Публикации: 442
    • Профил
upgrade na Debian ( Knoppix 3.3 )
« Отговор #7 -: Feb 25, 2004, 01:47 »
Нямаш грижи'<img'>От време на време може да ти създава някакви проблеми,но все пак това е в реда на нещата нали си experimental  ':p'  ':p'  ':p'
Активен

DEBIAN GNU/Linux SID/kernel-2.6.16

  • Гост
upgrade na Debian ( Knoppix 3.3 )
« Отговор #8 -: Feb 25, 2004, 01:49 »
Възможно ли е сега в apt.conf да си напиша "unstabile" и да си свалям тези пакети ( от "unstabile" ) ?

Между другото КДЕ 3.2 е върхът !!!
Активен

alabal

  • Напреднали
  • *****
  • Публикации: 2173
  • cat /earth/europe/bg/sofia | grep Nacamura
    • Профил
upgrade na Debian ( Knoppix 3.3 )
« Отговор #9 -: Feb 25, 2004, 01:56 »
Разбира се, че е възможно, даже и донякъде е препоръчително.
Язък само за трафик дето го направи към провайдъра.
Активен

It makes you awful glad that you were born a man.

mikis

  • Напреднали
  • *****
  • Публикации: 746
  • Distribution: Debian Testing
  • Window Manager: KDE
    • Профил
upgrade na Debian ( Knoppix 3.3 )
« Отговор #10 -: Feb 25, 2004, 11:02 »
Извинете за офтопик-а, ама някой да знае кога КДЕ 3.2 ще влезе в Unstable, че нещо не ми се минава на Experimental?
Активен

alabal

  • Напреднали
  • *****
  • Публикации: 2173
  • cat /earth/europe/bg/sofia | grep Nacamura
    • Профил
upgrade na Debian ( Knoppix 3.3 )
« Отговор #11 -: Feb 25, 2004, 11:06 »
Виж тук
http://wiki.debian.net/?DebianKDE
секция FAQ
Активен

It makes you awful glad that you were born a man.

Подобни теми
Заглавие Започната от Отговора Прегледи Последна публикация
Knoppix install next to Debian
Настройка на програми
Agent_SMITH 11 6406 Последна публикация Jan 14, 2004, 02:14
от
Debian i Knoppix
Настройка на хардуер
Abbadon 5 1478 Последна публикация May 05, 2005, 05:42
от Abbadon
Upgrade+Debian
Настройка на хардуер
phantomlord 3 1789 Последна публикация Nov 01, 2005, 12:21
от divak
Проблем с debian след dist-upgrade
Настройка на програми
SHTILL 17 8064 Последна публикация Dec 12, 2006, 21:23
от SHTILL
Debian etch upgrade to sid...
Настройка на програми
kachaka 4 1948 Последна публикация Mar 05, 2008, 22:46
от mikis