Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Duplicate Threads
  • Search

emerge --depclean wants to remove nano, why?

Threads in this read-only forum cover topics discussed elsewhere in other forums.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
310354
n00b
n00b
Posts: 59
Joined: Thu Aug 01, 2013 7:46 pm

emerge --depclean wants to remove nano, why?

  • Quote

Post by 310354 » Sat Dec 21, 2013 1:20 pm

Hi,
I can't understand why emerge --depclean wants to remove nano (and maybe other unwanted things; I'm not able to judge since my knowledge isn't so wide). Please check the following:

Code: Select all

sudo emerge --depclean --ask

 * Always study the list of packages to be cleaned for any obvious
 * mistakes. Packages that are part of the world set will always
 * be kept.  They can be manually added to this set with
 * `emerge --noreplace <atom>`.  Packages that are listed in
 * package.provided (see portage(5)) will be removed by
 * depclean, even if they are part of the world set.
 * 
 * As a safety measure, depclean will not remove any packages
 * unless *all* required dependencies have been resolved.  As a
 * consequence, it is often necessary to run `emerge --update
 * --newuse --deep @world` prior to depclean.

Calculating dependencies... done!
>>> 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.2 
   protected: none 
     omitted: none 

 app-text/docbook-xml-dtd
    selected: 4.3-r1 
   protected: none 
     omitted: 4.1.2-r6 4.2-r2 4.4-r2 

 dev-db/postgresql-base
    selected: 9.2.4-r1 
   protected: none 
     omitted: 9.3.2 

 dev-lang/python
    selected: 3.2.5-r3 
   protected: none 
     omitted: 2.7.5-r3 3.3.2-r2 

 gnome-base/gsettings-desktop-schemas
    selected: 3.8.2 
   protected: none 
     omitted: none 

 perl-core/ExtUtils-Command
    selected: 1.170.0 
   protected: none 
     omitted: none 

 perl-core/JSON-PP
    selected: 2.272.0 
   protected: none 
     omitted: none 

 perl-core/MIME-Base64
    selected: 3.130.0 
   protected: none 
     omitted: none 

 perl-core/Perl-OSType
    selected: 1.2.0 
   protected: none 
     omitted: none 

 perl-core/Test-Simple
    selected: 0.980.0 
   protected: none 
     omitted: none 

 perl-core/digest-base
    selected: 1.170.0 
   protected: none 
     omitted: none 

 sys-devel/libperl
    selected: 5.10.1 
   protected: none 
     omitted: none 

 x11-themes/gnome-icon-theme
    selected: 3.8.3 
   protected: none 
     omitted: none 

All selected packages: perl-core/Test-Simple-0.980.0 app-editors/nano-2.3.2 sys-devel/libperl-5.10.1 gnome-base/gsettings-desktop-schemas-3.8.2 perl-core/MIME-Base64-3.130.0 x11-themes/gnome-icon-theme-3.8.3 perl-core/Perl-OSType-1.2.0 dev-lang/python-3.2.5-r3 perl-core/JSON-PP-2.272.0 perl-core/digest-base-1.170.0 dev-db/postgresql-base-9.2.4-r1 app-text/docbook-xml-dtd-4.3-r1 perl-core/ExtUtils-Command-1.170.0

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

Would you like to unmerge these packages? [Yes/No] n

Quitting.

Packages installed:   875
Packages in world:    64
Packages in system:   44
Required packages:    862
Number to remove:     13
Thanks in advance :)
Top
Apheus
Guru
Guru
Posts: 422
Joined: Sat Jul 12, 2008 7:16 pm

  • Quote

Post by Apheus » Sat Dec 21, 2013 1:32 pm

nano has been removed from @system a while ago. If you want to keep it, just add it to world:

Code: Select all

emerge --noreplace app-editors/nano
I don't know what to make of the output "app-editors/nano is part of system", this has not been true for months. Except maybe if you do not have any other editor installed.

I doubt the other packages have to do with nano, just try it after adding nano to world.
Top
310354
n00b
n00b
Posts: 59
Joined: Thu Aug 01, 2013 7:46 pm

  • Quote

Post by 310354 » Sat Dec 21, 2013 3:27 pm

Apheus wrote:nano has been removed from @system a while ago. If you want to keep it, just add it to world:

Code: Select all

emerge --noreplace app-editors/nano
I don't know what to make of the output "app-editors/nano is part of system", this has not been true for months. Except maybe if you do not have any other editor installed.

I doubt the other packages have to do with nano, just try it after adding nano to world.
I did emerge --depclean after adding nano to world favourites as you suggested. The problem is that it removed the icon pack in use, so I had to reinstall it. Now I am a bit worried, because if emerging --deplcean had removed an unwanted thing like gnome-icon-theme, it could also have unmerge necessary packages concerning perl (in my case). The question is: why depclean doesn't know important packages that should not be removed?
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56082
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sat Dec 21, 2013 3:35 pm

tant0c1b0,

Its getting better, a long time ago it removed glibc for me :)
There is a warning about reviewing the package list.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Sat Dec 21, 2013 3:40 pm

I always use either the pretend "-p" or ask "-a" option for emerging, revdep-rebuild or depclean before allowing it to run willy-nilly.
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10898
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Sat Dec 21, 2013 6:28 pm

Moved from Portage & Programming to Duplicate Threads in favor of [topic=883019]--depclean wants to remove nano![/topic], which explains the whole rationale and the work-around.

- John
I can confirm that I have received between 0 and 499 National Security Letters.
Top
Post Reply

6 posts • Page 1 of 1

Return to “Duplicate Threads”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic