Public bug reported:

I have a local APT repository with a non-lowercase suite identifier.
apt-add-repository always forces it into lowercase, which causes apt to
emit warnings when it notices the mismatch:

$ sudo apt-add-repository "deb http://example.com/deb FooBar Baz"
Repository: 'deb http://example.com/ foobar Baz'
Description:
Archive for codename: foobar components: Baz
More info: http://example.com/
Adding repository.
Press [ENTER] to continue or Ctrl-c to cancel.
(...)
$ sudo apt update
(...)
W: Conflicting distribution: http://example.com/deb foobar InRelease (expected 
foobar but got FooBar)

** Affects: software-properties (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  apt-add-repository incorrectly forces lowercase

Status in software-properties package in Ubuntu:
  New

Bug description:
  I have a local APT repository with a non-lowercase suite identifier.
  apt-add-repository always forces it into lowercase, which causes apt
  to emit warnings when it notices the mismatch:

  $ sudo apt-add-repository "deb http://example.com/deb FooBar Baz"
  Repository: 'deb http://example.com/ foobar Baz'
  Description:
  Archive for codename: foobar components: Baz
  More info: http://example.com/
  Adding repository.
  Press [ENTER] to continue or Ctrl-c to cancel.
  (...)
  $ sudo apt update
  (...)
  W: Conflicting distribution: http://example.com/deb foobar InRelease 
(expected foobar but got FooBar)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2056556/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to