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


Groups > linux.debian.user > #161383 > unrolled thread

Trying to remove "architecture i386"

Started bySharon Kimble <boudiccas@skimble.plus.com>
First post2015-12-01 00:30 +0100
Last post2015-12-01 19:40 +0100
Articles 6 — 4 participants

Back to article view | Back to linux.debian.user


Contents

  Trying to remove "architecture i386" Sharon Kimble <boudiccas@skimble.plus.com> - 2015-12-01 00:30 +0100
    Re: Trying to remove "architecture i386" Ansgar Burchardt <"Ansgar Burchardt"@43-1.org> - 2015-12-01 09:50 +0100
      Re: Trying to remove "architecture i386" Martin Read <zen75502@zen.co.uk> - 2015-12-01 16:10 +0100
      Re: Trying to remove "architecture i386" Sharon Kimble <boudiccas@skimble.plus.com> - 2015-12-01 19:30 +0100
        Re: Trying to remove "architecture i386" Steve McIntyre <steve@einval.com> - 2015-12-01 21:30 +0100
    Re: Trying to remove "architecture i386" Sharon Kimble <boudiccas@skimble.plus.com> - 2015-12-01 19:40 +0100

#161383 — Trying to remove "architecture i386"

FromSharon Kimble <boudiccas@skimble.plus.com>
Date2015-12-01 00:30 +0100
SubjectTrying to remove "architecture i386"
Message-ID<qAG3n-1Jd-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

I am running a "amd64" version of jessie and in an effort to get
'crossover_14.1.11-1.deb' installed, which is 32-bit. To do this I issued the
command -

╭────
│sudo dpkg --add-architecture i386
╰────

and then -

╭────
│dpkg --print-foreign-architectures
╰────

then I did a 'apt-get update' and tried to install crossover again. I've
now given up trying to instal it and wish to move back to just being a
64-bit machine using amd64 packages only. I've therefore done -

╭────
│sudo dpkg --remove-architecture i386
╰────

which failed saying -

--8<---------------cut here---------------start------------->8---
dpkg: error: cannot remove architecture 'i386' currently in use by the database
--8<---------------cut here---------------end--------------->8---

How then can I remove 'i386' please, or should I just cut my losses and reinstall?

Thanks
Sharon
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.0, fluxbox 1.3.7, emacs 24.5.1

[toc] | [next] | [standalone]


#161407

FromAnsgar Burchardt <"Ansgar Burchardt"@43-1.org>
Date2015-12-01 09:50 +0100
Message-ID<qAONk-7gM-5@gated-at.bofh.it>
In reply to#161383
Sharon Kimble <boudiccas@skimble.plus.com> writes:
> ╭────
> │sudo dpkg --remove-architecture i386
> ╰────
>
> which failed saying -
>
> dpkg: error: cannot remove architecture 'i386' currently in use by the database
>
> How then can I remove 'i386' please, or should I just cut my losses and reinstall?

Do you still have any i386 packages installed? I think running

  dpkg -l "*:i386"

should list them (I don't use multiarch myself, but it works for the
native architecture and "*:all").

Ansgar

[toc] | [prev] | [next] | [standalone]


#161419

FromMartin Read <zen75502@zen.co.uk>
Date2015-12-01 16:10 +0100
Message-ID<qAUJ3-2Pr-7@gated-at.bofh.it>
In reply to#161407
On 01/12/15 08:47, Ansgar Burchardt wrote:
> Do you still have any i386 packages installed? I think running
>
>    dpkg -l "*:i386"
>
> should list them (I don't use multiarch myself, but it works for the
> native architecture and "*:all").

I can confirm on my multiarch system that the command you suggest will 
do what you intend.

[toc] | [prev] | [next] | [standalone]


#161433

FromSharon Kimble <boudiccas@skimble.plus.com>
Date2015-12-01 19:30 +0100
Message-ID<qAXQC-4Jq-13@gated-at.bofh.it>
In reply to#161407

[Multipart message — attachments visible in raw view] — view raw

Ansgar Burchardt <"Ansgar Burchardt"@43-1.org> writes:

> Sharon Kimble <boudiccas@skimble.plus.com> writes:
>> ╭────
>> │sudo dpkg --remove-architecture i386
>> ╰────
>>
>> which failed saying -
>>
>> dpkg: error: cannot remove architecture 'i386' currently in use by the database
>>
>> How then can I remove 'i386' please, or should I just cut my losses and reinstall?
>
> Do you still have any i386 packages installed? I think running
>
>   dpkg -l "*:i386"
>
> should list them (I don't use multiarch myself, but it works for the
> native architecture and "*:all").
>
> Ansgar

Thanks Ansgar.

--8<---------------cut here---------------start------------->8---
dpkg -l "*:i386"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                      Version           Architecture      Description
+++-=========================-=================-=================-=======================================================
rc  crossover                 14.1.11-1         i386              Run Windows applications like MS Office
rc  libasound2:i386           1.0.28-1          i386              shared library for ALSA applications
rc  libc6:i386                2.19-18+deb8u1    i386              GNU C Library: Shared libraries
rc  libc6-i686:i386           2.19-18+deb8u1    i386              GNU C Library: Shared libraries [i686 optimized]
rc  libdrm2:i386              2.4.58-2          i386              Userspace interface to kernel DRM services -- runtime
rc  libexpat1:i386            2.1.0-6+deb8u1    i386              XML parsing C library - runtime library
rc  libfreetype6:i386         2.5.2-3+deb8u1    i386              FreeType 2 font engine, shared library files
rc  libgcc1:i386              1:4.9.2-10        i386              GCC support library
rc  libgl1-mesa-glx:i386      10.3.2-1+deb8u1   i386              free implementation of the OpenGL API -- GLX runtime
rc  libglapi-mesa:i386        10.3.2-1+deb8u1   i386              free implementation of the GL API -- shared library
rc  libglu1-mesa:i386         9.0.0-2           i386              Mesa OpenGL utility library (GLU)
rc  libice6:i386              2:1.0.9-1+b1      i386              X11 Inter-Client Exchange library
rc  liblcms2-2:i386           2.6-3+b3          i386              Little CMS 2 color management library
rc  libpng12-0:i386           1.2.50-2+deb8u1   i386              PNG library - runtime
rc  libsm6:i386               2:1.2.2-1+b1      i386              X11 Session Management library
rc  libstdc++6:i386           4.9.2-10          i386              GNU Standard C++ Library v3
rc  libudev1:i386             215-17+deb8u2     i386              libudev shared library
rc  libuuid1:i386             2.25.2-6          i386              Universally Unique ID library
rc  libx11-6:i386             2:1.6.2-3         i386              X11 client-side library
rc  libx11-xcb1:i386          2:1.6.2-3         i386              Xlib/XCB interface library
rc  libxau6:i386              1:1.0.8-1         i386              X11 authorisation library
rc  libxcb-dri2-0:i386        1.10-3+b1         i386              X C Binding, dri2 extension
rc  libxcb-dri3-0:i386        1.10-3+b1         i386              X C Binding, dri3 extension
rc  libxcb-glx0:i386          1.10-3+b1         i386              X C Binding, glx extension
rc  libxcb-present0:i386      1.10-3+b1         i386              X C Binding, present extension
rc  libxcb-sync1:i386         1.10-3+b1         i386              X C Binding, sync extension
rc  libxcb1:i386              1.10-3+b1         i386              X C Binding
rc  libxcursor1:i386          1:1.1.14-1+b1     i386              X cursor management library
rc  libxdamage1:i386          1:1.1.4-2+b1      i386              X11 damaged region extension library
rc  libxdmcp6:i386            1:1.1.1-1+b1      i386              X11 Display Manager Control Protocol library
rc  libxext6:i386             2:1.3.3-1         i386              X11 miscellaneous extension library
rc  libxfixes3:i386           1:5.0.1-2+b2      i386              X11 miscellaneous 'fixes' extension library
rc  libxi6:i386               2:1.7.4-1+b2      i386              X11 Input extension library
rc  libxrandr2:i386           2:1.4.2-1+b1      i386              X11 RandR extension library
rc  libxrender1:i386          1:0.9.8-1+b1      i386              X Rendering Extension client library
rc  libxshmfence1:i386        1.1-4             i386              X shared memory fences - shared library
rc  libxxf86vm1:i386          1:1.1.3-1+b1      i386              X11 XFree86 video mode extension library
rc  zlib1g:i386               1:1.2.8.dfsg-2+b1 i386              compression library - runtime
--8<---------------cut here---------------end--------------->8---

