Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is there a way to remove all 32 bit packages?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
InvisibleRasta
Tux's lil' helper
Tux's lil' helper


Joined: 30 Mar 2011
Posts: 107

PostPosted: Thu Nov 08, 2018 3:05 am    Post subject: Is there a way to remove all 32 bit packages? Reply with quote

hello guys is there a way to remove all multilib packages? I want to get completely rid of 32 bit stuff
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2484

PostPosted: Thu Nov 08, 2018 3:11 am    Post subject: Reply with quote

Of course. Select a no-multilib profile and run emerge -auvND @world followed by emerge -ac

Be forewarned that this cannot be reversed and many 3rd party binaries may not work, some bootloaders will not work (grub legacy) and wine will be out of the question.

You may want to simply manage your 32 bit flags so that they are only enabled where you need them. Finding that you lost the ability to use a proprietary piece of software like Kerbal Space Program is annoying to say the least.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
InvisibleRasta
Tux's lil' helper
Tux's lil' helper


Joined: 30 Mar 2011
Posts: 107

PostPosted: Thu Nov 08, 2018 3:21 am    Post subject: Reply with quote

i tried what you suggested but it pulls back stuff i dont want.. all the wine stuff i been trying to remove, im 100 positive i dnt want multilib of any kind
http://dpaste.com/385VVFX
it is rebuilding wine staging... when i want to get rid of it xD
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2484

PostPosted: Thu Nov 08, 2018 3:31 am    Post subject: Reply with quote

Sounds like you need to clean up your world file. Lets engage in some mild cat abuse. Use cat /var/lib/portage/world to view the world file and then use emerge --deselect foo bar to remove any entries that you no longer want or should not be in the world file.

Wine is perfectly buildable as 64 bit only but not particularly usable since windows tends to default to 32 bit launchers and helpers.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
InvisibleRasta
Tux's lil' helper
Tux's lil' helper


Joined: 30 Mar 2011
Posts: 107

PostPosted: Thu Nov 08, 2018 3:44 am    Post subject: Reply with quote

this is alll i got in world file http://termbin.com/giz7
doesnt seem much
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2484

PostPosted: Thu Nov 08, 2018 4:03 am    Post subject: Reply with quote

Quote:
...
app-emulation/wine-staging
app-emulation/winetricks
...
app-portage/porthole
...
sys-auth/pambase
sys-auth/polkit
...
virtual/notification-daemon
You are specifically telling portage to install wine. Of course it is going to keep pulling it.

Porthole may not be harmful in and of itself, but from what I gather the project is dead. Pam, polkit and notification-daemon are tools behind the scene. Putting them in world is just clutter.

At the very least emerge --deselect wine-staging winetricks then run emerge -ac to get rid of it.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1657

PostPosted: Thu Nov 08, 2018 4:05 am    Post subject: Reply with quote

Well, looking at your world file, 2 entries that stands out, is you have
Code:
app-emulation/wine-staging
app-emulation/winetricks
.

With them in the world file, portage thinks you want those 2 packages.

One trick that I tend to find useful, is using equery depends $package (equery d $package) helps find what packages may be pulling in some package. You may have to work out, if it's based off a use flag but it helps narrow it down some.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 41549
Location: 56N 3W

PostPosted: Thu Nov 08, 2018 10:23 pm    Post subject: Reply with quote

Code:
app-emulation/virtualbox
is 32 bit, at least, it used to be. app-emulation/virtualbox-bin works on /no-multilib/
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
fturco
Guru
Guru


Joined: 08 Dec 2010
Posts: 550
Location: Italy

PostPosted: Fri Nov 09, 2018 1:59 pm    Post subject: Reply with quote

app-emulation/virtualbox works fine with no-multilib as well.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2484

PostPosted: Fri Nov 09, 2018 8:52 pm    Post subject: Reply with quote

fturco wrote:
app-emulation/virtualbox works fine with no-multilib as well.
Correct me if I'm wrong here, but it would be limited to 64 bit guests operating in 100% 64 bit modes?

Another 64 bit linux would be fine but Windows wouldn't be happy with that.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 12945

PostPosted: Sat Nov 10, 2018 12:49 am    Post subject: Reply with quote

The documentation makes no mention of that limitation, and I would not expect it to apply. You need multilib when you want 32-bit libraries so that a 32-bit application can call supporting libraries and have the correct bitness. In the case of virtualization, the guest isn't calling any host libraries. It is only trapping to the hypervisor, which will be 64-bit regardless of the bitness of the virtual CPU.[1]

[1] VirtualBox documentation suggests that, at the price of extra overhead, a 32-bit virtualbox can emulate a 64-bit vCPU.
Back to top
View user's profile Send private message
fturco
Guru
Guru


Joined: 08 Dec 2010
Posts: 550
Location: Italy

PostPosted: Sat Nov 10, 2018 9:44 am    Post subject: Reply with quote

The Doctor wrote:
fturco wrote:
app-emulation/virtualbox works fine with no-multilib as well.
Correct me if I'm wrong here, but it would be limited to 64 bit guests operating in 100% 64 bit modes?

I am able to run Windows 7 x86 guest via VirtualBox under a 64-bit no-multilib Gentoo host system without any problems.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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