Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[Solved] error running emerge -depclean

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
G3nt00
Guru
Guru
Posts: 337
Joined: Sun Apr 09, 2023 6:20 am

[Solved] error running emerge -depclean

  • Quote

Post by G3nt00 » Mon May 08, 2023 4:13 am

Hi,

I just ran

Code: Select all

sudo emerge-webrsync
sudo emerge -avuDN @world
which pulled a few updates in, went smooth. But then I did

Code: Select all

sudo emerge -depclean
emerge: can't specify both of "--emptytree" and "--noreplace".
What does that mean? I didn't specify anything... Please advise, thanks.
Last edited by G3nt00 on Mon May 08, 2023 4:49 am, edited 1 time in total.
Top
hdcg
Tux's lil' helper
Tux's lil' helper
Posts: 122
Joined: Sun Apr 07, 2013 8:30 am

  • Quote

Post by hdcg » Mon May 08, 2023 4:20 am

Hi G3nt00,

you are missing a hyphen.

Code: Select all

sudo emerge -depclean
is actually the same as

Code: Select all

sudo emerge -d -e -p -c -l -e -a -n
containing -e = --emptytree and -n = --noreplace.
Top
G3nt00
Guru
Guru
Posts: 337
Joined: Sun Apr 09, 2023 6:20 am

  • Quote

Post by G3nt00 » Mon May 08, 2023 4:48 am

hdcg wrote:Hi G3nt00,

you are missing a hyphen.

Code: Select all

sudo emerge -depclean
is actually the same as

Code: Select all

sudo emerge -d -e -p -c -l -e -a -n
containing -e = --emptytree and -n = --noreplace.
That was a stupid thing to miss on my part... Sorry!! And thanks for pointing it out. :) Worked much better with both hyphens...
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

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