View previous topic :: View next topic |
Author |
Message |
Christian99 Veteran

Joined: 28 May 2009 Posts: 1722
|
Posted: Tue Jun 21, 2011 5:29 pm Post subject: emerge --depclean will nano deinstallieren |
|
|
Hallo, mein portage will in letzter zeit immer nano deinstallieren. er sagt zwar, dass man das nicht machen soll, weil es im system-profile ist, aber emerge --depclean möchte es trotzdem deinstallieren. wenn ich "equery d nano" mache, sagt er, dass virtual/editor nano benötigt, "emerge --depclean" aber findet kein paket, das nano benötigt.
Kennt das problem sonst noch jemand? kann das sein, das das ein bug von portage-2.2 ist?
Schöne Grüße
Christian |
|
Back to top |
|
 |
musv Advocate


Joined: 01 Dec 2002 Posts: 3369 Location: de
|
Posted: Tue Jun 21, 2011 6:51 pm Post subject: |
|
|
Bei mir wollte depclean das ebenfalls tun.
Ein
Code: | echo "app-editor/nano" >> /var/lib/portage/world |
schafft da Abhilfe. Damit wird nano als manuell installiertes Programm behandelt. Ist in diesem Fall sicherlich verschmerzbar.
Ich dachte bei mir liegt's daran, weil ich vim als Standardeditor eingetragen habe:
Code: | eselect editor list
Available targets for the EDITOR variable:
[1] /bin/nano
[2] /bin/ed
[3] /usr/bin/ex
[4] /usr/bin/vi *
[ ] (free form)
|
|
|
Back to top |
|
 |
Josef.95 Advocate

Joined: 03 Sep 2007 Posts: 4693 Location: Germany
|
Posted: Tue Jun 21, 2011 9:14 pm Post subject: |
|
|
Nein es ist kein portage-2.2 Bug
Es war zu Anfang auch noch less mit betroffen, doch für less wurde kurzerhand eine USE-Flag im portage bereitgestellt...
Derzeitige Empfehlung ist diese vom virtual/ Package abhängigen "System-Set" Pakete mit ins world aufzunehmen Code: | emerge --noreplace app-editors/nano |
Für die ganze Diskussion darüber siehe Bug 370295 - emerge --depclean removes system packages like sys-apps/less |
|
Back to top |
|
 |
Christian99 Veteran

Joined: 28 May 2009 Posts: 1722
|
Posted: Thu Jun 23, 2011 3:10 pm Post subject: |
|
|
ah ok, vielen dank für den link, hab zwar selber da gesucht, aber diesen bug nicht gefunden
Schöne Tag
Christian |
|
Back to top |
|
 |
cryptosteve Veteran

Joined: 04 Jan 2004 Posts: 1169 Location: GER
|
Posted: Thu Jun 23, 2011 4:50 pm Post subject: |
|
|
Wobei ich mich frage, warum portage von "is part of your system profile" Programmen nicht grundsätzlich die Finger lässt?! _________________ - born to create drama -
gpg: 0x9B6C7E15
CS Virtual Travel Bug: VF6G5D |
|
Back to top |
|
 |
Necoro Veteran


Joined: 18 Dec 2005 Posts: 1912 Location: Germany
|
Posted: Thu Jun 23, 2011 6:43 pm Post subject: |
|
|
cryptohappen wrote: | Wobei ich mich frage, warum portage von "is part of your system profile" Programmen nicht grundsätzlich die Finger lässt?! |
Schau dir den Bug an - da steht das erklärt: virtual/editor ist Teil des Profils, und nicht nano. Sprich jedes Paket, was den virtual erfüllt passt in den Augen von Portage und er deinstalliert alles was redundant ist und nicht explizit im world-file steht. _________________ Inter Deum Et Diabolum Semper Musica Est. |
|
Back to top |
|
 |
cryptosteve Veteran

Joined: 04 Jan 2004 Posts: 1169 Location: GER
|
Posted: Thu Jun 23, 2011 7:15 pm Post subject: |
|
|
Das erklärts. Dank!  _________________ - born to create drama -
gpg: 0x9B6C7E15
CS Virtual Travel Bug: VF6G5D |
|
Back to top |
|
 |
|