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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2056556

Title:
  apt-add-repository incorrectly forces lowercase

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to