[Bug 900081] Re: sources line is modified if a complete apt line is given

Robert Roth evfool at gmail.com
Sat Feb 11 07:21:21 UTC 2012


@Brian Murray: How would you like apt-add-repository to behave in this case? I tend to agree with Nick Russo, you have not specified a complete apt line in quotes, thus apt-add-repository is behaving as it should and as it is described with the --help option.
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

** Changed in: software-properties (Ubuntu)
       Status: New => Incomplete

** Changed in: software-properties (Ubuntu)
     Assignee: (unassigned) => Robert Roth (evfool)

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

Title:
  sources line is modified if a complete apt line is given

Status in “software-properties” package in Ubuntu:
  Incomplete

Bug description:
  I was trying to add the oneiric-proposed pocket to my
  /etc/apt/sources.list with add-apt-repository instead of using vi.  I
  was using the following command:

  sudo apt-add-repository "http://archive.ubuntu.com/ubuntu/ oneiric-
  proposed main universe"

  and the following line appeared in my sources.list

  deb http://archive.ubuntu.com/ubuntu/ oneiric oneiric-proposed main universe
  deb-src http://archive.ubuntu.com/ubuntu/ oneiric oneiric-proposed main universe

  Notice that oneiric was added before oneiric-proposed.  The
  documentation for add-apt-repository indicates that:

  <sourceline> - The apt repository source line to add. This is one of:
     a complete apt line in quotes, 

  I did provide a complete apt line and it was modified by apt-add-
  repository and now I can't run 'apt-get updates'.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: python-software-properties 0.81.13.1
  ProcVersionSignature: Ubuntu 3.0.0-13.22-generic 3.0.6
  Uname: Linux 3.0.0-13-generic x86_64
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  CheckboxSubmission: 2e6ecd139611830c78226ad04ff4c093
  CheckboxSystem: bb422ca46d02494cdbc459927a98bc2f
  Date: Sun Dec  4 16:10:50 2011
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  PackageArchitecture: all
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: software-properties
  UpgradeStatus: Upgraded to oneiric on 2011-09-29 (66 days ago)

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




More information about the foundations-bugs mailing list