Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge --depclean will nano deinstallieren
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1722

PostPosted: Tue Jun 21, 2011 5:29 pm    Post subject: emerge --depclean will nano deinstallieren Reply with quote

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
View user's profile Send private message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3369
Location: de

PostPosted: Tue Jun 21, 2011 6:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4693
Location: Germany

PostPosted: Tue Jun 21, 2011 9:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1722

PostPosted: Thu Jun 23, 2011 3:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
cryptosteve
Veteran
Veteran


Joined: 04 Jan 2004
Posts: 1169
Location: GER

PostPosted: Thu Jun 23, 2011 4:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
Necoro
Veteran
Veteran


Joined: 18 Dec 2005
Posts: 1912
Location: Germany

PostPosted: Thu Jun 23, 2011 6:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
cryptosteve
Veteran
Veteran


Joined: 04 Jan 2004
Posts: 1169
Location: GER

PostPosted: Thu Jun 23, 2011 7:15 pm    Post subject: Reply with quote

Das erklärts. Dank! :)
_________________
- born to create drama -
gpg: 0x9B6C7E15
CS Virtual Travel Bug: VF6G5D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum