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


Groups > linux.debian.user > #161434

Re: Trying to remove "architecture i386"

From Sharon Kimble <boudiccas@skimble.plus.com>
Newsgroups linux.debian.user
Subject Re: Trying to remove "architecture i386"
Date 2015-12-01 19:40 +0100
Message-ID <qAY0i-4MF-1@gated-at.bofh.it> (permalink)
References <qAG3n-1Jd-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[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

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


Thread

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

csiph-web