Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #231027

Re: Can I remove i386 packages?

From Sven Joachim <svenjoac@gmx.de>
Newsgroups linux.debian.user
Subject Re: Can I remove i386 packages?
Date 2021-01-23 17:50 +0100
Message-ID <BAugN-8fr-3@gated-at.bofh.it> (permalink)
References <BAmjf-3C2-1@gated-at.bofh.it> <BAmVX-3OV-5@gated-at.bofh.it> <BAsoG-770-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2021-01-23 15:47 +0100, steve wrote:

> Le 23-01-2021, à 09:55:29 +0100, tomas@tuxteam.de a écrit :
>
>>On Sat, Jan 23, 2021 at 09:19:33AM +0100, steve wrote:
>>> Hi,
>>>
>>> I have the following i386 packages installed on my system. Can I removed
>>> them without any side-effects?
>>>
>>> apt list --installed | grep i386
>>
>>Possibly an "apt-get autoremove" will take care of them.
>
> No, doesn't work.
>
>>In any case, you can do e.g. an "apt-get -s purge libc6:i386" and
>>get an idea of what's going to happen. For the option "-s" you
>>don't need root rights (actually, better not have them: kind of
>>belt-and-suspenders ;-)
>
> # apt-get purge ".*:i386"
> WARNING: The following essential packages will be removed.
> This should NOT be done unless you know exactly what you are doing!
>   libgcc-s1:i386 gcc-10-base:i386 (due to libgcc-s1:i386) libc6:i386 (due to libgcc-s1:i386)
> 0 upgraded, 0 newly installed, 17 to remove and 0 not upgraded.
> After this operation, 22.0 MB disk space will be freed.
> You are about to do something potentially harmful.
> To continue type in the phrase 'Yes, do as I say!'
>
>
> Pretty scary message… but since I know I have the amd64 versions, I
> typed the phrase and the system still works  ;)

The libgcc-s1:i386 is marked as "Important: yes" which means that apt
will refuse to remove it by default.  It should not be that way, but
apparently this is a workaround for potentially losing libgcc_s.so.1 on
upgrades from buster.  See https://bugs.debian.org/972936.

Cheers,
       Sven

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Can I remove i386 packages? steve <dlist@bluewin.ch> - 2021-01-23 09:20 +0100
  Re: Can I remove i386 packages? Georgi Naplatanov <gosho@oles.biz> - 2021-01-23 10:00 +0100
  Re: Can I remove i386 packages? <tomas@tuxteam.de> - 2021-01-23 10:00 +0100
    Re: Can I remove i386 packages? steve <dlist@bluewin.ch> - 2021-01-23 15:50 +0100
      Re: Can I remove i386 packages? Vincent Lefevre <vincent@vinc17.net> - 2021-01-23 16:50 +0100
      Re: Can I remove i386 packages? Sven Joachim <svenjoac@gmx.de> - 2021-01-23 17:50 +0100

csiph-web