Forums

Skip to content

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

[SOLVED] pkg shows installed but not in world

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
myga
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 121
Joined: Mon Jun 12, 2023 2:06 am

[SOLVED] pkg shows installed but not in world

  • Quote

Post by myga » Fri Sep 08, 2023 12:58 am

Hello,

I'm trying to remove every pkg that is tied to 'android'. So far, I got rid of 'android-tools' but 'acct-group/android' & 'dev-util/android-udev-rules' are giving some issues.

Code: Select all

# eix -I android
[I] acct-group/android
     Available versions:  0-r1
     Installed versions:  0-r1(22:08:29 09/03/23)
     Description:         Group for dev-util/android-{ndk,sdk-update-manager}

[I] dev-util/android-udev-rules
     Available versions:  20220903 ~20230104 20230303^t 20230614^t
     Installed versions:  20230614^t(22:11:38 09/03/23)
     Homepage:            https://github.com/M0Rf30/android-udev-rules
     Description:         Android udev rules list aimed to be the most comprehensive on the net

Found 2 matches

Code: Select all

# emerge --deselect android
>>> No matching atoms found in "world" favorites file...

# emerge --deselect android-udev-rules 
>>> No matching atoms found in "world" favorites file...
I also ran 'eix-update' to see if the pkg database gets updated, but that didn't fix the issue. Any help is much appreciated.

Thanks,
Last edited by myga on Fri Sep 08, 2023 2:17 am, edited 1 time in total.
Top
szatox
Advocate
Advocate
Posts: 3858
Joined: Tue Aug 27, 2013 12:35 pm

  • Quote

Post by szatox » Fri Sep 08, 2023 1:18 am

Try
emerge -ac
or
emerge -ac android

Gotta actually remove redundant packages after declaring them redundant.
Top
myga
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 121
Joined: Mon Jun 12, 2023 2:06 am

  • Quote

Post by myga » Fri Sep 08, 2023 2:17 am

szatox wrote:Try
emerge -ac
or
emerge -ac android

Gotta actually remove redundant packages after declaring them redundant.
Doesn't 'emerge --depclean' remove them?

'emerge -ac' wants to remove pkgs that I still need!

I had to use 'emerge -ac android-udev-rules' first or else 'emerge' complains that the former depends on 'android'.

Anyway, thank you for your help. [/code]
Top
Phoenix591
Guru
Guru
Posts: 504
Joined: Mon Sep 17, 2007 3:52 am

  • Quote

Post by Phoenix591 » Fri Sep 08, 2023 4:52 am

myga wrote:
szatox wrote:Try
emerge -ac
or
emerge -ac android

Gotta actually remove redundant packages after declaring them redundant.
Doesn't 'emerge --depclean' remove them?

'emerge -ac' wants to remove pkgs that I still need!

I had to use 'emerge -ac android-udev-rules' first or else 'emerge' complains that the former depends on 'android'.

Anyway, thank you for your help. [/code]
if you want or need them, you should put them in your world using emerge --noreplace . Regularly running emerge --ask --depclean is an important part of maintaining your install.
Top
logrusx
Advocate
Advocate
User avatar
Posts: 3530
Joined: Thu Feb 22, 2018 2:29 pm

  • Quote

Post by logrusx » Fri Sep 08, 2023 8:19 am

Hello myga,

Whenever I say world from now on I refer to world file as world set is the set of all packages emerged on the system.

World contains only packages you explicitly emerged.

Packages in world won't be cleaned.

Direct or indirect dependencies of packages being in world will not be cleaned.

To clean a package you first need to remove it from world with emerge --deselect and then run emerge -ac, -ac being short for --ask --depclean. Never run emerge --depclean without --ask or --pretend (-p for short). If the packages are not cleaned they are a dependency, direct or indirect, of something in world.

Whenever you run emerge to fix something you should run it with --oneshot (-1 for short). This will ensure the packages emerged won't end up recorded in world, thus making it impossible to clean and often times conflict with other packages.

So you emerge --deselect the package you want to clean, then emerge -ac and if you see something you don't want to be cleaned, you terminate and emerge --noreplace the ones you don't want to clean, repeat until you see no packages you want to keep in the output of emerge -ac.

Best Regards,
Georgi
Top
Post Reply

5 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

 

 

magic