Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] xterm/twm reappear remered, --depclean remove nano
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
joseph knecht
n00b
n00b


Joined: 08 Jul 2012
Posts: 16

PostPosted: Fri Jul 27, 2012 9:48 am    Post subject: [SOLVED] xterm/twm reappear remered, --depclean remove nano Reply with quote

Hello,

I am busy with my 1st gentoo install. I am working within a virtualbox guest. I would appreciate very much if you could give me some help on the following issues.

Yesterday, I installed the xorg-server. After testing it sucessfully with twm and xterm, I unmerged the latter 2 packages following the X11 manual and I emerged Xcfe4. Xfce4 works fine, even now! But I did not succeed installing firefox. After more than 2 hours, "emerge firefox" failed and the available space of my hard disk (8G only) was reduced to 20%. It had been about 60% before. I run "emerge -pv --depclean" in order to see if I can get rid of the firefox packages and restart from a clean situation. But --depclean warned me about removing nano. I found this strange and I did not want to loose nano anyway. I run emerge -pvDN world just to see what it would do. It proposed me to emerge twm and xterm again as new packages ("N" flag). I found this even more strange because, after testing my xorg-server, I had unmerged these packages and they disappeared from my world file. So why did these gosts reappear? Confronted with all these different issues, I restored the virtualbox snapshot with the situation as it was before emerging Xcfe4 hoping to fall back on a clean situation.

So at this moment, I am back to the situation where xorg works fine, xterm and twm have been unmerged and are not in the world file anymore, and my USE variable has been updated in order to emerge Xcfe4 again. But before doing so, I run
Code:
emerge -upvDN
Here the output :
Quote:
These are the packages that would be merged, in order:

Calculating dependencies ... done!
[ebuild R ] media-libs/freetype-2.4.9-r1 USE="X* bzip2 static-libs -auto-hinter -bindist -debug -doc -fontforge -utils" 0 kB
[ebuild N ] x11-wm/twm-1.0.7 0 kB
[ebuild N ] x11-apps/xsm-1.0.2 USE="-rsh" 143 kB
[ebuild N ] x11-apps/xrefresh-1.0.4 104 kB
[ebuild N ] x11-libs/libXrandr-1.3.2 USE="-static-libs" 268 kB
[ebuild R ] www-client/links-2.6 USE="X* bzip2 deprecated gpm jpeg* ssl unicode zlib -directfb -fbcon -livecd -lzma -suid -svga -tiff" 0 kB
[ebuild R ] media-libs/lcms-1.19 USE="jpeg* static-libs zlib -python -tiff" 0 kB
[ebuild R ] sys-apps/groff-1.21 USE="X* -examples" LINGUAS="-ja" 3,774 kB
[ebuild R ] net-misc/openssh-5.9_p1-r4 USE="X* hpn pam tcpd -X509 -kerberos -ldap -libedit (-selinux) -skey -static" 1,106 kB
[ebuild N ] x11-apps/xrandr-1.3.5 150 kB
[ebuild R ] media-fonts/font-misc-misc-1.1.2 USE="X* nls" 0 kB
[ebuild R ] media-fonts/dejavu-2.33 USE="X* -fontforge" 0 kB
[ebuild N ] x11-terms/xterm-279 USE="unicode -Xaw3d -toolbar -truetype" 0 kB
[ebuild N ] x11-apps/xclock-1.0.6 154 kB
[ebuild R ] x11-apps/xinit-1.3.2 USE="-minimal*" 0 kB
[ebuild R ] sys-process/psmisc-22.16 USE="X* ipv6 nls (-selinux)" 455 kB
[ebuild U ~] x11-drivers/xf86-video-virtualbox-4.1.18 [4.1.12] USE="dri" 0 kB
[ebuild R ~] app-emulation/virtualbox-guest-additions-4.1.18 USE="X*" 0 kB

Total: 18 packages (1 upgrade, 7 new, 10 reinstalls), Size of downloads: 6,150 kB

* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

This list takes into account the update of my USE variable. But ... xterm and twm are back again!

In order to give the complete picture, here the contents of my USE variable, /etc/portage/package.use, and /etc/portage/package.accept_keywords :
Quote:
USE="X acl berkdb bzip2 cli cracklib crypt cups cxx dbus dri fortran gdbm gpm iconv ipv6 jpeg lock modules mudflap ncurses nls nptl openmp pam pcre pppd readline session ssl startup-notification tcpd thunar udev unicode x86 xorg zlib"
Quote:
app-emulation/virtualbox-guest-additions ~x86
=media-gfx/splashutils-1.5.4.4-r1 ~x86
x11-drivers/xf86-video-virtualbox ~x86
Quote:
sys-apps/busybox static
# Required by media-gfx/splashutils :
sys-libs/zlib static-libs
media-libs/libmng static-libs
media-libs/freetype static-libs
media-libs/lcms:0 static-libs
media-libs/libjpeg-turbo static-libs
app-arch/bzip2 static-libs
media-libs/libpng static-libs
virtual/jpeg static-libs
media-gfx/splashutils fbcondecor mng
# Xorg
x11-base/xorg-server udev
dev-libs/libxml2 python


My questions :
1. Why do xterm and twm reappear? Because the reappear with and without having Xcfe4 installed!
2. Why did --depclean propose to remove nano? I find this rather silly.
3. Should I first update my system before emerging Xcfe4 or can I wait for this package to be installed?
4. Is the way I am editing the portage files correct? Especially, is it correct not to versionize the atoms listed in package.use?

I hope that these are not too many questions for one thread. Many thanks for your help.
_________________
Thanks for your feedback.


Last edited by joseph knecht on Mon Jul 30, 2012 1:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Fri Jul 27, 2012 10:40 am    Post subject: Re: xterm and twm reappear after unmerge Reply with quote

Joseph ...

joseph knecht wrote:
1. Why do xterm and twm reappear? Because the reappear with and without having Xcfe4 installed!

because of the '-minimal' USE on x11-apps/xinit ... this particular flag "[c]ontrol[s] dependencies on legacy apps (xterm, twm, ...)".

joseph knecht wrote:
2. Why did --depclean propose to remove nano? I find this rather silly.

hmmm ... had you emerged another editor? In my case I always --unmerge and mask nano so I've not encounterd this, it may be that if virtual/editor is provided by some subsequent emerge and/or if app-editor/nano is not in world ... then its not a dependency and so can me unmerged.

joseph knecht wrote:
3. Should I first update my system before emerging Xcfe4 or can I wait for this package to be installed?

sorry ... not sure I understand ... but I would begin with lower level (@system)

joseph knecht wrote:
4. Is the way I am editing the portage files correct? Especially, is it correct not to versionize the atoms listed in package.use?

Yes ... they are correct, but versioning will mean that subsequent updates will not get pulled in as you only keyword for the =category/package-version.

best ... khay
Back to top
View user's profile Send private message
joseph knecht
n00b
n00b


Joined: 08 Jul 2012
Posts: 16

PostPosted: Fri Jul 27, 2012 11:44 am    Post subject: Re: xterm and twm reappear after unmerge Reply with quote

khay,

1.
Quote:
Why do xterm and twm reappear? Because the reappear with and without having Xcfe4 installed!
because of the '-minimal' USE on x11-apps/xinit ... this particular flag "[c]ontrol[s] dependencies on legacy apps (xterm, twm, ...)".
The "-minimal" flag in /etc/make.conf is what "Xfce Configuration How To" suggests. So the conclusion would be that I will have to live with xterm, twm, and probably some more other packages I do not need. Thanks.

2.
Quote:
Why did --depclean propose to remove nano? I find this rather silly.
hmmm ... had you emerged another editor? In my case I always --unmerge and mask nano so I've not encounterd this, it may be that if virtual/editor is provided by some subsequent emerge and/or if app-editor/nano is not in world ... then its not a dependency and so can me unmerged.
I will see if the problem reappears. At this moment depclean does not make any silly proposals. It ends with "No packages selected for removal by depclean".

3.
Quote:
Should I first update my system before emerging Xcfe4 or can I wait for this package to be installed?
sorry ... not sure I understand ... but I would begin with lower level (@system)
Sorry, I will try to be more clear. Should I run "emerge -uDN @world" before running "emerge xfce4-meta" ? Or can I do this afterwards? Also, I just see that the "Xfce Configuraton How To " suggests "emerge -avt xfce4-meta". Why is the -t option necessary in this case?

4. Thanks.
_________________
Thanks for your feedback.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Fri Jul 27, 2012 12:22 pm    Post subject: Re: xterm and twm reappear after unmerge Reply with quote

joseph knecht wrote:
The "-minimal" flag in /etc/make.conf is what "Xfce Configuration How To" suggests. So the conclusion would be that I will have to live with xterm, twm, and probably some more other packages I do not need. Thanks.

joseph ... use flags can be set globally (via /etc/make.conf or /etc/portage/make.conf) or on a per package basis (via /etc/portage/package.use) so the suggestion to enable it globaly may simply be to meet some requirement elsewhere (ie xorg-server). I very much doubt that its required for x11-apps/xinit), it is proably set/suggested so that xterm is available. I don't think minimal on x11-apps/xinit will effect the use of XFCE.

joseph knecht wrote:
[...] Sorry, I will try to be more clear. Should I run "emerge -uDN @world" before running "emerge xfce4-meta" ? Or can I do this afterwards?

There is nothing stopping you from doing this subsequently, but as a system is built from the bottom up thats generally the area I would start with, the reason being that if there is a lib updated the requires other packages to be built against this new lib then its better to have this lib built prior to emerging packages that may build against it ... revdep-rebuild will of course fix such things, but to save possible re-merges then this would be the more streamlined approach.

joseph knecht wrote:
Also, I just see that the "Xfce Configuraton How To " suggests "emerge -avt xfce4-meta". Why is the -t option necessary in this case?

It isn't ... infact its superflious. --tree simply shows the dependencies in a more obvious fashion ... its intended to be used in combination with --deep, --emptytree, etc.

your welcome & best ... khay
Back to top
View user's profile Send private message
joseph knecht
n00b
n00b


Joined: 08 Jul 2012
Posts: 16

PostPosted: Fri Jul 27, 2012 12:56 pm    Post subject: Re: xterm and twm reappear after unmerge Reply with quote

khayyam,

Many thanks for this quick help : 3 of my 4 questions are answered.
For the question about --depclean proposing to remove nano, I will wait to see if I run into this problem again. Remember that I restored the virtualbox snapshot with the situation as it was before emerging Xfce4. Starting over again from this snapshot, I have now basically taken the same actions as before, but I am recording the outputs of everything I do :
Code:
emerge -uDN @world
terminated succesfully.
Code:
emerge -pv --depclean
terminated with "No packages selected for removal by depclean"
Code:
revdep-rebuild
terminated with "Dynamic linking on your system is consistent... All done."
Code:
emerge -pv xfce4-meta
run into the slot conflicts, the complete output is here :
Quote:
http://bpaste.net/show/37116/
Code:
emerge --backtrack=30 xfce4-meta
resolved the slot conflicts automatically as suggested by the previous emerge output and terminated successfully. Xfce4 is working fine and xterm (still installed) is working fine within Xfce4.
But
Code:
emerge -pv --depclean
shows the following output :
Quote:
>>> Calculating removal order...

>>> These are the packages that would be unmerged:


!!! 'app-editors/nano' (virtual/editor) is part of your system profile.
!!! Unmerging it may be damaging to your system.


app-editors/nano
selected: 2.3.1-r1
protected: none
omitted: none

All selected packages: app-editors/nano-2.3.1-r1

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

Packages installed: 454
Packages in world: 23
Packages in system: 42
Required packages: 453
Number to remove: 1
What can I do ?
_________________
Thanks for your feedback.


Last edited by joseph knecht on Fri Jul 27, 2012 2:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10261
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri Jul 27, 2012 2:30 pm    Post subject: Re: xterm and twm reappear after unmerge Reply with quote

joseph knecht wrote:
2. Why did --depclean propose to remove nano?
See --depclean wants to remove nano! for the full story. It'll also tell you what to do about it. :wink:

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
joseph knecht
n00b
n00b


Joined: 08 Jul 2012
Posts: 16

PostPosted: Fri Jul 27, 2012 2:54 pm    Post subject: Re: xterm and twm reappear after unmerge Reply with quote

Dear John R. Graham,

Thanks for this link!

As I am new to Gentoo and as I do not just want to get things resolved, but also want to learn, this will take me some time. I will keep you informed.
_________________
Thanks for your feedback.
Back to top
View user's profile Send private message
kurly
Apprentice
Apprentice


Joined: 02 Apr 2012
Posts: 253

PostPosted: Fri Jul 27, 2012 3:05 pm    Post subject: Re: xterm and twm reappear after unmerge Reply with quote

joseph knecht wrote:
But I did not succeed installing firefox. After more than 2 hours, "emerge firefox" failed and the available space of my hard disk (8G only) was reduced to 20%. It had been about 60% before.


Firefox needs a lot of disk space to build: 8GB or more, all to itself. It will only use that much space during the build process; the final product will be more normal-sized. If your virtual hard drive is only 8GB, you will need to either use firefox-bin instead of firefox, or you will need a bigger hard drive. There are other options, such as building the package on another machine and then installing the binpkg on your virtual machine...
Back to top
View user's profile Send private message
Unknown-Creation
n00b
n00b


Joined: 25 Nov 2011
Posts: 11

PostPosted: Sun Jul 29, 2012 6:11 am    Post subject: Re: xterm and twm reappear after unmerge Reply with quote

joseph knecht wrote:

But
Code:
emerge -pv --depclean
shows the following output :
Quote:
>>> Calculating removal order...

>>> These are the packages that would be unmerged:


!!! 'app-editors/nano' (virtual/editor) is part of your system profile.
!!! Unmerging it may be damaging to your system.


app-editors/nano
selected: 2.3.1-r1
protected: none
omitted: none

All selected packages: app-editors/nano-2.3.1-r1

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

Packages installed: 454
Packages in world: 23
Packages in system: 42
Required packages: 453
Number to remove: 1
What can I do ?


To keep nano from being removed by --depclean, run:

Code:
 emerge --noreplace nano


This will add nano to your world file, and will keep --depclean from unmerging it.
Back to top
View user's profile Send private message
joseph knecht
n00b
n00b


Joined: 08 Jul 2012
Posts: 16

PostPosted: Mon Jul 30, 2012 11:58 am    Post subject: Re: xterm and twm reappear after unmerge Reply with quote

Dear John R. Graham,

I have studied the link you are providing above and also the corresponding discussion on bugzilla (https://bugs.gentoo.org/show_bug.cgi?id=370295#c26) and I have added nano to my world file as suggeded (emerge --noreplace). Many thanks once again for your help on this.

However, before showing this post as solved, I would like to ask a more generic question about Gentoo in general: On one side I appreciate the way people are helping me in this forum. On the other side I am a rather frustrated if I see the amount of time I am investing searching the man pages and googling around without finding basic info and answers on my own. To be clear, I appreciate accepting help, but I think there is some information and there are some answers I should be able to find in a reliable way and in a reasonable amount of time by myself. That's rather not the case at this moment either because of the way Gentoo documentation is made available or about the way I am applying myself to it. So I think before continuing asking further questions about what to find where I should try to find a more efficient way to search for information, if there is any? Because, honestly speaking, at this moment, I find the investment to heavy for what I am getting out of it. If I take just as an example above mentioned bug discussion, I find not normal, that even after extensive googling, I have not found any information on the portageq command. I am still in doubt about what difference people make between a preferred provider and a fall back provider. How do they set them in their profile without manipulating the virtual ebuilds? Which info is still up to date and which outdated?

So rather than systematically having to rely on the forum, is their something I can change in the way I am looking for information?
_________________
Thanks for your feedback.
Back to top
View user's profile Send private message
joseph knecht
n00b
n00b


Joined: 08 Jul 2012
Posts: 16

PostPosted: Mon Jul 30, 2012 12:07 pm    Post subject: Re: xterm and twm reappear after unmerge Reply with quote

Dear kurly,

Thanks for your information about building firefox. My question would be : Is there any way how can I know beforehand how much build space a package is needing?
_________________
Thanks for your feedback.
Back to top
View user's profile Send private message
joseph knecht
n00b
n00b


Joined: 08 Jul 2012
Posts: 16

PostPosted: Mon Jul 30, 2012 12:11 pm    Post subject: Re: xterm and twm reappear after unmerge Reply with quote

Dear Unknown-Creation,

That's the way John R. Graham pointed me too. Thanks for your post.
_________________
Thanks for your feedback.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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