Re: Can I remove i386 packages?

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

> Le 23-01-2021, à 09:55:29 +0100, to...@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



Re: Can I remove i386 packages?

2021-01-23 Thread Vincent Lefevre
On 2021-01-23 15:47:09 +0100, steve wrote:
> # 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  ;)

This is strange that you got this message. On my amd64 machine
with i386 as a foreign architecture (and libc6:i386 installed
in particular), I do not get this message.

Note that i386 packages are useful if you use i386 executables.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Re: Can I remove i386 packages?

2021-01-23 Thread steve

Le 23-01-2021, à 09:55:29 +0100, to...@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  ;)

Thanks everybody.

Steve



Re: Can I remove i386 packages?

2021-01-23 Thread tomas
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.

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 ;-)

Cheers
 - t


signature.asc
Description: Digital signature


Re: Can I remove i386 packages?

2021-01-23 Thread Georgi Naplatanov
On 1/23/21 10:19 AM, 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
> 
> gcc-10-base/testing,now 10.2.1-6 i386  [installé, automatique]
> libc6/testing,now 2.31-9 i386  [installé, automatique]
> libcom-err2/testing,now 1.45.6-1 i386  [installé, automatique]
> libcrypt1/testing,now 1:4.4.17-1 i386  [installé, automatique]
> libgcc-s1/testing,now 10.2.1-6 i386  [installé, automatique]
> libgssapi-krb5-2/testing,now 1.18.3-4 i386  [installé, automatique]
> libidn2-0/testing,now 2.3.0-5 i386  [installé, automatique]
> libk5crypto3/testing,now 1.18.3-4 i386  [installé, automatique]
> libkeyutils1/testing,now 1.6.1-2 i386  [installé, automatique]
> libkrb5-3/testing,now 1.18.3-4 i386  [installé, automatique]
> libkrb5support0/testing,now 1.18.3-4 i386  [installé, automatique]
> libnsl2/testing,now 1.3.0-2 i386  [installé, automatique]
> libnss-nis/testing,now 3.1-4 i386  [installé, automatique]
> libnss-nisplus/testing,now 1.3-4 i386  [installé, automatique]
> libssl1.1/testing,now 1.1.1i-2 i386  [installé, automatique]
> libtirpc3/testing,now 1.3.1-1 i386  [installé, automatique]
> libunistring2/testing,now 0.9.10-4 i386  [installé, automatique]
> 

Hi Steve,

yes, you can. Look at the first answer there

https://superuser.com/questions/714391/how-do-i-remove-all-i386-architecture-packages-from-my-debian-installation

Kind regards
Georgi



Can I remove i386 packages?

2021-01-23 Thread steve

Hi,

I have the following i386 packages installed on my system. Can I removed
them without any side-effects?

apt list --installed | grep i386

gcc-10-base/testing,now 10.2.1-6 i386  [installé, automatique]
libc6/testing,now 2.31-9 i386  [installé, automatique]
libcom-err2/testing,now 1.45.6-1 i386  [installé, automatique]
libcrypt1/testing,now 1:4.4.17-1 i386  [installé, automatique]
libgcc-s1/testing,now 10.2.1-6 i386  [installé, automatique]
libgssapi-krb5-2/testing,now 1.18.3-4 i386  [installé, automatique]
libidn2-0/testing,now 2.3.0-5 i386  [installé, automatique]
libk5crypto3/testing,now 1.18.3-4 i386  [installé, automatique]
libkeyutils1/testing,now 1.6.1-2 i386  [installé, automatique]
libkrb5-3/testing,now 1.18.3-4 i386  [installé, automatique]
libkrb5support0/testing,now 1.18.3-4 i386  [installé, automatique]
libnsl2/testing,now 1.3.0-2 i386  [installé, automatique]
libnss-nis/testing,now 3.1-4 i386  [installé, automatique]
libnss-nisplus/testing,now 1.3-4 i386  [installé, automatique]
libssl1.1/testing,now 1.1.1i-2 i386  [installé, automatique]
libtirpc3/testing,now 1.3.1-1 i386  [installé, automatique]
libunistring2/testing,now 0.9.10-4 i386  [installé, automatique]

Thanks

Steve