Public bug reported:

When running apt-get update I received a message

Some sources can be modernized. Run 'apt modernize-sources' to do so.

After running the script I saw a warning

N: Skipping acquire of configured file 'main/binary-i386/Packages' as
repository 'https://dl.google.com/linux/chrome/deb stable InRelease'
doesn't support architecture 'i386'


The original file /etc/apt/sources.list.d/google-chrome.list had this line:
deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main

It was replaced by /etc/apt/sources.list.d/google-chrome.sources

Types: deb
URIs: https://dl.google.com/linux/chrome/deb/
Suites: stable
Components: main 
Signed-By: /etc/apt/trusted.gpg.d/google-chrome.gpg

The architecture restriction to amd64 was ignored in the transform.

The correct result would have been

Types: deb
URIs: https://dl.google.com/linux/chrome/deb/
Suites: stable
Components: main 
Architectures: amd64
Signed-By: /etc/apt/trusted.gpg.d/google-chrome.gpg


My expectations is that all restrictions will be transformed.

https://repolib.readthedocs.io/en/latest/deb822-format.html#one-line-
format has these examples:

deb [] http://example.com.ubuntu disco main restricted multiverse universe
deb [ arch=amd64 ] http://example.com/ubuntu disco main nonfree
deb [lang=en_US] http://example.com/ubuntu disco main restricted universe 
multiverse
deb [ arch=amd64,armel lang=en_US,en_CA ] http://example.com/ubuntu disco main

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/2115562

Title:
  apt mondernize-sources ignores architectures

Status in apt package in Ubuntu:
  New

Bug description:
  When running apt-get update I received a message

  Some sources can be modernized. Run 'apt modernize-sources' to do so.

  After running the script I saw a warning

  N: Skipping acquire of configured file 'main/binary-i386/Packages' as
  repository 'https://dl.google.com/linux/chrome/deb stable InRelease'
  doesn't support architecture 'i386'

  
  The original file /etc/apt/sources.list.d/google-chrome.list had this line:
  deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main

  It was replaced by /etc/apt/sources.list.d/google-chrome.sources

  Types: deb
  URIs: https://dl.google.com/linux/chrome/deb/
  Suites: stable
  Components: main 
  Signed-By: /etc/apt/trusted.gpg.d/google-chrome.gpg

  The architecture restriction to amd64 was ignored in the transform.

  The correct result would have been

  Types: deb
  URIs: https://dl.google.com/linux/chrome/deb/
  Suites: stable
  Components: main 
  Architectures: amd64
  Signed-By: /etc/apt/trusted.gpg.d/google-chrome.gpg

  
  My expectations is that all restrictions will be transformed.

  https://repolib.readthedocs.io/en/latest/deb822-format.html#one-line-
  format has these examples:

  deb [] http://example.com.ubuntu disco main restricted multiverse universe
  deb [ arch=amd64 ] http://example.com/ubuntu disco main nonfree
  deb [lang=en_US] http://example.com/ubuntu disco main restricted universe 
multiverse
  deb [ arch=amd64,armel lang=en_US,en_CA ] http://example.com/ubuntu disco main

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2115562/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to