Wow, that *is* a lot! But I don't think that they're all installed, ATM.
I don't know what the "rc" means though.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.0, fluxbox 1.3.7, emacs 24.5.1

[toc] | [prev] | [next] | [standalone]


#161437

FromSteve McIntyre <steve@einval.com>
Date2015-12-01 21:30 +0100
Message-ID<qAZIK-5Y4-19@gated-at.bofh.it>
In reply to#161433
boudiccas@skimble.plus.com wrote:
>Ansgar Burchardt <"Ansgar Burchardt"@43-1.org> writes:
>>
>> Do you still have any i386 packages installed? I think running
>>
>>   dpkg -l "*:i386"
>>
>> should list them (I don't use multiarch myself, but it works for the
>> native architecture and "*:all").
>>
>> Ansgar
>
>Thanks Ansgar.
>
>--8<---------------cut here---------------start------------->8---
>dpkg -l "*:i386"
>Desired=Unknown/Install/Remove/Purge/Hold
>| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
>|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
>||/ Name                      Version           Architecture      Description
>+++-=========================-=================-=================-=======================================================
>rc  crossover                 14.1.11-1         i386              Run Windows applications like MS Office
>rc  libasound2:i386           1.0.28-1          i386              shared library for ALSA applications
>rc  libc6:i386                2.19-18+deb8u1    i386              GNU C Library: Shared libraries
>rc  libc6-i686:i386           2.19-18+deb8u1    i386              GNU C Library: Shared libraries [i686 optimized]
>rc  libxxf86vm1:i386          1:1.1.3-1+b1      i386              X11 XFree86 video mode extension library

<snip>

>rc  zlib1g:i386               1:1.2.8.dfsg-2+b1 i386              compression library - runtime
>--8<---------------cut here---------------end--------------->8---
>
>Wow, that *is* a lot! But I don't think that they're all installed, ATM.
>I don't know what the "rc" means though.

It's not the clearest unless you're looking for it, but it's in the
header at the top of the output. "r" means "Remove", "c" means
"Conf-files", i.e. the packages have been (or are about to be) removed
but still have configuration left. A normally installed package would
be shown as "ii", by comparison.

-- 
Steve McIntyre, Cambridge, UK.                                steve@einval.com
"Further comment on how I feel about IBM will appear once I've worked out
 whether they're being malicious or incompetent. Capital letters are forecast."
 Matthew Garrett, http://www.livejournal.com/users/mjg59/30675.html

[toc] | [prev] | [next] | [standalone]


#161434

FromSharon Kimble <boudiccas@skimble.plus.com>
Date2015-12-01 19:40 +0100
Message-ID<qAY0i-4MF-1@gated-at.bofh.it>
In reply to#161383

[Multipart message — attachments visible in raw view] — view raw

Sharon Kimble <boudiccas@skimble.plus.com> writes:

> I am running a "amd64" version of jessie and in an effort to get
> 'crossover_14.1.11-1.deb' installed, which is 32-bit. To do this I issued the
> command -
>
> ╭────
> │sudo dpkg --add-architecture i386
> ╰────
>
> and then -
>
> ╭────
> │dpkg --print-foreign-architectures
> ╰────
>
> then I did a 'apt-get update' and tried to install crossover again. I've
> now given up trying to instal it and wish to move back to just being a
> 64-bit machine using amd64 packages only. I've therefore done -
>
> ╭────
> │sudo dpkg --remove-architecture i386
> ╰────
>
> which failed saying -
>
> dpkg: error: cannot remove architecture 'i386' currently in use by the database
>
> How then can I remove 'i386' please, or should I just cut my losses and reinstall?
>

I think that I've resolved the situation by -

--8<---------------cut here---------------start------------->8---
deb     [arch=amd64] http://foo
deb-src [arch=amd64] http://foo
--8<---------------cut here---------------end--------------->8---

in my sources.list.

I installed all amd64 packages that were shown as being removed in
yesterdays logwatch, and then I manually removed all the i386 packages
From /var/cache/apt/archives and then rebooted.

Everything came back up successfully, and I then "sudo dpkg
--remove-architecture i386" and checked using "dpkg
--print-foreign-architectures" which showed a zero response, and I then
"dpkg --print-architecture" which showed "amd64"!

Mission accomplished!

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.0, fluxbox 1.3.7, emacs 24.5.1

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web