Re: Removing i386 architecture

2023-06-12 Thread Sven Joachim
On 2023-06-12 06:32 +0200, to...@tuxteam.de wrote:

> On Sun, Jun 11, 2023 at 09:27:11PM -0400, pa...@quillandmouse.com wrote:
>
> [...]
>
>> Nice try. However, this isn't allowed, as it would apparently remove
>> libcrypt1:i386, which is apparently a "system-critical" package. I'm
>> not sure how this could be system critical, since my original
>> installation was 64 bit. This begins to look like a reinstall, in order
>> to get my system "clean". Unless anyone has other ideas.
>
> This has even made it into a bug report [1]. It seems that just adding
> the --allow-remove-essential option is what you need.

The real bug is that removing libcrypt1 requires this option in the
first place[1].  I have just sent a reminder to fix that, but do not
assume it will make it into a Bookworm point release.

Cheers,
   Sven


1. https://bugs.debian.org/1024616



Re: Removing i386 architecture

2023-06-12 Thread paulf
On Mon, 12 Jun 2023 06:32:27 +0200
 wrote:

> On Sun, Jun 11, 2023 at 09:27:11PM -0400, pa...@quillandmouse.com
> wrote:
> 
> [...]
> 
> > Nice try. However, this isn't allowed, as it would apparently remove
> > libcrypt1:i386, which is apparently a "system-critical" package. I'm
> > not sure how this could be system critical, since my original
> > installation was 64 bit. This begins to look like a reinstall, in
> > order to get my system "clean". Unless anyone has other ideas.
> 
> This has even made it into a bug report [1]. It seems that just adding
> the --allow-remove-essential option is what you need.
> 
> Cheers
> 
> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001015;msg=7

Amazing, the bug reporter had virtually the same problem as I did.
Unfortunately, I decided to reinstall anyway. I accumulate cruft
(packages I install just to test and forget to uninstall), so I figured
a fresh install of Bookworm with just the packages I wanted would be
best.

In any case, thanks for your advice.

Paul

-- 
Paul M. Foster
Personal Blog: http://noferblatz.com
Company Site: http://quillandmouse.com
Software Projects: https://gitlab.com/paulmfoster



Re: Removing i386 architecture

2023-06-11 Thread tomas
On Sun, Jun 11, 2023 at 09:27:11PM -0400, pa...@quillandmouse.com wrote:

[...]

> Nice try. However, this isn't allowed, as it would apparently remove
> libcrypt1:i386, which is apparently a "system-critical" package. I'm
> not sure how this could be system critical, since my original
> installation was 64 bit. This begins to look like a reinstall, in order
> to get my system "clean". Unless anyone has other ideas.

This has even made it into a bug report [1]. It seems that just adding
the --allow-remove-essential option is what you need.

Cheers

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001015;msg=7
-- 
t


signature.asc
Description: PGP signature


Re: Removing i386 architecture

2023-06-11 Thread paulf
On Sun, 11 Jun 2023 00:13:39 -0400
Jeffrey Walton  wrote:

> On Sat, Jun 10, 2023 at 10:27 PM  wrote:
> >
> > Folks:
> >
> > In order to install steam from the Debian repo, I followed the
> > directions to:
> >
> > dpkg --add-architecture i386
> >
> > prior to the installation. Turns out steam wouldn't run my game, so
> > I uninstalled it. Now I don't need the i386 architecture, so I
> > dutifully did:
> >
> > dpkg --remove-architecture i386
> >
> > I received this error message:
> >
> > dpkg: error: cannot remove architecture 'i386' currently in use by
> > the database
> >
> > So if anyone can help me remove i386, I'd appreciate it.
> 
> apt-get remove --purge \
> `dpkg --get-selections | grep i386 | awk '{print $1}'`
> 
> followed by
> 
> dpkg --remove-architecture i386
> 
> Jeff
> 

Nice try. However, this isn't allowed, as it would apparently remove
libcrypt1:i386, which is apparently a "system-critical" package. I'm
not sure how this could be system critical, since my original
installation was 64 bit. This begins to look like a reinstall, in order
to get my system "clean". Unless anyone has other ideas.

Paul

-- 
Paul M. Foster
Personal Blog: http://noferblatz.com
Company Site: http://quillandmouse.com
Software Projects: https://gitlab.com/paulmfoster



Re: Removing i386 architecture

2023-06-10 Thread Jeffrey Walton
On Sat, Jun 10, 2023 at 10:27 PM  wrote:
>
> Folks:
>
> In order to install steam from the Debian repo, I followed the
> directions to:
>
> dpkg --add-architecture i386
>
> prior to the installation. Turns out steam wouldn't run my game, so I
> uninstalled it. Now I don't need the i386 architecture, so I dutifully
> did:
>
> dpkg --remove-architecture i386
>
> I received this error message:
>
> dpkg: error: cannot remove architecture 'i386' currently in use by the
> database
>
> So if anyone can help me remove i386, I'd appreciate it.

apt-get remove --purge \
`dpkg --get-selections | grep i386 | awk '{print $1}'`

followed by

dpkg --remove-architecture i386

Jeff



Removing i386 architecture

2023-06-10 Thread paulf
Folks:

In order to install steam from the Debian repo, I followed the
directions to:

dpkg --add-architecture i386

prior to the installation. Turns out steam wouldn't run my game, so I
uninstalled it. Now I don't need the i386 architecture, so I dutifully
did:

dpkg --remove-architecture i386

I received this error message:

dpkg: error: cannot remove architecture 'i386' currently in use by the
database

So if anyone can help me remove i386, I'd appreciate it.

Paul

-- 
Paul M. Foster
Personal Blog: http://noferblatz.com
Company Site: http://quillandmouse.com
Software Projects: https://gitlab.com/paulmfoster