2019-07-21 PureOS, Debian, and updates

I use PureOS, which is derived from Debian. Debian recently had a new release, so I was interested in learning how they handled it. Apparently not too well.

I had already added the following line to my /etc/apt/sources.list because I needed the GNU manuals:

deb http://http.us.debian.org/debian testing non-free

That’s why I wasn’t surprised when apt told me that something or other had changed from testing to something else. Whatever, I accept. For the purposes of this blog post I commented that line.

But something still isn’t right:

$ sudo apt update
Hit:1 https://repo.puri.sm/pureos green InRelease
Reading package lists... Done                               
Building dependency tree       
Reading state information... Done
All packages are up to date.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://repo.puri.sm/pureos green InRelease' doesn't support architecture 'i386'

I wonder what that means.

Tags:

Comments

The problem remains unsolved. I deleted /etc/apt/sources.list and recreated it using Software & Updates.

Software & Updates

New content:

deb https://repo.pureos.net/pureos/ green main

I used to have a line saying puri.sm instead of pureos.net but it appears to make no difference:

$ sudo apt update
Hit:1 https://repo.pureos.net/pureos green InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://repo.pureos.net/pureos green InRelease' doesn't support architecture 'i386'

– Alex Schroeder 2019-07-27 20:53 UTC


What architecture am I using?

$ dpkg --print-architecture
amd64
$ dpkg --print-foreign-architectures
i386

Perhaps that is the problem? I think I don’t have any i386 stuff installed:

$ dpkg --get-selections | grep :i386

No output.

Let’s remove it!

$ sudo dpkg --remove-architecture i386

Problem solved!

$ sudo apt update
Hit:1 https://repo.pureos.net/pureos green InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.

– Alex Schroeder 2019-07-27 20:59 UTC


Add this to the Purism forum, just in case you find more info in the replies over there.

– Alex Schroeder 2019-07-27 21:05 UTC


For future reference, you shouldn’t have a line like

deb http://http.us.debian.org/debian testing non-free

because you might accidently upgrade to the next testing release when you don’t want to. Instead you should refer to the releases by codename, ie:

deb http://http.us.debian.org/debian buster non-free

That way, you can upgrade to the next release at your own discretion.

– matthew 2019-07-30 05:38 UTC


Thanks!

– Alex Schroeder 2019-07-30 06:02 UTC


Please make sure you contribute only your own work, or work licensed under the GNU Free Documentation License. Note: in order to facilitate peer review and fight vandalism, we will store your IP number for a number of days. See Privacy Policy for more information. See Info for text formatting rules. You can edit the comment page if you need to fix typos. You can subscribe to new comments by email without leaving a comment.

To save this page you must answer this question:

Please say HELLO.